cancel
Showing results for 
Search instead for 
Did you mean: 

Run or Debug sample_threadx sample from Azure_RTOS_6.1_STM32F746G-DISCO_STM32CubeIDE_Samples_2020_10_10.zip

VSubb.1
Associate

In October 2020 Microsoft released sample applications to try out Azure on some reference boards. One of them is STM32F746G-DISCO. Downloaded Azure_RTOS_6.1_STM32F746G-DISCO_STM32CubeIDE_Samples_2020_10_10.zip from https://github.com/azure-rtos/samples

```

The IDE when trying to Run or Debug sample_threadx sample runs into this issue.

Program file does not exist

/Users/venkat/work/pp/azure_rtos/stm32f746g-disco/stm32cubeide/sample_threadx/Debug\sample_threadx.elf not found

/Users/venkat/work/pp/azure_rtos/stm32f746g-disco/stm32cubeide/sample_threadx/Debug\sample_threadx.elf not found

/Users/venkat/work/pp/azure_rtos/stm32f746g-disco/stm32cubeide/sample_threadx/Debug\sample_threadx.elf not found

```

venkats-mbp-2: ~/work/pp/azure_rtos/stm32f746g-disco : ls -al /Users/venkat/work/pp/azure_rtos/stm32f746g-disco/stm32cubeide/sample_threadx/Debug/sample_threadx.elf

-rwxr-xr-x 1 venkat staff 2242424 Dec 20 10:24 /Users/venkat/work/pp/azure_rtos/stm32f746g-disco/stm32cubeide/sample_threadx/Debug/sample_threadx.elf

```

Confirmed that the file /Users/venkat/work/pp/azure_rtos/stm32f746g-disco/stm32cubeide/sample_threadx/Debug/sample_threadx.elf does exist.

```

1 ACCEPTED SOLUTION

Accepted Solutions
VSubb.1
Associate

Fixed by making this change in stm32f746g-disco/stm32cubeide/sample_threadx/sample_threadx Debug.launch  

-<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="Debug\sample_threadx.elf"/>

+<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="Debug/sample_threadx.elf"/>

View solution in original post

1 REPLY 1
VSubb.1
Associate

Fixed by making this change in stm32f746g-disco/stm32cubeide/sample_threadx/sample_threadx Debug.launch  

-<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="Debug\sample_threadx.elf"/>

+<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="Debug/sample_threadx.elf"/>