forked from platformio/platformio-core
Add ext. programmer and spiffs targets to Emacs
This commit is contained in:
1 parent
77c192050a
commit
7d9cd1c2ae
2 files changed
+19
-5
No files matched your search
@@ -39,6 +39,18 @@ add_custom_target(
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
add_custom_target(
|
||||
platformio_programmer_upload ALL
|
||||
COMMAND ${PLATFORMIO_CMD} -f -c emacs run --target program
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
add_custom_target(
|
||||
platformio_spiffs_upload ALL
|
||||
COMMAND ${PLATFORMIO_CMD} -f -c emacs run --target uploadfs
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
add_custom_target(
|
||||
platformio_update ALL
|
||||
COMMAND ${PLATFORMIO_CMD} -f -c emacs update
|
||||
|
||||
Reference in new issue
Block a user