Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • 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
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
debug Arduino Nano 33 BLE Sense bluetooth application (Read 525 times)
P.Ferenc
Newbies
*
Offline



Posts: 6
Budapest
debug Arduino Nano 33 BLE Sense bluetooth application
Jan 10th, 2021 at 7:32pm
 
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 'C:\Users\feren\AppData\Local\arduino15\packages\arduino\tools\arm-none-eabi-gcc
\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
 
WWW  
IP Logged
 
Simon@Visual Micro
Administrator
*****
Online



Posts: 1014
Re: debug Arduino Nano 33 BLE Sense bluetooth application
Reply #1 - Jan 11th, 2021 at 3:17pm
 
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
Budapest
Re: debug Arduino Nano 33 BLE Sense bluetooth application
Reply #2 - Jan 11th, 2021 at 3:37pm
 
Yes, I confirm it, it is unchecked...
I attached the new LOG file with Show Build Properties and Folders.
Back to top
 

Please Register or Login to the Forum to see File Attachments
WWW  
IP Logged
 
Simon@Visual Micro
Administrator
*****
Online



Posts: 1014
Re: debug Arduino Nano 33 BLE Sense bluetooth application
Reply #3 - Jan 11th, 2021 at 4:22pm
 
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:
runtime.tools.arm-none-eabi-gcc.path={runtime.tools.xpack-arm-none-eabi-gcc.path} 

Back to top
 
 
IP Logged
 
P.Ferenc
Newbies
*
Offline



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