标题: linux下的sdcc编译器不支持code [打印本页]

作者: hyq1979    时间: 2020-10-6 01:20
标题: linux下的sdcc编译器不支持code
如题,应该怎么办?
报错:error 1: Syntax error, declaration ignored at 'code'



作者: angmall    时间: 2020-10-6 06:12
用这个 __code

’Variables’ in this address space will be placed in the code memory:

__code unsigned char test_code;
作者: hyq1979    时间: 2020-10-7 19:33
angmall 发表于 2020-10-6 06:12
用这个 __code

’Variables’ in this address space will be placed in the code memory:

谢谢,看过很多资料都在WIN下,小白确实不易。




欢迎光临 (http://www.51hei.com/bbs/) Powered by Discuz! X3.1