diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index 101802d..763d96c 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -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 diff --git a/README.md b/README.md index e15be52..99486b5 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/examples/EEPROM-ReadWrite/EEPROM-ReadWrite.ino b/examples/EEPROM-ReadWrite/EEPROM-ReadWrite.ino index 175ad18..d10d544 100644 --- a/examples/EEPROM-ReadWrite/EEPROM-ReadWrite.ino +++ b/examples/EEPROM-ReadWrite/EEPROM-ReadWrite.ino @@ -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); }, diff --git a/library.properties b/library.properties index a21dc47..a4f6c64 100644 --- a/library.properties +++ b/library.properties @@ -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