forked from platformio/platformio-core
Project Generator: add new targets for CLion IDE "BUILD_VERBOSE" and "MONITOR" (serial port monitor) // Resolve #359
This commit is contained in:
@ -9,6 +9,8 @@ PlatformIO 4.0
|
|||||||
|
|
||||||
* Added Python 3.5+ support
|
* Added Python 3.5+ support
|
||||||
(`issue #895 <https://github.com/platformio/platformio-core/issues/895>`_)
|
(`issue #895 <https://github.com/platformio/platformio-core/issues/895>`_)
|
||||||
|
* Project Generator: added new targets for CLion IDE "BUILD_VERBOSE" and "MONITOR" (serial port monitor)
|
||||||
|
(`issue #359 <https://github.com/platformio/platformio-core/issues/359>`_)
|
||||||
* Fixed an issue with slow updating of PlatformIO Core packages on Windows
|
* Fixed an issue with slow updating of PlatformIO Core packages on Windows
|
||||||
* Fixed an issue when `platformio ci <https://docs.platformio.org/en/latest/userguide/cmd_ci.html>`__ recompiles project if ``--keep-build-dir`` option is passed
|
* Fixed an issue when `platformio ci <https://docs.platformio.org/en/latest/userguide/cmd_ci.html>`__ recompiles project if ``--keep-build-dir`` option is passed
|
||||||
(`issue #2109 <https://github.com/platformio/platformio-core/issues/2109>`_)
|
(`issue #2109 <https://github.com/platformio/platformio-core/issues/2109>`_)
|
||||||
|
2
docs
2
docs
Submodule docs updated: 6270f547f8...11ed449808
@ -9,6 +9,12 @@ add_custom_target(
|
|||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
add_custom_target(
|
||||||
|
PLATFORMIO_BUILD_VERBOSE ALL
|
||||||
|
COMMAND ${PLATFORMIO_CMD} -f -c clion run --verbose
|
||||||
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
add_custom_target(
|
add_custom_target(
|
||||||
PLATFORMIO_UPLOAD ALL
|
PLATFORMIO_UPLOAD ALL
|
||||||
COMMAND ${PLATFORMIO_CMD} -f -c clion run --target upload
|
COMMAND ${PLATFORMIO_CMD} -f -c clion run --target upload
|
||||||
@ -21,6 +27,12 @@ add_custom_target(
|
|||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
add_custom_target(
|
||||||
|
PLATFORMIO_MONITOR ALL
|
||||||
|
COMMAND ${PLATFORMIO_CMD} -f -c clion device monitor
|
||||||
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
add_custom_target(
|
add_custom_target(
|
||||||
PLATFORMIO_TEST ALL
|
PLATFORMIO_TEST ALL
|
||||||
COMMAND ${PLATFORMIO_CMD} -f -c clion test
|
COMMAND ${PLATFORMIO_CMD} -f -c clion test
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
# !!! WARNING !!!
|
||||||
|
# PLEASE DO NOT MODIFY THIS FILE!
|
||||||
|
# USE https://docs.platformio.org/page/projectconf/section_env_build.html#build-flags
|
||||||
|
|
||||||
% def _normalize_path(path):
|
% def _normalize_path(path):
|
||||||
% if project_dir in path:
|
% if project_dir in path:
|
||||||
% path = path.replace(project_dir, "${CMAKE_CURRENT_LIST_DIR}")
|
% path = path.replace(project_dir, "${CMAKE_CURRENT_LIST_DIR}")
|
||||||
|
Reference in New Issue
Block a user