Add debugPins module that provides functions to set and clear debug GPIOs.

Disable logging once again.
This commit is contained in:
JF
2020-03-01 21:00:59 +01:00
parent 5bc0640b73
commit 6f1857c503
5 changed files with 88 additions and 3 deletions

View File

@@ -37,6 +37,10 @@ if(USE_OPENOCD)
endif()
endif()
if(DEFINED USE_DEBUG_PINS AND USE_DEBUG_PINS)
add_definitions(-DUSE_DEBUG_PINS)
endif()
message("BUILD CONFIGURATION")
message("-------------------")
message(" * Version : " ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH})
@@ -53,6 +57,11 @@ elseif(USE_GDB_CLIENT)
elseif(USE_OPENOCD)
message(" * Programmer/debugger : OpenOCD Client")
endif()
if(USE_DEBUG_PINS)
message(" * Debug pins : Enabled")
else()
message(" * Debug pins : Disabled")
endif()
set(VERSION_EDIT_WARNING "// Do not edit this file, it is automatically generated by CMAKE!")
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/Version.h.in ${CMAKE_CURRENT_SOURCE_DIR}/src/Version.h)