Skip to content

Commit

Permalink
Merge pull request #4 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 ed2be2e + 0295764 commit 825d798
Show file tree
Hide file tree
Showing 4 changed files with 9 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 @@ -32,6 +32,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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ Such a feature is useful for the [Cyphal](https://opencyphal.org/) protocol and

This library works for
* [arduino-pico](https://github.com/earlephilhower/arduino-pico): [`Raspberry Pi Pico`](https://www.raspberrypi.org/products/raspberry-pi-pico), `Adafruit Feather RP2040`, ... :heavy_check_mark:
* [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:
2 changes: 1 addition & 1 deletion examples/EEPROM-ReadWrite/EEPROM-ReadWrite.ino
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ static uint8_t const EEPROM_I2C_DEV_ADDR = 0x50;

EEPROM_24LCxx eeprom(EEPROM_24LCxx_Type::LC64,
EEPROM_I2C_DEV_ADDR,
[](size_t const dev_addr) { Wire.beginTransmission(dev_addr); },
[](uint8_t const dev_addr) { Wire.beginTransmission(dev_addr); },
[](uint8_t const data) { Wire.write(data); },
[]() { return Wire.endTransmission(); },
[](uint8_t const dev_addr, size_t const len) -> size_t { return Wire.requestFrom(dev_addr, len); },
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ sentence=Arduino library providing a modern C++ wrapper around littlefs.
paragraph=
category=Data Storage
url=https://github.com/107-systems/107-Arduino-24LCxx
architectures=rp2040
architectures=rp2040,renesas_portenta,renesas_uno
includes=107-Arduino-24LCxx.hpp

0 comments on commit 825d798

Please sign in to comment.