Comments (8)
You have to add svd file using debug_custon.json file. See the forum to know how to write json file.
from arduino_core_stm32.
I created a custom_debug.json with contents
{
"svdFile": "C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\SVD\STM32L4R5.svd"
}
in the sketch folder, but that did not work.
Then I changed the json to
{
"svdFile": "STM32L4R5.svd"
}
and copied STM32L4R5.svd into the sketch folder, but it still does not work.
from arduino_core_stm32.
I also tried using different slashes for the path, no luck either ...
from arduino_core_stm32.
In fact since IDE 2.3.x, the debug has been reworked by Arduino.
I'm currently working to support the new way to support debug svd files.
from arduino_core_stm32.
For ref: arduino/arduino-ide#1920
from arduino_core_stm32.
I downgraded to 2.0.3 but I still don't get access to peripheral registers
So clearly, I am still doing something wrong :/
from arduino_core_stm32.
Oh my...
Just realized that you don't have to manualy create a watch expression, but that there is a complete peripheral register viewer...
...and for those who use sloeber
you can specify a svd-file to use in the debug launch configuration:
from arduino_core_stm32.
Here a way to get the svd properly load within Arduino IDE 2.3.2:
In the boards.txt add this line to the board entry you want:
Example for Nucleo L496ZG-P
Nucleo_144.menu.pnum.NUCLEO_L496ZG-P.debug.svd_file=C:\\ST\STM32CubeCLT_1.15.0\\STMicroelectronics_CMSIS_SVD\\STM32L4x6.svd
from arduino_core_stm32.
Related Issues (20)
- Error: 13 INTERNAL: Library install failed: moving extracted archive to destination dir: library not valid HOT 2
- Nucleo-F439ZI support HOT 4
- STM32F103 RTC BKP Registers 16bit not 32bit HOT 4
- I2S on STM32F401
- Low power timers are missing in PeripheralPins.c
- Is the STM32F030CCT6 chip supported? HOT 2
- STM32F030CCT6 PB15 GPIO Interrupt HOT 4
- STM32F030CCT6 InputCapture Problem HOT 3
- About the application of DMA&ADC joint function of STM32 developed by CubeIDE on ArduinoIDE
- Nucleo F446ZE supported since v2.7.0, but json file missing Arduino core entries under PlatformIO? HOT 2
- Very, very, very minor doc bug HOT 1
- Arduino_Core_STM32 not compatible with Arduino Modbus library
- STM32F030F4P6 not working with stm32duino 2.0.0 or later.
- "blue pill" w/STMF103C8 USB-CDC Serial not reading from host HOT 1
- `HardwareSerial::flush()` returns immediately if called as `Stream*->flush()` interface HOT 2
- USBD CDC package maybe splited when using SerialUSB.write() HOT 2
- USE_FULL_ASSERT results in failed build due to missing stm32_assert.h HOT 1
- Option to disable Clock Security System (CSS) in setup
- Wire.h i2c slave not working, STM32F103 is freezing.. HOT 1
- h503 .cfg Files to enable Debug
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino_core_stm32.