同样的代码
debug编译没问题
release就报以下错误
编译环境 CCS7 编译器 TI v16.9.6 LTS
**** Build of configuration Release for project sins_uart_Flash ****
"D:\\ti\\ccsv6\\utils\\bin\\gmake" -k all'Building file: ../SRC/aq_func.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv6/tools/compiler/ti-cgt-c2000_16.9.6.LTS/bin/cl2000" -v28 -ml -mt –float_support=fpu32 -O2 –include_path="D:/ti/ccsv6/tools/compiler/ti-cgt-c2000_16.9.6.LTS/include" –include_path="D:/job/code/ccs/sins_uart_Flash/INCLUDE" –advice:performance=all –diag_warning=225 –diag_wrap=off –display_error_number –preproc_with_compile –preproc_dependency="SRC/aq_func.d" –obj_directory="SRC" "../SRC/aq_func.c"
1 Assembly Error, No Assembly Warnings
>> Compilation failure
SRC/subdir_rules.mk:105: recipe for target 'SRC/aq_func.obj' failed
"C:\Users\g790\AppData\Local\Temp\{6668105B-F502-47DD-B436-2EEDC9E73467}", ERROR! at line 5215: [E0200] Block size 8 out of range 9..127
RPTB $C$L25,AR6 ; [CPU_] |382|
Errors in Source – Assembler Aborted
gmake: *** [SRC/aq_func.obj] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
Eric Ma:
你直接用debug的配置就好,也可以烧写,没必要非得用release。