|
1 | 1 | [platformio] |
2 | | -default_envs = m5stack-cores3 |
3 | | -src_dir = src |
| 2 | +default_envs = m5stack-cores3-dev |
| 3 | +src_dir = src |
4 | 4 |
|
5 | 5 |
|
6 | 6 | [env] |
7 | | -framework = arduino |
8 | | -board = m5stack-core-esp32 |
9 | | -build_type = debug |
10 | | -lib_ldf_mode = deep |
11 | | -platform = https://github.com/tasmota/platform-espressif32 |
12 | | -platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32/releases/download/2.0.9/esp32-2.0.9.zip |
13 | | -board_build.partitions = partitions/partitions-16MB-factory-4-apps.csv |
| 7 | +framework = arduino |
| 8 | +board = m5stack-core-esp32 |
| 9 | +build_type = debug |
| 10 | +lib_ldf_mode = deep |
| 11 | +;platform = https://github.com/tasmota/platform-espressif32/releases/download/2023.11.01/platform-espressif32.zip |
| 12 | +;platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32/releases/download/2.0.14/esp32-2.0.14.zip |
| 13 | +board_build.partitions = partitions/partitions-16MB-factory-4-apps.csv |
14 | 14 | board_upload.flash_size = 16MB |
15 | | -lib_deps = |
| 15 | +lib_deps = |
16 | 16 | SPI |
17 | 17 | SD |
18 | 18 | M5Stack-SD-Updater |
19 | 19 | M5GFX |
20 | 20 | M5Unified |
21 | | -upload_speed = 1500000 |
22 | | -upload_port = /dev/ttyACM0 |
23 | | -monitor_speed = 115200 |
| 21 | +upload_speed = 1500000 |
| 22 | +upload_port = /dev/ttyACM0 |
| 23 | +monitor_speed = 115200 |
24 | 24 |
|
25 | 25 |
|
26 | 26 | [CoreS3] |
27 | 27 | board = esp32-s3-devkitc-1 |
| 28 | +platform = https://github.com/tasmota/platform-espressif32/releases/download/2023.11.01/platform-espressif32.zip |
| 29 | +platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32/releases/download/2.0.14/esp32-2.0.14.zip |
28 | 30 | ;board_upload.maximum_size = 2097152 |
29 | 31 | ;board_upload.maximum_size = 3145728 |
30 | 32 | board_build.arduino.memory_type = qio_qspi |
31 | 33 | build_flags = |
32 | 34 | ${env.build_flags} |
33 | 35 | -DARDUINO_M5STACK_CORES3 |
34 | 36 | -DBOARD_HAS_PSRAM |
35 | | - -DARDUINO_UDB_MODE=1 |
| 37 | + -DARDUINO_USB_MODE=1 |
36 | 38 |
|
37 | 39 |
|
38 | 40 | [env:m5stack-cores3] |
39 | 41 | extends = CoreS3 |
40 | | - |
| 42 | +platform = https://github.com/tasmota/platform-espressif32/releases/download/2023.11.01/platform-espressif32.zip |
| 43 | +platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32/releases/download/2.0.14/esp32-2.0.14.zip |
41 | 44 |
|
42 | 45 |
|
43 | 46 | [env:m5stack-cores3-dev] |
44 | | -extends = CoreS3 |
45 | | -lib_deps = |
| 47 | +extends = CoreS3 |
| 48 | +platform = https://github.com/tasmota/platform-espressif32/releases/download/2023.11.01/platform-espressif32.zip |
| 49 | +platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32/releases/download/2.0.14/esp32-2.0.14.zip |
| 50 | +;platform = espressif32 |
| 51 | +; platform_packages = |
| 52 | +; framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32/releases/download/3.0.0-alpha3/esp32-3.0.0-alpha3.zip |
| 53 | +; framework-arduinoespressif32-libs @ https://github.com/espressif/arduino-esp32/releases/download/3.0.0-alpha3/esp32-arduino-libs-3.0.0-alpha3.zip |
| 54 | +board = m5stack-cores3 |
| 55 | +board_build.partitions = partitions/partitions_16MB_factory_6_apps.csv |
| 56 | +lib_deps = |
46 | 57 | git+https://github.com/M5Stack/M5GFX#develop |
47 | 58 | git+https://github.com/M5Stack/M5Unified#develop |
48 | | - git+https://github.com/tobozo/M5Stack-SD-Updater#1.2.8 |
| 59 | + git+https://github.com/tobozo/M5Stack-SD-Updater#1.2.9 |
| 60 | + |
| 61 | + |
| 62 | +[env:build-partition] |
| 63 | +platform = espressif32 |
| 64 | +extra_scripts = partition_manager.py |
| 65 | +platform_packages = tool-esp32partitiontool @ https://github.com/tobozo/esp32partitiontool/releases/download/v1.4.1/esp32partitiontool-platformio.zip |
| 66 | +;platform_packages = tool-esp32partitiontool @ https://github.com/tobozo/esp32partitiontool/releases/download/v1.4.1/esp32partitiontool-platformio.zip |
| 67 | +board_build.partitions = partitions/partitions-16MB-factory-4-apps.csv |
| 68 | +board = esp32dev |
| 69 | +; lib_deps = |
| 70 | +; git+https://github.com/M5Stack/M5GFX#develop |
| 71 | +; git+https://github.com/M5Stack/M5Unified#develop |
| 72 | +; git+https://github.com/tobozo/M5Stack-SD-Updater#1.2.9 |
0 commit comments