Better definition of m5 stick and upload protocol

This commit is contained in:
free-x 2021-10-30 09:20:25 +02:00
parent 62baaa33f6
commit a4e3d19890
1 changed files with 4 additions and 1 deletions

View File

@ -32,6 +32,7 @@ build_flags =
-D BOARD_M5ATOM
${env.build_flags}
upload_port = /dev/esp32
upload_protocol = esptool
[env:m5stack-atom-canunit]
board = m5stack-atom
@ -41,12 +42,14 @@ build_flags =
-D BOARD_M5ATOM_CANUNIT
${env.build_flags}
upload_port = /dev/esp32
upload_protocol = esptool
[env:m5stickc-atom-canunit]
board = m5stack-atom
board = m5stick-c
lib_deps =
${env.lib_deps}
build_flags =
-D BOARD_M5STICK_CANUNIT -D HAS_RTC -D HAS_M5LCD
${env.build_flags}
upload_port = /dev/esp32
upload_protocol = esptool