资源简介
ARM.CMSIS.4.5.0
代码片段和文件信息
/******************************************************************************
* @file main.c
* @brief CMSIS-DAP Main module
* @version V1.10
* @date 20. Jan 2015
*
* @note
* Copyright (C) 2012-2015 ARM Limited. All rights reserved.
*
* @par
* ARM Limited (ARM) is supplying this software for use with Cortex-M
* processor based microcontrollers.
*
* @par
* THIS SOFTWARE IS PROVIDED “AS IS“. NO WARRANTIES WHETHER EXPRESS IMPLIED
* OR STATUTORY INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
* ARM SHALL NOT IN ANY CIRCUMSTANCES BE LIABLE FOR SPECIAL INCIDENTAL OR
* CONSEQUENTIAL DAMAGES FOR ANY REASON WHATSOEVER.
*
******************************************************************************/
#include “cmsis_os.h“
#include “osobjects.h“
#include “rl_usb.h“
#include “DAP_config.h“
#include “DAP.h“
// Main program
int main (void) {
DAP_Setup(); // DAP Setup
USBD_Initialize(0U); // USB Device Initialization
USBD_Connect(0U); // USB Device Connect
while (!USBD_Configured(0U)); // Wait for USB Device to configure
LED_CONNECTED_OUT(1U); // Turn on Debugger Connected LED
LED_RUNNING_OUT(1U); // Turn on Target Running LED
Delayms(500U); // Wait for 500ms
LED_RUNNING_OUT(0U); // Turn off Target Running LED
LED_CONNECTED_OUT(0U); // Turn off Debugger Connected LED
// Create HID Thread
HID0_ThreadId = osThreadCreate(osThread(HID0_Thread) NULL);
osThreadSetPriority(osThreadGetId() osPriorityIdle);
for (;;); // Endless Loop
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 79180 2015-10-27 14:30 4.5.0\ARM.CMSIS.pdsc
文件 179946 2015-08-27 07:54 4.5.0\CMSIS\CMSIS_END_USER_LICENCE_AGREEMENT.pdf
文件 203125 2015-08-27 07:54 4.5.0\CMSIS\CMSIS_END_USER_LICENCE_AGREEMENT.rtf
文件 166392 2015-09-10 15:33 4.5.0\CMSIS\DAP\CMSIS-DAP EULA.pdf
文件 15208 2015-09-10 09:52 4.5.0\CMSIS\DAP\Firmware\Config\DAP_config.h
文件 55 2015-06-02 10:29 4.5.0\CMSIS\DAP\Firmware\Examples\LPC-li
文件 136947 2015-06-02 10:29 4.5.0\CMSIS\DAP\Firmware\Examples\LPC-li
文件 8425 2015-06-02 10:29 4.5.0\CMSIS\DAP\Firmware\Examples\LPC-li
文件 26686 2015-06-02 10:29 4.5.0\CMSIS\DAP\Firmware\Examples\LPC-li
文件 21527 2015-09-10 09:52 4.5.0\CMSIS\DAP\Firmware\Examples\LPC-li
文件 1835 2015-06-02 10:29 4.5.0\CMSIS\DAP\Firmware\Examples\LPC-li
文件 462416 2015-09-11 10:33 4.5.0\CMSIS\DAP\Firmware\Examples\LPC-li
文件 1175 2015-06-02 10:29 4.5.0\CMSIS\DAP\Firmware\Examples\LPC-li
文件 11186 2015-06-02 10:29 4.5.0\CMSIS\DAP\Firmware\Examples\LPC-li
文件 88499 2015-06-02 10:29 4.5.0\CMSIS\DAP\Firmware\Examples\LPC-li
文件 15403 2015-06-02 10:29 4.5.0\CMSIS\DAP\Firmware\Examples\LPC-li
文件 44861 2015-06-02 10:29 4.5.0\CMSIS\DAP\Firmware\Examples\LPC-li
文件 986 2015-06-02 10:29 4.5.0\CMSIS\DAP\Firmware\Examples\LPC-li
文件 5402 2015-06-02 10:29 4.5.0\CMSIS\DAP\Firmware\Examples\LPC-li
文件 7723 2015-06-02 10:29 4.5.0\CMSIS\DAP\Firmware\Examples\LPC-li
文件 8720 2015-06-02 10:29 4.5.0\CMSIS\DAP\Firmware\Examples\LPC-li
文件 56 2015-09-09 15:37 4.5.0\CMSIS\DAP\Firmware\Examples\XMC4200\Abstract.txt
文件 70498 2015-09-09 15:37 4.5.0\CMSIS\DAP\Firmware\Examples\XMC4200\CMSIS_DAP.uvguix
文件 15632 2015-09-09 15:37 4.5.0\CMSIS\DAP\Firmware\Examples\XMC4200\CMSIS_DAP.uvoptx
文件 29004 2015-09-09 15:37 4.5.0\CMSIS\DAP\Firmware\Examples\XMC4200\CMSIS_DAP.uvprojx
文件 28187 2015-09-10 09:52 4.5.0\CMSIS\DAP\Firmware\Examples\XMC4200\DAP_config.h
文件 1835 2015-09-10 09:52 4.5.0\CMSIS\DAP\Firmware\Examples\XMC4200\main.c
文件 899920 2015-09-11 10:33 4.5.0\CMSIS\DAP\Firmware\Examples\XMC4200\ob
文件 1175 2015-09-09 15:37 4.5.0\CMSIS\DAP\Firmware\Examples\XMC4200\osob
文件 11185 2015-09-09 15:37 4.5.0\CMSIS\DAP\Firmware\Examples\XMC4200\RTE\CMSIS\RTX_Conf_CM.c
............此处省略4008个文件信息
- 上一篇:UNIX网络编程_卷2
- 下一篇:The Cg Tutorial 中文版 + 英文版
评论
共有 条评论