arduino / ArduinoCore-renesas

MIT License
111 stars 77 forks source link

Portenta C33-specific platform bundled libraries/examples are included in the "Arduino UNO R4 Boards" platform distribution #21

Open martinerk0 opened 1 year ago

martinerk0 commented 1 year ago

Board: Uno R4 Wifi Core version 1.0.1

  1. RTC:
    • RTC_Alarm
      • LEDR etc were not defined
    • RTC_NTPSync
      • fatal error: WiFiC3.h: No such file or directory #include
      • change to -> #include "WiFiS3.h"
  2. Storage:
    • FatFsOnQSPIFlash
      • undefined reference to `BlockDevice::get_default_instance()'
    • LittleFsOnQSPIFlash
      • undefined reference to `BlockDevice::get_default_instance()'
    • QSPIFormat
      • undefined reference to `BlockDevice::get_default_instance()'
    • QSPIFReadPartitions
      • undefined reference to `BlockDevice::get_default_instance()'
    • TestCodeFlash
      • TestCodeFlash.ino.elf section .bss will not fit in region RAM
    • TestQSPIF
      • error: 'QSPI_ERASE_BLOCK_SIZE' was not declared in this scope
    • TestSDCARD
      • error: 'SDCardBlockDevice' does not name a type; did you mean 'BlockDevice'?
  3. UsbMsd
    • MSD_QSPI
      • error: 'SCSI_SENSE_ILLEGAL_REQUEST' was not declared in this scope
    • MSD_QSPI_SDCard
      • 'QSPIFlashBlockDevice' does not name a type; did you mean 'BlockDevice'?
    • MSD_SDCard
      • 'SDCardBlockDevice' does not name a type; did you mean 'BlockDevice'?

A lot of examples were just lazily copied from other board's examples (Portenta C33) :scream: and some of the does not make sense (SD card?)

karlsoderby commented 1 year ago

Hi @martinerk0 , thanks for raising this issue. The Portenta C33 and UNO R4 boards is based on the same core, where they share the pre-packaged libraries along with its examples. We need to evaluate this and make sure that all examples that appear when using an UNO R4 are compatible.