• 大小: 41.64MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-08-04
  • 语言: 其他
  • 标签: ARM.CMSIS  

资源简介

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-link-II\Abstract.txt

     文件     136947  2015-06-02 10:29  4.5.0\CMSIS\DAP\Firmware\Examples\LPC-link-II\CMSIS_DAP.uvguix

     文件       8425  2015-06-02 10:29  4.5.0\CMSIS\DAP\Firmware\Examples\LPC-link-II\CMSIS_DAP.uvoptx

     文件      26686  2015-06-02 10:29  4.5.0\CMSIS\DAP\Firmware\Examples\LPC-link-II\CMSIS_DAP.uvprojx

     文件      21527  2015-09-10 09:52  4.5.0\CMSIS\DAP\Firmware\Examples\LPC-link-II\DAP_config.h

     文件       1835  2015-06-02 10:29  4.5.0\CMSIS\DAP\Firmware\Examples\LPC-link-II\main.c

     文件     462416  2015-09-11 10:33  4.5.0\CMSIS\DAP\Firmware\Examples\LPC-link-II\objects\CMSIS_DAP.axf

     文件       1175  2015-06-02 10:29  4.5.0\CMSIS\DAP\Firmware\Examples\LPC-link-II\osobjects.h

     文件      11186  2015-06-02 10:29  4.5.0\CMSIS\DAP\Firmware\Examples\LPC-link-II\RTE\CMSIS\RTX_Conf_CM.c

     文件      88499  2015-06-02 10:29  4.5.0\CMSIS\DAP\Firmware\Examples\LPC-link-II\RTE\Device\LPC4320_Cortex-M4\RTE_Device.h

     文件      15403  2015-06-02 10:29  4.5.0\CMSIS\DAP\Firmware\Examples\LPC-link-II\RTE\Device\LPC4320_Cortex-M4\startup_LPC43xx.s

     文件      44861  2015-06-02 10:29  4.5.0\CMSIS\DAP\Firmware\Examples\LPC-link-II\RTE\Device\LPC4320_Cortex-M4\system_LPC43xx.c

     文件        986  2015-06-02 10:29  4.5.0\CMSIS\DAP\Firmware\Examples\LPC-link-II\RTE\RTE_Components.h

     文件       5402  2015-06-02 10:29  4.5.0\CMSIS\DAP\Firmware\Examples\LPC-link-II\RTE\USB\USBD_Config_0.c

     文件       7723  2015-06-02 10:29  4.5.0\CMSIS\DAP\Firmware\Examples\LPC-link-II\RTE\USB\USBD_Config_HID_0.h

     文件       8720  2015-06-02 10:29  4.5.0\CMSIS\DAP\Firmware\Examples\LPC-link-II\USBD_User_HID_0.c

     文件         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\objects\CMSIS_DAP.axf

     文件       1175  2015-09-09 15:37  4.5.0\CMSIS\DAP\Firmware\Examples\XMC4200\osobjects.h

     文件      11185  2015-09-09 15:37  4.5.0\CMSIS\DAP\Firmware\Examples\XMC4200\RTE\CMSIS\RTX_Conf_CM.c

............此处省略4008个文件信息

评论

共有 条评论