Skip to content

Commit

Permalink
Fix colcon.meta (micro-ROS#39)
Browse files Browse the repository at this point in the history
* Initial

* Refactor external transport
  • Loading branch information
pablogs9 authored Feb 9, 2021
1 parent 8d4d314 commit c0b5926
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 3 additions & 1 deletion colcon.meta
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
"microxrcedds_client": {
"cmake-args": [
"-DUCLIENT_PIC=OFF",
"-DUCLIENT_PROFILE_DISCOVERY=ON"
"-DUCLIENT_PROFILE_DISCOVERY=ON",
"-DUCLIENT_EXTERNAL_SERIAL=ON",
"-DUCLIENT_PROFILE_TCP=OFF"
]
},
"rmw_microxrcedds": {
Expand Down
1 change: 1 addition & 0 deletions esp32_toolchain.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ add_definitions(-DLWIP_IPV4 -DLWIP_IPV6)

include_directories(
"@BUILD_CONFIG_DIR@"
${idf_path}/components/soc/soc/include
${idf_path}/components/freertos/port/xtensa/include
${idf_path}/components/hal/${idf_target}/include
${idf_path}/components/hal/include
Expand Down
4 changes: 0 additions & 4 deletions serial_transport_external/esp32_serial_transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ bool uxr_init_serial_platform(struct uxrSerialPlatform* platform, int fd, uint8_

if (fd == 0) {
platform->uart_port = UART_NUM_0;
} else if (fd == 1) {
platform->uart_port = UART_NUM_1;
} else if (fd == 2) {
platform->uart_port = UART_NUM_2;
} else {
return false;
}
Expand Down

0 comments on commit c0b5926

Please sign in to comment.