资源简介
采用STM32F401CCU6制作的跑马灯源程序,PA1,PA2,PA3分别轮流驱动三个LED灯的简单实验性源程序
代码片段和文件信息
/*----------------------------------------------------------------------------
* CMSIS-RTOS - RTX
*----------------------------------------------------------------------------
* Name: RTX_Conf_CM.C
* Purpose: Configuration of CMSIS RTX Kernel for Cortex-M
* Rev.: V4.70.1
*----------------------------------------------------------------------------
*
* Copyright (c) 1999-2009 KEIL 2009-2015 ARM Germany GmbH
* All rights reserved.
* Redistribution and use in source and binary forms with or without
* modification are permitted provided that the following conditions are met:
* - Redistributions of source code must retain the above copyright
* notice this list of conditions and the following disclaimer.
* - Redistributions in binary form must reproduce the above copyright
* notice this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* - Neither the name of ARM nor the names of its contributors may be used
* to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS“
* AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT INDIRECT INCIDENTAL SPECIAL EXEMPLARY OR
* CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT LIMITED TO PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE DATA OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY WHETHER IN
* CONTRACT STRICT LIABILITY OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*---------------------------------------------------------------------------*/
#include “cmsis_os.h“
/*----------------------------------------------------------------------------
* RTX User configuration part BEGIN
*---------------------------------------------------------------------------*/
//-------- <<< Use Configuration Wizard in Context Menu >>> -----------------
//
// Thread Configuration
// =======================
//
// Number of concurrent running user threads <1-250>
// Defines max. number of user threads that will run at the same time.
// Default: 6
#ifndef OS_TASKCNT
#define OS_TASKCNT 6
#endif
// Default Thread stack size [bytes] <64-4096:8><#/4>
// Defines default stack size for threads with osThreadDef stacksz = 0
// Default: 200
#ifndef OS_STKSIZE
#define OS_STKSIZE 50 // this stack size value is in words
#endif
// Main Thread stack size [bytes] <64-32768:8><#/4>
//
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1133 2016-03-31 10:04 STM32F401CCU6\USER\LED.c
文件 3505 2016-03-31 10:09 STM32F401CCU6\USER\LED.h
文件 1885 2016-03-31 10:30 STM32F401CCU6\USER\main.c
....... 20713 2016-03-31 14:35 STM32F401CCU6\LED.uvprojx
....... 7507 2016-03-31 14:35 STM32F401CCU6\LED.uvoptx
文件 11209 2015-06-02 12:28 STM32F401CCU6\RTE\CMSIS\RTX_Conf_CM.c
文件 80066 2015-09-10 10:13 STM32F401CCU6\RTE\Device\STM32F401CCUx\RTE_Device.h
文件 18822 2015-11-27 15:12 STM32F401CCU6\RTE\Device\STM32F401CCUx\stm32f4xx_hal_conf.h
文件 26395 2015-11-12 13:41 STM32F401CCU6\RTE\Device\STM32F401CCUx\startup_stm32f401xc.s
文件 27917 2015-11-12 13:41 STM32F401CCU6\RTE\Device\STM32F401CCUx\system_stm32f4xx.c
文件 735 2016-03-31 11:23 STM32F401CCU6\RTE\RTE_Components.h
文件 27456 2016-03-31 13:06 STM32F401CCU6\ob
文件 69559 2016-03-31 12:19 STM32F401CCU6\Listings\startup_stm32f401xc.lst
文件 156256 2016-03-31 13:06 STM32F401CCU6\Listings\LED.map
....... 138470 2016-03-31 14:35 STM32F401CCU6\LED.uvguix.chen
目录 0 2016-03-31 11:23 STM32F401CCU6\RTE\Device\STM32F401CCUx
目录 0 2016-03-31 11:23 STM32F401CCU6\RTE\CMSIS
目录 0 2016-03-31 11:23 STM32F401CCU6\RTE\Device
目录 0 2016-03-27 15:22 STM32F401CCU6\USER
目录 0 2016-03-31 11:23 STM32F401CCU6\RTE
目录 0 2016-03-31 11:23 STM32F401CCU6\ob
目录 0 2016-03-31 11:23 STM32F401CCU6\Listings
目录 0 2016-03-31 11:18 STM32F401CCU6
----------- --------- ---------- ----- ----
591628 23
- 上一篇:LCD的滚动显示
- 下一篇:ATF54143元器件模型
评论
共有 条评论