Where is the .launch file?

Write here to receive support strictly related to the code of our demos.
Forum rules
  • Ask only about PLAY Embedded related stuff.
  • Use English only.
  • Have common sense.
  • Spamming is not permitted, please keep all your posts as constructive as possible.
  • Here we provide support on our code only. An off-topic request will be locked and user warned.
Post Reply
Posts: 1
Joined: Wed Jul 22, 2020 4:48 pm

Where is the .launch file?

Post by loadlover » Thu Jul 23, 2020 7:30 pm

Hi Rocco,

I've followed the ChibiStudio setup instructions to the letter as you can see in the attached sequence of jpegs. OpenOCD connects to the discovery board (in my case a STM32F7), but there is no .launch file and no debug folder (which is where I believe .launch should be?), and therefore I cannot flash/run the demo. Please help as I am totally out of ideas!


-- Anthony
3_.JPG (132.28 KiB) Viewed 82 times
2_.JPG (101.22 KiB) Viewed 82 times
1_.JPG (111.35 KiB) Viewed 82 times

User avatar
Posts: 23
Joined: Mon May 09, 2016 1:47 pm
Location: Salerno Area, Italy

Re: Where is the .launch file?

Post by guglielmir » Fri Jul 24, 2020 6:21 am

Hello Anthony,
I actually need to update the article and the videos since there are some changes since ChibiStudio 2020-03. One of these is the semi-automatic generation of the launch files.

The debug launch configuration are not attached to the project anymore. This could be disorienting because your launch menu will appear empty
Empty launch menu.png
Empty launch menu.png (8.45 KiB) Viewed 74 times
Anyway, the generation is straightforward:
  1. Build your target
  2. Select your elf file in the build folder
  3. Choose "Create OpenOCD Debug Configuration (pre-select elf file into a project)" from the external tool menu
Generating the launch configuration.png
Generating the launch configuration.png (86.73 KiB) Viewed 74 times
When the generation is completed you'll see a message in the console
Generation done message.png
Generation done message.png (7.05 KiB) Viewed 74 times
Select your project and refresh it (Press F5) and you will see the new launch configuration available into the menu
Refreshed menu.png
Refreshed menu.png (47.46 KiB) Viewed 74 times
This mechanism is new, any feedback is highly appreciated. This would simplify the creation of a new project as you do not need to manually modify the launch XML.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest