From a4e3d19890eb39a5dd9837a0d3e1fff8aed997e5 Mon Sep 17 00:00:00 2001 From: free-x Date: Sat, 30 Oct 2021 09:20:25 +0200 Subject: [PATCH] Better definition of m5 stick and upload protocol --- platformio.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/platformio.ini b/platformio.ini index 692389f..d5743dd 100644 --- a/platformio.ini +++ b/platformio.ini @@ -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