uORB: print individual bits of fields

- applies to messages with names containing "flags" or "bits" and unsigned fixed width integer type (uint8, uint16, uint32)
This commit is contained in:
Daniel Agar
2020-07-19 12:25:15 -04:00
parent b8f3b97bad
commit 459abcd035
2 changed files with 8 additions and 2 deletions
+2
View File
@@ -235,6 +235,7 @@ add_custom_command(OUTPUT ${uorb_headers}
templates/uorb/msg.h.em
templates/uorb/uORBTopics.hpp.em
tools/px_generate_uorb_topic_files.py
tools/px_generate_uorb_topic_helper.py
COMMENT "Generating uORB topic headers"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
VERBATIM
@@ -257,6 +258,7 @@ add_custom_command(OUTPUT ${uorb_sources}
templates/uorb/msg.cpp.em
templates/uorb/uORBTopics.cpp.em
tools/px_generate_uorb_topic_files.py
tools/px_generate_uorb_topic_helper.py
COMMENT "Generating uORB topic sources"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
VERBATIM