ifdef RT_USING_OVERFLOW_CHECK _rt_scheduler_stack_check(to_thread); endif if (rt_interrupt_nest == 0) { extern void rt_thread_handle_sig(rt_bool_t clean_state); rt_hw_context_switch((rt_uint32_t)&from_thread->sp, (rt_uint32_t)&to_thread->sp); /* enable interrupt */ rt_hw...
RT-Thread 官方推出了 STM32 系列单片机的通用 bootloader, 在其网站可以通过网页配置就可以生成 bootloader 的烧录文件,使广大嵌入式工程师不用编写一行代码,就能够轻松完成自己产品的 bootloader 功能。但是由于 RTT 官方的 bootloader 软件 RT-OTA 是商用性质,不公开源码,不仅仅限制了在其他平台的移植,而且也不方便...
rt_current_thread = to_thread; ... #ifdef RT_USING_OVERFLOW_CHECK _rt_scheduler_stack_check(to_thread); #endif if (rt_interrupt_nest == 0) { extern void rt_thread_handle_sig(rt_bool_t clean_state); /这句进行任务切换/ rt_hw_context_switch((rt_ubase_t)&from_thread->sp, (rt_u...
MacDroid Mac版是一款强大的安卓设备传输助手,使用非常简单,只需要将安卓手机使用 USB 连接到 Mac 电脑...
可以看到当前系统体积大小 256KB,下面对该BSP进行裁剪,打开工程的 RT-Thread Settings 配置界面: 裁剪Ulog 组件(-3.8KB) 去除异步日志功能后 1text data bss dec hex filename 2257000 1648 5120 263768 40658 rtthread.elf 3Used Size(B) Used Size(KB) ...
Change default lwip stack to lwip2.0.3 Fix delete useless code. The "event_callback" will be change by RT-Thread dfs. Adjust the string.h position LWIP_TIMEVAL_PRIVATE: provided by <sys/time.h> LWIP2.0.2 and 2.1.2 remove ERRNO Remove ESHUTDOWN from LWIP Remove the possible critical zo...
Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {{ message }} shao7936626 / rtt-dists Public Notifications You must be signed in to change notification settings Fork 0 Star 0 ...
CONFIG_RT_USING_OVERFLOW_CHECK=y CONFIG_RT_USING_HOOK=y CONFIG_RT_HOOK_USING_FUNC_PTR=y CONFIG_RT_USING_HOOKLIST=y @@ -28,26 +145,18 @@ CONFIG_RT_TIMER_THREAD_STACK_SIZE=8192 CONFIG_RT_USING_CPU_USAGE_TRACER=y # # kservice optimization # kservice options # # CONFIG_RT_USING_TIN...
#define RT_MAIN_THREAD_STACK_SIZE 2048 (6)FinSH /* 定义该宏可开启系统 FinSH 调试工具的使用,未定义则关闭 */ #define RT_USING_FINSH /* 开启系统 FinSH 时:将该线程名称定义为 tshell */ #define FINSH_THREAD_NAME "tshell" /* 开启系统 FinSH 时:使用历史命令 */ ...
_remove_thread(to_thread);//将该线程从线程调度器中移除to_thread->stat=RT_THREAD_RUNNING;//切换为正在运行模式/* switch to new thread */#ifdefRT_USING_SMPrt_hw_context_switch_to((rt_ubase_t)&to_thread->sp,to_thread);#elsert_hw_context_switch_to((rt_ubase_t)&to_thread->sp);//...