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 debug Arduino Nano 33 BLE Sense bluetooth application (Read 1936 times)
P.Ferenc
Newbies
*
Offline


Posts: 6
Location: Budapest
Joined: Apr 1st, 2018
debug Arduino Nano 33 BLE Sense bluetooth application
Jan 10th, 2021 at 7:32pm
Print Post  
Hi,

I created a simple BLE central application to Nano 33 BLE Sense board. I can complie and upload with Arduino IDE and vMicro in release mode, but if I try to compile in debug mode I got an error message:

"arm-none-eabi-g++*: error: CreateProcess: No such file or directory
Error compiling libraries"

Full compile output here: https://pastebin.com/TWKfFgX5

The arm-none-eabi-g++ is in \7-2017q4/bin' directory I checked.

Could you help, how can I fix this compile error in debug mode?

Thanks for help!
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2145
Joined: Feb 13th, 2019
Re: debug Arduino Nano 33 BLE Sense bluetooth application
Reply #1 - Jan 11th, 2021 at 3:17pm
Print Post  
Thanks for the report.

Can you confirm there is still an issue with the vMicro > Debugger > Monitor Free Memory Unchecked?

If there is still a problem, please upload a new log with the vMicro > Compiler > Show Build Properties Checked.
  
Back to top
 
IP Logged
 
P.Ferenc
Newbies
*
Offline


Posts: 6
Location: Budapest
Joined: Apr 1st, 2018
Re: debug Arduino Nano 33 BLE Sense bluetooth application
Reply #2 - Jan 11th, 2021 at 3:37pm
Print Post  
Yes, I confirm it, it is unchecked...
I attached the new LOG file with Show Build Properties and Folders.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2145
Joined: Feb 13th, 2019
Re: debug Arduino Nano 33 BLE Sense bluetooth application
Reply #3 - Jan 11th, 2021 at 4:22pm
Print Post  
Thanks for the detail, and it looks to be the limitation within the current toolchain (logged on GitHub here).

This can be worked around by either disabling the Serial Debugger, or by forcing a later toolchain to be used.

To force in a later toolchain
1) Install the "STM32 Cores" Board package from Boards manager
2) Add a Local board.txt file to your project, by Right Clicking the Project in Solution Explorer > Add > Local Board.txt
3) Add the below property to a Local board.txt file, then save, and build the project again
Code
Select All
} 

  
Back to top
 
IP Logged
 
P.Ferenc
Newbies
*
Offline


Posts: 6
Location: Budapest
Joined: Apr 1st, 2018
Re: debug Arduino Nano 33 BLE Sense bluetooth application
Reply #4 - Jan 11th, 2021 at 6:02pm
Print Post  
Thanks you help! It's working...
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint