VS Arduino
Visual Micro >> Usb/Serial/WiFi Debugging >> debug Arduino Nano 33 BLE Sense bluetooth application
https://www.visualmicro.com/forums/YaBB.pl?num=1610307121

Message started by P.Ferenc on Jan 10th, 2021 at 7:32pm

Title: debug Arduino Nano 33 BLE Sense bluetooth application
Post by P.Ferenc on 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!

Title: Re: debug Arduino Nano 33 BLE Sense bluetooth application
Post by Simon@Visual Micro on 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.

Title: Re: debug Arduino Nano 33 BLE Sense bluetooth application
Post by P.Ferenc on 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.

https://www.visualmicro.com/forums/YaBB.pl?action=downloadfile;file=CompileLOG_210111-1636.txt ( 139 KB | 6 Downloads )

Title: Re: debug Arduino Nano 33 BLE Sense bluetooth application
Post by Simon@Visual Micro on 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}[/code]

Title: Re: debug Arduino Nano 33 BLE Sense bluetooth application
Post by P.Ferenc on Jan 11th, 2021 at 6:02pm
Thanks you help! It's working...

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.