Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
nuc980
UFFS
NUC980 编译rt-thread\libcpu\arm\arm926\cpuport.c错误,BSP下未修改直接按步骤操作
发布于 2022-12-03 13:14:40 浏览:404
订阅该版
```shell > menuconfig --generate THINKPAD@NOTEBOOK-P52 D:\Develop\Git_Project\rt-thread\bsp\nuvoton\nk-980iot > pkgs --update [Use Gitee server] ==============================> wavplayer update done ==============================> uffs update done ==============================> ramdisk update done ==============================> optparse update done Operation completed successfully. THINKPAD@NOTEBOOK-P52 D:\Develop\Git_Project\rt-thread\bsp\nuvoton\nk-980iot > scons scons: Reading SConscript files ... Newlib version: 4.1.0 scons: done reading SConscript files. scons: Building targets ... scons: building associated VariantDir targets: build CC build\applications\main.o CC build\applications\mnt.o CC build\board\board_dev.o CC build\board\nu_pin_init.o CC build\kernel\components\dfs\filesystems\devfs\devfs.o CC build\kernel\components\dfs\filesystems\elmfat\dfs_elm.o CC build\kernel\components\dfs\filesystems\elmfat\ff.o CC build\kernel\components\dfs\filesystems\elmfat\ffunicode.o CC build\kernel\components\dfs\src\dfs.o CC build\kernel\components\dfs\src\dfs_file.o CC build\kernel\components\dfs\src\dfs_fs.o CC build\kernel\components\dfs\src\dfs_posix.o CC build\kernel\components\drivers\audio\audio.o CC build\kernel\components\drivers\audio\audio_pipe.o CC build\kernel\components\drivers\can\can.o CC build\kernel\components\drivers\cputime\cputime.o CC build\kernel\components\drivers\hwcrypto\hwcrypto.o CC build\kernel\components\drivers\hwcrypto\hw_hash.o CC build\kernel\components\drivers\hwcrypto\hw_rng.o CC build\kernel\components\drivers\hwcrypto\hw_symmetric.o CC build\kernel\components\drivers\hwtimer\hwtimer.o CC build\kernel\components\drivers\i2c\i2c-bit-ops.o CC build\kernel\components\drivers\i2c\i2c_core.o CC build\kernel\components\drivers\i2c\i2c_dev.o CC build\kernel\components\drivers\ipc\completion.o CC build\kernel\components\drivers\ipc\dataqueue.o CC build\kernel\components\drivers\ipc\pipe.o CC build\kernel\components\drivers\ipc\ringblk_buf.o CC build\kernel\components\drivers\ipc\ringbuffer.o CC build\kernel\components\drivers\ipc\waitqueue.o CC build\kernel\components\drivers\ipc\workqueue.o CC build\kernel\components\drivers\misc\adc.o CC build\kernel\components\drivers\misc\pin.o CC build\kernel\components\drivers\misc\rt_drv_pwm.o CC build\kernel\components\drivers\mtd\mtd_nand.o CC build\kernel\components\drivers\rtc\alarm.o CC build\kernel\components\drivers\rtc\rtc.o CC build\kernel\components\drivers\serial\serial.o CC build\kernel\components\drivers\spi\qspi_core.o CC build\kernel\components\drivers\spi\spi_core.o CC build\kernel\components\drivers\spi\spi_dev.o CC build\kernel\components\drivers\usb\usbdevice\class\cdc_vcom.o CC build\kernel\components\drivers\usb\usbdevice\class\mstorage.o CC build\kernel\components\drivers\usb\usbdevice\core\usbdevice.o CC build\kernel\components\drivers\usb\usbdevice\core\usbdevice_core.o CC build\kernel\components\drivers\usb\usbhost\class\mass.o CC build\kernel\components\drivers\usb\usbhost\class\udisk.o CC build\kernel\components\drivers\usb\usbhost\core\driver.o CC build\kernel\components\drivers\usb\usbhost\core\hub.o CC build\kernel\components\drivers\usb\usbhost\core\usbhost.o CC build\kernel\components\drivers\usb\usbhost\core\usbhost_core.o CC build\kernel\components\drivers\watchdog\watchdog.o CC build\kernel\components\finsh\cmd.o CC build\kernel\components\finsh\msh.o CC build\kernel\components\finsh\msh_file.o CC build\kernel\components\finsh\msh_parse.o CC build\kernel\components\finsh\shell.o CC build\kernel\components\libc\compilers\common\cstdlib.o CC build\kernel\components\libc\compilers\common\cstring.o CC build\kernel\components\libc\compilers\common\ctime.o CC build\kernel\components\libc\compilers\newlib\syscalls.o CC build\kernel\components\libc\posix\io\poll\poll.o CC build\kernel\components\libc\posix\io\poll\select.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\api\api_lib.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\api\api_msg.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\api\err.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\api\if_api.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\api\netbuf.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\api\netdb.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\api\netifapi.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\api\sockets.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\api\tcpip.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\apps\ping\ping.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\core\altcp.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\core\altcp_alloc.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\core\altcp_tcp.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\core\def.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\core\dns.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\core\inet_chksum.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\core\init.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\core\ip.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\core\ipv4\autoip.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\core\ipv4\dhcp.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\core\ipv4\etharp.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\core\ipv4\icmp.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\core\ipv4\igmp.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\core\ipv4\ip4.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\core\ipv4\ip4_addr.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\core\ipv4\ip4_frag.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\core\memp.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\core\netif.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\core\pbuf.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\core\raw.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\core\stats.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\core\sys.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\core\tcp.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\core\tcp_in.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\core\tcp_out.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\core\timeouts.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\core\udp.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\netif\ethernet.o CC build\kernel\components\net\lwip\lwip-2.1.2\src\netif\lowpan6.o CC build\kernel\components\net\lwip\port\ethernetif.o CC build\kernel\components\net\lwip\port\sys_arch.o CC build\kernel\components\net\netdev\src\netdev.o CC build\kernel\components\net\netdev\src\netdev_ipaddr.o CC build\kernel\components\net\sal\dfs_net\dfs_net.o CC build\kernel\components\net\sal\impl\af_inet_lwip.o CC build\kernel\components\net\sal\socket\net_netdb.o CC build\kernel\components\net\sal\socket\net_sockets.o CC build\kernel\components\net\sal\src\sal_socket.o CC build\kernel\components\utilities\utest\utest.o CC build\kernel\libcpu\arm\arm926\cpuport.o D:\Develop\Git_Project\rt-thread\libcpu\arm\arm926\cpuport.c:96:1: error: expected identifier or '(' before '{' token 96 | { | ^ D:\Develop\Git_Project\rt-thread\libcpu\arm\arm926\cpuport.c:105:1: error: expected identifier or '(' before '{' token 105 | { | ^ In file included from D:\Develop\Git_Project\rt-thread\libcpu\arm\arm926\cpuport.c:12: D:\Develop\Git_Project\rt-thread\include/rthw.h:76:38: error: expected identifier or '(' before numeric constant 76 | #define rt_hw_cpu_icache_status(...) 0 | ^ D:\Develop\Git_Project\rt-thread\libcpu\arm\arm926\cpuport.c:113:11: note: in expansion of macro 'rt_hw_cpu_icache_status' 113 | rt_base_t rt_hw_cpu_icache_status() | ^~~~~~~~~~~~~~~~~~~~~~~ D:\Develop\Git_Project\rt-thread\libcpu\arm\arm926\cpuport.c:123:1: error: expected identifier or '(' before '{' token 123 | { | ^ D:\Develop\Git_Project\rt-thread\libcpu\arm\arm926\cpuport.c:132:1: error: expected identifier or '(' before '{' token 132 | { | ^ In file included from D:\Develop\Git_Project\rt-thread\libcpu\arm\arm926\cpuport.c:12: D:\Develop\Git_Project\rt-thread\include/rthw.h:77:38: error: expected identifier or '(' before numeric constant 77 | #define rt_hw_cpu_dcache_status(...) 0 | ^ D:\Develop\Git_Project\rt-thread\libcpu\arm\arm926\cpuport.c:140:11: note: in expansion of macro 'rt_hw_cpu_dcache_status' 140 | rt_base_t rt_hw_cpu_dcache_status() | ^~~~~~~~~~~~~~~~~~~~~~~ scons: *** [build\kernel\libcpu\arm\arm926\cpuport.o] Error 1 scons: building terminated because of errors. ``` 只是测试下,按文档指令不下去,看了下github上没有Nuvoton BSP的Actions 错误看起来是rt-thread其它定义升级了,但是arm926对应的接口函数没有同步升级造成的。 ``` rt-thread\libcpu\arm\arm926\cpuport.c:140:11: note: in expansion of macro 'rt_hw_cpu_dcache_status' ```
查看更多
1
个回答
默认排序
按发布时间排序
bernard
2022-12-12
这家伙很懒,什么也没写!
对,最近在合代码,改动有些,然后这个也没加入到ci中……
撰写答案
登录
注册新账号
关注者
0
被浏览
404
关于作者
mumumu
这家伙很懒,什么也没写!
提问
34
回答
29
被采纳
1
关注TA
发私信
相关问题
1
uffs 中 nand flash的坏块标志位以及已写标志位
2
uffs 中坏块标志位,已写识别位是哪个位置
3
uffs的crc校验有问题?
4
文件系统中如何删除文件夹
5
uffs文件系统挂载nand0设备后,所有块全变成坏块了,
6
如何统计文件系统中某一个文件夹下的文件个数
7
uffs文件系统中一个文件占用nandflash的一个块吗?
8
uffs文件系统报错写不进去数据
9
RTT使用UFFS,重启后MOUNT速度的问题
10
at91sam9260 自动挂载uffs文件系统出现data abort?
推荐文章
1
RT-Thread应用项目汇总
2
玩转RT-Thread系列教程
3
国产MCU移植系列教程汇总,欢迎查看!
4
机器人操作系统 (ROS2) 和 RT-Thread 通信
5
五分钟玩转RT-Thread新社区
6
【技术三千问】之《玩转ART-Pi》,看这篇就够了!干货汇总
7
关于STM32H7开发板上使用SDIO接口驱动SD卡挂载文件系统的问题总结
8
STM32的“GPU”——DMA2D实例详解
9
RT-Thread隐藏的宝藏之completion
10
【ART-PI】RT-Thread 开启RTC 与 Alarm组件
最新文章
1
【24嵌入式设计大赛】基于RT-Thread星火一号的智慧家居系统
2
RT-Thread EtherKit开源以太网硬件正式发布
3
如何在master上的BSP中添加配置yml文件
4
使用百度AI助手辅助编写一个rt-thread下的ONVIF设备发现功能的功能代码
5
RT-Thread 发布 EtherKit开源以太网硬件!
热门标签
RT-Thread Studio
串口
Env
LWIP
SPI
AT
Bootloader
Hardfault
CAN总线
FinSH
ART-Pi
USB
DMA
文件系统
RT-Thread
SCons
RT-Thread Nano
线程
MQTT
STM32
RTC
FAL
rt-smart
ESP8266
I2C_IIC
WIZnet_W5500
UART
ota在线升级
PWM
cubemx
freemodbus
flash
packages_软件包
BSP
潘多拉开发板_Pandora
定时器
ADC
GD32
flashDB
socket
中断
Debug
编译报错
msh
SFUD
keil_MDK
rt_mq_消息队列_msg_queue
MicroPython
ulog
C++_cpp
本月问答贡献
踩姑娘的小蘑菇
7
个答案
3
次被采纳
a1012112796
16
个答案
2
次被采纳
张世争
9
个答案
2
次被采纳
rv666
6
个答案
2
次被采纳
用户名由3_15位
13
个答案
1
次被采纳
本月文章贡献
程序员阿伟
9
篇文章
2
次点赞
hhart
3
篇文章
4
次点赞
大龄码农
1
篇文章
5
次点赞
RTT_逍遥
1
篇文章
2
次点赞
ThinkCode
1
篇文章
1
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部