UsbCANConverter-UCCbasic / UCCBEmbedded

Embedded Software for UCCB STM32 microcontroller.
https://ucandevices.github.io/
GNU General Public License v3.0
24 stars 15 forks source link

selected processor does not support `dsb 0xF' in ARM mode #9

Closed jshxcn closed 5 years ago

jshxcn commented 5 years ago

hi,Lukasz-Juranek When I was building the project, there was an error. Can you help me solve this problem? I have not used this IDE before. The error is as follows: arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m0 -std=gnu11 -Dweak=attribute((weak)) -Dpacked=attribute((packed)) -DUSE_HAL_DRIVER -DSTM32F042x6 -I../Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/Include -ffunction-sections -fdata-sections -g -Wall -o Src\usbd_desc.o ..\Src\usbd_desc.c arm-atollic-eabi-gcc -c -std=gnu11 -Dweak=attribute((weak)) -Dpacked=attribute((packed)) -DUSE_HAL_DRIVER -DSTM32F042x6 -I../Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/Include -ffunction-sections -fdata-sections -g -Wall -o Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_cortex.o ..\Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_cortex.c C:\Users\jshxcn\AppData\Local\Temp\ccFEasoe.s: Assembler messages: C:\Users\jshxcn\AppData\Local\Temp\ccFEasoe.s:431: Error: selected processor does not support dsb 0xF' in ARM mode C:\Users\jshxcn\AppData\Local\Temp\ccFEasoe.s:446: Error: selected processor does not supportdsb 0xF' in ARM mode

Lukasz-Juranek commented 5 years ago

Please specify what IDE are you using?

I did not faced this problem, I'm using Atollic TrueSTUDIO® for STM32 Version: 9.1.0 https://atollic.com/resources/download/ please try with this IDE.

wt., 24 wrz 2019 o 15:47 jshxcn notifications@github.com napisał(a):

hi,Lukasz-Juranek When I was building the project, there was an error. Can you help me solve this problem? I have not used this IDE before. The error is as follows: arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m0 -std=gnu11 -Dweak= attribute((weak)) -Dpacked=attribute((packed)) -DUSE_HAL_DRIVER -DSTM32F042x6 -I../Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/Include -ffunction-sections -fdata-sections -g -Wall -o Src\usbd_desc.o ..\Src\usbd_desc.c arm-atollic-eabi-gcc -c -std=gnu11 -Dweak=attribute((weak)) -Dpacked=attribute((packed)) -DUSE_HAL_DRIVER -DSTM32F042x6 -I../Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/Include -ffunction-sections -fdata-sections -g -Wall -o Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_cortex.o ..\Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_cortex.c C:\Users\jshxcn\AppData\Local\Temp\ccFEasoe.s: Assembler messages: C:\Users\jshxcn\AppData\Local\Temp\ccFEasoe.s:431: Error: selected processor does not support dsb 0xF' in ARM mode C:\Users\jshxcn\AppData\Local\Temp\ccFEasoe.s:446: Error: selected processor does not support dsb 0xF' in ARM mode

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/UsbCANConverter-UCCbasic/UCCBEmbedded/issues/9?email_source=notifications&email_token=AB7RRASVQQZSF2WBGUOMYPLQLIK5XA5CNFSM4IZ755Z2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HNKJC2Q, or mute the thread https://github.com/notifications/unsubscribe-auth/AB7RRAVNIEG6T7UK6K76TSLQLIK5XANCNFSM4IZ755ZQ .

jshxcn commented 5 years ago

I updated the IDE and there were no problems. Thanks