Skip to content

Commit fe10d6b

Browse files
committed
Enabled platformio support for CoreS3
1 parent ff57809 commit fe10d6b

File tree

2 files changed

+35
-9
lines changed

2 files changed

+35
-9
lines changed

ESP32-BLECollector/Settings.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ static void destroyTaskNow( TaskHandle_t &task )
201201

202202
#if HAS_EXTERNAL_RTC
203203
#include <Wire.h>
204-
#include "RTC.h"
204+
#include "./RTC.h"
205205
static BLE_RTC RTC;
206206
#endif
207207

platformio.ini

+34-8
Original file line numberDiff line numberDiff line change
@@ -24,32 +24,32 @@ default_envs = m5stack-core2
2424
;platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.1-RC1
2525
platform = https://github.com/tasmota/platform-espressif32
2626
platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32/releases/download/2.0.9/esp32-2.0.9.zip
27-
2827
framework = arduino
2928
upload_speed = 921600
3029
monitor_speed = 115200
30+
;lib_ldf_mode = deep
3131
build_flags =
3232
-DCORE_DEBUG_LEVEL=2
3333
lib_deps =
3434
; SPI
35-
; SD
35+
SD
36+
LovyanGFX
37+
git+https://github.com/tobozo/ESP32-Chimera-Core#1.5.0
38+
git+https://github.com/tobozo/M5Stack-SD-Updater#1.2.8
39+
NimBLE-Arduino
3640
FS
3741
SPI
3842
Wire
39-
LovyanGFX
40-
ESP32-Chimera-Core
4143
Time
4244
;M5Stack-SD-Updater
43-
git+https://github.com/tobozo/M5Stack-SD-Updater#1.2.8
4445
Sqlite3Esp32
4546
TinyGPSPlus
46-
NimBLE-Arduino
47+
4748

4849
[env:m5stack-fire]
4950
board = m5stack-fire
5051
board_build.partitions = default_16MB.csv
51-
52-
upload_port = /dev/ttyUSB0
52+
upload_port = /dev/ttyACM0
5353
;board_upload.flash_size=4MB
5454
;board_build.f_flash = 80000000L
5555

@@ -86,6 +86,28 @@ lib_deps =
8686
lib_ignore =
8787
M5Core2
8888

89+
[env:m5stack-cores3]
90+
board = esp32-s3-devkitc-1
91+
board_upload.flash_size = 16MB
92+
;board_upload.maximum_size = 2097152
93+
;board_upload.maximum_size = 3145728
94+
board_build.arduino.memory_type = qio_qspi
95+
build_flags =
96+
${env.build_flags}
97+
-DARDUINO_M5STACK_CORES3
98+
-DBOARD_HAS_PSRAM
99+
-DARDUINO_UDB_MODE=1
100+
build_src_flags =
101+
-DWITHOUT_WIFI=1
102+
lib_deps =
103+
${env.lib_deps}
104+
lib_ignore =
105+
M5Stack
106+
M5Core2
107+
M5CoreS3
108+
SD_MMC
109+
110+
89111
[env:odroid_esp32]
90112
board = odroid_esp32
91113
board_build.partitions = min_spiffs.csv
@@ -94,3 +116,7 @@ build_src_flags =
94116
lib_deps =
95117
${env.lib_deps}
96118

119+
120+
121+
122+

0 commit comments

Comments
 (0)