-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from i-am-shodan/picoBasedBoards
- Loading branch information
Showing
36 changed files
with
971 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,14 +39,9 @@ build_flags = | |
; -D LOCALE_win_sk_SK | ||
; -D LOCALE_win_tr_TR | ||
|
||
[common] | ||
platform = https://github.com/platformio/platform-espressif32.git | ||
platform_packages = | ||
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.3 | ||
platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1 | ||
[core] | ||
framework = arduino | ||
extra_scripts = pre:extra_scripts.py | ||
monitor_filters = esp32_exception_decoder | ||
build_src_filter = | ||
+<*> | ||
-<.git/> | ||
|
@@ -61,16 +56,32 @@ build_unflags = | |
build_flags = | ||
${keyboardlayouts.build_flags} | ||
-std=gnu++2a | ||
-DLOLIN_WIFI_FIX | ||
-DARDUINO_USB_MODE=0 | ||
-DARDUINO_USB_CDC_ON_BOOT=1 | ||
-D DISABLE_ALL_LIBRARY_WARNINGS | ||
-D USER_SETUP_LOADED | ||
-Wnarrowing | ||
-Wno-deprecated | ||
-Wwrite-strings | ||
-Wreturn-type | ||
-Wl,-z,muldefs | ||
-D CFG_TUD_ENABLED | ||
;-D DUCKY_CUSTOM_LOG | ||
lib_deps_core = | ||
https://github.com/i-am-shodan/DuckScriptInterpreter#962e24e81aa548f64fa38a580717edb3ae65c989 | ||
bblanchon/ArduinoJson@^7.0.3 | ||
ivanseidel/[email protected]+sha.dac3874d28 | ||
https://github.com/i-am-shodan/Uptime-Library | ||
|
||
[core-esp32] | ||
extends = core | ||
platform = https://github.com/platformio/platform-espressif32.git | ||
platform_packages = | ||
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.3 | ||
platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1 | ||
monitor_filters = esp32_exception_decoder | ||
monitor_speed = 115200 | ||
build_flags = | ||
${core.build_flags} | ||
-D LOLIN_WIFI_FIX | ||
-D DISABLE_STATUS_LED | ||
-D ENABLE_NONSERIAL_COMMAND_EXECUTION | ||
-D CFG_TUD_NCM | ||
|
@@ -80,33 +91,54 @@ build_flags = | |
-D ELEGANTOTA_USE_ASYNC_WEBSERVER=1 | ||
-D WS_MAX_QUEUED_MESSAGES=64 | ||
-D CONFIG_ASYNC_TCP_MAX_ACK_TIME=3000 | ||
;-D DUCKY_CUSTOM_LOG | ||
lib_deps_core = | ||
lib_deps = | ||
${core.lib_deps_core} | ||
AsyncTCP=https://github.com/mathieucarbou/AsyncTCP | ||
AsyncTCP-esphome=https://github.com/mathieucarbou/AsyncTCP | ||
https://github.com/i-am-shodan/Adafruit_TinyUSB_Arduino | ||
ESPAsyncWebServer=https://github.com/mathieucarbou/ESPAsyncWebServer | ||
https://github.com/i-am-shodan/DuckScriptInterpreter | ||
bblanchon/ArduinoJson@^7.0.3 | ||
ivanseidel/[email protected]+sha.dac3874d28 | ||
yiannisbourkelis/Uptime Library@^1.0.0 | ||
ayushsharma82/[email protected] | ||
|
||
[core-esp32-s3] | ||
extends = core-esp32 | ||
build_flags = | ||
${core-esp32.build_flags} | ||
-D ARDUINO_ARCH_ESP32S3 | ||
-D GENERIC_ESP32 ; ESP32 Maurader | ||
-D CONFIG_ASYNC_TCP_QUEUE_SIZE=128 | ||
lib_deps = | ||
${core-esp32.lib_deps} | ||
h2zero/NimBLE-Arduino@^1.4.2 ; ESP32 Maurader | ||
mathertel/OneButton | ||
lovyan03/LovyanGFX@^1.1.16 | ||
https://github.com/pololu/apa102-arduino | ||
|
||
[core-pico] | ||
extends = core | ||
platform = https://github.com/maxgerhardt/platform-raspberrypi.git | ||
board = pico | ||
board_build.core = earlephilhower | ||
build_flags = | ||
${core.build_flags} | ||
-D CFG_TUD_ENABLED | ||
-D ARDUINO_ARCH_RP2040 | ||
-D NO_ESP_MARAUDER | ||
-D USE_TINYUSB ; needed to change stacks | ||
lib_deps = | ||
${core.lib_deps_core} | ||
vshymanskyy/Preferences@^2.1.0 | ||
|
||
[env:LILYGO-T-Dongle-S3] | ||
extends = common | ||
extends = core-esp32-s3 | ||
board = esp32-s3-devkitc-1 | ||
board_build.flash_size = 16MB | ||
board_build.partitions = default_8MB.csv | ||
monitor_speed = 115200 | ||
build_flags = | ||
${common.build_flags} | ||
-D ARDUINO_ARCH_ESP32S3 | ||
${core-esp32-s3.build_flags} | ||
-D LILYGO_T_DONGLE_S3 | ||
-D HAS_SD ; ESP32 Maurader | ||
-D USE_SD_MMC_INTERFACE ; ESP32 Maurader | ||
-D GENERIC_ESP32 ; ESP32 Maurader | ||
-D CONFIG_ASYNC_TCP_QUEUE_SIZE=128 | ||
;;;;;;;; Pin Config for TFT ;;;;;;;; | ||
-D DISPLAY_TYPE_ST7735S | ||
-D DISPLAY_RST=1 | ||
-D DISPLAY_DC=2 | ||
-D DISPLAY_MOSI=3 | ||
|
@@ -133,28 +165,20 @@ build_flags = | |
-D LED_CI_PIN=39 | ||
;;;;;;;; End of Pin Config ;;;;;;;; | ||
lib_deps = | ||
${common.lib_deps_core} | ||
h2zero/NimBLE-Arduino@^1.4.2 ; ESP32 Maurader | ||
mathertel/OneButton | ||
bitbank2/PNGdec@^1.0.1 | ||
lovyan03/LovyanGFX@^1.1.16 | ||
https://github.com/pololu/apa102-arduino | ||
${core-esp32-s3.lib_deps} | ||
|
||
[env:Waveshare-ESP32-S3-LCD-1_47] | ||
extends = common | ||
extends = core-esp32-s3 | ||
board = esp32-s3-devkitc-1 | ||
board_build.flash_size = 16MB | ||
board_build.partitions = default_8MB.csv | ||
build_flags = | ||
${common.build_flags} | ||
-D ARDUINO_ARCH_ESP32S3 | ||
${core-esp32-s3.build_flags} | ||
-D WAVESHARE_ESP32_S3_LCD_147 | ||
-D HAS_SD ; ESP32 Maurader | ||
-D USE_SD_MMC_INTERFACE ; ESP32 Maurader | ||
-D GENERIC_ESP32 ; ESP32 Maurader | ||
-D CONFIG_ASYNC_TCP_QUEUE_SIZE=128 | ||
-DBOARD_HAS_PSRAM | ||
;;;;;;;; Pin Config for TFT ;;;;;;;; | ||
-D DISPLAY_TYPE_ST7789 | ||
-D DISPLAY_RST=39 | ||
-D DISPLAY_DC=41 | ||
-D DISPLAY_MOSI=45 | ||
|
@@ -181,21 +205,16 @@ build_flags = | |
-D LED_CI_PIN=38 | ||
;;;;;;;; End of Pin Config ;;;;;;;; | ||
lib_deps = | ||
${common.lib_deps_core} | ||
h2zero/NimBLE-Arduino@^1.4.2 ; ESP32 Maurader | ||
mathertel/OneButton | ||
bitbank2/PNGdec@^1.0.1 | ||
lovyan03/LovyanGFX@^1.1.16 | ||
https://github.com/pololu/apa102-arduino | ||
${core-esp32-s3.lib_deps} | ||
|
||
[env:Generic-ESP32-S2] | ||
extends = common | ||
extends = core-esp32 | ||
board = esp32-s2-kaluga-1 ; close enough | ||
board_build.partitions = min_spiffs.csv | ||
monitor_speed = 115200 | ||
build_flags = | ||
${common.build_flags} | ||
-D ARDUINO_ARCH_ESP32S3 | ||
${core-esp32.build_flags} | ||
-D ARDUINO_ARCH_ESP32S2 | ||
-D NO_TFT | ||
-D NO_LED | ||
-D NO_BUTTON | ||
|
@@ -204,4 +223,36 @@ build_flags = | |
-D USE_SPIFFS_INTERFACE ; ESP32 Maurader | ||
-D MEM_LOWER_LIM=20000 ; ESP32 Maurader | ||
lib_deps = | ||
${common.lib_deps_core} | ||
${core-esp32.lib_deps} | ||
|
||
[env:Waveshare-RP2040-GEEK] | ||
extends = core-pico | ||
build_flags = | ||
${core-pico.build_flags} | ||
-D WAVESHARE_RP2040_GEEK | ||
-D NO_LED | ||
-D NO_BUTTON | ||
-D NO_WEB | ||
-D NO_WIFI | ||
;;;;;;;;Pin Config for SD;;;;;;;; | ||
-D SD_SCLK=18 | ||
-D SD_MOSI=19 | ||
-D SD_MISO=20 | ||
-D SD_CS=23 | ||
;;;;;;;; Pin Config for TFT ;;;;;;;; | ||
-D DISPLAY_RST=12 | ||
-D DISPLAY_DC=8 | ||
-D DISPLAY_MOSI=11 | ||
-D DISPLAY_CS=9 | ||
-D DISPLAY_SCLK=10 | ||
-D DISPLAY_LEDA=25 | ||
-D DISPLAY_MISO=-1 | ||
-D DISPLAY_BUSY=-1 | ||
-D DISPLAY_WIDTH=240 | ||
-D DISPLAY_HEIGHT=135 | ||
-D TFT_WIDTH=240 | ||
-D TFT_HEIGHT=135 | ||
;;;;;;;; End of Pin Config ;;;;;;;; | ||
lib_deps = | ||
${core-pico.lib_deps} | ||
https://github.com/lovyan03/LovyanGFX.git#develop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.