Re: STM32 and GDB - How do I generate the ELF file?

2023-06-10 Thread Alan C. Assis
We have a more detailed documentation here: https://nuttx.apache.org/docs/latest/quickstart/debugging.html#debugging-with-openocd-and-gdb Any issue, please let us to know. BR, Alan On 6/10/23, Alan C. Assis wrote: > Hi Mark, > > Could you please try these magical steps: > > $ make distclean >

Re: STM32 and GDB - How do I generate the ELF file?

2023-06-10 Thread Alan C. Assis
Hi Mark, Could you please try these magical steps: $ make distclean $ ./tools/configure.sh stm32f777zit6-meadow:nsh $ make menuconfig Build Setup ---> Debug Options ---> [*] Generate Debug Symbols $ make -j Flash nuttx.bin Connect to the board using OpenOCD + STLink-V2: $ sudo op

STM32 and GDB - How do I generate the ELF file?

2023-06-10 Thread Mark Stevens
So I’m admitting defeat on this problem and I need some help please. I’m trying to work out the magic incantations I need to weave to create a NuttX ELF file that I can use with GDB. To be clear this is the OS ELF file that I can use on the host computer. I am currently targeting the Pico boar

Re: qencoder / long / float / double / maximum values

2023-06-10 Thread raiden00pl
> Thanks Raiden! Can you hint a complete implementation that I can base > on the ESP32 work? :-) You can look at https://github.com/apache/nuttx/blob/master/arch/arm/src/stm32/stm32_qencoder.c and search for CONFIG_STM32_QENCODER_INDEX_PIN. sob., 10 cze 2023 o 02:53 Tomek CEDRO napisał(a): > On