Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
flow3r firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
flow3r
flow3r firmware
Commits
cadcb712
Commit
cadcb712
authored
1 year ago
by
dx
Committed by
q3k
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
add component to make display work non-hackily
parent
fde9ca22
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
badge23/components/gc9a01/gc9a01.h
+0
-19
0 additions, 19 deletions
badge23/components/gc9a01/gc9a01.h
micropython/ports/esp32/CMakeLists.txt
+2
-0
2 additions, 0 deletions
micropython/ports/esp32/CMakeLists.txt
with
2 additions
and
19 deletions
badge23/components/gc9a01/gc9a01.h
+
0
−
19
View file @
cadcb712
...
...
@@ -8,25 +8,6 @@
#include
"sdkconfig.h"
#include
<stdint.h>
#define CONFIG_GC9A01_Width 240
#define CONFIG_GC9A01_Height 240
//#define # CONFIG_USE_SPI1_HOST is not set
//#define # CONFIG_USE_SPI2_HOST is not set
#define CONFIG_USE_SPI3_HOST 1
//#define # CONFIG_USE_SPI4_HOST is not set
#define CONFIG_GC9A01_SPI_HOST 2
#define CONFIG_GC9A01_PIN_NUM_SCK 39
#define CONFIG_GC9A01_PIN_NUM_MOSI 41
#define CONFIG_GC9A01_PIN_NUM_CS 40
#define CONFIG_GC9A01_PIN_NUM_DC 42
#define CONFIG_GC9A01_SPI_SCK_FREQ_M 80
//#define # CONFIG_GC9A01_CONTROL_BACK_LIGHT_USED is not set
#define CONFIG_GC9A01_RESET_USED 1
#define CONFIG_GC9A01_PIN_NUM_RST 38
#define CONFIG_GC9A01_BUFFER_MODE 1
//#define # CONFIG_GC9A01_BUFFER_SCREEN_FAST_MODE is not set
//#define # end of GC9A01 LCD Config
#define GC9A01_Width CONFIG_GC9A01_Width
#define GC9A01_Height CONFIG_GC9A01_Height
...
...
This diff is collapsed.
Click to expand it.
micropython/ports/esp32/CMakeLists.txt
+
2
−
0
View file @
cadcb712
...
...
@@ -54,5 +54,7 @@ endforeach()
configure_file
(
${
CMAKE_BINARY_DIR
}
/sdkconfig.combined.in
${
CMAKE_BINARY_DIR
}
/sdkconfig.combined COPYONLY
)
set
(
SDKCONFIG_DEFAULTS
${
CMAKE_BINARY_DIR
}
/sdkconfig.combined
)
list
(
APPEND EXTRA_COMPONENT_DIRS
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../../badge23/components/"
)
# Define the project.
project
(
micropython
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment