Skip to content

Commit 206dee7

Browse files
authored
Updating OpenCR BSP (#4)
1 parent 0be7b99 commit 206dee7

File tree

2 files changed

+7
-22
lines changed

2 files changed

+7
-22
lines changed

.github/workflows/ci.yml

-7
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,4 @@ jobs:
3030
arduino-cli core install OpenCR:OpenCR -v
3131
arduino-cli core update-index
3232
arduino-cli lib update-index
33-
# Remove when https://github.com/ROBOTIS-GIT/OpenCR/pull/253 merged
34-
export ORIGIN=$(pwd)
35-
cd /github/home/.arduino15/packages/OpenCR/hardware/OpenCR/1.4.15
36-
rm -rf platform.txt
37-
wget https://raw.githubusercontent.com/ROBOTIS-GIT/OpenCR/44bcd82f48a933a7db5fae1bd69e97cda4932832/arduino/opencr_arduino/opencr/platform.txt
38-
cd $ORIGIN
39-
# Remove until here
4033
arduino-cli compile --fqbn OpenCR:OpenCR:OpenCR /github/home/Arduino/libraries/micro_ros_arduino-0.0.1/examples/micro-ros_publisher -v

README.md

+7-15
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ As the build process for ROS 2 and micro-ROS is based on custom meta-build syste
55

66
Supported boards are:
77

8-
| Board | State | Details | Prebuild meta |
9-
| ------------------------------------------------------------------------ | ---------- | --------------------------------------------------------------------------------------------------- | -------------------- |
10-
| [OpenCR](https://emanual.robotis.com/docs/en/parts/controller/opencr10/) | Supported | [Based on custom board](https://emanual.robotis.com/docs/en/parts/controller/opencr10/#arduino-ide) | `colcon.meta` |
11-
| [Teensy 4.0](https://www.pjrc.com/store/teensy40.html) | Not tested | [Based on Teensyduino](https://www.pjrc.com/teensy/td_download.html) | `colcon.meta` |
12-
| [Teensy 4.1](https://www.pjrc.com/store/teensy41.html) | Not tested | [Based on Teensyduino](https://www.pjrc.com/teensy/td_download.html) | `colcon.meta` |
13-
| [Teensy 3.2](https://www.pjrc.com/store/teensy32.html) | Not tested | [Based on Teensyduino](https://www.pjrc.com/teensy/td_download.html) | `colcon_lowmem.meta` |
8+
| Board | Min version | State | Details | Prebuild meta |
9+
| ------------------------------------------------------------------------ | ----------- | ---------- | --------------------------------------------------------------------------------------------------- | -------------------- |
10+
| [OpenCR](https://emanual.robotis.com/docs/en/parts/controller/opencr10/) | v1.4.16 | Supported | [Based on custom board](https://emanual.robotis.com/docs/en/parts/controller/opencr10/#arduino-ide) | `colcon.meta` |
11+
| [Teensy 4.0](https://www.pjrc.com/store/teensy40.html) | | Not tested | [Based on Teensyduino](https://www.pjrc.com/teensy/td_download.html) | `colcon.meta` |
12+
| [Teensy 4.1](https://www.pjrc.com/store/teensy41.html) | | Not tested | [Based on Teensyduino](https://www.pjrc.com/teensy/td_download.html) | `colcon.meta` |
13+
| [Teensy 3.2](https://www.pjrc.com/store/teensy32.html) | | Not tested | [Based on Teensyduino](https://www.pjrc.com/teensy/td_download.html) | `colcon_lowmem.meta` |
1414

1515
You can find the available precompiled ROS 2 types for messages and services in [available_ros2_types](available_ros2_types).
1616

@@ -59,15 +59,7 @@ see the file [3rd-party-licenses.txt](3rd-party-licenses.txt).
5959

6060
- When using provided precompiled libraries, users should take into account the already configured static memory pools in middleware layers. [More info here](https://micro-ros.github.io/docs/tutorials/core/microxrcedds_rmw_configuration/).
6161
- micro-ROS transports should be refactored in order to provide a pluggable mechanims. Only USB serial transports are provided.
62-
- Both OpenCR and Teensyduino support files have to be patched in order to use precompiled libraries.
63-
64-
### Patch OpenCR
65-
66-
```bash
67-
cd ~/.arduino15/packages/OpenCR/hardware/OpenCR/1.4.15
68-
rm -rf platform.txt
69-
wget https://github.com/ROBOTIS-GIT/OpenCR/blob/develop/arduino/opencr_arduino/opencr/platform.txt
70-
```
62+
- Teensyduino support files have to be patched in order to use precompiled libraries.
7163

7264
### Patch Teensyduino
7365

0 commit comments

Comments
 (0)