OpenCR can be managed by the Board Manager via thirdpary json.
However, developers sometimes want to work on various branches, including the develop branch, or on branches that they fork.
In this case, there is a way to add to the Arduino board list without using a json file.
This method is using the hardware folder in the sketchbook folder.
For example, if you want the develop branch, you can proceed as follows:
Use git to clone the desired branch(In this case, develop).
$ cd ~/Downloads
$ git clone --recursive https://github.com/ROBOTIS-GIT/OpenCR.git -b develop
Create an OpenCR folder inside the Arduino sketchbook/hardware folder.
As I noted in the other thread the name of the link (opencr) including it’s case is important as Arduino uses it.
Also side note: I have also done similar trick with OpenCM9.04. The process is almost identical (except for names), However in this case the Arduino will fail in the link phase. As it can not find the file:
To resolve this, I used the command:
<full path to arm-non-eabi-ar> rcs lib_f103.a
Thanks again, your instructions make the process a lot clearer!
I’m sorry for the late reply. The board manager installation method will provide the compiler.
You can also find the OpenCR GCC complier from the link below.
Please select proper one for your system and use the url to download it.
Please note that OpenCR currently does not support ARM based SBC such as Raspberry Pi or NVidia Jetson boards.