发表于《STM32 趟坑一览》
张静茹作者
5年8个月前修改于 5年8个月前IP:山东
892251
12楼

main.c

stm32f1xx_it.c

stm32f1xx_hal_msp.c

stm32f1xx_hal_timebase_tim.c

stm32f1xx_hal_gpio_ex.c

stm32f1xx_hal_tim.c

stm32f1xx_hal_tim_ex.c

stm32f1xx_hal.c

warning: 'armv4t' is unsupported in this version of the product

warning: 'arm7tdmi' is unsupported in this version of the product

stm32f1xx_hal_rcc.c

warning: 'armv4t' is unsupported in this version of the product

warning: 'arm7tdmi' is unsupported in this version of the product

stm32f1xx_hal_rcc_ex.c

warning: 'armv4t' is unsupported in this version of the product

warning: 'arm7tdmi' is unsupported in this version of the product

stm32f1xx_hal_gpio.c

warning: 'armv4t' is unsupported in this version of the product

warning: 'arm7tdmi' is unsupported in this version of the product

stm32f1xx_hal_dma.c

warning: 'armv4t' is unsupported in this version of the product

warning: 'arm7tdmi' is unsupported in this version of the product

stm32f1xx_hal_cortex.c

warning: 'armv4t' is unsupported in this version of the product

warning: 'arm7tdmi' is unsupported in this version of the product

stm32f1xx_hal_pwr.c

warning: 'armv4t' is unsupported in this version of the product

warning: 'arm7tdmi' is unsupported in this version of the product

stm32f1xx_hal_flash.c

warning: 'armv4t' is unsupported in this version of the product

warning: 'arm7tdmi' is unsupported in this version of the product

stm32f1xx_hal_flash_ex.c

warning: 'armv4t' is unsupported in this version of the product

warning: 'arm7tdmi' is unsupported in this version of the product

stm32f1xx_hal_exti.c

warning: 'armv4t' is unsupported in this version of the product

warning: 'arm7tdmi' is unsupported in this version of the product

system_stm32f1xx.c

warning: 'armv4t' is unsupported in this version of the product

warning: 'arm7tdmi' is unsupported in this version of the product

warning: 'armv4t' is unsupported in this version of the product

warning: 'arm7tdmi' is unsupported in this version of the product

warning: 'armv4t' is unsupported in this version of the product

warning: 'arm7tdmi' is unsupported in this version of the product

warning: 'armv4t' is unsupported in this version of the product

warning: 'arm7tdmi' is unsupported in this version of the product

warning: 'armv4t' is unsupported in this version of the product

warning: 'arm7tdmi' is unsupported in this version of the product

warning: 'armv4t' is unsupported in this version of the product

warning: 'arm7tdmi' is unsupported in this version of the product

fatal error: error in backend: Cannot select: intrinsic %llvm.arm.hint

PLEASE submit a bug report to XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX and include the crash backtrace, preprocessed source, and associated run script.

Stack dump:

0. Program arguments: C:\Keil_v5\ARM\ARMCLANG\bin\armclang.exe @VisualGDB/Debug/_1_/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.gcc.rsp 

1. <eof> parser at end of file

2. Code generation

3. Running pass 'Function Pass Manager' on module 'D:/STM32/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c'.

4. Running pass 'ARM Instruction Selection' on function '@RCC_Delay'

0x773846D2 (0xE0000046 0x00000000 0x00000000 0x00000000), RaiseException() + 0x62 bytes(s)

0x00E78E76 (0x129E1928 0x02C4BE50 0x0002B3FA 0x076EFB98), ?HandleExit@CrashRecoveryContext@llvm@@QAEXH@Z() + 0x16 bytes(s)

0x002818F7 (0x01756590 0x00000000 0x00000024 0x00000004), ??8DelayImportDirectoryEntryRef@object@llvm@@QBE_NABV012@@Z() + 0x7597 bytes(s)

