Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Compilation errors when using Bluefruit BLE HID on nRF52840 (Read 660 times)
GitMoDu
Newbies
*
Offline


Posts: 2
Joined: Oct 6th, 2024
Compilation errors when using Bluefruit BLE HID on nRF52840
Oct 7th, 2024 at 11:49am
Print Post  
Hi, long time user, I'm using the latest version of Visual Micro (2024.926.2200) and Arduino IDE (2.3.3). 

I've recently started using Nordic nRF52840 and found some issues. 
BLE HID Examples compile and work properly when compiled form Arduino IDE using Adafruit or Xiao core.

On Visual Micro in VS, any BLE HID example (Examples->Adafruit Bluefruit nRF) fails to compile. 

This should be easy to replicate, let me know if I can provide more info to undestand this problem.

Regards.



« Last Edit: Oct 7th, 2024 at 11:49am by GitMoDu »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
GitMoDu
Newbies
*
Offline


Posts: 2
Joined: Oct 6th, 2024
Re: Compilation errors when using Bluefruit BLE HID on nRF52840
Reply #1 - Oct 8th, 2024 at 8:03pm
Print Post  
After a bit of experimenting, I was able to avoid the compilation errors by adding some include dependencies before including bluefruit.

Code
Select All
#include <Adafruit_LittleFS.h>
#include <InternalFileSystem.h> 



After this, everything is working as expected!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint