rt-thread
rt-thread copied to clipboard
RT-Thread is an open source IoT real-time operating system (RTOS).
[https://github.com/RT-Thread/rt-thread/blob/5ff358fec6585f683b214f49e7d4707952cbdbfa/bsp/imxrt/libraries/drivers/drv_usbh.c](url) 437行处 `static uint8_t _ehci1_pipe_buf[64]; static uint8_t _ehci1_pipe_idx; `  这是我的另一个4G上网设备 USB的描述符 使用bsp驱动获取描述符时 只能获取到前64byte 后面都是对前64byte的复制 09 02 90 00 05 01 00 e0 c8 08 0b 00 02 e0 01...
## 拉取/合并请求描述:(PR description) [ 修改内存对齐以及屏幕颜色问题 ] ### 当前拉取/合并请求的状态 Intent for your PR 必须选择一项 Choose one (Mandatory): - [ ] 本拉取/合并请求是一个草稿版本 This PR is for a code-review and is intended to...
I have been trying to get MicroPython to work as necessary for a project. RT-Thread compiles if you enable just MicroPython with no modules enabled. But when I enable MicroPython...
代码如下: ``` { err = flash_lp_init (); uint32_t wrWord=0x11223344; err = R_FLASH_LP_Erase(&g_flash_ctrl, FLASH_CF_BLOCK(8), 1); //if(true == g_b_flash_event_erase_complete) { R_BSP_SoftwareDelay(50, BSP_DELAY_UNITS_MILLISECONDS); //err = R_FLASH_LP_AccessWindowSet(&g_flash_ctrl, FLASH_CF_START_ADDR(8), FLASH_CF_END_ADDR(8));//code:0x4000 err = R_FLASH_LP_Write(&g_flash_ctrl, (uint32_t )&wrWord,...
SYSTEM SETUP: - Ubuntu 22.04 LTS x64 - utilizing arm-none-eabi toolchain I have recently started modifying the AT91SAM9260 RT-Thread BSP for an AT91SAM9263, and came across some fatal issues that...
If I enable LVGL Built-In Demos (RT-Thread Online Packages -> Multimedia Packages -> LVGL -> LVGL -> Enable Built-In Demos), compilation fails, irrespective of the platform (tested on AT91SAM9263 and...
## 拉取/合并请求描述:(PR description) [ - 添加优先网卡配置选项,在网卡自动切换时可以实现: - 1.当优先网卡 linkup 时把优先网卡配置为默认网卡用于上网 - 2.当优先网卡 linkdown 时自动切换其他能上网的网卡。 ] ### 当前拉取/合并请求的状态 Intent for your PR 必须选择一项 Choose one (Mandatory): - [ ] 本拉取/合并请求是一个草稿版本 This...
请教,使用rtt studio自动生成的驱动文件,pwm_config.h中没有pwm1和pwm8的配置定义。查了下芯片手册,这两个是高级定时器,寄存器定义和普通的不同,是因为这个原因吗?那是需要自己手动写bsp还是定义在了其他地方?
我使用GD32F103RCT6开发板移植STM32的相关BSP,在UTEST中遇到几个问题,其中部分已提交PR,另外几处确实不熟悉原因: 1. mailbox_tc.c中,thread3_recv_dynamic_mb,result = rt_mb_recv(test_dynamic_mb, (rt_ubase_t *)&mb_recv_str2, RT_WAITING_FOREVER);,会在第二次运行utest时失败,打断点发现在ipc.c:2318行,rt_schedule();行失败,然后线程返回错误。 2. thread_tc.c中,test_thread_suspend函数,会在此test case中,使用rt_thread_suspend中断其它线程,但看上去rt_thread_suspend是不允许其它线程中断的,因RT_ASSERT(thread == rt_thread_self());约束 还请大佬们指教
示例中 ```c /* 设置输出值 */ value = atoi(argv[1]); rt_dac_write(dac_dev, DAC_DEV_NAME, DAC_DEV_CHANNEL, &value); rt_kprintf("the value is :%d \n", value); ``` 函数原型为 ```c rt_uint32_t rt_dac_write(rt_dac_device_t dev, rt_uint32_t channel, rt_uint32_t value) { RT_ASSERT(dev);...