File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4343selected_board_meta = boards_metas [board ] if board in boards_metas else "colcon.meta"
4444
4545# Retrieve the required transport
46- microros_version = project_options ['microros_version ' ] if 'microros_version ' in project_options else 'galactic'
46+ microros_distro = project_options ['microros_distro ' ] if 'microros_distro ' in project_options else 'galactic'
4747
4848# Retrieve the required transport
4949microros_transport = project_options ['microros_transport' ] if 'microros_transport' in project_options else 'serial'
107107
108108# Add micro-ROS defines to user application
109109global_env ['_CPPDEFFLAGS' ] += ' -DMICRO_ROS_TRANSPORT_{} ' .format (microros_transport .upper ())
110- global_env ['_CPPDEFFLAGS' ] += ' -DMICRO_ROS_DISTRO_ ' .format (microros_version .upper ())
110+ global_env ['_CPPDEFFLAGS' ] += ' -DMICRO_ROS_DISTRO_ ' .format (microros_distro .upper ())
111111
112112# Add platformio library for Arduino framework
113113if 'arduino' == framework :
You can’t perform that action at this time.
0 commit comments