0x017564EC (0x00000000 0x00000024 0x00000004 0x017565DF), ?Legalize@SelectionDAG@llvm@@QAEXXZ() + 0x13C bytes(s)

0x01756590 (0x073AD078 0x00A4FE24 0x073AD050 0xFFFFFF00), ?Legalize@SelectionDAG@llvm@@QAEXXZ() + 0x1E0 bytes(s)

0x017565DF (0x129E1928 0x00000024 0x00000004 0x00000000), ?Legalize@SelectionDAG@llvm@@QAEXXZ() + 0x22F bytes(s)

0x01673683 (0x129E1898 0x1299F768 0x00000000 0x076EFB98), ?DoInstructionSelection@SelectionDAGISel@llvm@@AAEXXZ() + 0x253 bytes(s)

armclang: error: clang frontend command failed with exit code 70 (use -v to see invocation)

Product: MDK Professional 5.33

Component: ARM Compiler 6.15

Tool: armclang [5dd79400]


Target: arm-arm-none-eabi

armclang: note: diagnostic msg: 

********************


PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:

Preprocessed source(s) and associated run script(s) are located at:

armclang: note: diagnostic msg: C:\Users\Game\AppData\Local\Temp\stm32f1xx_hal_rcc-68691d.c

armclang: note: diagnostic msg: C:\Users\Game\AppData\Local\Temp\stm32f1xx_hal_XXXXXXXXXXXXX

armclang: note: diagnostic msg: 


********************

Failed to compile stm32f1xx_hal_rcc.c. armclang.exe exited with code 70


========== Project Build Summary ==========

    STM32F103ZET6  built in 00:04

========== Build: 0 Succeeded, 1 Failed, 0 Skipped ==========

warning: 'armv4t' is unsupported in this version of the product

warning: 'arm7tdmi' is unsupported in this version of the product

fatal error: error in backend: Cannot select: intrinsic %llvm.arm.isb

PLEASE submit a bug report to XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX and include the crash backtrace, preprocessed source, and associated run script.

Stack dump:

0. Program arguments: C:\Keil_v5\ARM\ARMCLANG\bin\armclang.exe @VisualGDB/Debug/_1_/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.gcc.rsp 

1. <eof> parser at end of file

2. Code generation

3. Running pass 'Function Pass Manager' on module 'D:/STM32/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c'.

4. Running pass 'ARM Instruction Selection' on function '@__NVIC_DisableIRQ'

warning: 'armv4t' is unsupported in this version of the product

warning: 'arm7tdmi' is unsupported in this version of the product

fatal error: error in backend: Cannot select: intrinsic %llvm.arm.hint

PLEASE submit a bug report to XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX and include the crash backtrace, preprocessed source, and associated run script.

Stack dump:

0. Program arguments: C:\Keil_v5\ARM\ARMCLANG\bin\armclang.exe @VisualGDB/Debug/_1_/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.gcc.rsp 

1. <eof> parser at end of file

2. Code generation

3. Running pass 'Function Pass Manager' on module 'D:/STM32/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c'.

4. Running pass 'ARM Instruction Selection' on function '@HAL_PWR_EnterSLEEPMode'

0x773846D2 (0xE0000046 0x00000000 0x00000000 0x00000000), RaiseException() + 0x62 bytes(s)

0x773846D2 (0xE0000046 0x00000000 0x00000000 0x00000000), RaiseException() + 0x62 bytes(s)

0x00E78E76 (0x12843520 0x02C4BE50 0x0002B3FA 0x076EF730), ?HandleExit@CrashRecoveryContext@llvm@@QAEXH@Z() + 0x16 bytes(s)

0x00E78E76 (0x129EC5B0 0x02C4BE50 0x0002B3FA 0x076919F0), ?HandleExit@CrashRecoveryContext@llvm@@QAEXH@Z() + 0x16 bytes(s)

