add firmware
This commit is contained in:
parent
f165ccdc95
commit
580bc8716c
21 changed files with 6148 additions and 0 deletions
68
firmware/main/Kconfig.projbuild
Normal file
68
firmware/main/Kconfig.projbuild
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
menu "Candytuft Pin Mapping"
|
||||
menu "Inputs"
|
||||
config PIN_WHEEL_A
|
||||
int "Rotary encoder pin A"
|
||||
range 0 39
|
||||
default 21
|
||||
help
|
||||
If using a non-standard mainboard, set this value to the GPIO connected to pin A of the rotary encoder.
|
||||
|
||||
config PIN_WHEEL_B
|
||||
int "Rotary encoder pin B"
|
||||
range 0 39
|
||||
default 22
|
||||
help
|
||||
If using a non-standard mainboard, set this value to the GPIO connected to pin B of the rotary encoder.
|
||||
|
||||
config KEY_FORWARD
|
||||
int "Front Panel Forward Key Mapping"
|
||||
range 0 39
|
||||
default 4
|
||||
help
|
||||
If using a non-standard mainboard, set this value to the GPIO connected to the Forward key.
|
||||
|
||||
config KEY_BACKSPACE
|
||||
int "Front Panel Backspace Key Mapping"
|
||||
range 0 39
|
||||
default 13
|
||||
help
|
||||
If using a non-standard mainboard, set this value to the GPIO connected to the Backspace key.
|
||||
|
||||
config KEY_DONE
|
||||
int "Front Panel Done Key Mapping"
|
||||
range 0 39
|
||||
default 14
|
||||
help
|
||||
If using a non-standard mainboard, set this value to the GPIO connected to the Done key.
|
||||
|
||||
config KEY_CANCEL
|
||||
int "Front Panel Cancel Key Mapping"
|
||||
range 0 39
|
||||
default 18
|
||||
help
|
||||
If using a non-standard mainboard, set this value to the GPIO connected to the Cancel key.
|
||||
|
||||
config KEY_OPTION
|
||||
int "Front Panel Option Key Mapping"
|
||||
range 0 39
|
||||
default 19
|
||||
help
|
||||
If using a non-standard mainboard, set this value to the GPIO connected to the Option key.
|
||||
endmenu
|
||||
|
||||
menu "LCD"
|
||||
config LCD_SCL
|
||||
int "LCD panel SCL pin mapping"
|
||||
range 0 39
|
||||
default 25
|
||||
help
|
||||
If using a non-standard mainboard, set this value to the GPIO connected to the LCD panel's SCL pin.
|
||||
|
||||
config LCD_SDA
|
||||
int "LCD panel SDA pin mapping"
|
||||
range 0 39
|
||||
default 26
|
||||
help
|
||||
If using a non-standard mainboard, set this value to the GPIO connected to the LCD panel's SDA pin.
|
||||
endmenu
|
||||
endmenu
|
||||
Loading…
Add table
Add a link
Reference in a new issue