Skip to content

Commit

Permalink
Make socket transport independent on the framework
Browse files Browse the repository at this point in the history
  • Loading branch information
Caian committed Dec 16, 2023
1 parent 5059ebc commit cbdcac5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 106 deletions.
4 changes: 3 additions & 1 deletion extra_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@
main_path = os.path.realpath(".")
global_env = DefaultEnvironment()
board = env['BOARD']
framework = env['PIOFRAMEWORK'][0]
platform = env.get('PIOPLATFORM', None)
extra_packages_path = "{}/extra_packages".format(env['PROJECT_DIR'])

if platform == 'linux_arm':
# Transports built for linux do not depend on the framework
framework = 'linux'
selected_board_meta = 'linux.meta'
else:
framework = env['PIOFRAMEWORK'][0]
selected_board_meta = boards_metas[board] if board in boards_metas else "colcon.meta"

# Retrieve the required transport. Default iron
Expand Down
84 changes: 0 additions & 84 deletions platform_code/wiringpi/socket/micro_ros_transport.cpp

This file was deleted.

21 changes: 0 additions & 21 deletions platform_code/wiringpi/socket/micro_ros_transport.h

This file was deleted.

0 comments on commit cbdcac5

Please sign in to comment.