-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add PlatformIO and ARDUINO_TTGO_T_PICO_C3 support
- Loading branch information
1 parent
9b4e17e
commit 92a00ea
Showing
4 changed files
with
67 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.pio/ | ||
.DS_Store | ||
.vscode/ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
; PlatformIO Project Configuration File | ||
; https://docs.platformio.org/page/projectconf.html | ||
|
||
[platformio] | ||
|
||
src_dir = . | ||
|
||
[env] | ||
framework = arduino | ||
monitor_speed = 115200 | ||
|
||
lib_deps = | ||
BlynkNcpDriver=symlink://../../ | ||
|
||
build_flags = | ||
-Wswitch -Wuninitialized | ||
-Wunused-function | ||
-Werror=return-type ; Fail on return type error | ||
|
||
[rp2040] | ||
platform = https://github.com/maxgerhardt/platform-raspberrypi.git | ||
board_build.core = earlephilhower | ||
board_build.filesystem_size = 1M | ||
|
||
lib_ignore = | ||
WiFi | ||
|
||
[rp2040:mbed] | ||
platform = raspberrypi | ||
|
||
lib_ignore = | ||
WiFi | ||
ArduinoOTA | ||
|
||
######################################################## | ||
## Dual-MCU boards | ||
######################################################## | ||
|
||
[env:rp2040connect] | ||
extends = rp2040 | ||
board = arduino_nano_connect | ||
board_build.filesystem_size = 8M | ||
|
||
[env:rp2040connect-mbed] | ||
extends = rp2040:mbed | ||
board = nanorp2040connect | ||
|
||
[env:t_pico_c3] | ||
extends = rp2040 | ||
board = rpipico | ||
board_upload.maximum_size = 4194304 | ||
board_build.filesystem_size = 2M | ||
|
||
build_flags = | ||
${env.build_flags} | ||
-DARDUINO_TTGO_T_PICO_C3 |