This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Arduino Zero Pro porting the library

Hi guys, I have to port the current library that is working at the arduino uno for arduino zero pro but when I change the board type I get the following errors:

__file__.ino:39:69: note: in expansion of macro 'SETUP_MESSAGES_CONTENT'
__file__.h:512:1: error: too many initializers for 'const hal_aci_data_t'
Parents
  • If you are using the nRF8001 Arduino library, the Arduinos that are AVR based are low on RAM so the setup for the nRF8001 is stored in flash, this is done using the PROGMEM directive to place the nRF8001 Setup to RAM.

    The Arduino Zero should have more RAM so it should be possible to just remove the PROGMEM and just place the Setup data in the RAM and not in the flash.

    Let me know how this goes.

  • The nRF8001 SDK for Arduino already supports ChipKIT, look at the #defines for ChipKIT in the SDK to see the methods that needed changes. Most changes are in the platform.h under the PIC32MX definition.

Reply Children
No Data
Related