Skip to content

Commit cbdcac5

Browse files
committed
Make socket transport independent on the framework
1 parent 5059ebc commit cbdcac5

File tree

3 files changed

+3
-106
lines changed

3 files changed

+3
-106
lines changed

extra_script.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,15 @@
2929
main_path = os.path.realpath(".")
3030
global_env = DefaultEnvironment()
3131
board = env['BOARD']
32-
framework = env['PIOFRAMEWORK'][0]
3332
platform = env.get('PIOPLATFORM', None)
3433
extra_packages_path = "{}/extra_packages".format(env['PROJECT_DIR'])
3534

3635
if platform == 'linux_arm':
36+
# Transports built for linux do not depend on the framework
37+
framework = 'linux'
3738
selected_board_meta = 'linux.meta'
3839
else:
40+
framework = env['PIOFRAMEWORK'][0]
3941
selected_board_meta = boards_metas[board] if board in boards_metas else "colcon.meta"
4042

4143
# Retrieve the required transport. Default iron

platform_code/wiringpi/socket/micro_ros_transport.cpp

Lines changed: 0 additions & 84 deletions
This file was deleted.

platform_code/wiringpi/socket/micro_ros_transport.h

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)