|
使用cubemx生成的stm32f439的工程.S的汇编文件编译失败。问题如下:Build started: Project: touchgfx_templete
*** Using Compiler 'V6.14.1', folder: 'd:\d\Keil_v5\ARM\ARMCLANG\Bin'
Build target 'touchgfx_templete'
../Middlewares/ST/threadx/ports/cortex_m4/ac6/src/tx_thread_context_restore.S(26): error: expected identifier or '('
.text
^
1 error generated.
compiling tx_thread_context_restore.S...
../Middlewares/ST/threadx/ports/cortex_m4/ac6/src/tx_thread_context_save.S(23): error: expected identifier or '('
.text
^
1 error generated.
compiling tx_thread_context_save.S...
../Middlewares/ST/threadx/ports/cortex_m4/ac6/src/tx_thread_stack_build.S(23): error: expected identifier or '('
.text
^
1 error generated.
compiling tx_thread_stack_build.S...
../Middlewares/ST/threadx/ports/cortex_m4/ac6/src/tx_thread_schedule.S(23): error: expected identifier or '('
.global _tx_thread_current_ptr
^
../Middlewares/ST/threadx/ports/cortex_m4/ac6/src/tx_thread_schedule.S(157): error: unknown type name 'TST'
TST LR, #0x10 // Determine if the VFP extended frame is present
^
../Middlewares/ST/threadx/ports/cortex_m4/ac6/src/tx_thread_schedule.S(157): error: expected identifier or '('
TST LR, #0x10 // Determine if the VFP extended frame is present
^
../Middlewares/ST/threadx/ports/cortex_m4/ac6/src/tx_thread_schedule.S(157): error: expected ';' after top level declarator
TST LR, #0x10 // Determine if the VFP extended frame is present
^
;
4 errors generated.
compiling tx_thread_schedule.S...
../Middlewares/ST/threadx/ports/cortex_m4/ac6/src/tx_thread_interrupt_control.S(23): error: expected identifier or '('
.text 32
^
1 error generated.
compiling tx_thread_interrupt_control.S...
../Middlewares/ST/threadx/ports/cortex_m4/ac6/src/tx_thread_system_return.S(23): error: expected identifier or '('
.text 32
^
1 error generated.
compiling tx_thread_system_return.S...
../Middlewares/ST/threadx/ports/cortex_m4/ac6/src/tx_timer_interrupt.S(23): error: expected identifier or '('
.global _tx_timer_time_slice
^
../Middlewares/ST/threadx/ports/cortex_m4/ac6/src/tx_timer_interrupt.S(197): error: unknown type name 'LDR'
LDR r1, =_tx_timer_expired // Pickup addr of expired flag
^
../Middlewares/ST/threadx/ports/cortex_m4/ac6/src/tx_timer_interrupt.S(197): error: expected identifier or '('
LDR r1, =_tx_timer_expired // Pickup addr of expired flag
^
../Middlewares/ST/threadx/ports/cortex_m4/ac6/src/tx_timer_interrupt.S(197): error: expected ';' after top level declarator
LDR r1, =_tx_timer_expired // Pickup addr of expired flag
^
;
4 errors generated.
compiling tx_timer_interrupt.S...
|
|