doayee / RN52

The Arduino library for the Microchip RN52 used on the Doayee BAL, revised from v1 to be used with an optional attached LCD as a MetaData display.
https://doayee.co.uk/products/BAL
7 stars 4 forks source link

ARM Support #1

Open CJWheaton opened 5 years ago

CJWheaton commented 5 years ago

Hello, I'm trying to implement using an Arduino Due with following error while compiling:

_"\RN52-master\RN52.cpp:36:30: fatal error: util/delay_basic.h: No such file or directory

include <util/delay_basic.h>

                          ^

compilation terminated."

A little online search indicates the problem may be due to the Arduino type being AMR vs standard AVR. Not sure how to modify to make it compatible.

Any help is much appreciated!!

doayee commented 5 years ago

Hey,

You’re right, the RN52 library is based on the SoftwareSerial library for AVR microcontrollers. Depending on how desperate you are I could potentially try throw a library together next week that might work (or you could attempt it, it took me only a few hours to port the ESP version), but I don’t have a Due to test on and can’t make any promises.

Tom at Doayee

On 17 Jun 2019, at 03:28, CJWheaton notifications@github.com wrote:

Hello, I'm trying to implement using an Arduino Due with following error while compiling:

_"\RN52-master\RN52.cpp:36:30: fatal error: util/delay_basic.h: No such file or directory

include <util/delay_basic.h>

^ compilation terminated."

A little online search indicates the problem may be due to the Arduino type being AMR vs standard AVR. Not sure how to modify to make it compatible.

Any help is much appreciated!!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/doayee/RN52/issues/1?email_source=notifications&email_token=AJBMXPFVYTCBVL62LXPK7P3P23ZFJA5CNFSM4HYSUV62YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZY5M2Q, or mute the thread https://github.com/notifications/unsubscribe-auth/AJBMXPFJQ43SF65LYAVWCZTP23ZFJANCNFSM4HYSUV6Q.

CJWheaton commented 5 years ago

Tom, thanks for the reply. I have been looking through your code and think I can find a way to making something work. I have a ways to go and focus will be elsewhere for the next week (awaiting the arrival of a baby), but I like the challenge.

Sent from my iPhone

On Jun 20, 2019, at 1:24 PM, Doayee notifications@github.com wrote:

Hey,

You’re right, the RN52 library is based on the SoftwareSerial library for AVR microcontrollers. Depending on how desperate you are I could potentially try throw a library together next week that might work (or you could attempt it, it took me only a few hours to port the ESP version), but I don’t have a Due to test on and can’t make any promises.

Tom at Doayee

On 17 Jun 2019, at 03:28, CJWheaton notifications@github.com wrote:

Hello, I'm trying to implement using an Arduino Due with following error while compiling:

_"\RN52-master\RN52.cpp:36:30: fatal error: util/delay_basic.h: No such file or directory

include <util/delay_basic.h>

^ compilation terminated."

A little online search indicates the problem may be due to the Arduino type being AMR vs standard AVR. Not sure how to modify to make it compatible.

Any help is much appreciated!!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/doayee/RN52/issues/1?email_source=notifications&email_token=AJBMXPFVYTCBVL62LXPK7P3P23ZFJA5CNFSM4HYSUV62YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZY5M2Q, or mute the thread https://github.com/notifications/unsubscribe-auth/AJBMXPFJQ43SF65LYAVWCZTP23ZFJANCNFSM4HYSUV6Q.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.