Add udev rule for esp32. Fix upload_port for new boards
This commit is contained in:
parent
d4f6b03338
commit
e5eb96cc20
|
@ -33,10 +33,11 @@ board = m5stack-atom
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${env.lib_deps}
|
${env.lib_deps}
|
||||||
build_flags = -D BOARD_M5ATOM_CANUNIT
|
build_flags = -D BOARD_M5ATOM_CANUNIT
|
||||||
|
upload_port = /dev/esp32
|
||||||
|
|
||||||
[env:m5stickc-atom-canunit]
|
[env:m5stickc-atom-canunit]
|
||||||
board = m5stack-atom
|
board = m5stack-atom
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${env.lib_deps}
|
${env.lib_deps}
|
||||||
build_flags = -D BOARD_M5STICK_CANUNIT -D HAS_RTC -D HAS_M5LCD
|
build_flags = -D BOARD_M5STICK_CANUNIT -D HAS_RTC -D HAS_M5LCD
|
||||||
|
upload_port = /dev/esp32
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", SYMLINK+="esp32"
|
Loading…
Reference in New Issue