请问有用过Cubesuite+的么?我在里面建工程,系统的头文件,怎么包含啊?看他们官方的例程也没有包含头文件,寄存器的地址映射在哪里呢?我编译官网的样板程序也是有错误,错误提示如下:
RA78K0 error F3006: File not found 'DefaultBuild\block.rel'
RA78K0 error F3006: File not found 'DefaultBuild\drive.rel'
..\sourcefile\block.c(44) : CC78K0 warning W0837: Output assembler source file , not object file.\sourcefile\block.c(44) : CC78K0 warning W0837: Output assembler source file , not object file
..\sourcefile\block.c(35) : CC78K0 warning W0410: Illegal pointer conversion
..\sourcefile\block.c(88) : CC78K0 warning W0401: Conversion may lose significant digits
..\sourcefile\block.c(104) : CC78K0 warning W0401: Conversion may lose significant digits
..\sourcefile\block.c(147) : CC78K0 warning W0401: Conversion may lose significant digits
..\sourcefile\block.c(148) : CC78K0 warning W0410: Illegal pointer conversion
..\sourcefile\block.c(31) : CC78K0 warning W0915: Asm statement found. skip to jump optimize this function 'write_dat_to_flash'
..\sourcefile\block.c(117) : CC78K0 warning W0915: Asm statement found. skip to jump optimize this function 'set_block_valid'
..\sourcefile\block.c(143) : CC78K0 warning W0915: Asm statement found. skip to jump optimize this function 'creat_write_block'
..\sourcefile\block.c(173) : CC78K0 warning W0915: Asm statement found. skip to jump optimize this function 'set_block_mode'
>..\sourcefile\drive.c
..\sourcefile\drive.c(240) : CC78K0 warning W0837: Output assembler source file , not object file
..\sourcefile\drive.c(237) : CC78K0 warning W0915: Asm statement found. skip to jump optimize this function 'send_if_dat'
..\sourcefile\drive.c(566) : CC78K0 warning W0915: Asm statement found. skip to jump optimize this function 'Open_2ms'
..\sourcefile\drive.c(587) : CC78K0 warning W0915: Asm statement found. skip to jump optimize this function 'Close_2ms'
>DefaultBuild\testv_01.lmf
这是一大堆的警告,项目刚用这个单片机,开发环境不熟悉,请大虾们多多援手啊。。。
共4条
1/1 1 跳转至页
瑞萨单片机开发工具Cubesuite+的库文件找不到?
2楼
请问这个头文件在哪里可以找到?Cubesuite都支持哪些头文件?不同的CPU包含的头文件一样么?有没有这方面的文档介绍,我在官网上没找到,我看哪些文档都是粗略的介绍,没有细致的描述啊?
还有像这样的错误怎么找啊?
RA78K0 error F3006: File not found 'DefaultBuild\block.rel'
..\sourcefile\block.c(44) : CC78K0 warning W0837: Output assembler source file , not object file
这本是官网一个电表的方案的源码,我建工程,添加进去,直接编译就出错,是编译环境没设置好,还是什么原因?
问题好多,先说声谢谢。。
4楼
库文件的问题解决了,打电话问的厂家,日本做的芯片真狠,直接封装的连地址映射都看不到,只需要#pragma SFR就可以直接操作寄存器,屏蔽底层比美国货更绝,服了。。。
第二个问题,还是没解决,望高手指点,这类错误怎么解决?
共4条
1/1 1 跳转至页
回复
我要赚赏金打赏帖 |
|
|---|---|
| 【FreeRtos】FreeRtos + MPU模块的配置使用被打赏¥32元 | |
| 【分享开发笔记,赚取电动螺丝刀】墨水屏文本显示器被打赏¥25元 | |
| 【STEVAL-STWINKT1B】:结合STMcubeMX读取磁力计iis2mdc被打赏¥19元 | |
| 【STEVAL-STWINKT1B】:结合STMcubeMX读取LPS22HH气压、温度被打赏¥19元 | |
| 【STEVAL-STWINKT1B】:结合STMcubeMX读取STTS751温度被打赏¥17元 | |
| 【STEVAL-STWINKT1B】:结合STMcubeMX软件读取HTS221温湿度被打赏¥22元 | |
| M5PAPERESP32EINKDEVKIT评测|使用MicroPython开发M5Paper被打赏¥15元 | |
| OK1126B-S开发板下以导航按键控制云台/机械臂姿态调整被打赏¥29元 | |
| 【树莓派5】便携热成像仪被打赏¥36元 | |
| 【树莓派5】环境监测仪被打赏¥35元 | |
我要赚赏金
