Hello,
I get an unexpected message
The relevant part of the command file:
Display All
Console output:
Display All
Am I doing anything wrong?
Kind regards,
Vadim B
I get an unexpected message
Project command specified twice: Target.LoadMemoryMap.
The relevant part of the command file:
C Source Code
- void OnProjectLoad (void) {
- int debug;
- debug = 0;
- Project.SetDevice ("STM32L496VG");
- Project.SetHostIF ("USB", "");
- Project.SetTargetIF ("SWD");
- Project.SetTIFSpeed ("4 MHz");
- Project.AddPathSubstitute ("/home/vadim/work/PROJECT", "$(ProjectDir)");
- if (debug == 1) {
- File.Open ("$(ProjectDir)/build/dev/PROJECT.elf");
- Target.LoadMemoryMap ("$(ProjectDir)/build/dev/PROJECT.map");
- } else {
- File.Open ("$(ProjectDir)/build/rel/PROJECT.elf");
- Target.LoadMemoryMap ("$(ProjectDir)/build/rel/PROJECT.map");
- }
- }
Console output:
Source Code
- Disabled output of control characters
- SEGGER Ozone - The J-Link Debugger V3.28d
- J-Link software found at: /opt/SEGGER/Ozone_Linux_V328d_x86_64/Lib/libjlinkarm.so
- File.Open ("/home/vadim/work/PROJECT/ozone-PROJECT.jdebug");
- Project.SetDevice ("STM32L496VG");
- Project.SetHostIF ("USB", "");
- Project.SetTargetIF ("SWD");
- Project.SetTIFSpeed ("4 MHz");
- Project.AddPathSubstitute ("/home/vadim/work/PROJECT", "$(ProjectDir)");
- File path resolved: "$(ProjectDir)/build/rel/PROJECT.elf" was found at "/home/vadim/work/PROJECT/build/rel/PROJECT.elf"
- File.Open ("/home/vadim/work/PROJECT/build/rel/PROJECT.elf");
- Target.LoadMemoryMap ("$(ProjectDir)/build/rel/PROJECT.map");
- File path resolved: "$(ProjectDir)/build/rel/PROJECT.map" was found at "/home/vadim/work/PROJECT/build/rel/PROJECT.map"
- Project command specified twice: Target.LoadMemoryMap.
Am I doing anything wrong?
Kind regards,
Vadim B