Add udev rule for esp32. Fix upload_port for new boards

This commit is contained in:
free-x 2021-10-27 09:03:04 +02:00
parent d4f6b03338
commit e5eb96cc20
2 changed files with 3 additions and 1 deletions

View File

@ -33,10 +33,11 @@ board = m5stack-atom
lib_deps =
${env.lib_deps}
build_flags = -D BOARD_M5ATOM_CANUNIT
upload_port = /dev/esp32
[env:m5stickc-atom-canunit]
board = m5stack-atom
lib_deps =
${env.lib_deps}
build_flags = -D BOARD_M5STICK_CANUNIT -D HAS_RTC -D HAS_M5LCD
upload_port = /dev/esp32

View File

@ -0,0 +1 @@
SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", SYMLINK+="esp32"