Skip to content

Commit

Permalink
Enabled platformio support for CoreS3
Browse files Browse the repository at this point in the history
  • Loading branch information
tobozo committed Jun 16, 2023
1 parent ff57809 commit fe10d6b
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ESP32-BLECollector/Settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ static void destroyTaskNow( TaskHandle_t &task )

#if HAS_EXTERNAL_RTC
#include <Wire.h>
#include "RTC.h"
#include "./RTC.h"
static BLE_RTC RTC;
#endif

Expand Down
42 changes: 34 additions & 8 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -24,32 +24,32 @@ default_envs = m5stack-core2
;platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.1-RC1
platform = https://github.com/tasmota/platform-espressif32
platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32/releases/download/2.0.9/esp32-2.0.9.zip

framework = arduino
upload_speed = 921600
monitor_speed = 115200
;lib_ldf_mode = deep
build_flags =
-DCORE_DEBUG_LEVEL=2
lib_deps =
; SPI
; SD
SD
LovyanGFX
git+https://github.com/tobozo/ESP32-Chimera-Core#1.5.0
git+https://github.com/tobozo/M5Stack-SD-Updater#1.2.8
NimBLE-Arduino
FS
SPI
Wire
LovyanGFX
ESP32-Chimera-Core
Time
;M5Stack-SD-Updater
git+https://github.com/tobozo/M5Stack-SD-Updater#1.2.8
Sqlite3Esp32
TinyGPSPlus
NimBLE-Arduino


[env:m5stack-fire]
board = m5stack-fire
board_build.partitions = default_16MB.csv

upload_port = /dev/ttyUSB0
upload_port = /dev/ttyACM0
;board_upload.flash_size=4MB
;board_build.f_flash = 80000000L

Expand Down Expand Up @@ -86,6 +86,28 @@ lib_deps =
lib_ignore =
M5Core2

[env:m5stack-cores3]
board = esp32-s3-devkitc-1
board_upload.flash_size = 16MB
;board_upload.maximum_size = 2097152
;board_upload.maximum_size = 3145728
board_build.arduino.memory_type = qio_qspi
build_flags =
${env.build_flags}
-DARDUINO_M5STACK_CORES3
-DBOARD_HAS_PSRAM
-DARDUINO_UDB_MODE=1
build_src_flags =
-DWITHOUT_WIFI=1
lib_deps =
${env.lib_deps}
lib_ignore =
M5Stack
M5Core2
M5CoreS3
SD_MMC


[env:odroid_esp32]
board = odroid_esp32
board_build.partitions = min_spiffs.csv
Expand All @@ -94,3 +116,7 @@ build_src_flags =
lib_deps =
${env.lib_deps}





0 comments on commit fe10d6b

Please sign in to comment.