I have now two sets:
1. In the office where I'm trying to transfer a project to SW4...
2. At home, where I do the opposite way - trying to run the ChibiStudio on drive different than C:
In both cases I was able to configure the projects properties that can compile without errors and warnings.
Later I will put here a list of things that need to be done for my office case. It is a tad tricky, requires changes in the Makefile and copy some files from ChibiStudio tools directories to the SW4 tools.
Here, what should be done for moving ChibiStudio to another drive (useful if drive C is SSD)
- Change paths in <Drive>:\ChibiStuio\*.bat files
- Links to the bats in ChibiStudio directory. Change in their parameters C: to <Drive>: as well. You might want to change their icons as well, get them from <Drive>:\ChibiStudio\eclipse
- In file <Drive>:\ChibiStudio\eclipse\configuration\.settings\org.eclipse.ui.ide.prefs change paths in the following string RECENT_WORKSPACES=C\:\\ChibiStudio\\workspace161\nC\:\\ChibiStudio\\workspace26\nC\:\\ChibiStudio\\workspace_trunk\nC\:\\ChibiStudio\\workspace30
to
RECENT_WORKSPACES=<Drive>\:\\ChibiStudio\\workspace161\n<Drive>\:\\ChibiStudio\\workspace26\n<Drive>\:\\ChibiStudio\\workspace_trunk\n<Drive>\:\\ChibiStudio\\workspace30
After that the whole ChibiStudio located in correct place and when you start it shows all available projects. However, to open any particular one you have to delete it from the list and import again.
The problem after compiling - it again won't debug the project. You choose the correct debug interface (ST LinkV2-1 for the Nucleo board), choose correct .launch file from the debug directory and get the following messages (may be it will ring a bell)
Code: Select all
symbol-file E:\\ChibiStudio\\chibios161\\demos\\STM32\\RT-STM32L152RE-NUCLEO\\build\\ch.elf
Reading symbols from E:\ChibiStudio\chibios161\demos\STM32\RT-STM32L152RE-NUCLEO\build\ch.elf...done.
set remotetimeout 20
monitor reset init
"monitor" command not supported by this target.
monitor sleep 50
"monitor" command not supported by this target.
load E:\\ChibiStudio\\chibios161\\demos\\STM32\\RT-STM32L152RE-NUCLEO\\build\\ch.elf
You can't do that when your target is `None'
tbreak main
Cannot access memory at address 0x8000836
continue
The program is not being run.