Skip to content

bug: on UnoQ board the Modulino does not work with Arduino_LED_Matrix.h #40

@dido18

Description

@dido18

Steps to Reproduce

runnning the core : arduino:zephyr 0.12.0-rc4

  • Open the Modulino examples for the UNO Q
  • Add the following include line at the top of the sketch:
#include "Arduino_LED_Matrix.h"
  • Compile the sketch

Actual Behavior

Compilation fails with the following errors:

/home/dido/Arduino/libraries/Modulino/src/Modulino.cpp: In function 'void __increaseI2CPriority()':
/home/dido/Arduino/libraries/Modulino/src/Modulino.cpp:19:13: error: 'R_ICU' was not declared in this scope
   19 |         if (R_ICU->IELSR[i] == BSP_PRV_IELS_ENUM(EVENT_IIC0_TXI)) {
      |             ^~~~~
/home/dido/Arduino/libraries/Modulino/src/Modulino.cpp:19:50: error: 'EVENT_IIC0_TXI' was not declared in this scope
   19 |         if (R_ICU->IELSR[i] == BSP_PRV_IELS_ENUM(EVENT_IIC0_TXI)) {
      |                                                  ^~~~~~~~~~~~~~
/home/dido/Arduino/libraries/Modulino/src/Modulino.cpp:19:32: error: 'BSP_PRV_IELS_ENUM' was not declared in this scope
   19 |         if (R_ICU->IELSR[i] == BSP_PRV_IELS_ENUM(EVENT_IIC0_TXI)) {

It seems that Modulino.cpp references Renesas-specific low-level symbols (R_ICU, BSP_PRV_IELS_ENUM, etc.) that may not be defined or compatible under Zephyr when Arduino_LED_Matrix.h is included.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions