资源简介
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协议,简单易懂
相关资源
- STM32F103RC+ADC+DMA多通道采样LCD显示
- I2C读写AT24C02 基于STM32F103 cube116540
- 基于stm32f103ve的程序——跑马灯实验
- 基于STM32RCT6的步进电机驱动程序
- stm32f407上的两个can发送和接收例程
- STM32 led 时钟
- STM32 2.4G通信例程
- 直流无刷电机方波驱动 stm32 例程代码
- STM32中文资料
- STM32蓝牙和串口程序
- STM32f103超声波模块例程
- stm32f103c8t6 4 oled.rar
- stm32f030 IAP Demo(原创)
- STM32基于rt_thread操作系统的SDHC卡文件
- NRF24L01实现51与STM32双向通讯
- STM32F103 串口程序(完整版)
- stm32 ds18b20 温度传感器 测试通过
- stm32官方例程
- STM32F103定时器中断程序
- [免费]基于stm32f103ze 的OLED驱动代码
- STM32F103RBT6驱动UC1698控制芯片的160160黑
- STM32F103 DS18B20 V3.5.0固件库驱动程序工
- STM32定时器使用入门。看了这个程序会
- SIM908 SDIO FSMC STM32 FIFO
- STM32F103 CC2500完整驱动(模拟SPI)
- AD7606采集程序
- stm32 用SPI 方式读写 SDHC
- stm32通过DMA方式采集ADC数据
- 意法半导体STM全系列微控制器STM32ST
- 基于STM32芯片的SX1278 驱动 LORA.rar
评论
共有 条评论