Hi
I have been working on a project that takes input from a temperature sensor and sends it over Bluetooth to an ios device. I had done this previously using an arduino and HM-10 chip but wanted to use something sleeker for the final project. I had bought a nRF52832 and have been trying to get the chip to work. While I have downloaded all of the libraries needed for the arduino and updated the bootlegger, anytime I try and run one of the example programs to connect to the iPhone, I get the error message "Error compiling for board Adafruit Feather nRF52832."
Do you think you can help me with my problem?
Thank you
nRF52832
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_carter
- Posts: 29150
- Joined: Tue Nov 29, 2016 2:45 pm
Re: nRF52832
Need more of the text messages associated with the error. To get those, turn on verbose output:
File -> Preferences...
Show verbose output during: -> check both boxes
Then compile the code again and paste all the text here.
File -> Preferences...
Show verbose output during: -> check both boxes
Then compile the code again and paste all the text here.
- IronKnight888
- Posts: 6
- Joined: Tue Jul 26, 2022 3:39 pm
Re: nRF52832
Here is a picture of the error message
- Attachments
-
- image_2022-07-26_164031067.png (183.86 KiB) Viewed 110 times
- adafruit_support_carter
- Posts: 29150
- Joined: Tue Nov 29, 2016 2:45 pm
Re: nRF52832
The adafruit_Test_2.ino sketch has several undefined references. Can you link to where that example is originating?
- IronKnight888
- Posts: 6
- Joined: Tue Jul 26, 2022 3:39 pm
Re: nRF52832
I'm not really sure where the errors are originating from. I have been following this tutorial
https://learn.adafruit.com/bluefruit-nr ... bootloader
And was trying to run the BLE Pin I/O code. Is there anything else I can send that can help you out?
https://learn.adafruit.com/bluefruit-nr ... bootloader
And was trying to run the BLE Pin I/O code. Is there anything else I can send that can help you out?
- adafruit_support_carter
- Posts: 29150
- Joined: Tue Nov 29, 2016 2:45 pm
Re: nRF52832
Are you getting the same errors if you try uploading the basic test sketch?
https://learn.adafruit.com/bluefruit-nr ... ch-2860620
https://learn.adafruit.com/bluefruit-nr ... ch-2860620
- IronKnight888
- Posts: 6
- Joined: Tue Jul 26, 2022 3:39 pm
Re: nRF52832
No the Basic Test sketch seems to be working. The beacon code also can be downloaded but I have been unable to connect. I think that it might have to do with the use of the packetParser.cpp in the UART controller code as I am unsure how to implement it.
- adafruit_support_carter
- Posts: 29150
- Joined: Tue Nov 29, 2016 2:45 pm
Re: nRF52832
Can you link to the specific example you are trying to run that is generating the error messages.
- IronKnight888
- Posts: 6
- Joined: Tue Jul 26, 2022 3:39 pm
- adafruit_support_carter
- Posts: 29150
- Joined: Tue Nov 29, 2016 2:45 pm
Re: nRF52832
That example is compiling OK here for a target board of Adafruit Feather nRF52832.
Note that there are two separate pieces to the code. Make sure your Arduino IDE is showing the two tabs, similar to this: The tab on the left can be named something else - just whatever your sketch name is.
Note that there are two separate pieces to the code. Make sure your Arduino IDE is showing the two tabs, similar to this: The tab on the left can be named something else - just whatever your sketch name is.
- IronKnight888
- Posts: 6
- Joined: Tue Jul 26, 2022 3:39 pm
Re: nRF52832
I was able to get this example working thanks to the packerparser.cpp thank you!
Do you know where I can find any examples for code that sends data from the chip to the phone app?
Do you know where I can find any examples for code that sends data from the chip to the phone app?
Please be positive and constructive with your questions and comments.