0x002818F7 (0x01756590 0x00000000 0x00000024 0x00000004), ??8DelayImportDirectoryEntryRef@object@llvm@@QBE_NABV012@@Z() + 0x7597 bytes(s)

0x002818F7 (0x02C4BE50 0x0002B3FA 0x076919F0 0x129EC5B0), ??8DelayImportDirectoryEntryRef@object@llvm@@QBE_NABV012@@Z() + 0x7597 bytes(s)

0x017564EC (0x1285E4DC 0x0777F2C4 0x1289A010 0x076EF730), ?Legalize@SelectionDAG@llvm@@QAEXXZ() + 0x13C bytes(s)

0x1285E4D0 (0x0777F2C4 0x1289A010 0x076EF730 0x07748250) <unknown module>

0x1285E4DC (0x1289A010 0x076EF730 0x07748250 0x00000000) <unknown module>

0x129EC5B0 (0x0002B3FA 0x076919F0 0x129EC5B0 0x00000000) <unknown module>

0x0777F2C4 (0x076EF730 0x07748250 0x00000000 0x00000000) <unknown module>

0x02C4BE50 (0x076919F0 0x129EC5B0 0x00000000 0x12999598), ??_7?$parser@P6APAVScheduleDAGSDNodes@llvm@@PAVSelectionDAGISel@2@W4Level@CodeGenOpt@2@@Z@cl@llvm@@6B@() + 0xDC4 bytes(s)

0x1289A010 (0x0000000F 0x000001CB 0x00000001 0x00000000) <unknown module>

0x0002B3FA (0x129EC5B0 0x00000000 0x12999598 0x0000000C) <unknown module>

0x076919F0 (0x00000000 0x12999598 0x0000000C 0xFFFFE000) <unknown module>

0x07776A00 (0x000001CB 0x00000001 0x00000000 0x00000000) <unknown module>

0x129EC5B0 (0x03E8A5A8 0x00000002 0x0771D6D8 0x00000001) <unknown module>

0x129AB610 (0x00000002 0x0771D6D8 0x00000001 0x00000009) <unknown module>

0x03E8A5A8 (0x0771D6D8 0x00000001 0x00000009 0x0771D638), ?ID@SelectionDAGISel@llvm@@2DA

armclang: error: clang frontend command failed with exit code 70 (use -v to see invocation)

Product: MDK Professional 5.33

Component: ARM Compiler 6.15

armclang: error: clang frontend command failed with exit code 70 (use -v to see invocation)

Tool: armclang [5dd79400]


Product: MDK Professional 5.33

Component: ARM Compiler 6.15

Tool: armclang [5dd79400]

Target: arm-arm-none-eabi


Target: arm-arm-none-eabi

armclang: note: diagnostic msg: 

********************


PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:

Preprocessed source(s) and associated run script(s) are located at:

armclang: note: diagnostic msg: C:\Users\Game\AppData\Local\Temp\stm32f1xx_hal_cortex-09d854.c

armclang: note: diagnostic msg: C:\Users\Game\AppData\Local\Temp\stm32f1xx_hal_XXXXXXXXXXXXXXXX

armclang: note: diagnostic msg: 


********************

项目属性 KeilSetting 中设置CPU Type

评论
文号 / 892251

千古风流
名片专栏发私信
学术分 1
总主题 146 帖总回复 1873 楼拥有证书:进士 学者 机友 笔友
注册于 2010/12/30 03:32:26最后登录 2026/06/20 19:33:53
主体类型:个人
所属领域:无
认证方式:手机号
IP归属地:0

个人简介

暂未填写
笔记
{{note.content}}
{{n.user.username}}
{{fromNow(n.toc)}} {{n.status === noteStatus.disabled ? "已屏蔽" : ""}} {{n.status === noteStatus.unknown ? "正在审核" : ""}} {{n.status === noteStatus.deleted ? '已删除' : ''}}
  • 编辑
  • 删除
  • {{n.status === 'disabled' ? "解除屏蔽" : "屏蔽" }}
我也是有底线的