This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Running nRF8001 example code on Teensy3.0 Arduino

Hi there!

I'm trying to run the 2014 arduino example code on a Teensy3.0 arduino variant. I need to know if the example file will run on the ARM core.

Right now I'm getting this error:

.../BLE06Jan2104/hal_aci_tl.cpp:37:23: fatal error: avr/sleep.h: No such file or directory compilation terminated.

Do I need to modify the btle library to be compatible with this version of the Arduino? Thanks! -r

Parents
  • The SDK will work with Teensy 3.0 as some folks have already done so. This does require some modifications , like removing the AVR specific headers and functions. I think PROGMEM may also need to be modified and also the F("zzz") method of calling the print functions.

    We/Others have tested with Maple (STM32), ChipKIT (PIC32), Arduino (AVR based and DUE) , still missing the pinguino (PIC) and teensy.

Reply
  • The SDK will work with Teensy 3.0 as some folks have already done so. This does require some modifications , like removing the AVR specific headers and functions. I think PROGMEM may also need to be modified and also the F("zzz") method of calling the print functions.

    We/Others have tested with Maple (STM32), ChipKIT (PIC32), Arduino (AVR based and DUE) , still missing the pinguino (PIC) and teensy.

Children
Related