PacktPublishing / Hands-On-RTOS-with-Microcontrollers

Hands-On RTOS with Microcontrollers, published by Packt
MIT License
178 stars 91 forks source link

Chapter 6: Ozone Error Program file not found: C:/projects/packtBookRTOS/freeRTOS_Nucleo767/Debug/freeRTOS_Nucleo767.elf #21

Closed scploeger closed 1 month ago

scploeger commented 1 month ago

I am currently trying to set up Ozone as described on page 134 of Chapter 6 "Attaching Ozone to the MCU".

  1. Open ozone
  2. Navigate to and select Chapters5_6.jdebug from path C:\Users\<username>\Documents\GitHub\packBookRTOS\Chapters5_6
  3. And I get the error shown in the image below. This freeRTOS_Nucleo767.elf file doesn't exist, and it is not clear how it can be generated.

I am wondering where I can find or how I can generate this file. Thanks!

image

Note: On pre previous page (133), under the example steps for creating an Ozone project (which I skipped, since I am trying to use the project included in this repo), I noticed that Step 5 states: On the Program File dialog screen, navigate to the *.elf file that is generated by TrueStudio. It should be in the Debug folder of your project which seems to refer to this same freeRTOS_Nucleo767.elf and mentions it should be generated by TrueStudio. This is confusing because we are not using TrueStudio.

scploeger commented 1 month ago

Fixed by changing the path in C:\Users\<user>\Documents\GitHub\packBookRTOS\Chapters5_6\Debug\Chapter5_main.elf. image It was not clear that this path needs to be adjusted to match 1. the path you cloned the github repo of code to, and 2. a different name if your project compiles differently.