Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
树莓派Pico
RT-Thread Studio
uf2
raspberry pi pico 使用 studio 产生 uf2 无法运行
发布于 2021-03-23 16:14:29 浏览:1874
订阅该版
使用 RT-Thread Studio 的 raspberry pi pico sdk 产生的 uf2 在板子上无法运行。 ![TIM截图20210323160401.png](https://oss-club.rt-thread.org/uploads/20210323/704237af3071d82fb39a4815ec091ae5.png) ![TIM截图20210323160430.png](https://oss-club.rt-thread.org/uploads/20210323/40fa5958ec58516a5d4eef196aab5b32.png) ![TIM截图20210323160509.png](https://oss-club.rt-thread.org/uploads/20210323/119881c4176e6548979a2589b80914b7.png) main.c 无修改 ``` #include
#include
#define LED_PIN 25 int main(void) { rt_kprintf("Hello, RT-Thread!\n"); rt_pin_mode(LED_PIN, PIN_MODE_OUTPUT); while (1) { rt_pin_write(LED_PIN, 1); rt_thread_mdelay(1000); rt_pin_write(LED_PIN, 0); rt_thread_mdelay(1000); } } ``` 编的 Log 无报错 ``` 16:07:25 **** Build of configuration Debug for project 403_pico **** scons.bat -j6 scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... scons: warning: you do not seem to have the pywin32 extensions installed; parallel (-j) builds may not work reliably with open Python files. File "C:\RT-ThreadStudio\platform\env_released\env\tools\Python27\Scripts\scons.py", line 204, in
scons: building associated VariantDir targets: build CC build\applications\main.o CC build\drivers\board.o CC build\drivers\drv_gpio.o CC build\drivers\drv_uart.o CC build\kernel\components\drivers\misc\pin.o CC build\kernel\components\drivers\serial\serial.o CC build\kernel\components\drivers\src\completion.o CC build\kernel\components\drivers\src\dataqueue.o CC build\kernel\components\drivers\src\pipe.o CC build\kernel\components\drivers\src\ringblk_buf.o CC build\kernel\components\drivers\src\ringbuffer.o CC build\kernel\components\drivers\src\waitqueue.o CC build\kernel\components\drivers\src\workqueue.o CC build\kernel\components\finsh\cmd.o CC build\kernel\components\finsh\msh.o CC build\kernel\components\finsh\shell.o CC build\kernel\components\libc\compilers\common\time.o CC build\kernel\components\libc\compilers\newlib\minilib.o CC build\kernel\libcpu\arm\common\backtrace.o CC build\kernel\libcpu\arm\common\div0.o CC build\kernel\libcpu\arm\common\showmem.o AS build\kernel\libcpu\arm\cortex-m0\context_gcc.o CC build\kernel\libcpu\arm\cortex-m0\cpuport.o CC build\kernel\src\clock.o CC build\kernel\src\components.o CC build\kernel\src\device.o CC build\kernel\src\idle.o CC build\kernel\src\ipc.o CC build\kernel\src\irq.o CC build\kernel\src\kservice.o CC build\kernel\src\mem.o CC build\kernel\src\mempool.o CC build\kernel\src\object.o CC build\kernel\src\scheduler.o CC build\kernel\src\thread.o CC build\kernel\src\timer.o AS build\libraries\generated\bs2_default_padded_checksummed.o CC build\libraries\pico-sdk\src\common\pico_sync\critical_section.o CC build\libraries\pico-sdk\src\common\pico_sync\lock_core.o CC build\libraries\pico-sdk\src\common\pico_sync\mutex.o CC build\libraries\pico-sdk\src\common\pico_sync\sem.o CC build\libraries\pico-sdk\src\common\pico_time\time.o CC build\libraries\pico-sdk\src\common\pico_time\timeout_helper.o CC build\libraries\pico-sdk\src\common\pico_util\datetime.o CC build\libraries\pico-sdk\src\common\pico_util\pheap.o CC build\libraries\pico-sdk\src\common\pico_util\queue.o CC build\libraries\pico-sdk\src\rp2_common\hardware_claim\claim.o CC build\libraries\pico-sdk\src\rp2_common\hardware_clocks\clocks.o AS build\libraries\pico-sdk\src\rp2_common\hardware_divider\divider.o CC build\libraries\pico-sdk\src\rp2_common\hardware_gpio\gpio.o CC build\libraries\pico-sdk\src\rp2_common\hardware_irq\irq.o AS build\libraries\pico-sdk\src\rp2_common\hardware_irq\irq_handler_chain.o CC build\libraries\pico-sdk\src\rp2_common\hardware_pll\pll.o CC build\libraries\pico-sdk\src\rp2_common\hardware_sync\sync.o CC build\libraries\pico-sdk\src\rp2_common\hardware_timer\timer.o CC build\libraries\pico-sdk\src\rp2_common\hardware_uart\uart.o CC build\libraries\pico-sdk\src\rp2_common\hardware_vreg\vreg.o CC build\libraries\pico-sdk\src\rp2_common\hardware_watchdog\watchdog.o CC build\libraries\pico-sdk\src\rp2_common\hardware_xosc\xosc.o AS build\libraries\pico-sdk\src\rp2_common\pico_bit_ops\bit_ops_aeabi.o CC build\libraries\pico-sdk\src\rp2_common\pico_bootrom\bootrom.o AS build\libraries\pico-sdk\src\rp2_common\pico_divider\divider.o AS build\libraries\pico-sdk\src\rp2_common\pico_double\double_aeabi.o CC build\libraries\pico-sdk\src\rp2_common\pico_double\double_init_rom.o CC build\libraries\pico-sdk\src\rp2_common\pico_double\double_math.o AS build\libraries\pico-sdk\src\rp2_common\pico_double\double_v1_rom_shim.o AS build\libraries\pico-sdk\src\rp2_common\pico_float\float_aeabi.o CC build\libraries\pico-sdk\src\rp2_common\pico_float\float_init_rom.o CC build\libraries\pico-sdk\src\rp2_common\pico_float\float_math.o AS build\libraries\pico-sdk\src\rp2_common\pico_float\float_v1_rom_shim.o AS build\libraries\pico-sdk\src\rp2_common\pico_int64_ops\pico_int64_ops_aeabi.o CC build\libraries\pico-sdk\src\rp2_common\pico_malloc\pico_malloc.o AS build\libraries\pico-sdk\src\rp2_common\pico_mem_ops\mem_ops_aeabi.o CC build\libraries\pico-sdk\src\rp2_common\pico_platform\platform.o CC build\libraries\pico-sdk\src\rp2_common\pico_printf\printf.o CC build\libraries\pico-sdk\src\rp2_common\pico_runtime\runtime.o CC build\libraries\pico-sdk\src\rp2_common\pico_standard_link\binary_info.o AS build\libraries\pico-sdk\src\rp2_common\pico_standard_link\crt0.o CXX build\libraries\pico-sdk\src\rp2_common\pico_standard_link\new_delete.o CC build\libraries\pico-sdk\src\rp2_common\pico_stdio\stdio.o CC build\libraries\pico-sdk\src\rp2_common\pico_stdio_uart\stdio_uart.o CC build\libraries\pico-sdk\src\rp2_common\pico_stdlib\stdlib.o LINK rtthread-pico.elf arm-none-eabi-objcopy -O binary rtthread-pico.elf rtthread.bin arm-none-eabi-size rtthread-pico.elf text data bss dec hex filename 75380 0 83896 159276 26e2c rtthread-pico.elf C:\RT-ThreadStudio\workspace\403_pico\libraries\generated\elf2uf2.exe rtthread-pico.elf rtthread-pico.uf2 scons: done building targets. 16:07:44 Build Finished. 0 errors, 0 warnings. (took 19s.685ms) ``` 是否那儿设置不对,导致产生的 elf , uf2 有问题呢? PS1. PICO 板子使用树梅官方的 uf2 及使用 linux 去编 sdk 是可以正常运行的!
查看更多
axw_fae
2021-03-25
这家伙很懒,什么也没写!
已由 Guozhanxin 修正这一个错误了! https://github.com/RT-Thread/rt-thread/pull/4512 https://github.com/RT-Thread/rt-thread/pull/4512/commits/eee1453c808074bb18c072032ee7e3feddd1679a
3
个回答
默认排序
按发布时间排序
Papalymo
2021-03-23
请勿打扰
在 linux 下编译 rtthread-pico 是好使的吗
flashman2002
2021-03-23
这家伙很懒,什么也没写!
就是说源码都没有改动过,只是编译后就无法正常运行了,对吗?你使用单步调试了吗?
撰写答案
登录
注册新账号
关注者
0
被浏览
1.9k
关于作者
axw_fae
这家伙很懒,什么也没写!
提问
3
回答
2
被采纳
1
关注TA
发私信
相关问题
1
rt_thread studio 啥时候能用呢
2
RT_Thread使用反馈帖子
3
RTT studio 下的 AT指令问题。
4
什么时候RTT Sdudio支持Ubuntu,Deepin和UOS操作系统
5
rt thread Studio 关于J-LINK下载问题
6
RT-Thread studio 调试设置问题
7
RTT-Studio 如何设置调试配置参数?
8
rt_thread studio 软件包配置
9
RT-Studio目前只能开发STM32的项目吗?
10
rtt studio 生成hex名字修改
推荐文章
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
LVGL使用字库IC芯片显示中文
2
基于STM32H750和Rt-Thread的CANFD通信实现的记录(一)
3
freemodbus主机在freertos的适配,参考rtthread例程
4
开源共生 商业共赢 | RT-Thread 2024开发者大会议程正式发布!
5
【24嵌入式设计大赛】基于RT-Thread星火一号的智慧家居系统
热门标签
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
编译报错
SFUD
msh
rt_mq_消息队列_msg_queue
keil_MDK
ulog
MicroPython
C++_cpp
本月问答贡献
出出啊
1517
个答案
342
次被采纳
小小李sunny
1443
个答案
289
次被采纳
张世争
805
个答案
174
次被采纳
crystal266
547
个答案
161
次被采纳
whj467467222
1222
个答案
148
次被采纳
本月文章贡献
出出啊
1
篇文章
4
次点赞
小小李sunny
1
篇文章
1
次点赞
张世争
1
篇文章
1
次点赞
crystal266
2
篇文章
2
次点赞
whj467467222
2
篇文章
1
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部