资源简介
stm32f30x + rt-thread nano版。操作系统占用资源极少。
代码片段和文件信息
/*
* File : application.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006 RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
*
* Change Logs:
* Date Author Notes
* 2009-01-05 Bernard the first version
* 2014-04-27 Bernard make code cleanup.
*/
#include
#include
#include “usart.h“
#ifdef RT_USING_GDB
#include
#endif
void rt_init_thread_entry(void* parameter)
{
//rt_device_t dev3 = rt_device_find(“uart3“);
//rt_device_open(dev3 RT_DEVICE_OFLAG_RDWR | RT_DEVICE_FLAG_STREAM | RT_DEVICE_FLAG_INT_RX);
//rt_device_set_rx_indicate(dev3 uartx_rx_ind);
//inv_pwm_init();
//hall_timer_init();
//protocol.call_back = 0;
//console_services_init();
//doorctrl_application_init();
}
int rt_application_init()
{
rt_thread_t tid;
tid = rt_thread_create(“init“
rt_init_thread_entry RT_NULL
2048 3 20);
if (tid != RT_NULL)
rt_thread_startup(tid);
return 0;
}
#include “finsh.h“
long test_finsh(void)
{
rt_kprintf(“this is a test of finsh\r\n“);
return 0;
}
FINSH_FUNCTION_EXPORT(test_finsh test finsh);
/*@}*/
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1336 2017-12-21 17:18 bsp\stm32f30x\applications\application.c
文件 2764 2017-12-21 17:00 bsp\stm32f30x\applications\startup.c
文件 2435 2017-12-21 17:18 bsp\stm32f30x\drivers\board.c
文件 1958 2017-12-21 17:11 bsp\stm32f30x\drivers\board.h
文件 3421 2015-08-13 00:53 bsp\stm32f30x\drivers\stm32f30x_conf.h
文件 3670 2016-09-08 13:01 bsp\stm32f30x\drivers\stm32f30x_it.c
文件 2250 2015-08-13 00:53 bsp\stm32f30x\drivers\stm32f30x_it.h
文件 11147 2017-12-21 16:59 bsp\stm32f30x\drivers\usart.c
文件 528 2017-12-09 11:29 bsp\stm32f30x\drivers\usart.h
文件 7251 2015-07-08 19:30 bsp\stm32f30x\Libraries\CMSIS\Include\arm_common_tables.h
文件 3940 2015-07-08 19:30 bsp\stm32f30x\Libraries\CMSIS\Include\arm_const_structs.h
文件 251190 2015-07-08 19:30 bsp\stm32f30x\Libraries\CMSIS\Include\arm_math.h
文件 34051 2015-07-08 19:30 bsp\stm32f30x\Libraries\CMSIS\Include\core_cm0.h
文件 41438 2015-07-08 19:30 bsp\stm32f30x\Libraries\CMSIS\Include\core_cm0plus.h
文件 100475 2015-07-08 19:30 bsp\stm32f30x\Libraries\CMSIS\Include\core_cm3.h
文件 109951 2015-07-08 19:30 bsp\stm32f30x\Libraries\CMSIS\Include\core_cm4.h
文件 130351 2015-07-08 19:30 bsp\stm32f30x\Libraries\CMSIS\Include\core_cm7.h
文件 17427 2015-07-08 19:30 bsp\stm32f30x\Libraries\CMSIS\Include\core_cmFunc.h
文件 26854 2015-07-08 19:30 bsp\stm32f30x\Libraries\CMSIS\Include\core_cmInstr.h
文件 22948 2015-07-08 19:30 bsp\stm32f30x\Libraries\CMSIS\Include\core_cmSimd.h
文件 42756 2015-07-08 19:30 bsp\stm32f30x\Libraries\CMSIS\Include\core_sc000.h
文件 99227 2015-07-08 19:30 bsp\stm32f30x\Libraries\CMSIS\Include\core_sc300.h
文件 726626 2015-07-08 19:34 bsp\stm32f30x\Libraries\CMSIS\ST\STM32F30x\Include\stm32f30x.h
文件 2208 2015-07-08 19:34 bsp\stm32f30x\Libraries\CMSIS\ST\STM32F30x\Include\system_stm32f30x.h
文件 24343 2015-07-08 19:34 bsp\stm32f30x\Libraries\CMSIS\ST\STM32F30x\Release_Notes.html
文件 23799 2015-07-08 19:34 bsp\stm32f30x\Libraries\CMSIS\ST\STM32F30x\Source\Templates\arm\startup_stm32f302x8.s
文件 26346 2016-09-12 12:01 bsp\stm32f30x\Libraries\CMSIS\ST\STM32F30x\Source\Templates\arm\startup_stm32f303xc.s
文件 27310 2015-07-08 19:34 bsp\stm32f30x\Libraries\CMSIS\ST\STM32F30x\Source\Templates\arm\startup_stm32f303xe.s
文件 26339 2015-07-08 19:34 bsp\stm32f30x\Libraries\CMSIS\ST\STM32F30x\Source\Templates\arm\startup_stm32f30x.s
文件 22159 2015-07-08 19:34 bsp\stm32f30x\Libraries\CMSIS\ST\STM32F30x\Source\Templates\arm\startup_stm32f334x8.s
............此处省略130个文件信息
- 上一篇:百度地址.txt
- 下一篇:Qt使用udp协议,简单易懂
相关资源
- adc实验,用于在LCD模块上面显示ADC转
- 一对多 多字节的can总线通信
- stm32f4温度补偿超声波测距
- STM32CubeMX培训课程
- 基于STM32的医院点滴系统
- 带移植说明的xmodem源码STM32
- STM32F429的UCOSII工程
- STM32F103C8T6脚位分布图.pdf
- stm32的DXP元件库
- STM32 hx711电子称程序
- STM32+ch375读取U盘源代码
- STM32F10x_SPI硬件接口读写Flash25Q16.zip
- STM32CUBE芯片库.txt
- 红外收发模块-学习手册基于STM32
- SD2405+STM32 程序,已经测试通过
- 基于IAR的STM32F4项目模板
- AD7705初始化基于STM32
- STM32驱动DA芯片DAC7617.doc
- stm32f103x系列常用芯片引脚图
- STM32试题及答案
- stm32f767igt6引脚功能规划
- Keil.STM32F4xx_DFP.2.11.0.pack
- STM32F103RCT6最小系统板——华北五省
- NB-IOT模组驱动代码 STM32
- stm32贪吃蛇游戏程序原子开发板上写的
- STM32F030使用ADC功能的
- stm32 的I2C-DMA实现
- STM32 驱动AD5412
- stm32f10X实现SWD模式四线程序教程
- STM32W108体系结构
评论
共有 条评论