Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added headless mode, numbered keyboard shortcuts, added boot sound (#107) (#113) #124

Merged
merged 2 commits into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ build_flags =

;Have RTC Chip
-DHAS_RTC=1

;Have buzzer
-DBUZZ_PIN=2

;Buttons configuration
-DHAS_BTN=1
Expand Down Expand Up @@ -623,6 +626,59 @@ lib_deps =
${common.lib_deps}


[env:esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
;board_build.partitions = custom_16Mb.csv
;board_upload.flash_size = 16MB
build_flags =
${common.build_flags}
-DESP32S3DEVKITC1
-DUSB_as_HID=1
; needed for serial
-DARDUINO_USB_CDC_ON_BOOT=1
; ir led pin
-DLED=40
-DLED_ON=HIGH
-DLED_OFF=LOW
; sd card pins
-DSDCARD_CS=-1
-DSDCARD_SCK=-1
-DSDCARD_MISO=-1
-DSDCARD_MOSI=-1
; grove pins (SDA=default TX pin, SCL=default RX pin)
-DGROVE_SDA=35
-DGROVE_SCL=36
; tft vars
-DROTATION=1
-DBACKLIGHT=15 ; tft backlight pin
-DWIDTH=240
-DHEIGHT=135
-DMINBRIGHT=160 ; unused?
-DMAX_MENU_SIZE=5
-DSMOOTH_FONT=1
-DTFT_DISPON=0x29
-DTFT_DISPOFF=0x28
; text sizes
-DFP=1
-DFM=2
-DFG=3
; ui control buttons
-DSEL_BTN=1
-DUP_BTN=2 ; also work as ESC
-DDW_BTN=3 ; also work as NEXT
-DTOUCH_THRESHOLD=20
-DBTN_ALIAS='"OK"'
;Microphone
;-DMIC_SPM1423=1 ; uncomment to enable Applicable for SPM1423 device
-DPIN_CLK=43
-DI2S_SCLK_PIN=43
-DI2S_DATA_PIN=46
-DPIN_DATA=46
lib_deps =
${common.lib_deps}

#New device model
[env:NewDeviceModel]
platform = espressif32
Expand Down
Loading
Loading