Forum Replies Created
-
AuthorPosts
-
szoharParticipant
I am not sure what you are saying and repeating.
Do you have someone that I can buy support and fix those issues?
Thanks
szoharParticipantI am not sure I understand “The last STM32 problem you reported is caused by trying to manually build the STM32F3-specific peripheral driver for the STM32H7 device, despite VisualGDB having a clear and automatic system for selecting the drivers and libraries that are compatible with each device type”
I couldn’t find the libraries for the H7, how do I let GDB find those libraries?
What do you mean by non relocated project?
szoharParticipantSince I couldn’t find few libraries in the GDB install for the stm32H7, I copied the header file into my directory (arm_math.h, arm_const_structs.h, arm_common_tables.h) from the ST library.
What else should I copy except the header file (.o .a) in order to use those libraries since I am getting in the linker undefined reference.
Thanks
SharonszoharParticipantI don’t think it is an ST issue. I was told to use the libraries from you directory and NOT from the ST library. Those libraries exist in the ST install but was recommended not to use those when using GDB and to use the one from the GDB directory.
How can I send you the project (the attachment is larger than the accepted size here).
szoharParticipantOK, this will not work.
I have a PC and a MAC I can’t get another PC just because you cant reproduce the problem. I am about to give up on this GDB since I am testing it for two different projects (STM32 and Arduino) and it is ridicules how much work is to get it working, totally unacceptable, doesn’t look as a professional solution.
szoharParticipantHi,
I did remove the directory as suggested and now getting the below (it is getting ridicules)
Severity Code Description Project File Line Suppression State
Error expected ‘)’ before ‘/’ token Blink_2 C:\Users\Sharon\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5.0\cores\esp8266\Arduino.h 169
Error ‘build’ undeclared (first use in this function) Blink_2 <command-line>
Error expected ‘;’ before ‘}’ token Blink_2 <command-line>
Error token “{” is not valid in preprocessor expressions Blink_2 <command-line>Code is attached.
szoharParticipantHi,
Thanks for your reply.
Maybe I don’t understand your instructions, I totally removed the Arduino IDE from my system, what do you mean by delete?
Thanks
Sharon
szoharParticipantHi,
This is very bad now, I remove the Arduino (no I don’t have Arduino anymore) bus still getting the exact same error.
xtensa-lx106-elf-gcc: error: C:\Users\Sharon\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1/tools/sdk/ld/eagle.app.v6.common.ld.h: No such file or directory
xtensa-lx106-elf-gcc: fatal error: no input filesI will appropriate if you can test a code before suggesting such a change.
Can you please check a simple code that works on 8266 D1 mini and send it to me. I need this ASAP.
Thanks
Sharon
szoharParticipantHi,
I am still looking forward to an answer on this, I email the data.
Sharon
szoharParticipantStill getting the exact same errors, please see the file attached.
I will forward the full project directory through email to you guys. Since the other computer is oversea it is very hard for me to test it back and forth, it will be easier for you to load and compile and see that there is no errors.
Attachments:
You must be logged in to view attached files.szoharParticipantHi,
Thanks for the info, in order to be able to use the old project I need to be able to fix it. I did replace the $(BSP_ROOT) but still see lots of absolute path which I am not sure how to correct.
Please see the file attached.
Thanks
SharonAttachments:
You must be logged in to view attached files.szoharParticipantYes, I used an example on the second machine was able to compile and debug, work as expected.
All the BSP files are perfectly OK, the problem is the path that is searching the is wrong.
For example the file that it is compiling exist in C:\Users\Avi\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.stm32\STM32H7xxxx\STM32H7xx_HAL_Driver\Src and not in C:/Users/Avi/Documents/G3/AppData/Local/VisualGDB/EmbeddedBSPs/arm-eabi/com.sysprogs.arm.stm32/STM32H7xxxx/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_gpio.c I am not sure where the C:/Users/Avi/Documents/G3/ is taken from.
szoharParticipantI did a search and pointed them to the correct location. Of course I am trying to build it how would I will get all those erros.
Now I am getting the following:
Error C:/Users/Avi/Documents/G3/AppData/Local/VisualGDB/EmbeddedBSPs/arm-eabi/com.sysprogs.arm.stm32/STM32H7xxxx/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_gpio.c: No such file or directory SDC_DMA_Test1_FromAT C:\Users\Avi\Documents\G3\Tests\SDC_DMA_Test1_FromAT_2\SDC_DMA_Test1_FromAT\SDC_DMA_Test1_FromAT\arm-eabi-gcc.exe 1When I am trying to double click on this file I am getting: —————————
Microsoft Visual Studio
—————————
C:\Users\Avi\Documents\G3\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.stm32\STM32H7xxxx\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_gpio.c
Cannot open file.
—————————
OK
—————————szoharParticipantHi,
I tried to followed all the instruction but still see the same issue.
After more debugging I see that in the original project under the External Dependencies in the project browser I can see all the STM____.h files and when I copy the project to another computer they don’t show up there. I just see there the stdinXX.h files as well as stm32xx_nucleo_144.h.
When following the pointer under the Embedded project setup the shared files pointing to the correct directory.
Will prompt help will be appreciated.
Thanks
SharonszoharParticipantThanks for the update to support VisualGDB 5.4.
I will test it tomorrow and let you know.
Thanks
Sharon
-
AuthorPosts