Hey @rei_vilo,
I was able to add support for the redbear duo in Workbench with the following:
cd ~/.particle/toolchains/deviceOS
git clone https://github.com/redbear/firmware redbearduo
cd redbearduo
git submodule update --init --recursive
mkdir .workbench
nano .workbench/manifest.json
Put the following contents in .workbench/manifest.json
:
{
"version": "1.0.0",
"toolchains": [
{
"firmware": "deviceOS@source",
"compilers": "gcc-arm@5.3.1",
"debuggers": "openocd@0.11.2-adhoc6ea4372.0",
"platforms": [1],
"scripts": "buildscripts@1.9.2",
"tools": "buildtools@1.1.1"
}
],
"platforms": [
{
"id": 1,
"name": "duo",
"generation": 1
}
]
}
In Workbench I set the Custom Device OS Location
to ~/.particle/toolchains/deviceOS/redbearduo
Next, I opened created a new Workbench project and I selected the deviceOS@source
firmware and the duo
device:
After that, I was able to compile the project for the redbear duo.
Sources:
https://support.particle.io/hc/en-us/articles/360039251434/#working-with-a-custom-device-os-build