Skip to content

Commit

Permalink
Merge pull request #242 from 107-systems/renesas
Browse files Browse the repository at this point in the history
Add support for ArduinoCore-renesas
  • Loading branch information
aentinger authored Aug 9, 2023
2 parents 68854c8 + 73af8ad commit 07d0802
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/compile-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ jobs:
platforms: |
- name: rp2040:rp2040
source-url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
- fqbn: arduino:renesas_portenta:portenta_c33
platforms: |
- name: arduino:renesas_portenta
- fqbn: arduino:renesas_uno:minima
platforms: |
- name: arduino:renesas_uno
steps:
- name: Checkout
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ This library works for
```bash
arduino-cli compile -b rp2040:rp2040:rpipico -v examples/OpenCyphal-Heartbeat-Publisher -u -p /dev/ttyACM0
```
* [ArduinoCore-renesas](https://github.com/arduino/ArduinoCore-renesas): [`Portenta C33`](https://store.arduino.cc/products/portenta-c33), [`Uno R4 WiFi`](https://store.arduino.cc/products/uno-r4-wifi), [`Uno R4 Minima`](https://store.arduino.cc/products/uno-r4-minima), ... :heavy_check_mark:
```bash
arduino-cli compile -b arduino:renesas_portenta:portenta_c33 -v examples/OpenCyphal-Heartbeat-Publisher -u -p /dev/ttyACM0
```
* **Host** (x86/x64/...): Using the CMake build system this library can be cross-compiled to a static C++ library and linked against any C++ executable. This is possible because the code itself is pure C/C++ without and dependencies to the Arduino framework.
```bash
git clone https://github.com/107-systems/107-Arduino-Cyphal && cd 107-Arduino-Cyphal
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ sentence=Arduino library for providing a convenient C++ interface for accessing
paragraph=
category=Communication
url=https://github.com/107-systems/107-Arduino-Cyphal
architectures=rp2040
architectures=rp2040,renesas_portenta,renesas_uno
includes=107-Arduino-Cyphal.h
depends=
1 change: 0 additions & 1 deletion src/util/registry/registry_value.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

#pragma once

#include <span>
#include <array>
#include <cstdint>
#include <cstring>
Expand Down

0 comments on commit 07d0802

Please sign in to comment.