Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
Nuvoton_新唐mcu
[nuvoton][numaker-m467hj] 切换系统版本到latest后编译错误
发布于 2023-06-01 20:11:48 浏览:430
订阅该版
因为需要一些近期的rt-thread更新,切换latest版本后编译出错如下: 还请更新!  ```c arm-none-eabi-gcc "../libraries/m460/rtt_port/emac/synopGMAC_plat.c" ../packages/ramdisk-latest/src/drv_ramdisk.c: In function 'ramdisk_init': ../packages/ramdisk-latest/src/drv_ramdisk.c:140:32: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] ramdisk_dev->parent.read = rt_ramdisk_read; ^ ../packages/ramdisk-latest/src/drv_ramdisk.c:141:32: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] ramdisk_dev->parent.write = rt_ramdisk_write; ^ arm-none-eabi-gcc "../libraries/m460/rtt_port/drv_bpwm.c" arm-none-eabi-gcc "../libraries/m460/rtt_port/drv_bpwm_capture.c" ../libraries/nu_packages/NCT7717U/sensor_nct7717u.c: In function 'nct7717u_fetch_data': ../libraries/nu_packages/NCT7717U/sensor_nct7717u.c:122:30: error: 'RT_SENSOR_CLASS_TEMP' undeclared (first use in this function) if (sensor->info.type == RT_SENSOR_CLASS_TEMP) ^~~~~~~~~~~~~~~~~~~~ ../libraries/nu_packages/NCT7717U/sensor_nct7717u.c:122:30: note: each undeclared identifier is reported only once for each function it appears in ../libraries/nu_packages/NCT7717U/sensor_nct7717u.c: In function 'rt_hw_nct7717u_temp_init': ../libraries/nu_packages/NCT7717U/sensor_nct7717u.c:176:31: error: 'RT_SENSOR_CLASS_TEMP' undeclared (first use in this function) sensor->info.type = RT_SENSOR_CLASS_TEMP; ^~~~~~~~~~~~~~~~~~~~ ../libraries/nu_packages/NCT7717U/sensor_nct7717u.c:178:17: error: 'struct rt_sensor_info' has no member named 'model'; did you mean 'mode'? sensor->info.model = "nct7717u_temp"; ^ ../libraries/nu_packages/NCT7717U/sensor_nct7717u.c:179:31: error: 'RT_SENSOR_UNIT_DCELSIUS' undeclared (first use in this function) sensor->info.unit = RT_SENSOR_UNIT_DCELSIUS; ^~~~~~~~~~~~~~~~~~~~~~~ ../libraries/nu_packages/NCT7717U/sensor_nct7717u.c:181:17: error: 'struct rt_sensor_info' has no member named 'range_max' sensor->info.range_max = 127; ^ ../libraries/nu_packages/NCT7717U/sensor_nct7717u.c:182:17: error: 'struct rt_sensor_info' has no member named 'range_min' sensor->info.range_min = -128; ^ ../libraries/nu_packages/NCT7717U/sensor_nct7717u.c:183:17: error: 'struct rt_sensor_info' has no member named 'period_min' sensor->info.period_min = 100; //100ms ^ make: *** [libraries/nu_packages/NCT7717U/subdir.mk:18: libraries/nu_packages/NCT7717U/sensor_nct7717u.o] Error 1 make: *** Waiting for unfinished jobs.... ../libraries/m460/rtt_port/emac/drv_emac.c: In function 'rt_hw_gmac_init': ../libraries/m460/rtt_port/emac/drv_emac.c:723:41: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] psNuGMAC->eth.parent.read = nu_gmac_read; ^ ../libraries/m460/rtt_port/emac/drv_emac.c:724:41: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] psNuGMAC->eth.parent.write = nu_gmac_write; ^ "make -j20 all" terminated with exit code 2. Build might be incomplete. 20:06:00 Build Failed. 9 errors, 4 warnings. (took 8s.510ms) ```
查看更多
1
个回答
默认排序
按发布时间排序
rcp
认证专家
2023-06-26
这家伙很懒,什么也没写!
编译不过很正常,latest是个开发中的版本,不能确保系统源码和其它代码能良好匹配,一般开发者,建议不要用latest版本,用稳定的发行版。除非对系统相当熟悉,有信心解决编译发生的各种错误
撰写答案
登录
注册新账号
关注者
0
被浏览
430
关于作者
mumumu
这家伙很懒,什么也没写!
提问
35
回答
29
被采纳
1
关注TA
发私信
相关问题
1
刚看到新唐的rt-thread战略合作
2
4.02版本RT运行了bsp包里移植好的工程,finsh显示有问题。
3
新唐NuMaker-PFM-M487按照上手指南编译不成功
4
RT-Thread Studio如何创建新唐等其他厂家的基于芯片的工程?
5
新唐N9H30开发板工程,大佬们有使用过sd卡功能的吗?
6
[nuvoton][numaker-m467hj] 无法进入debug模式
7
[nuvoton][numaker-m467hj]默认开发板工程,32G的SD卡容量识别错误无法加载
8
[nuvoton][numaker-m467hj] 进入debug模式后不能单步运行到断点
9
新唐M487 IAP跳跳转RTT应用失败,进入hard fault
10
RT-Thread Stuido自带的新唐NUMAKER-M467HJ工程Settings打不开
推荐文章
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
RTT串口查找函数使用过程中遇到的问题。
2
RT-Thread CI编译产物artifacts自动上传功能介绍
3
STM32G030移植RT-Thread
4
CubeMX & RT-Thread Studio 联合开发说明
5
RT-Thread项目助手v0.3 | Ubuntu与MacOS平台的RT-Thread Env
热门标签
RT-Thread Studio
串口
Env
LWIP
SPI
AT
Bootloader
Hardfault
CAN总线
FinSH
ART-Pi
USB
DMA
文件系统
RT-Thread
SCons
RT-Thread Nano
线程
MQTT
STM32
rt-smart
RTC
FAL
I2C_IIC
cubemx
ESP8266
UART
WIZnet_W5500
ota在线升级
PWM
BSP
flash
freemodbus
packages_软件包
潘多拉开发板_Pandora
GD32
定时器
ADC
flashDB
编译报错
socket
中断
rt_mq_消息队列_msg_queue
keil_MDK
Debug
SFUD
ulog
msh
C++_cpp
MicroPython
本月问答贡献
出出啊
1522
个答案
343
次被采纳
小小李sunny
1444
个答案
290
次被采纳
张世争
815
个答案
179
次被采纳
crystal266
555
个答案
162
次被采纳
whj467467222
1222
个答案
149
次被采纳
本月文章贡献
出出啊
1
篇文章
2
次点赞
小小李sunny
1
篇文章
1
次点赞
张世争
1
篇文章
3
次点赞
crystal266
2
篇文章
1
次点赞
whj467467222
2
篇文章
1
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部