unable to set target processor
I have had no trouble using the Nucleo_L152RE or Nucleo_L053R8 boards with STM32 Cube. I'm trying to use the STM32L053C8_Discovery board. I have STM32 support as well as the STM32L053_Discovery board support packages installed. The problem I'm having is the message "selected processor does not support Thumb mode 'blx r2'", etc. I looked at "Target Processor" in project properties and it's set to unknown. the drop down list has most of the stm32 processors, but not any in the STM32L0xx family. I imagine it has no idea what Thumb modes are supported if it thinks the "Target Processor" is UNKNOWN.
All of my working stm32 projects list the correct "Target Processor" except this STM32L053C8_Discovery board. The CrossStudio_Project_File (.hzp) lists the processor correctly as (Target="STM32L053C8"), yet it does not show in the project properties as such. I can't change it(target processor) in project properties as it does not appear in the list.
What to do?
Thanks in advance!
The CrossStudio_Project_File is listed below:
<!DOCTYPE CrossStudio_Project_File>
<solution Name="L053C8_disco" target="8" version="2">
<project Name="L053C8_disco Configuration" template_name="STM32_EXE">
<configuration
Name="Common"
Target="STM32L053C8"
c_preprocessor_definitions="USE_HAL_DRIVER;STM32L053xx"
c_user_include_directories="$(TargetsDir)/CMSIS_3/CMSIS/Include;../../Inc;../../Drivers/STM32L0xx_HAL_Driver/Inc;../../Drivers/CMSIS/Include;../../Drivers/CMSIS/Device/ST/STM32L0xx/Include" project_directory=""
project_type="Executable" />
<folder Name="Source Files">
<folder Name="Application/MDK-ARM">
<file file_name="../../Drivers/CMSIS/Device/ST/STM32L0xx/Source/Templates/arm/startup_stm32l053xx.s">
<configuration Name="Common" build_exclude_from_build="Yes" />
</file>
</folder>
<folder Name="Drivers/STM32L0xx_HAL_Driver">
<file file_name="../../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.c" />
<file file_name="../../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.c" />
<file file_name="../../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c" />
<file file_name="../../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c" />
<file file_name="../../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.c" />
<file file_name="../../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.c" />
<file file_name="../../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.c" />
<file file_name="../../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dac_ex.c" />
<file file_name="../../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dac.c" />
<file file_name="../../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.c" />
<file file_name="../../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.c" />
<file file_name="../../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.c" />
<file file_name="../../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.c" />
</folder>
<folder Name="Application/User">
<file file_name="../../Src/dac.c" />
<file file_name="../../Src/gpio.c" />
<file file_name="../../Src/stm32l0xx_hal_msp.c" />
<file file_name="../../Src/main.c" />
<file file_name="../../Src/stm32l0xx_it.c" />
</folder>
<folder Name="Drivers/CMSIS">
<file file_name="../../Drivers/CMSIS/Device/ST/STM32L0xx/Source/Templates/system_stm32l0xx.c" />
</folder>
</folder>
</project>
Please sign in to leave a comment.
Comments
0 comments