V1.0
This commit is contained in:
@@ -0,0 +1,232 @@
|
||||
/*!
|
||||
* \file system_it_xinc.c
|
||||
*
|
||||
* \brief Target system interruption implementation
|
||||
*
|
||||
* \copyright Revised BSD License, see section \ref LICENSE.
|
||||
*
|
||||
* \code
|
||||
*
|
||||
* _ __ _ ________ _
|
||||
* | |/ /(_)___ / ____/ /_ (_)___
|
||||
* | // / __ \/ / / __ \/ / __ \
|
||||
* / |/ / / / / /___/ / / / / /_/ /
|
||||
* /_/|_/_/_/ /_/\____/_/ /_/_/ .___/
|
||||
* /_/
|
||||
* (C) 2022-2025 XinChip
|
||||
*
|
||||
* \endcode
|
||||
*
|
||||
* \author ( XinChip ) Alex-J
|
||||
*
|
||||
* \author ( XinChip )
|
||||
*/
|
||||
|
||||
/*-----------------------------------------------------------------------------------
|
||||
INCLUDE HEADE FILES
|
||||
------------------------------------------------------------------------------------*/
|
||||
#include "system_it_xinc.h"
|
||||
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Func Prototype
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Functions
|
||||
-------------------------------------------------------------------------------------*/
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles NMI exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void NMI_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN NonMaskableInt_IRQn */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END NonMaskableInt_IRQn */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles Hard Fault exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void HardFault_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN HardFault_IRQn */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END HardFault_IRQn */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles Memory Manage exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void MemManage_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles Bus Fault exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void BusFault_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles Usage Fault exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void UsageFault_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles SVCall exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void SVC_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN SVCall_IRQn */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END SVCall_IRQn */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles Debug Monitor exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void DebugMon_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles PendSVC exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void PendSV_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN PendSV_IRQn */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END PendSV_IRQn */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/****************************** Hard Fault Handler Functions *******************************/
|
||||
/*------------------------------------------------------------------------------------
|
||||
Private Functions
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
void HardFault_Handler_c(unsigned int * HardFault_args)
|
||||
{
|
||||
/*栈帧里面内容:*/
|
||||
unsigned int stack_r0; //压栈的 R0
|
||||
unsigned int stack_r1; //压栈的 R1
|
||||
unsigned int stack_r2; //压栈的 R2
|
||||
unsigned int stack_r3; //压栈的 R3
|
||||
unsigned int stack_r12; //压栈的 R12
|
||||
unsigned int stack_lr; //压栈的 lr
|
||||
unsigned int stack_pc; //压栈的 pc
|
||||
unsigned int stack_psr; //压栈的 psr
|
||||
|
||||
stack_r0 = ((unsigned int)HardFault_args[0]);
|
||||
stack_r1 = ((unsigned int)HardFault_args[1]);
|
||||
stack_r2 = ((unsigned int)HardFault_args[2]);
|
||||
stack_r3 = ((unsigned int)HardFault_args[3]);
|
||||
stack_r12 = ((unsigned int)HardFault_args[4]);
|
||||
stack_lr = ((unsigned int)HardFault_args[5]);
|
||||
stack_pc = ((unsigned int)HardFault_args[6]);
|
||||
stack_psr = ((unsigned int)HardFault_args[7]);
|
||||
|
||||
DEBUG("----%s----\n", __func__);
|
||||
DEBUG("R0=%x\n",stack_r0);
|
||||
DEBUG("R1=%x\n",stack_r1);
|
||||
DEBUG("R2=%x\n",stack_r2);
|
||||
DEBUG("R3=%x\n",stack_r3);
|
||||
DEBUG("R12=%x\n",stack_r12);
|
||||
DEBUG("LR[R14]=%x\n",stack_lr);
|
||||
DEBUG("PC[R15]=%x\n",stack_pc);
|
||||
DEBUG("PSR=%x\n",stack_psr);
|
||||
DEBUG("SCB_SHCSR=%x\n",SCB->SHCSR);
|
||||
DEBUG("---------------------------\n");
|
||||
|
||||
while(1);
|
||||
}
|
||||
|
||||
/*******************************************************************************************/
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
/*!
|
||||
* \file system_it_xinc.h
|
||||
*
|
||||
* \brief The header of system_it_xinc.c
|
||||
*
|
||||
* \copyright Revised BSD License, see section \ref LICENSE.
|
||||
*
|
||||
* \code
|
||||
*
|
||||
* _ __ _ ________ _
|
||||
* | |/ /(_)___ / ____/ /_ (_)___
|
||||
* | // / __ \/ / / __ \/ / __ \
|
||||
* / |/ / / / / /___/ / / / / /_/ /
|
||||
* /_/|_/_/_/ /_/\____/_/ /_/_/ .___/
|
||||
* /_/
|
||||
* (C) 2022-2025 XinChip
|
||||
*
|
||||
* \endcode
|
||||
*
|
||||
* \author ( XinChip ) Alex-J
|
||||
*
|
||||
* \author ( XinChip )
|
||||
*/
|
||||
|
||||
/* Define to prevent recursive inclusion -------------------------------------*/
|
||||
#ifndef __SYSTEM_IT_XINC_H__
|
||||
#define __SYSTEM_IT_XINC_H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*-----------------------------------------------------------------------------------
|
||||
INCLUDE HEADE FILES
|
||||
------------------------------------------------------------------------------------*/
|
||||
#include "xc6xxx.h"
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Exported Functions
|
||||
-------------------------------------------------------------------------------------*/
|
||||
void NMI_Handler( void );
|
||||
void HardFault_Handler( void );
|
||||
void MemManage_Handler( void );
|
||||
void BusFault_Handler( void );
|
||||
void UsageFault_Handler( void );
|
||||
void SVC_Handler( void );
|
||||
void DebugMon_Handler( void );
|
||||
void PendSV_Handler( void );
|
||||
|
||||
void HardFault_Handler_c(unsigned int * HardFault_args);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __SYSTEM_IT_XINC_H__ */
|
||||
|
||||
@@ -0,0 +1,177 @@
|
||||
/**
|
||||
* Initialize the system
|
||||
*
|
||||
* @param none
|
||||
* @return none
|
||||
*
|
||||
* @brief Setup the microcontroller system
|
||||
*
|
||||
*/
|
||||
|
||||
/*-----------------------------------------------------------------------------------
|
||||
INCLUDE HEADE FILES
|
||||
------------------------------------------------------------------------------------*/
|
||||
#include <stdio.h>
|
||||
|
||||
#include "xc6xxx.h"
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Macros
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define __DEBUG_OUT_PORT 0
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Functions
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
void debug_uart_init(void)
|
||||
{
|
||||
#if (__DEBUG_OUT_PORT == 0)
|
||||
|
||||
GPIO_InitCfg_t gpio_cfg = {0};
|
||||
|
||||
gpio_cfg.Mux = GPIO_Mux0;
|
||||
gpio_cfg.Pull = GPIO_PULLUP;
|
||||
gpio_cfg.Int = NOT_INT;
|
||||
gpio_cfg.FunSel = UART0_TX;
|
||||
|
||||
gpio_cfg.Pin = GPIO_18;
|
||||
gpio_cfg.Dir = GPIO_DIR_OUTPUT;
|
||||
xc_gpio_init(&gpio_cfg);
|
||||
|
||||
gpio_cfg.FunSel = UART0_RX;
|
||||
gpio_cfg.Pin = GPIO_19;
|
||||
gpio_cfg.Dir = GPIO_DIR_INPUT;
|
||||
xc_gpio_init(&gpio_cfg);
|
||||
|
||||
UART_InitCfg_t uart_cfg = {0};
|
||||
|
||||
uart_cfg.Parity = UART_PARITY_DISABLE;
|
||||
uart_cfg.StopBits = UART_STOP_1_BITS;
|
||||
uart_cfg.WordLength = UART_DATA_8_BITS;
|
||||
uart_cfg.BaudRate = UART_BAUDRATE_115200;
|
||||
uart_cfg.HardwareFlowControl = UART_HWFC_DISABLE;
|
||||
|
||||
xc_uart_init(UART0_IDX, &uart_cfg);
|
||||
#else
|
||||
|
||||
GPIO_InitCfg_t gpio_cfg = {0};
|
||||
|
||||
gpio_cfg.Mux = GPIO_Mux0;
|
||||
gpio_cfg.Pull = GPIO_PULLUP;
|
||||
gpio_cfg.Int = NOT_INT;
|
||||
gpio_cfg.FunSel = UART1_TX;
|
||||
|
||||
gpio_cfg.Pin = GPIO_14;
|
||||
gpio_cfg.Dir = GPIO_DIR_OUTPUT;
|
||||
xc_gpio_init(&gpio_cfg);
|
||||
|
||||
gpio_cfg.FunSel = UART1_RX;
|
||||
gpio_cfg.Pin = GPIO_15;
|
||||
gpio_cfg.Dir = GPIO_DIR_INPUT;
|
||||
xc_gpio_init(&gpio_cfg);
|
||||
|
||||
UART_InitCfg_t uart_cfg = {0};
|
||||
|
||||
uart_cfg.Parity = UART_PARITY_DISABLE;
|
||||
uart_cfg.StopBits = UART_STOP_1_BITS;
|
||||
uart_cfg.WordLength = UART_DATA_8_BITS;
|
||||
uart_cfg.BaudRate = UART_BAUDRATE_115200;
|
||||
uart_cfg.HardwareFlowControl = UART_HWFC_DISABLE;
|
||||
|
||||
xc_uart_init(UART1_IDX, &uart_cfg);
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
#define VECTOR_NUM 48
|
||||
|
||||
void set_vector(void)
|
||||
{
|
||||
#if (USE_XIP == 1)
|
||||
__disable_irq();
|
||||
for (uint32_t i = 0, *Pvector = (uint32_t *)(0x11001000 + 0),
|
||||
*_vector_table = (uint32_t *)(0x10000000);
|
||||
i < VECTOR_NUM; i++) // copy vertor table
|
||||
{
|
||||
_vector_table[i] = *Pvector++;
|
||||
}
|
||||
|
||||
*((volatile unsigned int *)(0x4000013C)) =
|
||||
0x10000001; // inter vertor table remap
|
||||
__enable_irq();
|
||||
#endif
|
||||
}
|
||||
|
||||
static void WDT_ResetInit(void)
|
||||
{
|
||||
cpr_ctlapbclken_grctl__wdt_pclk_en__setf(ENABLE);
|
||||
|
||||
cpr_rstctl_ctlapb_sw__wdt_rstn__setf(RSTCTL_ENABLE);
|
||||
cpr_rstctl_ctlapb_sw__wdt_rstn__setf(RSTCTL_DISABLE);
|
||||
|
||||
cpr_rstctl_wdtrst_mask_set(
|
||||
(WDT_SYS_RSTN_MASK_DISABLE | WDT_M0_RSTN_MASK_ENABLE));
|
||||
|
||||
cpr_lp_ctl__ctl_wdt_tclk_en__setf(ENABLE);
|
||||
wdt_cr__wdt_en__setf(DISABLE);
|
||||
}
|
||||
|
||||
void SystemInit(void)
|
||||
{
|
||||
|
||||
WDT_ResetInit();
|
||||
|
||||
#if (USE_XIP == 1)
|
||||
|
||||
set_vector();
|
||||
#endif
|
||||
|
||||
debug_uart_init();
|
||||
}
|
||||
|
||||
__RAM_CODE int sendchar(int c)
|
||||
{
|
||||
unsigned int status;
|
||||
#if (__DEBUG_OUT_PORT == 1)
|
||||
for (;;) {
|
||||
status = (*((volatile unsigned *)(0x40011000 + 0x14)));
|
||||
status &= 0x20;
|
||||
if (status == 0x20)
|
||||
break;
|
||||
}
|
||||
(*((volatile unsigned *)(0x40011000 + 0x00))) = c;
|
||||
return (1);
|
||||
#else
|
||||
for (;;) {
|
||||
status = (*((volatile unsigned *)(0x40010000 + 0x14)));
|
||||
status &= 0x20;
|
||||
if (status == 0x20)
|
||||
break;
|
||||
}
|
||||
(*((volatile unsigned *)(0x40010000 + 0x00))) = c;
|
||||
return (1);
|
||||
#endif
|
||||
}
|
||||
|
||||
struct __FILE
|
||||
{
|
||||
int handle; /* Add whatever you need here */
|
||||
};
|
||||
|
||||
FILE __stdout;
|
||||
__RAM_CODE int fputc(int ch, FILE *f) { return (sendchar(ch)); }
|
||||
|
||||
int ferror(FILE *f)
|
||||
{
|
||||
/* Your implementation of ferror */
|
||||
return EOF;
|
||||
}
|
||||
|
||||
void _ttywrch(int ch) { sendchar(ch); }
|
||||
|
||||
void _sys_exit(int return_code)
|
||||
{
|
||||
label:
|
||||
goto label; /* endless loop */
|
||||
}
|
||||
@@ -0,0 +1,256 @@
|
||||
|
||||
;/*****************************************************************************
|
||||
; * @file: startup_xinc.s
|
||||
; * @purpose: CMSIS Cortex-M0 Core Device Startup File for the
|
||||
; * Device xinc.
|
||||
; *****************************************************************************/
|
||||
|
||||
Stack_Size EQU 0x00001000
|
||||
|
||||
AREA STACK, NOINIT, READWRITE, ALIGN=3
|
||||
Stack_Mem SPACE Stack_Size
|
||||
__initial_sp
|
||||
|
||||
Heap_Size EQU 0x00000000
|
||||
|
||||
AREA HEAP, NOINIT, READWRITE, ALIGN=3
|
||||
__heap_base
|
||||
Heap_Mem SPACE Heap_Size
|
||||
__heap_limit
|
||||
|
||||
|
||||
PRESERVE8
|
||||
THUMB
|
||||
|
||||
; Vector Table Mapped to Address 0 at Reset
|
||||
|
||||
AREA RESET, DATA, READONLY
|
||||
EXPORT __Vectors
|
||||
EXPORT __Vectors_End
|
||||
EXPORT __Vectors_Size
|
||||
|
||||
__Vectors DCD __initial_sp ; Top of Stack
|
||||
DCD Reset_Handler ; Reset Handler
|
||||
DCD NMI_Handler ; NMI Handler
|
||||
DCD HardFault_Handler ; Hard Fault Handler
|
||||
DCD MemManage_Handler ; MPU Fault Handler
|
||||
DCD BusFault_Handler ; Bus Fault Handler
|
||||
DCD UsageFault_Handler ; Usage Fault Handler
|
||||
DCD 0 ; Reserved
|
||||
DCD 0 ; Reserved
|
||||
DCD 0 ; Reserved
|
||||
DCD 0 ; Reserved
|
||||
DCD SVC_Handler ; SVCall Handler
|
||||
DCD DebugMon_Handler ; Debug Monitor Handler
|
||||
DCD 0 ; Reserved
|
||||
DCD PendSV_Handler ; PendSV Handler
|
||||
DCD SysTick_Handler ; SysTick Handler
|
||||
|
||||
; External Interrupts
|
||||
; ToDo: Add here the vectors for the device specific external interrupts handler
|
||||
DCD BLE_Handler ; 0
|
||||
DCD DMA_Handler ; 1
|
||||
DCD CPR_Handler ; 2
|
||||
DCD GPIO_Handler ; 3
|
||||
DCD RTC_Handler ; 4
|
||||
DCD TIMER0_Handler ; 5
|
||||
DCD TIMER1_Handler ; 6
|
||||
DCD TIMER2_Handler ; 7
|
||||
DCD TIMER3_Handler ; 8
|
||||
DCD WDT_Handler ; 9
|
||||
DCD I2C_Handler ; 10
|
||||
DCD UART0_Handler ; 11
|
||||
DCD UART1_Handler ; 12
|
||||
DCD SPI0_Handler ; 13
|
||||
DCD SPI1_Handler ; 14
|
||||
DCD 0 ; 15
|
||||
DCD 0 ; 16
|
||||
DCD GADC_Handler ; 17
|
||||
DCD PWM_Handler ; 18
|
||||
DCD AES_Handler ; 19
|
||||
DCD USB_Handler ; 20
|
||||
DCD AUDIO_Handler ; 21
|
||||
DCD RF24G_Handler ; 22
|
||||
DCD SPI2_Handler ; 23
|
||||
DCD 0 ; 24
|
||||
DCD UART2_Handler ; 25
|
||||
DCD I2S_Handler ; 26
|
||||
DCD AOTIMER0_Handler ; 27
|
||||
DCD AOTIMER1_Handler ; 28
|
||||
DCD CMP_Handler ; 29
|
||||
DCD FMC_Handler ; 30
|
||||
DCD CAN_Handler ; 31
|
||||
|
||||
__Vectors_End
|
||||
|
||||
__Vectors_Size EQU __Vectors_End - __Vectors
|
||||
|
||||
|
||||
|
||||
AREA |.text|, CODE, READONLY
|
||||
; Reset Handler
|
||||
|
||||
Reset_Handler PROC
|
||||
|
||||
EXPORT Reset_Handler [WEAK]
|
||||
|
||||
IMPORT SystemInit
|
||||
IMPORT __main
|
||||
|
||||
LDR r0, =0x4000013C ; remap
|
||||
LDR r1, =0x10000001
|
||||
STR r1, [r0]
|
||||
|
||||
|
||||
|
||||
LDR R0, =SystemInit
|
||||
BLX R0
|
||||
|
||||
LDR R0, =__main
|
||||
BX R0
|
||||
|
||||
ENDP
|
||||
|
||||
; Dummy Exception Handlers (infinite loops which can be modified)
|
||||
NMI_Handler PROC
|
||||
EXPORT NMI_Handler [WEAK]
|
||||
B .
|
||||
ENDP
|
||||
|
||||
|
||||
HardFault_Handler\
|
||||
PROC
|
||||
IMPORT HardFault_Handler_c ;函数声明
|
||||
movs r0, #4 ;判断主栈指针还是进程栈指针
|
||||
mov r1, lr
|
||||
tst r0, r1
|
||||
beq hf_used_msp ;如果是主栈指针
|
||||
mrs r0, psp ;否则是进程栈指针,把进程栈指针地址付给 R0
|
||||
ldr r1, =HardFault_Handler_c ;跳转到 HardFault 中断程序
|
||||
bx r1
|
||||
hf_used_msp
|
||||
mrs r0, msp ;把主栈指针地址赋给 R0
|
||||
ldr r1, =HardFault_Handler_c
|
||||
bx r1
|
||||
;EXPORT HardFault_Handler [WEAK]
|
||||
;B .
|
||||
ENDP
|
||||
MemManage_Handler\
|
||||
PROC
|
||||
EXPORT MemManage_Handler [WEAK]
|
||||
B .
|
||||
ENDP
|
||||
BusFault_Handler\
|
||||
PROC
|
||||
EXPORT BusFault_Handler [WEAK]
|
||||
B .
|
||||
ENDP
|
||||
UsageFault_Handler\
|
||||
PROC
|
||||
EXPORT UsageFault_Handler [WEAK]
|
||||
B .
|
||||
ENDP
|
||||
SVC_Handler PROC
|
||||
EXPORT SVC_Handler [WEAK]
|
||||
B .
|
||||
ENDP
|
||||
DebugMon_Handler\
|
||||
PROC
|
||||
EXPORT DebugMon_Handler [WEAK]
|
||||
B .
|
||||
ENDP
|
||||
|
||||
Default_Handler PROC
|
||||
EXPORT BLE_Handler [WEAK]
|
||||
EXPORT DMA_Handler [WEAK]
|
||||
EXPORT CPR_Handler [WEAK]
|
||||
EXPORT GPIO_Handler [WEAK]
|
||||
EXPORT RTC_Handler [WEAK]
|
||||
EXPORT TIMER0_Handler [WEAK]
|
||||
EXPORT TIMER1_Handler [WEAK]
|
||||
EXPORT TIMER2_Handler [WEAK]
|
||||
EXPORT TIMER3_Handler [WEAK]
|
||||
EXPORT WDT_Handler [WEAK]
|
||||
EXPORT I2C_Handler [WEAK]
|
||||
EXPORT UART0_Handler [WEAK]
|
||||
EXPORT UART1_Handler [WEAK]
|
||||
EXPORT SPI0_Handler [WEAK]
|
||||
EXPORT SPI1_Handler [WEAK]
|
||||
;EXPORT KBS_Handler [WEAK]
|
||||
;EXPORT QDEC_Handler [WEAK]
|
||||
EXPORT GADC_Handler [WEAK]
|
||||
EXPORT PWM_Handler [WEAK]
|
||||
EXPORT AES_Handler [WEAK]
|
||||
|
||||
EXPORT PendSV_Handler [WEAK]
|
||||
EXPORT SysTick_Handler [WEAK]
|
||||
|
||||
EXPORT USB_Handler [WEAK];20
|
||||
EXPORT AUDIO_Handler [WEAK];21
|
||||
EXPORT RF24G_Handler [WEAK];22
|
||||
EXPORT SPI2_Handler [WEAK];23
|
||||
;EXPORT MPU_Handler [WEAK];24
|
||||
EXPORT UART2_Handler [WEAK];25
|
||||
EXPORT I2S_Handler [WEAK];26
|
||||
EXPORT AOTIMER0_Handler [WEAK];27
|
||||
EXPORT AOTIMER1_Handler [WEAK];28
|
||||
EXPORT CMP_Handler [WEAK];29
|
||||
EXPORT FMC_Handler [WEAK];30
|
||||
EXPORT CAN_Handler [WEAK];31
|
||||
|
||||
PendSV_Handler
|
||||
SysTick_Handler
|
||||
BLE_Handler
|
||||
RF24G_Handler
|
||||
DMA_Handler
|
||||
CPR_Handler
|
||||
GPIO_Handler
|
||||
RTC_Handler
|
||||
TIMER0_Handler
|
||||
TIMER1_Handler
|
||||
TIMER2_Handler
|
||||
TIMER3_Handler
|
||||
WDT_Handler
|
||||
I2C_Handler
|
||||
I2S_Handler
|
||||
UART0_Handler
|
||||
UART1_Handler
|
||||
UART2_Handler
|
||||
SPI0_Handler
|
||||
SPI1_Handler
|
||||
SPI2_Handler
|
||||
;KBS_Handler
|
||||
;QDEC_Handler
|
||||
GADC_Handler
|
||||
PWM_Handler
|
||||
AUDIO_Handler
|
||||
;SIM_Handler
|
||||
AES_Handler
|
||||
AOTIMER0_Handler
|
||||
AOTIMER1_Handler
|
||||
CMP_Handler
|
||||
FMC_Handler
|
||||
CAN_Handler
|
||||
USB_Handler
|
||||
|
||||
B .
|
||||
ENDP
|
||||
|
||||
|
||||
ALIGN
|
||||
|
||||
; User Initial Stack & Heap
|
||||
|
||||
IMPORT __use_two_region_memory
|
||||
EXPORT __user_initial_stackheap
|
||||
__user_initial_stackheap
|
||||
|
||||
LDR R0, = Heap_Mem
|
||||
LDR R1, = (Stack_Mem + Stack_Size)
|
||||
LDR R2, = (Heap_Mem + Heap_Size)
|
||||
LDR R3, = Stack_Mem
|
||||
BX LR
|
||||
|
||||
ALIGN
|
||||
|
||||
END
|
||||
@@ -0,0 +1,110 @@
|
||||
/*!
|
||||
* \file main.c
|
||||
*
|
||||
* \brief Target main implementation
|
||||
*
|
||||
* \copyright Revised BSD License, see section \ref LICENSE.
|
||||
*
|
||||
* \code
|
||||
*
|
||||
* _ __ _ ________ _
|
||||
* | |/ /(_)___ / ____/ /_ (_)___
|
||||
* | // / __ \/ / / __ \/ / __ \
|
||||
* / |/ / / / / /___/ / / / / /_/ /
|
||||
* /_/|_/_/_/ /_/\____/_/ /_/_/ .___/
|
||||
* /_/
|
||||
* (C) 2022-2025 XinChip
|
||||
*
|
||||
* \endcode
|
||||
*
|
||||
* \author ( XinChip ) Alex-J
|
||||
*
|
||||
* \author ( XinChip )
|
||||
*/
|
||||
|
||||
/*-----------------------------------------------------------------------------------
|
||||
INCLUDE HEADE FILES
|
||||
------------------------------------------------------------------------------------*/
|
||||
#include "xc6xxx.h"
|
||||
#include "usbd_core.h"
|
||||
#include "usb_device.h"
|
||||
#include "usbd_cdc_if.h"
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Global Variables
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Functions
|
||||
-------------------------------------------------------------------------------------*/
|
||||
void SysTick_Callback(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void clock_init(void)
|
||||
{
|
||||
CLOCK_InitCfg_t clock_cfg;
|
||||
|
||||
clock_cfg.hfclk_src = CLOCK_HFCLK_SRC_XTAL;
|
||||
clock_cfg.hfclk_in = CLOCK_HFCLK_IN_32M;
|
||||
clock_cfg.lfclk_src = CLOCK_LFCLK_SRC_RC;
|
||||
|
||||
if (clock_cfg.lfclk_src == CLOCK_LFCLK_SRC_XTAL) {
|
||||
clock_cfg.lfclk_in = CLOCK_LFCLK_IN_32768;
|
||||
} else if (clock_cfg.lfclk_src == CLOCK_LFCLK_SRC_RC) {
|
||||
clock_cfg.lfclk_in = CLOCK_LFCLK_IN_32K;
|
||||
}
|
||||
|
||||
xc_clock_init_cfg(&clock_cfg);
|
||||
|
||||
SysTick_Config(xc_clock_hfclk_in_get() / 100);
|
||||
SysTick->CTRL &= ~SysTick_CTRL_TICKINT_Msk;
|
||||
}
|
||||
|
||||
void app_uart_init(void)
|
||||
{
|
||||
GPIO_InitCfg_t gpio_cfg = {0};
|
||||
|
||||
gpio_cfg.Mux = GPIO_Mux0;
|
||||
gpio_cfg.Pull = GPIO_PULLUP;
|
||||
gpio_cfg.Int = NOT_INT;
|
||||
gpio_cfg.FunSel = UART0_TX;
|
||||
|
||||
gpio_cfg.Pin = GPIO_18;
|
||||
gpio_cfg.Dir = GPIO_DIR_OUTPUT;
|
||||
xc_gpio_init(&gpio_cfg);
|
||||
|
||||
gpio_cfg.FunSel = UART0_RX;
|
||||
gpio_cfg.Pin = GPIO_19;
|
||||
gpio_cfg.Dir = GPIO_DIR_INPUT;
|
||||
xc_gpio_init(&gpio_cfg);
|
||||
|
||||
UART_InitCfg_t uart_cfg = {0};
|
||||
|
||||
uart_cfg.Parity = UART_PARITY_DISABLE;
|
||||
uart_cfg.StopBits = UART_STOP_1_BITS;
|
||||
uart_cfg.WordLength = UART_DATA_8_BITS;
|
||||
uart_cfg.BaudRate = UART_BAUDRATE_115200;
|
||||
uart_cfg.HardwareFlowControl = UART_HWFC_DISABLE;
|
||||
|
||||
xc_uart_init(UART0_IDX, &uart_cfg);
|
||||
}
|
||||
|
||||
int main(void)
|
||||
{
|
||||
clock_init( );
|
||||
|
||||
app_uart_init( );
|
||||
|
||||
DEBUG("__USB_CDC_DEMO__\n");
|
||||
|
||||
/* USB Device Initialization */
|
||||
USB_DEVICE_Init( );
|
||||
|
||||
while(1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
|
||||
FUNC void Initialization(void)
|
||||
{
|
||||
SP = _RDWORD(0x10000000);
|
||||
PC = _RDWORD(0x10000004);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
LOAD %L INCREMENTAL
|
||||
Initialization();
|
||||
@@ -0,0 +1,35 @@
|
||||
[BREAKPOINTS]
|
||||
ForceImpTypeAny = 0
|
||||
ShowInfoWin = 1
|
||||
EnableFlashBP = 2
|
||||
BPDuringExecution = 0
|
||||
[CFI]
|
||||
CFISize = 0x00
|
||||
CFIAddr = 0x00
|
||||
[CPU]
|
||||
OverrideMemMap = 0
|
||||
AllowSimulation = 1
|
||||
ScriptFile=""
|
||||
[FLASH]
|
||||
CacheExcludeSize = 0x00
|
||||
CacheExcludeAddr = 0x00
|
||||
MinNumBytesFlashDL = 0
|
||||
SkipProgOnCRCMatch = 1
|
||||
VerifyDownload = 1
|
||||
AllowCaching = 1
|
||||
EnableFlashDL = 2
|
||||
Override = 1
|
||||
Device="Cortex-M4"
|
||||
[GENERAL]
|
||||
WorkRAMSize = 0x00
|
||||
WorkRAMAddr = 0x00
|
||||
RAMUsageLimit = 0x00
|
||||
[SWO]
|
||||
SWOLogFile=""
|
||||
[MEM]
|
||||
RdOverrideOrMask = 0x00
|
||||
RdOverrideAndMask = 0xFFFFFFFF
|
||||
RdOverrideAddr = 0xFFFFFFFF
|
||||
WrOverrideOrMask = 0x00
|
||||
WrOverrideAndMask = 0xFFFFFFFF
|
||||
WrOverrideAddr = 0xFFFFFFFF
|
||||
@@ -0,0 +1,15 @@
|
||||
|
||||
LOAD 0x10000000
|
||||
{
|
||||
EXE 0x10000000
|
||||
{
|
||||
startup_xinc.o (RESET, +FIRST)
|
||||
* (+RO)
|
||||
|
||||
}
|
||||
RW +0
|
||||
{
|
||||
* (+RW,+ZI)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,990 @@
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 1
|
||||
|
||||
|
||||
1 00000000
|
||||
2 00000000 ;/******************************************************
|
||||
***********************
|
||||
3 00000000 ; * @file: startup_xinc.s
|
||||
4 00000000 ; * @purpose: CMSIS Cortex-M0 Core Device Startup File f
|
||||
or the
|
||||
5 00000000 ; * Device xinc.
|
||||
6 00000000 ; ******************************************************
|
||||
***********************/
|
||||
7 00000000
|
||||
8 00000000 00001000
|
||||
Stack_Size
|
||||
EQU 0x00001000
|
||||
9 00000000
|
||||
10 00000000 AREA STACK, NOINIT, READWRITE, ALIGN
|
||||
=3
|
||||
11 00000000 Stack_Mem
|
||||
SPACE Stack_Size
|
||||
12 00001000 __initial_sp
|
||||
13 00001000
|
||||
14 00001000 00000000
|
||||
Heap_Size
|
||||
EQU 0x00000000
|
||||
15 00001000
|
||||
16 00001000 AREA HEAP, NOINIT, READWRITE, ALIGN=
|
||||
3
|
||||
17 00000000 __heap_base
|
||||
18 00000000 Heap_Mem
|
||||
SPACE Heap_Size
|
||||
19 00000000 __heap_limit
|
||||
20 00000000
|
||||
21 00000000
|
||||
22 00000000 PRESERVE8
|
||||
23 00000000 THUMB
|
||||
24 00000000
|
||||
25 00000000 ; Vector Table Mapped to Address 0 at Reset
|
||||
26 00000000
|
||||
27 00000000 AREA RESET, DATA, READONLY
|
||||
28 00000000 EXPORT __Vectors
|
||||
29 00000000 EXPORT __Vectors_End
|
||||
30 00000000 EXPORT __Vectors_Size
|
||||
31 00000000
|
||||
32 00000000 00000000
|
||||
__Vectors
|
||||
DCD __initial_sp ; Top of Stack
|
||||
33 00000004 00000000 DCD Reset_Handler ; Reset Handler
|
||||
34 00000008 00000000 DCD NMI_Handler ; NMI Handler
|
||||
35 0000000C 00000000 DCD HardFault_Handler ; Hard Fault
|
||||
Handler
|
||||
36 00000010 00000000 DCD MemManage_Handler
|
||||
; MPU Fault Handler
|
||||
|
||||
37 00000014 00000000 DCD BusFault_Handler
|
||||
; Bus Fault Handler
|
||||
|
||||
38 00000018 00000000 DCD UsageFault_Handler ; Usage Faul
|
||||
t Handler
|
||||
39 0000001C 00000000 DCD 0 ; Reserved
|
||||
40 00000020 00000000 DCD 0 ; Reserved
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 2
|
||||
|
||||
|
||||
41 00000024 00000000 DCD 0 ; Reserved
|
||||
42 00000028 00000000 DCD 0 ; Reserved
|
||||
43 0000002C 00000000 DCD SVC_Handler ; SVCall Handler
|
||||
44 00000030 00000000 DCD DebugMon_Handler ; Debug Monito
|
||||
r Handler
|
||||
45 00000034 00000000 DCD 0 ; Reserved
|
||||
46 00000038 00000000 DCD PendSV_Handler ; PendSV Handler
|
||||
|
||||
47 0000003C 00000000 DCD SysTick_Handler
|
||||
; SysTick Handler
|
||||
48 00000040
|
||||
49 00000040 ; External Interrupts
|
||||
50 00000040 ; ToDo: Add here the vectors for the device specific ex
|
||||
ternal interrupts handler
|
||||
51 00000040 00000000 DCD BLE_Handler ; 0
|
||||
52 00000044 00000000 DCD DMA_Handler ; 1
|
||||
53 00000048 00000000 DCD CPR_Handler ; 2
|
||||
54 0000004C 00000000 DCD GPIO_Handler ; 3
|
||||
55 00000050 00000000 DCD RTC_Handler ; 4
|
||||
56 00000054 00000000 DCD TIMER0_Handler ; 5
|
||||
57 00000058 00000000 DCD TIMER1_Handler ; 6
|
||||
58 0000005C 00000000 DCD TIMER2_Handler ; 7
|
||||
59 00000060 00000000 DCD TIMER3_Handler ; 8
|
||||
60 00000064 00000000 DCD WDT_Handler ; 9
|
||||
61 00000068 00000000 DCD I2C_Handler ; 10
|
||||
62 0000006C 00000000 DCD UART0_Handler ; 11
|
||||
63 00000070 00000000 DCD UART1_Handler ; 12
|
||||
64 00000074 00000000 DCD SPI0_Handler ; 13
|
||||
65 00000078 00000000 DCD SPI1_Handler ; 14
|
||||
66 0000007C 00000000 DCD 0 ; 15
|
||||
67 00000080 00000000 DCD 0 ; 16
|
||||
68 00000084 00000000 DCD GADC_Handler ; 17
|
||||
69 00000088 00000000 DCD PWM_Handler ; 18
|
||||
70 0000008C 00000000 DCD AES_Handler ; 19
|
||||
71 00000090 00000000 DCD USB_Handler ; 20
|
||||
72 00000094 00000000 DCD AUDIO_Handler
|
||||
; 21
|
||||
|
||||
73 00000098 00000000 DCD RF24G_Handler ; 22
|
||||
74 0000009C 00000000 DCD SPI2_Handler ; 23
|
||||
75 000000A0 00000000 DCD 0 ; 24
|
||||
76 000000A4 00000000 DCD UART2_Handler ; 25
|
||||
77 000000A8 00000000 DCD I2S_Handler ; 26
|
||||
78 000000AC 00000000 DCD AOTIMER0_Handler ; 27
|
||||
79 000000B0 00000000 DCD AOTIMER1_Handler ; 28
|
||||
80 000000B4 00000000 DCD CMP_Handler ; 29
|
||||
81 000000B8 00000000 DCD FMC_Handler ; 30
|
||||
82 000000BC 00000000 DCD CAN_Handler ; 31
|
||||
83 000000C0
|
||||
84 000000C0 __Vectors_End
|
||||
85 000000C0
|
||||
86 000000C0 000000C0
|
||||
__Vectors_Size
|
||||
EQU __Vectors_End - __Vectors
|
||||
87 000000C0
|
||||
88 000000C0
|
||||
89 000000C0
|
||||
90 000000C0 AREA |.text|, CODE, READONLY
|
||||
91 00000000 ; Reset Handler
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 3
|
||||
|
||||
|
||||
92 00000000
|
||||
93 00000000 Reset_Handler
|
||||
PROC
|
||||
94 00000000
|
||||
95 00000000 EXPORT Reset_Handler [WEAK]
|
||||
96 00000000
|
||||
97 00000000 IMPORT SystemInit
|
||||
98 00000000 IMPORT __main
|
||||
99 00000000
|
||||
100 00000000 480F LDR r0, =0x4000013C ; remap
|
||||
101 00000002 4910 LDR r1, =0x10000001
|
||||
102 00000004 6001 STR r1, [r0]
|
||||
103 00000006
|
||||
104 00000006
|
||||
105 00000006
|
||||
106 00000006 4810 LDR R0, =SystemInit
|
||||
107 00000008 4780 BLX R0
|
||||
108 0000000A
|
||||
109 0000000A 4810 LDR R0, =__main
|
||||
110 0000000C 4700 BX R0
|
||||
111 0000000E
|
||||
112 0000000E ENDP
|
||||
113 0000000E
|
||||
114 0000000E ; Dummy Exception Handlers (infinite loops which can be
|
||||
modified)
|
||||
115 0000000E NMI_Handler
|
||||
PROC
|
||||
116 0000000E EXPORT NMI_Handler [WEAK
|
||||
]
|
||||
117 0000000E E7FE B .
|
||||
118 00000010 ENDP
|
||||
119 00000010
|
||||
120 00000010
|
||||
122 00000010 HardFault_Handler
|
||||
PROC
|
||||
123 00000010 IMPORT HardFault_Handler_c
|
||||
;函数声明
|
||||
124 00000010 2004 movs r0, #4 ;判æ–ä¸»æ ˆæŒ‡é’ˆ
|
||||
è¿˜æ˜¯è¿›ç¨‹æ ˆæŒ‡é
|
||||
’ˆ
|
||||
125 00000012 4671 mov r1, lr
|
||||
126 00000014 4208 tst r0, r1
|
||||
127 00000016 D003 beq hf_used_msp ;å¦‚æžœæ˜¯ä¸»æ ˆæŒ‡
|
||||
é’ˆ
|
||||
128 00000018 F3EF 8009 mrs r0, psp ;å�¦åˆ™æ˜¯è¿›ç¨‹æ ˆ
|
||||
指针,æŠŠè¿›ç¨‹æ ˆ
|
||||
指针地�付给
|
||||
R0
|
||||
129 0000001C 490C ldr r1, =HardFault_Handler_c ;è·³è½
|
||||
¬åˆ° HardFault 䏿
|
||||
–程åº�
|
||||
130 0000001E 4708 bx r1
|
||||
131 00000020 hf_used_msp
|
||||
132 00000020 F3EF 8008 mrs r0, msp ;æŠŠä¸»æ ˆæŒ‡é’ˆåœ°
|
||||
�赋给 R0
|
||||
133 00000024 490A ldr r1, =HardFault_Handler_c
|
||||
134 00000026 4708 bx r1
|
||||
135 00000028 ;EXPORT HardFault_Handler [WEAK]
|
||||
136 00000028 ;B .
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 4
|
||||
|
||||
|
||||
137 00000028 ENDP
|
||||
139 00000028 MemManage_Handler
|
||||
PROC
|
||||
140 00000028 EXPORT MemManage_Handler [WEAK
|
||||
]
|
||||
141 00000028 E7FE B .
|
||||
142 0000002A ENDP
|
||||
144 0000002A BusFault_Handler
|
||||
PROC
|
||||
145 0000002A EXPORT BusFault_Handler [WEAK
|
||||
]
|
||||
146 0000002A E7FE B .
|
||||
147 0000002C ENDP
|
||||
149 0000002C UsageFault_Handler
|
||||
PROC
|
||||
150 0000002C EXPORT UsageFault_Handler [WEAK
|
||||
]
|
||||
151 0000002C E7FE B .
|
||||
152 0000002E ENDP
|
||||
153 0000002E SVC_Handler
|
||||
PROC
|
||||
154 0000002E EXPORT SVC_Handler [WEAK
|
||||
]
|
||||
155 0000002E E7FE B .
|
||||
156 00000030 ENDP
|
||||
158 00000030 DebugMon_Handler
|
||||
PROC
|
||||
159 00000030 EXPORT DebugMon_Handler [WEAK
|
||||
]
|
||||
160 00000030 E7FE B .
|
||||
161 00000032 ENDP
|
||||
162 00000032
|
||||
163 00000032 Default_Handler
|
||||
PROC
|
||||
164 00000032 EXPORT BLE_Handler [WEAK
|
||||
]
|
||||
165 00000032 EXPORT DMA_Handler [WE
|
||||
AK]
|
||||
166 00000032 EXPORT CPR_Handler [WEAK]
|
||||
167 00000032 EXPORT GPIO_Handler [WEAK]
|
||||
168 00000032 EXPORT RTC_Handler [WEAK]
|
||||
169 00000032 EXPORT TIMER0_Handler [WEAK]
|
||||
170 00000032 EXPORT TIMER1_Handler [WEAK]
|
||||
171 00000032 EXPORT TIMER2_Handler [WEAK]
|
||||
172 00000032 EXPORT TIMER3_Handler [WEAK]
|
||||
173 00000032 EXPORT WDT_Handler [WE
|
||||
AK]
|
||||
174 00000032 EXPORT I2C_Handler [WEAK]
|
||||
175 00000032 EXPORT UART0_Handler [WEAK
|
||||
]
|
||||
176 00000032 EXPORT UART1_Handler [WE
|
||||
AK]
|
||||
177 00000032 EXPORT SPI0_Handler [WE
|
||||
AK]
|
||||
178 00000032 EXPORT SPI1_Handler [WE
|
||||
AK]
|
||||
179 00000032 ;EXPORT KBS_Handler [WEAK]
|
||||
180 00000032 ;EXPORT QDEC_Handler [WEAK]
|
||||
181 00000032 EXPORT GADC_Handler [WEAK]
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 5
|
||||
|
||||
|
||||
182 00000032 EXPORT PWM_Handler [WE
|
||||
AK]
|
||||
183 00000032 EXPORT AES_Handler [WE
|
||||
AK]
|
||||
184 00000032
|
||||
185 00000032 EXPORT PendSV_Handler [WEAK]
|
||||
186 00000032 EXPORT SysTick_Handler [WE
|
||||
AK]
|
||||
187 00000032
|
||||
188 00000032 EXPORT USB_Handler [WE
|
||||
AK]
|
||||
;20
|
||||
189 00000032 EXPORT AUDIO_Handler [WE
|
||||
AK]
|
||||
;21
|
||||
190 00000032 EXPORT RF24G_Handler [WE
|
||||
AK]
|
||||
;22
|
||||
191 00000032 EXPORT SPI2_Handler [WE
|
||||
AK]
|
||||
;23
|
||||
192 00000032 ;EXPORT MPU_Handler [WEAK];24
|
||||
193 00000032 EXPORT UART2_Handler [WE
|
||||
AK]
|
||||
;25
|
||||
194 00000032 EXPORT I2S_Handler [WE
|
||||
AK]
|
||||
;26
|
||||
195 00000032 EXPORT AOTIMER0_Handler [WE
|
||||
AK]
|
||||
;27
|
||||
196 00000032 EXPORT AOTIMER1_Handler [WE
|
||||
AK]
|
||||
;28
|
||||
197 00000032 EXPORT CMP_Handler [WE
|
||||
AK]
|
||||
;29
|
||||
198 00000032 EXPORT FMC_Handler [WE
|
||||
AK]
|
||||
;30
|
||||
199 00000032 EXPORT CAN_Handler [WE
|
||||
AK]
|
||||
;31
|
||||
200 00000032
|
||||
201 00000032 PendSV_Handler
|
||||
202 00000032 SysTick_Handler
|
||||
203 00000032 BLE_Handler
|
||||
204 00000032 RF24G_Handler
|
||||
205 00000032 DMA_Handler
|
||||
206 00000032 CPR_Handler
|
||||
207 00000032 GPIO_Handler
|
||||
208 00000032 RTC_Handler
|
||||
209 00000032 TIMER0_Handler
|
||||
210 00000032 TIMER1_Handler
|
||||
211 00000032 TIMER2_Handler
|
||||
212 00000032 TIMER3_Handler
|
||||
213 00000032 WDT_Handler
|
||||
214 00000032 I2C_Handler
|
||||
215 00000032 I2S_Handler
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 6
|
||||
|
||||
|
||||
216 00000032 UART0_Handler
|
||||
217 00000032 UART1_Handler
|
||||
218 00000032 UART2_Handler
|
||||
219 00000032 SPI0_Handler
|
||||
220 00000032 SPI1_Handler
|
||||
221 00000032 SPI2_Handler
|
||||
222 00000032 ;KBS_Handler
|
||||
223 00000032 ;QDEC_Handler
|
||||
224 00000032 GADC_Handler
|
||||
225 00000032 PWM_Handler
|
||||
226 00000032 AUDIO_Handler
|
||||
227 00000032 ;SIM_Handler
|
||||
228 00000032 AES_Handler
|
||||
229 00000032 AOTIMER0_Handler
|
||||
230 00000032 AOTIMER1_Handler
|
||||
231 00000032 CMP_Handler
|
||||
232 00000032 FMC_Handler
|
||||
233 00000032 CAN_Handler
|
||||
234 00000032 USB_Handler
|
||||
235 00000032
|
||||
236 00000032 E7FE B .
|
||||
237 00000034 ENDP
|
||||
238 00000034
|
||||
239 00000034
|
||||
240 00000034 ALIGN
|
||||
241 00000034
|
||||
242 00000034 ; User Initial Stack & Heap
|
||||
243 00000034
|
||||
244 00000034 IMPORT __use_two_region_memory
|
||||
245 00000034 EXPORT __user_initial_stackheap
|
||||
246 00000034 __user_initial_stackheap
|
||||
247 00000034
|
||||
248 00000034 4807 LDR R0, = Heap_Mem
|
||||
249 00000036 4908 LDR R1, = (Stack_Mem + Stack_Size)
|
||||
250 00000038 4A06 LDR R2, = (Heap_Mem + Heap_Size)
|
||||
251 0000003A 4B08 LDR R3, = Stack_Mem
|
||||
252 0000003C 4770 BX LR
|
||||
253 0000003E
|
||||
254 0000003E 00 00 ALIGN
|
||||
255 00000040
|
||||
256 00000040 END
|
||||
4000013C
|
||||
10000001
|
||||
00000000
|
||||
00000000
|
||||
00000000
|
||||
00000000
|
||||
00001000
|
||||
00000000
|
||||
Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M0 --apcs=interw
|
||||
ork --depend=.\objects\startup_xinc.d -o.\objects\startup_xinc.o -I.\RTE\_usb_c
|
||||
dc -IC:\Keil_v5\ARM\PACK\ARM\CMSIS\5.7.0\Device\ARM\ARMCM0\Include -IC:\Keil_v5
|
||||
\ARM\CMSIS\Include --predefine="__UVISION_VERSION SETA 530" --predefine="ARMCM0
|
||||
SETA 1" --predefine="_RTE_ SETA 1" --list=.\listing\startup_xinc.lst ..\app\St
|
||||
artup\xc60xx\startup_xinc.s
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
STACK 00000000
|
||||
|
||||
Symbol: STACK
|
||||
Definitions
|
||||
At line 10 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: STACK unused
|
||||
Stack_Mem 00000000
|
||||
|
||||
Symbol: Stack_Mem
|
||||
Definitions
|
||||
At line 11 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 249 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 251 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
__initial_sp 00001000
|
||||
|
||||
Symbol: __initial_sp
|
||||
Definitions
|
||||
At line 12 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 32 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Comment: __initial_sp used once
|
||||
3 symbols
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
HEAP 00000000
|
||||
|
||||
Symbol: HEAP
|
||||
Definitions
|
||||
At line 16 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: HEAP unused
|
||||
Heap_Mem 00000000
|
||||
|
||||
Symbol: Heap_Mem
|
||||
Definitions
|
||||
At line 18 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 248 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 250 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
__heap_base 00000000
|
||||
|
||||
Symbol: __heap_base
|
||||
Definitions
|
||||
At line 17 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: __heap_base unused
|
||||
__heap_limit 00000000
|
||||
|
||||
Symbol: __heap_limit
|
||||
Definitions
|
||||
At line 19 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: __heap_limit unused
|
||||
4 symbols
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
RESET 00000000
|
||||
|
||||
Symbol: RESET
|
||||
Definitions
|
||||
At line 27 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: RESET unused
|
||||
__Vectors 00000000
|
||||
|
||||
Symbol: __Vectors
|
||||
Definitions
|
||||
At line 32 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 28 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 86 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
__Vectors_End 000000C0
|
||||
|
||||
Symbol: __Vectors_End
|
||||
Definitions
|
||||
At line 84 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 29 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 86 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
3 symbols
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
.text 00000000
|
||||
|
||||
Symbol: .text
|
||||
Definitions
|
||||
At line 90 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: .text unused
|
||||
AES_Handler 00000032
|
||||
|
||||
Symbol: AES_Handler
|
||||
Definitions
|
||||
At line 228 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 70 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 183 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
AOTIMER0_Handler 00000032
|
||||
|
||||
Symbol: AOTIMER0_Handler
|
||||
Definitions
|
||||
At line 229 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 78 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 195 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
AOTIMER1_Handler 00000032
|
||||
|
||||
Symbol: AOTIMER1_Handler
|
||||
Definitions
|
||||
At line 230 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 79 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 196 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
AUDIO_Handler 00000032
|
||||
|
||||
Symbol: AUDIO_Handler
|
||||
Definitions
|
||||
At line 226 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 72 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 189 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
BLE_Handler 00000032
|
||||
|
||||
Symbol: BLE_Handler
|
||||
Definitions
|
||||
At line 203 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 51 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 164 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
BusFault_Handler 0000002A
|
||||
|
||||
Symbol: BusFault_Handler
|
||||
Definitions
|
||||
At line 144 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 2 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
At line 37 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 145 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
CAN_Handler 00000032
|
||||
|
||||
Symbol: CAN_Handler
|
||||
Definitions
|
||||
At line 233 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 82 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 199 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
CMP_Handler 00000032
|
||||
|
||||
Symbol: CMP_Handler
|
||||
Definitions
|
||||
At line 231 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 80 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 197 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
CPR_Handler 00000032
|
||||
|
||||
Symbol: CPR_Handler
|
||||
Definitions
|
||||
At line 206 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 53 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 166 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
DMA_Handler 00000032
|
||||
|
||||
Symbol: DMA_Handler
|
||||
Definitions
|
||||
At line 205 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 52 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 165 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
DebugMon_Handler 00000030
|
||||
|
||||
Symbol: DebugMon_Handler
|
||||
Definitions
|
||||
At line 158 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 44 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 159 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
Default_Handler 00000032
|
||||
|
||||
Symbol: Default_Handler
|
||||
Definitions
|
||||
At line 163 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: Default_Handler unused
|
||||
FMC_Handler 00000032
|
||||
|
||||
Symbol: FMC_Handler
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 3 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
Definitions
|
||||
At line 232 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 81 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 198 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
GADC_Handler 00000032
|
||||
|
||||
Symbol: GADC_Handler
|
||||
Definitions
|
||||
At line 224 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 68 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 181 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
GPIO_Handler 00000032
|
||||
|
||||
Symbol: GPIO_Handler
|
||||
Definitions
|
||||
At line 207 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 54 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 167 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
HardFault_Handler 00000010
|
||||
|
||||
Symbol: HardFault_Handler
|
||||
Definitions
|
||||
At line 122 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 35 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Comment: HardFault_Handler used once
|
||||
I2C_Handler 00000032
|
||||
|
||||
Symbol: I2C_Handler
|
||||
Definitions
|
||||
At line 214 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 61 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 174 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
I2S_Handler 00000032
|
||||
|
||||
Symbol: I2S_Handler
|
||||
Definitions
|
||||
At line 215 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 77 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 194 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
MemManage_Handler 00000028
|
||||
|
||||
Symbol: MemManage_Handler
|
||||
Definitions
|
||||
At line 139 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 36 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 140 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 4 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
NMI_Handler 0000000E
|
||||
|
||||
Symbol: NMI_Handler
|
||||
Definitions
|
||||
At line 115 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 34 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 116 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
PWM_Handler 00000032
|
||||
|
||||
Symbol: PWM_Handler
|
||||
Definitions
|
||||
At line 225 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 69 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 182 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
PendSV_Handler 00000032
|
||||
|
||||
Symbol: PendSV_Handler
|
||||
Definitions
|
||||
At line 201 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 46 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 185 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
RF24G_Handler 00000032
|
||||
|
||||
Symbol: RF24G_Handler
|
||||
Definitions
|
||||
At line 204 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 73 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 190 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
RTC_Handler 00000032
|
||||
|
||||
Symbol: RTC_Handler
|
||||
Definitions
|
||||
At line 208 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 55 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 168 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
Reset_Handler 00000000
|
||||
|
||||
Symbol: Reset_Handler
|
||||
Definitions
|
||||
At line 93 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 33 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 95 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
SPI0_Handler 00000032
|
||||
|
||||
Symbol: SPI0_Handler
|
||||
Definitions
|
||||
At line 219 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 5 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
Uses
|
||||
At line 64 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 177 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
SPI1_Handler 00000032
|
||||
|
||||
Symbol: SPI1_Handler
|
||||
Definitions
|
||||
At line 220 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 65 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 178 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
SPI2_Handler 00000032
|
||||
|
||||
Symbol: SPI2_Handler
|
||||
Definitions
|
||||
At line 221 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 74 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 191 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
SVC_Handler 0000002E
|
||||
|
||||
Symbol: SVC_Handler
|
||||
Definitions
|
||||
At line 153 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 43 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 154 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
SysTick_Handler 00000032
|
||||
|
||||
Symbol: SysTick_Handler
|
||||
Definitions
|
||||
At line 202 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 47 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 186 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
TIMER0_Handler 00000032
|
||||
|
||||
Symbol: TIMER0_Handler
|
||||
Definitions
|
||||
At line 209 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 56 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 169 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
TIMER1_Handler 00000032
|
||||
|
||||
Symbol: TIMER1_Handler
|
||||
Definitions
|
||||
At line 210 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 57 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 170 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
TIMER2_Handler 00000032
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 6 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
|
||||
Symbol: TIMER2_Handler
|
||||
Definitions
|
||||
At line 211 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 58 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 171 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
TIMER3_Handler 00000032
|
||||
|
||||
Symbol: TIMER3_Handler
|
||||
Definitions
|
||||
At line 212 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 59 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 172 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
UART0_Handler 00000032
|
||||
|
||||
Symbol: UART0_Handler
|
||||
Definitions
|
||||
At line 216 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 62 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 175 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
UART1_Handler 00000032
|
||||
|
||||
Symbol: UART1_Handler
|
||||
Definitions
|
||||
At line 217 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 63 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 176 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
UART2_Handler 00000032
|
||||
|
||||
Symbol: UART2_Handler
|
||||
Definitions
|
||||
At line 218 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 76 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 193 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
USB_Handler 00000032
|
||||
|
||||
Symbol: USB_Handler
|
||||
Definitions
|
||||
At line 234 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 71 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 188 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
UsageFault_Handler 0000002C
|
||||
|
||||
Symbol: UsageFault_Handler
|
||||
Definitions
|
||||
At line 149 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 7 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
At line 38 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 150 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
WDT_Handler 00000032
|
||||
|
||||
Symbol: WDT_Handler
|
||||
Definitions
|
||||
At line 213 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 60 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 173 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
__user_initial_stackheap 00000034
|
||||
|
||||
Symbol: __user_initial_stackheap
|
||||
Definitions
|
||||
At line 246 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 245 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Comment: __user_initial_stackheap used once
|
||||
hf_used_msp 00000020
|
||||
|
||||
Symbol: hf_used_msp
|
||||
Definitions
|
||||
At line 131 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 127 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Comment: hf_used_msp used once
|
||||
43 symbols
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||||
Absolute symbols
|
||||
|
||||
Heap_Size 00000000
|
||||
|
||||
Symbol: Heap_Size
|
||||
Definitions
|
||||
At line 14 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 18 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 250 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
Stack_Size 00001000
|
||||
|
||||
Symbol: Stack_Size
|
||||
Definitions
|
||||
At line 8 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 11 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 249 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
__Vectors_Size 000000C0
|
||||
|
||||
Symbol: __Vectors_Size
|
||||
Definitions
|
||||
At line 86 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 30 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Comment: __Vectors_Size used once
|
||||
3 symbols
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||||
External symbols
|
||||
|
||||
HardFault_Handler_c 00000000
|
||||
|
||||
Symbol: HardFault_Handler_c
|
||||
Definitions
|
||||
At line 123 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 129 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 133 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
SystemInit 00000000
|
||||
|
||||
Symbol: SystemInit
|
||||
Definitions
|
||||
At line 97 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 106 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Comment: SystemInit used once
|
||||
__main 00000000
|
||||
|
||||
Symbol: __main
|
||||
Definitions
|
||||
At line 98 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 109 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Comment: __main used once
|
||||
__use_two_region_memory 00000000
|
||||
|
||||
Symbol: __use_two_region_memory
|
||||
Definitions
|
||||
At line 244 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: __use_two_region_memory unused
|
||||
4 symbols
|
||||
395 symbols in table
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
Xincboot_tool.exe 0_ram.bin 1_ram_download.bin 0 0 0 0 1
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
.\Tools\xinchip_xip_tool.exe .\Output\0_ram.bin .\Output\xip_dual .\Output\1_xip_download.bin
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,504 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||
<ProjectOpt xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="project_optx.xsd">
|
||||
|
||||
<SchemaVersion>1.0</SchemaVersion>
|
||||
|
||||
<Header>### uVision Project, (C) Keil Software</Header>
|
||||
|
||||
<Extensions>
|
||||
<cExt>*.c</cExt>
|
||||
<aExt>*.s*; *.src; *.a*</aExt>
|
||||
<oExt>*.obj; *.o</oExt>
|
||||
<lExt>*.lib</lExt>
|
||||
<tExt>*.txt; *.h; *.inc</tExt>
|
||||
<pExt>*.plm</pExt>
|
||||
<CppX>*.cpp</CppX>
|
||||
<nMigrate>0</nMigrate>
|
||||
</Extensions>
|
||||
|
||||
<DaveTm>
|
||||
<dwLowDateTime>0</dwLowDateTime>
|
||||
<dwHighDateTime>0</dwHighDateTime>
|
||||
</DaveTm>
|
||||
|
||||
<Target>
|
||||
<TargetName>usb_cdc</TargetName>
|
||||
<ToolsetNumber>0x4</ToolsetNumber>
|
||||
<ToolsetName>ARM-ADS</ToolsetName>
|
||||
<TargetOption>
|
||||
<CLKADS>12000000</CLKADS>
|
||||
<OPTTT>
|
||||
<gFlags>0</gFlags>
|
||||
<BeepAtEnd>1</BeepAtEnd>
|
||||
<RunSim>0</RunSim>
|
||||
<RunTarget>1</RunTarget>
|
||||
<RunAbUc>0</RunAbUc>
|
||||
</OPTTT>
|
||||
<OPTHX>
|
||||
<HexSelection>1</HexSelection>
|
||||
<FlashByte>65535</FlashByte>
|
||||
<HexRangeLowAddress>0</HexRangeLowAddress>
|
||||
<HexRangeHighAddress>0</HexRangeHighAddress>
|
||||
<HexOffset>0</HexOffset>
|
||||
</OPTHX>
|
||||
<OPTLEX>
|
||||
<PageWidth>79</PageWidth>
|
||||
<PageLength>66</PageLength>
|
||||
<TabStop>8</TabStop>
|
||||
<ListingPath>.\Listing\</ListingPath>
|
||||
</OPTLEX>
|
||||
<ListingPage>
|
||||
<CreateCListing>1</CreateCListing>
|
||||
<CreateAListing>1</CreateAListing>
|
||||
<CreateLListing>1</CreateLListing>
|
||||
<CreateIListing>0</CreateIListing>
|
||||
<AsmCond>1</AsmCond>
|
||||
<AsmSymb>1</AsmSymb>
|
||||
<AsmXref>0</AsmXref>
|
||||
<CCond>1</CCond>
|
||||
<CCode>0</CCode>
|
||||
<CListInc>0</CListInc>
|
||||
<CSymb>0</CSymb>
|
||||
<LinkerCodeListing>0</LinkerCodeListing>
|
||||
</ListingPage>
|
||||
<OPTXL>
|
||||
<LMap>1</LMap>
|
||||
<LComments>1</LComments>
|
||||
<LGenerateSymbols>1</LGenerateSymbols>
|
||||
<LLibSym>1</LLibSym>
|
||||
<LLines>1</LLines>
|
||||
<LLocSym>1</LLocSym>
|
||||
<LPubSym>1</LPubSym>
|
||||
<LXref>0</LXref>
|
||||
<LExpSel>0</LExpSel>
|
||||
</OPTXL>
|
||||
<OPTFL>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<IsCurrentTarget>1</IsCurrentTarget>
|
||||
</OPTFL>
|
||||
<CpuCode>0</CpuCode>
|
||||
<DebugOpt>
|
||||
<uSim>0</uSim>
|
||||
<uTrg>1</uTrg>
|
||||
<sLdApp>1</sLdApp>
|
||||
<sGomain>1</sGomain>
|
||||
<sRbreak>1</sRbreak>
|
||||
<sRwatch>1</sRwatch>
|
||||
<sRmem>1</sRmem>
|
||||
<sRfunc>1</sRfunc>
|
||||
<sRbox>1</sRbox>
|
||||
<tLdApp>1</tLdApp>
|
||||
<tGomain>1</tGomain>
|
||||
<tRbreak>1</tRbreak>
|
||||
<tRwatch>1</tRwatch>
|
||||
<tRmem>1</tRmem>
|
||||
<tRfunc>0</tRfunc>
|
||||
<tRbox>1</tRbox>
|
||||
<tRtrace>1</tRtrace>
|
||||
<sRSysVw>1</sRSysVw>
|
||||
<tRSysVw>1</tRSysVw>
|
||||
<sRunDeb>0</sRunDeb>
|
||||
<sLrtime>0</sLrtime>
|
||||
<bEvRecOn>1</bEvRecOn>
|
||||
<bSchkAxf>0</bSchkAxf>
|
||||
<bTchkAxf>0</bTchkAxf>
|
||||
<nTsel>0</nTsel>
|
||||
<sDll></sDll>
|
||||
<sDllPa></sDllPa>
|
||||
<sDlgDll></sDlgDll>
|
||||
<sDlgPa></sDlgPa>
|
||||
<sIfile></sIfile>
|
||||
<tDll></tDll>
|
||||
<tDllPa></tDllPa>
|
||||
<tDlgDll></tDlgDll>
|
||||
<tDlgPa></tDlgPa>
|
||||
<tIfile></tIfile>
|
||||
<pMon>BIN\UL2CM3.DLL</pMon>
|
||||
</DebugOpt>
|
||||
<TargetDriverDllRegistry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>UL2CM3</Key>
|
||||
<Name>UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000)</Name>
|
||||
</SetRegEntry>
|
||||
</TargetDriverDllRegistry>
|
||||
<Breakpoint/>
|
||||
<Tracepoint>
|
||||
<THDelay>0</THDelay>
|
||||
</Tracepoint>
|
||||
<DebugFlag>
|
||||
<trace>0</trace>
|
||||
<periodic>0</periodic>
|
||||
<aLwin>0</aLwin>
|
||||
<aCover>0</aCover>
|
||||
<aSer1>0</aSer1>
|
||||
<aSer2>0</aSer2>
|
||||
<aPa>0</aPa>
|
||||
<viewmode>0</viewmode>
|
||||
<vrSel>0</vrSel>
|
||||
<aSym>0</aSym>
|
||||
<aTbox>0</aTbox>
|
||||
<AscS1>0</AscS1>
|
||||
<AscS2>0</AscS2>
|
||||
<AscS3>0</AscS3>
|
||||
<aSer3>0</aSer3>
|
||||
<eProf>0</eProf>
|
||||
<aLa>0</aLa>
|
||||
<aPa1>0</aPa1>
|
||||
<AscS4>0</AscS4>
|
||||
<aSer4>0</aSer4>
|
||||
<StkLoc>0</StkLoc>
|
||||
<TrcWin>0</TrcWin>
|
||||
<newCpu>0</newCpu>
|
||||
<uProt>0</uProt>
|
||||
</DebugFlag>
|
||||
<LintExecutable></LintExecutable>
|
||||
<LintConfigFile></LintConfigFile>
|
||||
<bLintAuto>0</bLintAuto>
|
||||
<bAutoGenD>0</bAutoGenD>
|
||||
<LntExFlags>0</LntExFlags>
|
||||
<pMisraName></pMisraName>
|
||||
<pszMrule></pszMrule>
|
||||
<pSingCmds></pSingCmds>
|
||||
<pMultCmds></pMultCmds>
|
||||
<pMisraNamep></pMisraNamep>
|
||||
<pszMrulep></pszMrulep>
|
||||
<pSingCmdsp></pSingCmdsp>
|
||||
<pMultCmdsp></pMultCmdsp>
|
||||
</TargetOption>
|
||||
</Target>
|
||||
|
||||
<Group>
|
||||
<GroupName>startup</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>1</GroupNumber>
|
||||
<FileNumber>1</FileNumber>
|
||||
<FileType>5</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\CMSIS\core_cm0.h</PathWithFileName>
|
||||
<FilenameWithoutPath>core_cm0.h</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>1</GroupNumber>
|
||||
<FileNumber>2</FileNumber>
|
||||
<FileType>2</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\app\Startup\xc60xx\startup_xinc.s</PathWithFileName>
|
||||
<FilenameWithoutPath>startup_xinc.s</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>1</GroupNumber>
|
||||
<FileNumber>3</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\Startup\system_xinc.c</PathWithFileName>
|
||||
<FilenameWithoutPath>system_xinc.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>1</GroupNumber>
|
||||
<FileNumber>4</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\Startup\system_it_xinc.c</PathWithFileName>
|
||||
<FilenameWithoutPath>system_it_xinc.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>app</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>2</GroupNumber>
|
||||
<FileNumber>5</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\app\src\main.c</PathWithFileName>
|
||||
<FilenameWithoutPath>main.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>Drivers</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>6</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_clock.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_clock.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>7</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_systick.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_systick.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>8</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_pwr.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_pwr.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>9</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_gpio.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_gpio.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>10</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_adc.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_adc.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>11</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_uart.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_uart.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>12</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\ringbuffer.c</PathWithFileName>
|
||||
<FilenameWithoutPath>ringbuffer.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>13</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\usb_driver\xc_hal_usb.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_hal_usb.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>14</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\usb_driver\xc_hal_pcd_np.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_hal_pcd_np.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>15</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\usb_driver\xc_hal_ll_usb_np.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_hal_ll_usb_np.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>middleware/App/cdc</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>4</GroupNumber>
|
||||
<FileNumber>16</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\App\cdc\usb_device.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usb_device.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>4</GroupNumber>
|
||||
<FileNumber>17</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\App\cdc\usbd_desc.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usbd_desc.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>4</GroupNumber>
|
||||
<FileNumber>18</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\App\cdc\usbd_cdc_if.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usbd_cdc_if.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>middleware/Library/Class/CDC</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>19</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Class\CDC\usbd_cdc.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usbd_cdc.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>middleware/Library/Core</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>6</GroupNumber>
|
||||
<FileNumber>20</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Core\usbd_core.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usbd_core.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>6</GroupNumber>
|
||||
<FileNumber>21</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Core\usbd_ctlreq.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usbd_ctlreq.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>6</GroupNumber>
|
||||
<FileNumber>22</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Core\usbd_ioreq.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usbd_ioreq.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>middleware/Target</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>7</GroupNumber>
|
||||
<FileNumber>23</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Target\usbd_conf.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usbd_conf.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
</ProjectOpt>
|
||||
@@ -0,0 +1,558 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||
<Project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="project_projx.xsd">
|
||||
|
||||
<SchemaVersion>2.1</SchemaVersion>
|
||||
|
||||
<Header>### uVision Project, (C) Keil Software</Header>
|
||||
|
||||
<Targets>
|
||||
<Target>
|
||||
<TargetName>usb_cdc</TargetName>
|
||||
<ToolsetNumber>0x4</ToolsetNumber>
|
||||
<ToolsetName>ARM-ADS</ToolsetName>
|
||||
<pCCUsed>5060750::V5.06 update 6 (build 750)::.\ARMCC</pCCUsed>
|
||||
<uAC6>0</uAC6>
|
||||
<TargetOption>
|
||||
<TargetCommonOption>
|
||||
<Device>ARMCM0</Device>
|
||||
<Vendor>ARM</Vendor>
|
||||
<PackID>ARM.CMSIS.5.7.0</PackID>
|
||||
<PackURL>http://www.keil.com/pack/</PackURL>
|
||||
<Cpu>IRAM(0x20000000,0x00020000) IROM(0x00000000,0x00040000) CPUTYPE("Cortex-M0") CLOCK(12000000) ESEL ELITTLE</Cpu>
|
||||
<FlashUtilSpec></FlashUtilSpec>
|
||||
<StartupFile></StartupFile>
|
||||
<FlashDriverDll>UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000)</FlashDriverDll>
|
||||
<DeviceId>0</DeviceId>
|
||||
<RegisterFile>$$Device:ARMCM0$Device\ARM\ARMCM0\Include\ARMCM0.h</RegisterFile>
|
||||
<MemoryEnv></MemoryEnv>
|
||||
<Cmp></Cmp>
|
||||
<Asm></Asm>
|
||||
<Linker></Linker>
|
||||
<OHString></OHString>
|
||||
<InfinionOptionDll></InfinionOptionDll>
|
||||
<SLE66CMisc></SLE66CMisc>
|
||||
<SLE66AMisc></SLE66AMisc>
|
||||
<SLE66LinkerMisc></SLE66LinkerMisc>
|
||||
<SFDFile></SFDFile>
|
||||
<bCustSvd>0</bCustSvd>
|
||||
<UseEnv>0</UseEnv>
|
||||
<BinPath></BinPath>
|
||||
<IncludePath></IncludePath>
|
||||
<LibPath></LibPath>
|
||||
<RegisterFilePath></RegisterFilePath>
|
||||
<DBRegisterFilePath></DBRegisterFilePath>
|
||||
<TargetStatus>
|
||||
<Error>0</Error>
|
||||
<ExitCodeStop>0</ExitCodeStop>
|
||||
<ButtonStop>0</ButtonStop>
|
||||
<NotGenerated>0</NotGenerated>
|
||||
<InvalidFlash>1</InvalidFlash>
|
||||
</TargetStatus>
|
||||
<OutputDirectory>.\Objects\</OutputDirectory>
|
||||
<OutputName>xc6xxx_usb</OutputName>
|
||||
<CreateExecutable>1</CreateExecutable>
|
||||
<CreateLib>0</CreateLib>
|
||||
<CreateHexFile>1</CreateHexFile>
|
||||
<DebugInformation>1</DebugInformation>
|
||||
<BrowseInformation>1</BrowseInformation>
|
||||
<ListingPath>.\Listing\</ListingPath>
|
||||
<HexFormatSelection>1</HexFormatSelection>
|
||||
<Merge32K>0</Merge32K>
|
||||
<CreateBatchFile>0</CreateBatchFile>
|
||||
<BeforeCompile>
|
||||
<RunUserProg1>0</RunUserProg1>
|
||||
<RunUserProg2>0</RunUserProg2>
|
||||
<UserProg1Name></UserProg1Name>
|
||||
<UserProg2Name></UserProg2Name>
|
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
|
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
|
||||
<nStopU1X>0</nStopU1X>
|
||||
<nStopU2X>0</nStopU2X>
|
||||
</BeforeCompile>
|
||||
<BeforeMake>
|
||||
<RunUserProg1>0</RunUserProg1>
|
||||
<RunUserProg2>0</RunUserProg2>
|
||||
<UserProg1Name></UserProg1Name>
|
||||
<UserProg2Name></UserProg2Name>
|
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
|
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
|
||||
<nStopB1X>0</nStopB1X>
|
||||
<nStopB2X>0</nStopB2X>
|
||||
</BeforeMake>
|
||||
<AfterMake>
|
||||
<RunUserProg1>1</RunUserProg1>
|
||||
<RunUserProg2>1</RunUserProg2>
|
||||
<UserProg1Name>fromelf --bin --output=.\Output\0_ram.bin !L</UserProg1Name>
|
||||
<UserProg2Name>.\tools\Xincboot_tool .\Output\0_ram.bin .\Output\1_ram_download.bin</UserProg2Name>
|
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
|
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
|
||||
<nStopA1X>0</nStopA1X>
|
||||
<nStopA2X>0</nStopA2X>
|
||||
</AfterMake>
|
||||
<SelectedForBatchBuild>0</SelectedForBatchBuild>
|
||||
<SVCSIdString></SVCSIdString>
|
||||
</TargetCommonOption>
|
||||
<CommonProperty>
|
||||
<UseCPPCompiler>0</UseCPPCompiler>
|
||||
<RVCTCodeConst>0</RVCTCodeConst>
|
||||
<RVCTZI>0</RVCTZI>
|
||||
<RVCTOtherData>0</RVCTOtherData>
|
||||
<ModuleSelection>0</ModuleSelection>
|
||||
<IncludeInBuild>1</IncludeInBuild>
|
||||
<AlwaysBuild>0</AlwaysBuild>
|
||||
<GenerateAssemblyFile>0</GenerateAssemblyFile>
|
||||
<AssembleAssemblyFile>0</AssembleAssemblyFile>
|
||||
<PublicsOnly>0</PublicsOnly>
|
||||
<StopOnExitCode>3</StopOnExitCode>
|
||||
<CustomArgument></CustomArgument>
|
||||
<IncludeLibraryModules></IncludeLibraryModules>
|
||||
<ComprImg>1</ComprImg>
|
||||
</CommonProperty>
|
||||
<DllOption>
|
||||
<SimDllName>SARMCM3.DLL</SimDllName>
|
||||
<SimDllArguments> </SimDllArguments>
|
||||
<SimDlgDll>DARMCM1.DLL</SimDlgDll>
|
||||
<SimDlgDllArguments>-pCM0</SimDlgDllArguments>
|
||||
<TargetDllName>SARMCM3.DLL</TargetDllName>
|
||||
<TargetDllArguments> </TargetDllArguments>
|
||||
<TargetDlgDll>TARMCM1.DLL</TargetDlgDll>
|
||||
<TargetDlgDllArguments>-pCM0</TargetDlgDllArguments>
|
||||
</DllOption>
|
||||
<DebugOption>
|
||||
<OPTHX>
|
||||
<HexSelection>1</HexSelection>
|
||||
<HexRangeLowAddress>0</HexRangeLowAddress>
|
||||
<HexRangeHighAddress>0</HexRangeHighAddress>
|
||||
<HexOffset>0</HexOffset>
|
||||
<Oh166RecLen>16</Oh166RecLen>
|
||||
</OPTHX>
|
||||
</DebugOption>
|
||||
<Utilities>
|
||||
<Flash1>
|
||||
<UseTargetDll>1</UseTargetDll>
|
||||
<UseExternalTool>0</UseExternalTool>
|
||||
<RunIndependent>0</RunIndependent>
|
||||
<UpdateFlashBeforeDebugging>1</UpdateFlashBeforeDebugging>
|
||||
<Capability>1</Capability>
|
||||
<DriverSelection>4096</DriverSelection>
|
||||
</Flash1>
|
||||
<bUseTDR>1</bUseTDR>
|
||||
<Flash2>BIN\UL2CM3.DLL</Flash2>
|
||||
<Flash3>"" ()</Flash3>
|
||||
<Flash4></Flash4>
|
||||
<pFcarmOut></pFcarmOut>
|
||||
<pFcarmGrp></pFcarmGrp>
|
||||
<pFcArmRoot></pFcArmRoot>
|
||||
<FcArmLst>0</FcArmLst>
|
||||
</Utilities>
|
||||
<TargetArmAds>
|
||||
<ArmAdsMisc>
|
||||
<GenerateListings>0</GenerateListings>
|
||||
<asHll>1</asHll>
|
||||
<asAsm>1</asAsm>
|
||||
<asMacX>1</asMacX>
|
||||
<asSyms>1</asSyms>
|
||||
<asFals>1</asFals>
|
||||
<asDbgD>1</asDbgD>
|
||||
<asForm>1</asForm>
|
||||
<ldLst>0</ldLst>
|
||||
<ldmm>1</ldmm>
|
||||
<ldXref>1</ldXref>
|
||||
<BigEnd>0</BigEnd>
|
||||
<AdsALst>1</AdsALst>
|
||||
<AdsACrf>1</AdsACrf>
|
||||
<AdsANop>0</AdsANop>
|
||||
<AdsANot>0</AdsANot>
|
||||
<AdsLLst>1</AdsLLst>
|
||||
<AdsLmap>1</AdsLmap>
|
||||
<AdsLcgr>1</AdsLcgr>
|
||||
<AdsLsym>1</AdsLsym>
|
||||
<AdsLszi>1</AdsLszi>
|
||||
<AdsLtoi>1</AdsLtoi>
|
||||
<AdsLsun>1</AdsLsun>
|
||||
<AdsLven>1</AdsLven>
|
||||
<AdsLsxf>1</AdsLsxf>
|
||||
<RvctClst>0</RvctClst>
|
||||
<GenPPlst>0</GenPPlst>
|
||||
<AdsCpuType>"Cortex-M0"</AdsCpuType>
|
||||
<RvctDeviceName></RvctDeviceName>
|
||||
<mOS>0</mOS>
|
||||
<uocRom>0</uocRom>
|
||||
<uocRam>0</uocRam>
|
||||
<hadIROM>1</hadIROM>
|
||||
<hadIRAM>1</hadIRAM>
|
||||
<hadXRAM>0</hadXRAM>
|
||||
<uocXRam>0</uocXRam>
|
||||
<RvdsVP>0</RvdsVP>
|
||||
<RvdsMve>0</RvdsMve>
|
||||
<RvdsCdeCp>0</RvdsCdeCp>
|
||||
<hadIRAM2>0</hadIRAM2>
|
||||
<hadIROM2>0</hadIROM2>
|
||||
<StupSel>8</StupSel>
|
||||
<useUlib>0</useUlib>
|
||||
<EndSel>1</EndSel>
|
||||
<uLtcg>0</uLtcg>
|
||||
<nSecure>0</nSecure>
|
||||
<RoSelD>3</RoSelD>
|
||||
<RwSelD>3</RwSelD>
|
||||
<CodeSel>0</CodeSel>
|
||||
<OptFeed>0</OptFeed>
|
||||
<NoZi1>0</NoZi1>
|
||||
<NoZi2>0</NoZi2>
|
||||
<NoZi3>0</NoZi3>
|
||||
<NoZi4>0</NoZi4>
|
||||
<NoZi5>0</NoZi5>
|
||||
<Ro1Chk>0</Ro1Chk>
|
||||
<Ro2Chk>0</Ro2Chk>
|
||||
<Ro3Chk>0</Ro3Chk>
|
||||
<Ir1Chk>1</Ir1Chk>
|
||||
<Ir2Chk>0</Ir2Chk>
|
||||
<Ra1Chk>0</Ra1Chk>
|
||||
<Ra2Chk>0</Ra2Chk>
|
||||
<Ra3Chk>0</Ra3Chk>
|
||||
<Im1Chk>1</Im1Chk>
|
||||
<Im2Chk>0</Im2Chk>
|
||||
<OnChipMemories>
|
||||
<Ocm1>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm1>
|
||||
<Ocm2>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm2>
|
||||
<Ocm3>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm3>
|
||||
<Ocm4>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm4>
|
||||
<Ocm5>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm5>
|
||||
<Ocm6>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm6>
|
||||
<IRAM>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x20000000</StartAddress>
|
||||
<Size>0x20000</Size>
|
||||
</IRAM>
|
||||
<IROM>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x40000</Size>
|
||||
</IROM>
|
||||
<XRAM>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</XRAM>
|
||||
<OCR_RVCT1>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT1>
|
||||
<OCR_RVCT2>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT2>
|
||||
<OCR_RVCT3>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT3>
|
||||
<OCR_RVCT4>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x40000</Size>
|
||||
</OCR_RVCT4>
|
||||
<OCR_RVCT5>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT5>
|
||||
<OCR_RVCT6>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT6>
|
||||
<OCR_RVCT7>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT7>
|
||||
<OCR_RVCT8>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT8>
|
||||
<OCR_RVCT9>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x20000000</StartAddress>
|
||||
<Size>0x20000</Size>
|
||||
</OCR_RVCT9>
|
||||
<OCR_RVCT10>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT10>
|
||||
</OnChipMemories>
|
||||
<RvctStartVector></RvctStartVector>
|
||||
</ArmAdsMisc>
|
||||
<Cads>
|
||||
<interw>1</interw>
|
||||
<Optim>4</Optim>
|
||||
<oTime>0</oTime>
|
||||
<SplitLS>0</SplitLS>
|
||||
<OneElfS>1</OneElfS>
|
||||
<Strict>0</Strict>
|
||||
<EnumInt>0</EnumInt>
|
||||
<PlainCh>0</PlainCh>
|
||||
<Ropi>0</Ropi>
|
||||
<Rwpi>0</Rwpi>
|
||||
<wLevel>0</wLevel>
|
||||
<uThumb>0</uThumb>
|
||||
<uSurpInc>0</uSurpInc>
|
||||
<uC99>1</uC99>
|
||||
<uGnu>1</uGnu>
|
||||
<useXO>0</useXO>
|
||||
<v6Lang>1</v6Lang>
|
||||
<v6LangP>1</v6LangP>
|
||||
<vShortEn>1</vShortEn>
|
||||
<vShortWch>1</vShortWch>
|
||||
<v6Lto>0</v6Lto>
|
||||
<v6WtE>0</v6WtE>
|
||||
<v6Rtti>0</v6Rtti>
|
||||
<VariousControls>
|
||||
<MiscControls>--c99</MiscControls>
|
||||
<Define>XC60XX XC6XX_5C=0 DEBUG_ENABLE HAL_PCD_MODULE_ENABLED USB_OTG_FS USB_SINGLE_DEVICE USB_CDC</Define>
|
||||
<Undefine></Undefine>
|
||||
<IncludePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\CMSIS\Device\xc_m0_register;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\CMSIS\Device;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\CMSIS;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Target;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Core;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Class\CDC;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\App\cdc;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\usb_driver</IncludePath>
|
||||
</VariousControls>
|
||||
</Cads>
|
||||
<Aads>
|
||||
<interw>1</interw>
|
||||
<Ropi>0</Ropi>
|
||||
<Rwpi>0</Rwpi>
|
||||
<thumb>0</thumb>
|
||||
<SplitLS>0</SplitLS>
|
||||
<SwStkChk>0</SwStkChk>
|
||||
<NoWarn>0</NoWarn>
|
||||
<uSurpInc>0</uSurpInc>
|
||||
<useXO>0</useXO>
|
||||
<ClangAsOpt>1</ClangAsOpt>
|
||||
<VariousControls>
|
||||
<MiscControls></MiscControls>
|
||||
<Define></Define>
|
||||
<Undefine></Undefine>
|
||||
<IncludePath></IncludePath>
|
||||
</VariousControls>
|
||||
</Aads>
|
||||
<LDads>
|
||||
<umfTarg>0</umfTarg>
|
||||
<Ropi>0</Ropi>
|
||||
<Rwpi>0</Rwpi>
|
||||
<noStLib>0</noStLib>
|
||||
<RepFail>1</RepFail>
|
||||
<useFile>0</useFile>
|
||||
<TextAddressRange>0x00000000</TextAddressRange>
|
||||
<DataAddressRange>0x00000000</DataAddressRange>
|
||||
<pXoBase></pXoBase>
|
||||
<ScatterFile>.\Linker\cpu.scat</ScatterFile>
|
||||
<IncludeLibs></IncludeLibs>
|
||||
<IncludeLibsPath></IncludeLibsPath>
|
||||
<Misc>--entry=Reset_Handler</Misc>
|
||||
<LinkerInputFile></LinkerInputFile>
|
||||
<DisabledWarnings></DisabledWarnings>
|
||||
</LDads>
|
||||
</TargetArmAds>
|
||||
</TargetOption>
|
||||
<Groups>
|
||||
<Group>
|
||||
<GroupName>startup</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>core_cm0.h</FileName>
|
||||
<FileType>5</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\CMSIS\core_cm0.h</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>startup_xinc.s</FileName>
|
||||
<FileType>2</FileType>
|
||||
<FilePath>..\app\Startup\xc60xx\startup_xinc.s</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>system_xinc.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\Startup\system_xinc.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>system_it_xinc.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\Startup\system_it_xinc.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>app</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>main.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\app\src\main.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>Drivers</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>xc_drv_clock.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_clock.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_drv_systick.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_systick.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_drv_pwr.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_pwr.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_drv_gpio.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_gpio.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_drv_adc.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_adc.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_drv_uart.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_uart.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>ringbuffer.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\ringbuffer.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_hal_usb.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\usb_driver\xc_hal_usb.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_hal_pcd_np.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\usb_driver\xc_hal_pcd_np.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_hal_ll_usb_np.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\usb_driver\xc_hal_ll_usb_np.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>middleware/App/cdc</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>usb_device.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\App\cdc\usb_device.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>usbd_desc.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\App\cdc\usbd_desc.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>usbd_cdc_if.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\App\cdc\usbd_cdc_if.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>middleware/Library/Class/CDC</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>usbd_cdc.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Class\CDC\usbd_cdc.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>middleware/Library/Core</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>usbd_core.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Core\usbd_core.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>usbd_ctlreq.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Core\usbd_ctlreq.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>usbd_ioreq.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Core\usbd_ioreq.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>middleware/Target</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>usbd_conf.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Target\usbd_conf.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
</Groups>
|
||||
</Target>
|
||||
</Targets>
|
||||
|
||||
<RTE>
|
||||
<apis/>
|
||||
<components/>
|
||||
<files/>
|
||||
</RTE>
|
||||
|
||||
<LayerInfo>
|
||||
<Layers>
|
||||
<Layer>
|
||||
<LayName><Project Info></LayName>
|
||||
<LayDesc></LayDesc>
|
||||
<LayUrl></LayUrl>
|
||||
<LayKeys></LayKeys>
|
||||
<LayCat></LayCat>
|
||||
<LayLic></LayLic>
|
||||
<LayTarg>0</LayTarg>
|
||||
<LayPrjMark>1</LayPrjMark>
|
||||
</Layer>
|
||||
</Layers>
|
||||
</LayerInfo>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,232 @@
|
||||
/*!
|
||||
* \file system_it_xinc.c
|
||||
*
|
||||
* \brief Target system interruption implementation
|
||||
*
|
||||
* \copyright Revised BSD License, see section \ref LICENSE.
|
||||
*
|
||||
* \code
|
||||
*
|
||||
* _ __ _ ________ _
|
||||
* | |/ /(_)___ / ____/ /_ (_)___
|
||||
* | // / __ \/ / / __ \/ / __ \
|
||||
* / |/ / / / / /___/ / / / / /_/ /
|
||||
* /_/|_/_/_/ /_/\____/_/ /_/_/ .___/
|
||||
* /_/
|
||||
* (C) 2022-2025 XinChip
|
||||
*
|
||||
* \endcode
|
||||
*
|
||||
* \author ( XinChip ) Alex-J
|
||||
*
|
||||
* \author ( XinChip )
|
||||
*/
|
||||
|
||||
/*-----------------------------------------------------------------------------------
|
||||
INCLUDE HEADE FILES
|
||||
------------------------------------------------------------------------------------*/
|
||||
#include "system_it_xinc.h"
|
||||
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Func Prototype
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Functions
|
||||
-------------------------------------------------------------------------------------*/
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles NMI exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void NMI_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN NonMaskableInt_IRQn */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END NonMaskableInt_IRQn */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles Hard Fault exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void HardFault_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN HardFault_IRQn */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END HardFault_IRQn */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles Memory Manage exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void MemManage_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles Bus Fault exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void BusFault_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles Usage Fault exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void UsageFault_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles SVCall exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void SVC_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN SVCall_IRQn */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END SVCall_IRQn */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles Debug Monitor exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void DebugMon_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles PendSVC exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void PendSV_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN PendSV_IRQn */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END PendSV_IRQn */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/****************************** Hard Fault Handler Functions *******************************/
|
||||
/*------------------------------------------------------------------------------------
|
||||
Private Functions
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
void HardFault_Handler_c(unsigned int * HardFault_args)
|
||||
{
|
||||
/*栈帧里面内容:*/
|
||||
unsigned int stack_r0; //压栈的 R0
|
||||
unsigned int stack_r1; //压栈的 R1
|
||||
unsigned int stack_r2; //压栈的 R2
|
||||
unsigned int stack_r3; //压栈的 R3
|
||||
unsigned int stack_r12; //压栈的 R12
|
||||
unsigned int stack_lr; //压栈的 lr
|
||||
unsigned int stack_pc; //压栈的 pc
|
||||
unsigned int stack_psr; //压栈的 psr
|
||||
|
||||
stack_r0 = ((unsigned int)HardFault_args[0]);
|
||||
stack_r1 = ((unsigned int)HardFault_args[1]);
|
||||
stack_r2 = ((unsigned int)HardFault_args[2]);
|
||||
stack_r3 = ((unsigned int)HardFault_args[3]);
|
||||
stack_r12 = ((unsigned int)HardFault_args[4]);
|
||||
stack_lr = ((unsigned int)HardFault_args[5]);
|
||||
stack_pc = ((unsigned int)HardFault_args[6]);
|
||||
stack_psr = ((unsigned int)HardFault_args[7]);
|
||||
|
||||
DEBUG("----%s----\n", __func__);
|
||||
DEBUG("R0=%x\n",stack_r0);
|
||||
DEBUG("R1=%x\n",stack_r1);
|
||||
DEBUG("R2=%x\n",stack_r2);
|
||||
DEBUG("R3=%x\n",stack_r3);
|
||||
DEBUG("R12=%x\n",stack_r12);
|
||||
DEBUG("LR[R14]=%x\n",stack_lr);
|
||||
DEBUG("PC[R15]=%x\n",stack_pc);
|
||||
DEBUG("PSR=%x\n",stack_psr);
|
||||
DEBUG("SCB_SHCSR=%x\n",SCB->SHCSR);
|
||||
DEBUG("---------------------------\n");
|
||||
|
||||
while(1);
|
||||
}
|
||||
|
||||
/*******************************************************************************************/
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
/*!
|
||||
* \file system_it_xinc.h
|
||||
*
|
||||
* \brief The header of system_it_xinc.c
|
||||
*
|
||||
* \copyright Revised BSD License, see section \ref LICENSE.
|
||||
*
|
||||
* \code
|
||||
*
|
||||
* _ __ _ ________ _
|
||||
* | |/ /(_)___ / ____/ /_ (_)___
|
||||
* | // / __ \/ / / __ \/ / __ \
|
||||
* / |/ / / / / /___/ / / / / /_/ /
|
||||
* /_/|_/_/_/ /_/\____/_/ /_/_/ .___/
|
||||
* /_/
|
||||
* (C) 2022-2025 XinChip
|
||||
*
|
||||
* \endcode
|
||||
*
|
||||
* \author ( XinChip ) Alex-J
|
||||
*
|
||||
* \author ( XinChip )
|
||||
*/
|
||||
|
||||
/* Define to prevent recursive inclusion -------------------------------------*/
|
||||
#ifndef __SYSTEM_IT_XINC_H__
|
||||
#define __SYSTEM_IT_XINC_H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*-----------------------------------------------------------------------------------
|
||||
INCLUDE HEADE FILES
|
||||
------------------------------------------------------------------------------------*/
|
||||
#include "xc6xxx.h"
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Exported Functions
|
||||
-------------------------------------------------------------------------------------*/
|
||||
void NMI_Handler( void );
|
||||
void HardFault_Handler( void );
|
||||
void MemManage_Handler( void );
|
||||
void BusFault_Handler( void );
|
||||
void UsageFault_Handler( void );
|
||||
void SVC_Handler( void );
|
||||
void DebugMon_Handler( void );
|
||||
void PendSV_Handler( void );
|
||||
|
||||
void HardFault_Handler_c(unsigned int * HardFault_args);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __SYSTEM_IT_XINC_H__ */
|
||||
|
||||
@@ -0,0 +1,123 @@
|
||||
/**
|
||||
* Initialize the system
|
||||
*
|
||||
* @param none
|
||||
* @return none
|
||||
*
|
||||
* @brief Setup the microcontroller system
|
||||
*
|
||||
*/
|
||||
|
||||
/*-----------------------------------------------------------------------------------
|
||||
INCLUDE HEADE FILES
|
||||
------------------------------------------------------------------------------------*/
|
||||
#include <stdio.h>
|
||||
|
||||
#include "xc6xxx.h"
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Macros
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define __DEBUG_OUT_PORT 0
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Functions
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
#define VECTOR_NUM 48
|
||||
|
||||
void set_vector(void)
|
||||
{
|
||||
#if (USE_XIP == 1)
|
||||
__disable_irq();
|
||||
for (uint32_t i = 0, *Pvector = (uint32_t *)(0x11001000 + 0),
|
||||
*_vector_table = (uint32_t *)(0x10000000);
|
||||
i < VECTOR_NUM; i++) // copy vertor table
|
||||
{
|
||||
_vector_table[i] = *Pvector++;
|
||||
}
|
||||
__enable_irq();
|
||||
//inter vertor table remap
|
||||
*((volatile unsigned int*)(0x4000013C)) =0x10000001;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
static void WDT_ResetInit(void)
|
||||
{
|
||||
cpr_ctlapbclken_grctl__wdt_pclk_en__setf(ENABLE);
|
||||
|
||||
cpr_rstctl_ctlapb_sw__wdt_rstn__setf(ENABLE);
|
||||
cpr_rstctl_ctlapb_sw__wdt_rstn__setf(DISABLE);
|
||||
|
||||
cpr_rstctl_wdtrst_mask_set((WDT_SYS_RSTN_MASK_DISABLE | WDT_M0_RSTN_MASK_ENABLE));
|
||||
|
||||
cpr_lp_ctl__ctl_wdt_tclk_en__setf(ENABLE);
|
||||
wdt_cr__wdt_en__setf(DISABLE);
|
||||
|
||||
}
|
||||
|
||||
|
||||
void SystemInit (void)
|
||||
{
|
||||
//
|
||||
// SystemInit
|
||||
//
|
||||
WDT_ResetInit();
|
||||
// DEBUG("s1\n");
|
||||
#if (USE_XIP == 1)
|
||||
uint32_t *p=((unsigned int *)0x10000000);
|
||||
for(int i=0;i<1000;i++) {
|
||||
*(p++)=0;
|
||||
}
|
||||
set_vector();
|
||||
#endif
|
||||
}
|
||||
|
||||
__RAM_CODE int sendchar(int c)
|
||||
{
|
||||
//return 1;
|
||||
unsigned int status;
|
||||
#if (__DEBUG_OUT_PORT == 1)
|
||||
for(; ;)
|
||||
{
|
||||
status = (*((volatile unsigned *)( 0x40011000 + 0x14 )));
|
||||
status &= 0x20;
|
||||
if(status == 0x20) break;
|
||||
}
|
||||
(*((volatile unsigned *)( 0x40011000 + 0x00 ))) = c;
|
||||
return (1);
|
||||
#else
|
||||
for(; ;)
|
||||
{
|
||||
status = (*((volatile unsigned *)( 0x40010000 + 0x14 )));
|
||||
status &= 0x20;
|
||||
if(status == 0x20) break;
|
||||
}
|
||||
(*((volatile unsigned *)( 0x40010000 + 0x00 ))) = c;
|
||||
return (1);
|
||||
#endif
|
||||
}
|
||||
|
||||
struct __FILE { int handle; /* Add whatever you need here */ };
|
||||
|
||||
FILE __stdout;
|
||||
__RAM_CODE int fputc(int ch, FILE *f) {
|
||||
return (sendchar(ch));
|
||||
}
|
||||
|
||||
|
||||
int ferror(FILE *f) {
|
||||
/* Your implementation of ferror */
|
||||
return EOF;
|
||||
}
|
||||
|
||||
|
||||
void _ttywrch(int ch) {
|
||||
sendchar(ch);
|
||||
}
|
||||
|
||||
void _sys_exit(int return_code) {
|
||||
label: goto label; /* endless loop */
|
||||
}
|
||||
|
||||
@@ -0,0 +1,256 @@
|
||||
|
||||
;/*****************************************************************************
|
||||
; * @file: startup_xinc.s
|
||||
; * @purpose: CMSIS Cortex-M0 Core Device Startup File for the
|
||||
; * Device xinc.
|
||||
; *****************************************************************************/
|
||||
|
||||
Stack_Size EQU 0x00001000
|
||||
|
||||
AREA STACK, NOINIT, READWRITE, ALIGN=3
|
||||
Stack_Mem SPACE Stack_Size
|
||||
__initial_sp
|
||||
|
||||
Heap_Size EQU 0x00000000
|
||||
|
||||
AREA HEAP, NOINIT, READWRITE, ALIGN=3
|
||||
__heap_base
|
||||
Heap_Mem SPACE Heap_Size
|
||||
__heap_limit
|
||||
|
||||
|
||||
PRESERVE8
|
||||
THUMB
|
||||
|
||||
; Vector Table Mapped to Address 0 at Reset
|
||||
|
||||
AREA RESET, DATA, READONLY
|
||||
EXPORT __Vectors
|
||||
EXPORT __Vectors_End
|
||||
EXPORT __Vectors_Size
|
||||
|
||||
__Vectors DCD __initial_sp ; Top of Stack
|
||||
DCD Reset_Handler ; Reset Handler
|
||||
DCD NMI_Handler ; NMI Handler
|
||||
DCD HardFault_Handler ; Hard Fault Handler
|
||||
DCD MemManage_Handler ; MPU Fault Handler
|
||||
DCD BusFault_Handler ; Bus Fault Handler
|
||||
DCD UsageFault_Handler ; Usage Fault Handler
|
||||
DCD 0 ; Reserved
|
||||
DCD 0 ; Reserved
|
||||
DCD 0 ; Reserved
|
||||
DCD 0 ; Reserved
|
||||
DCD SVC_Handler ; SVCall Handler
|
||||
DCD DebugMon_Handler ; Debug Monitor Handler
|
||||
DCD 0 ; Reserved
|
||||
DCD PendSV_Handler ; PendSV Handler
|
||||
DCD SysTick_Handler ; SysTick Handler
|
||||
|
||||
; External Interrupts
|
||||
; ToDo: Add here the vectors for the device specific external interrupts handler
|
||||
DCD BLE_Handler ; 0
|
||||
DCD DMA_Handler ; 1
|
||||
DCD CPR_Handler ; 2
|
||||
DCD GPIO_Handler ; 3
|
||||
DCD RTC_Handler ; 4
|
||||
DCD TIMER0_Handler ; 5
|
||||
DCD TIMER1_Handler ; 6
|
||||
DCD TIMER2_Handler ; 7
|
||||
DCD TIMER3_Handler ; 8
|
||||
DCD WDT_Handler ; 9
|
||||
DCD I2C_Handler ; 10
|
||||
DCD UART0_Handler ; 11
|
||||
DCD UART1_Handler ; 12
|
||||
DCD SPI0_Handler ; 13
|
||||
DCD SPI1_Handler ; 14
|
||||
DCD 0 ; 15
|
||||
DCD 0 ; 16
|
||||
DCD GADC_Handler ; 17
|
||||
DCD PWM_Handler ; 18
|
||||
DCD AES_Handler ; 19
|
||||
DCD USB_Handler ; 20
|
||||
DCD AUDIO_Handler ; 21
|
||||
DCD RF24G_Handler ; 22
|
||||
DCD SPI2_Handler ; 23
|
||||
DCD 0 ; 24
|
||||
DCD UART2_Handler ; 25
|
||||
DCD I2S_Handler ; 26
|
||||
DCD AOTIMER0_Handler ; 27
|
||||
DCD AOTIMER1_Handler ; 28
|
||||
DCD CMP_Handler ; 29
|
||||
DCD FMC_Handler ; 30
|
||||
DCD CAN_Handler ; 31
|
||||
|
||||
__Vectors_End
|
||||
|
||||
__Vectors_Size EQU __Vectors_End - __Vectors
|
||||
|
||||
|
||||
|
||||
AREA |.text|, CODE, READONLY
|
||||
; Reset Handler
|
||||
|
||||
Reset_Handler PROC
|
||||
|
||||
EXPORT Reset_Handler [WEAK]
|
||||
|
||||
IMPORT SystemInit
|
||||
IMPORT __main
|
||||
|
||||
LDR r0, =0x4000013C ; remap
|
||||
LDR r1, =0x10000001
|
||||
STR r1, [r0]
|
||||
|
||||
|
||||
|
||||
LDR R0, =SystemInit
|
||||
BLX R0
|
||||
|
||||
LDR R0, =__main
|
||||
BX R0
|
||||
|
||||
ENDP
|
||||
|
||||
; Dummy Exception Handlers (infinite loops which can be modified)
|
||||
NMI_Handler PROC
|
||||
EXPORT NMI_Handler [WEAK]
|
||||
B .
|
||||
ENDP
|
||||
|
||||
|
||||
HardFault_Handler\
|
||||
PROC
|
||||
IMPORT HardFault_Handler_c ;函数声明
|
||||
movs r0, #4 ;判断主栈指针还是进程栈指针
|
||||
mov r1, lr
|
||||
tst r0, r1
|
||||
beq hf_used_msp ;如果是主栈指针
|
||||
mrs r0, psp ;否则是进程栈指针,把进程栈指针地址付给 R0
|
||||
ldr r1, =HardFault_Handler_c ;跳转到 HardFault 中断程序
|
||||
bx r1
|
||||
hf_used_msp
|
||||
mrs r0, msp ;把主栈指针地址赋给 R0
|
||||
ldr r1, =HardFault_Handler_c
|
||||
bx r1
|
||||
;EXPORT HardFault_Handler [WEAK]
|
||||
;B .
|
||||
ENDP
|
||||
MemManage_Handler\
|
||||
PROC
|
||||
EXPORT MemManage_Handler [WEAK]
|
||||
B .
|
||||
ENDP
|
||||
BusFault_Handler\
|
||||
PROC
|
||||
EXPORT BusFault_Handler [WEAK]
|
||||
B .
|
||||
ENDP
|
||||
UsageFault_Handler\
|
||||
PROC
|
||||
EXPORT UsageFault_Handler [WEAK]
|
||||
B .
|
||||
ENDP
|
||||
SVC_Handler PROC
|
||||
EXPORT SVC_Handler [WEAK]
|
||||
B .
|
||||
ENDP
|
||||
DebugMon_Handler\
|
||||
PROC
|
||||
EXPORT DebugMon_Handler [WEAK]
|
||||
B .
|
||||
ENDP
|
||||
|
||||
Default_Handler PROC
|
||||
EXPORT BLE_Handler [WEAK]
|
||||
EXPORT DMA_Handler [WEAK]
|
||||
EXPORT CPR_Handler [WEAK]
|
||||
EXPORT GPIO_Handler [WEAK]
|
||||
EXPORT RTC_Handler [WEAK]
|
||||
EXPORT TIMER0_Handler [WEAK]
|
||||
EXPORT TIMER1_Handler [WEAK]
|
||||
EXPORT TIMER2_Handler [WEAK]
|
||||
EXPORT TIMER3_Handler [WEAK]
|
||||
EXPORT WDT_Handler [WEAK]
|
||||
EXPORT I2C_Handler [WEAK]
|
||||
EXPORT UART0_Handler [WEAK]
|
||||
EXPORT UART1_Handler [WEAK]
|
||||
EXPORT SPI0_Handler [WEAK]
|
||||
EXPORT SPI1_Handler [WEAK]
|
||||
;EXPORT KBS_Handler [WEAK]
|
||||
;EXPORT QDEC_Handler [WEAK]
|
||||
EXPORT GADC_Handler [WEAK]
|
||||
EXPORT PWM_Handler [WEAK]
|
||||
EXPORT AES_Handler [WEAK]
|
||||
|
||||
EXPORT PendSV_Handler [WEAK]
|
||||
EXPORT SysTick_Handler [WEAK]
|
||||
|
||||
EXPORT USB_Handler [WEAK];20
|
||||
EXPORT AUDIO_Handler [WEAK];21
|
||||
EXPORT RF24G_Handler [WEAK];22
|
||||
EXPORT SPI2_Handler [WEAK];23
|
||||
;EXPORT MPU_Handler [WEAK];24
|
||||
EXPORT UART2_Handler [WEAK];25
|
||||
EXPORT I2S_Handler [WEAK];26
|
||||
EXPORT AOTIMER0_Handler [WEAK];27
|
||||
EXPORT AOTIMER1_Handler [WEAK];28
|
||||
EXPORT CMP_Handler [WEAK];29
|
||||
EXPORT FMC_Handler [WEAK];30
|
||||
EXPORT CAN_Handler [WEAK];31
|
||||
|
||||
PendSV_Handler
|
||||
SysTick_Handler
|
||||
BLE_Handler
|
||||
RF24G_Handler
|
||||
DMA_Handler
|
||||
CPR_Handler
|
||||
GPIO_Handler
|
||||
RTC_Handler
|
||||
TIMER0_Handler
|
||||
TIMER1_Handler
|
||||
TIMER2_Handler
|
||||
TIMER3_Handler
|
||||
WDT_Handler
|
||||
I2C_Handler
|
||||
I2S_Handler
|
||||
UART0_Handler
|
||||
UART1_Handler
|
||||
UART2_Handler
|
||||
SPI0_Handler
|
||||
SPI1_Handler
|
||||
SPI2_Handler
|
||||
;KBS_Handler
|
||||
;QDEC_Handler
|
||||
GADC_Handler
|
||||
PWM_Handler
|
||||
AUDIO_Handler
|
||||
;SIM_Handler
|
||||
AES_Handler
|
||||
AOTIMER0_Handler
|
||||
AOTIMER1_Handler
|
||||
CMP_Handler
|
||||
FMC_Handler
|
||||
CAN_Handler
|
||||
USB_Handler
|
||||
|
||||
B .
|
||||
ENDP
|
||||
|
||||
|
||||
ALIGN
|
||||
|
||||
; User Initial Stack & Heap
|
||||
|
||||
IMPORT __use_two_region_memory
|
||||
EXPORT __user_initial_stackheap
|
||||
__user_initial_stackheap
|
||||
|
||||
LDR R0, = Heap_Mem
|
||||
LDR R1, = (Stack_Mem + Stack_Size)
|
||||
LDR R2, = (Heap_Mem + Heap_Size)
|
||||
LDR R3, = Stack_Mem
|
||||
BX LR
|
||||
|
||||
ALIGN
|
||||
|
||||
END
|
||||
@@ -0,0 +1,111 @@
|
||||
/*!
|
||||
* \file main.c
|
||||
*
|
||||
* \brief Target main implementation
|
||||
*
|
||||
* \copyright Revised BSD License, see section \ref LICENSE.
|
||||
*
|
||||
* \code
|
||||
*
|
||||
* _ __ _ ________ _
|
||||
* | |/ /(_)___ / ____/ /_ (_)___
|
||||
* | // / __ \/ / / __ \/ / __ \
|
||||
* / |/ / / / / /___/ / / / / /_/ /
|
||||
* /_/|_/_/_/ /_/\____/_/ /_/_/ .___/
|
||||
* /_/
|
||||
* (C) 2022-2025 XinChip
|
||||
*
|
||||
* \endcode
|
||||
*
|
||||
* \author ( XinChip ) Alex-J
|
||||
*
|
||||
* \author ( XinChip )
|
||||
*/
|
||||
|
||||
/*-----------------------------------------------------------------------------------
|
||||
INCLUDE HEADE FILES
|
||||
------------------------------------------------------------------------------------*/
|
||||
#include "xc6xxx.h"
|
||||
#include "usbd_core.h"
|
||||
#include "usb_device.h"
|
||||
#include "usbd_hid.h"
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Global Variables
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Functions
|
||||
-------------------------------------------------------------------------------------*/
|
||||
void SysTick_Callback(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void clock_init(void)
|
||||
{
|
||||
CLOCK_InitCfg_t clock_cfg;
|
||||
|
||||
clock_cfg.hfclk_src = CLOCK_HFCLK_SRC_XTAL;
|
||||
clock_cfg.hfclk_in = CLOCK_HFCLK_IN_32M;
|
||||
clock_cfg.lfclk_src = CLOCK_LFCLK_SRC_RC;
|
||||
|
||||
if (clock_cfg.lfclk_src == CLOCK_LFCLK_SRC_XTAL) {
|
||||
clock_cfg.lfclk_in = CLOCK_LFCLK_IN_32768;
|
||||
} else if (clock_cfg.lfclk_src == CLOCK_LFCLK_SRC_RC) {
|
||||
clock_cfg.lfclk_in = CLOCK_LFCLK_IN_32K;
|
||||
}
|
||||
|
||||
xc_clock_init_cfg(&clock_cfg);
|
||||
|
||||
SysTick_Config(xc_clock_hfclk_in_get() / 100);
|
||||
SysTick->CTRL &= ~SysTick_CTRL_TICKINT_Msk;
|
||||
}
|
||||
|
||||
void app_uart_init(void)
|
||||
{
|
||||
GPIO_InitCfg_t gpio_cfg = {0};
|
||||
|
||||
gpio_cfg.Mux = GPIO_Mux0;
|
||||
gpio_cfg.Pull = GPIO_PULLUP;
|
||||
gpio_cfg.Int = NOT_INT;
|
||||
gpio_cfg.FunSel = UART0_TX;
|
||||
|
||||
gpio_cfg.Pin = GPIO_18;
|
||||
gpio_cfg.Dir = GPIO_DIR_OUTPUT;
|
||||
xc_gpio_init(&gpio_cfg);
|
||||
|
||||
gpio_cfg.FunSel = UART0_RX;
|
||||
gpio_cfg.Pin = GPIO_19;
|
||||
gpio_cfg.Dir = GPIO_DIR_INPUT;
|
||||
xc_gpio_init(&gpio_cfg);
|
||||
|
||||
UART_InitCfg_t uart_cfg = {0};
|
||||
|
||||
uart_cfg.Parity = UART_PARITY_DISABLE;
|
||||
uart_cfg.StopBits = UART_STOP_1_BITS;
|
||||
uart_cfg.WordLength = UART_DATA_8_BITS;
|
||||
uart_cfg.BaudRate = UART_BAUDRATE_115200;
|
||||
uart_cfg.HardwareFlowControl = UART_HWFC_DISABLE;
|
||||
|
||||
xc_uart_init(UART0_IDX, &uart_cfg);
|
||||
}
|
||||
|
||||
int main(void)
|
||||
{
|
||||
clock_init( );
|
||||
|
||||
app_uart_init( );
|
||||
|
||||
DEBUG("__USB_HID_CUSTOM_DEMO__\n");
|
||||
|
||||
/* USB Device Initialization */
|
||||
USB_DEVICE_Init( );
|
||||
|
||||
while(1)
|
||||
{
|
||||
USB_Custom_Test_SendReport( );
|
||||
delay_ms(100);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
|
||||
FUNC void Initialization(void)
|
||||
{
|
||||
SP = _RDWORD(0x10000000);
|
||||
PC = _RDWORD(0x10000004);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
LOAD %L INCREMENTAL
|
||||
Initialization();
|
||||
@@ -0,0 +1,35 @@
|
||||
[BREAKPOINTS]
|
||||
ForceImpTypeAny = 0
|
||||
ShowInfoWin = 1
|
||||
EnableFlashBP = 2
|
||||
BPDuringExecution = 0
|
||||
[CFI]
|
||||
CFISize = 0x00
|
||||
CFIAddr = 0x00
|
||||
[CPU]
|
||||
OverrideMemMap = 0
|
||||
AllowSimulation = 1
|
||||
ScriptFile=""
|
||||
[FLASH]
|
||||
CacheExcludeSize = 0x00
|
||||
CacheExcludeAddr = 0x00
|
||||
MinNumBytesFlashDL = 0
|
||||
SkipProgOnCRCMatch = 1
|
||||
VerifyDownload = 1
|
||||
AllowCaching = 1
|
||||
EnableFlashDL = 2
|
||||
Override = 1
|
||||
Device="Cortex-M4"
|
||||
[GENERAL]
|
||||
WorkRAMSize = 0x00
|
||||
WorkRAMAddr = 0x00
|
||||
RAMUsageLimit = 0x00
|
||||
[SWO]
|
||||
SWOLogFile=""
|
||||
[MEM]
|
||||
RdOverrideOrMask = 0x00
|
||||
RdOverrideAndMask = 0xFFFFFFFF
|
||||
RdOverrideAddr = 0xFFFFFFFF
|
||||
WrOverrideOrMask = 0x00
|
||||
WrOverrideAndMask = 0xFFFFFFFF
|
||||
WrOverrideAddr = 0xFFFFFFFF
|
||||
@@ -0,0 +1,15 @@
|
||||
|
||||
LOAD 0x10000000
|
||||
{
|
||||
EXE 0x10000000
|
||||
{
|
||||
startup_xinc.o (RESET, +FIRST)
|
||||
* (+RO)
|
||||
|
||||
}
|
||||
RW +0
|
||||
{
|
||||
* (+RW,+ZI)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,990 @@
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 1
|
||||
|
||||
|
||||
1 00000000
|
||||
2 00000000 ;/******************************************************
|
||||
***********************
|
||||
3 00000000 ; * @file: startup_xinc.s
|
||||
4 00000000 ; * @purpose: CMSIS Cortex-M0 Core Device Startup File f
|
||||
or the
|
||||
5 00000000 ; * Device xinc.
|
||||
6 00000000 ; ******************************************************
|
||||
***********************/
|
||||
7 00000000
|
||||
8 00000000 00001000
|
||||
Stack_Size
|
||||
EQU 0x00001000
|
||||
9 00000000
|
||||
10 00000000 AREA STACK, NOINIT, READWRITE, ALIGN
|
||||
=3
|
||||
11 00000000 Stack_Mem
|
||||
SPACE Stack_Size
|
||||
12 00001000 __initial_sp
|
||||
13 00001000
|
||||
14 00001000 00000000
|
||||
Heap_Size
|
||||
EQU 0x00000000
|
||||
15 00001000
|
||||
16 00001000 AREA HEAP, NOINIT, READWRITE, ALIGN=
|
||||
3
|
||||
17 00000000 __heap_base
|
||||
18 00000000 Heap_Mem
|
||||
SPACE Heap_Size
|
||||
19 00000000 __heap_limit
|
||||
20 00000000
|
||||
21 00000000
|
||||
22 00000000 PRESERVE8
|
||||
23 00000000 THUMB
|
||||
24 00000000
|
||||
25 00000000 ; Vector Table Mapped to Address 0 at Reset
|
||||
26 00000000
|
||||
27 00000000 AREA RESET, DATA, READONLY
|
||||
28 00000000 EXPORT __Vectors
|
||||
29 00000000 EXPORT __Vectors_End
|
||||
30 00000000 EXPORT __Vectors_Size
|
||||
31 00000000
|
||||
32 00000000 00000000
|
||||
__Vectors
|
||||
DCD __initial_sp ; Top of Stack
|
||||
33 00000004 00000000 DCD Reset_Handler ; Reset Handler
|
||||
34 00000008 00000000 DCD NMI_Handler ; NMI Handler
|
||||
35 0000000C 00000000 DCD HardFault_Handler ; Hard Fault
|
||||
Handler
|
||||
36 00000010 00000000 DCD MemManage_Handler
|
||||
; MPU Fault Handler
|
||||
|
||||
37 00000014 00000000 DCD BusFault_Handler
|
||||
; Bus Fault Handler
|
||||
|
||||
38 00000018 00000000 DCD UsageFault_Handler ; Usage Faul
|
||||
t Handler
|
||||
39 0000001C 00000000 DCD 0 ; Reserved
|
||||
40 00000020 00000000 DCD 0 ; Reserved
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 2
|
||||
|
||||
|
||||
41 00000024 00000000 DCD 0 ; Reserved
|
||||
42 00000028 00000000 DCD 0 ; Reserved
|
||||
43 0000002C 00000000 DCD SVC_Handler ; SVCall Handler
|
||||
44 00000030 00000000 DCD DebugMon_Handler ; Debug Monito
|
||||
r Handler
|
||||
45 00000034 00000000 DCD 0 ; Reserved
|
||||
46 00000038 00000000 DCD PendSV_Handler ; PendSV Handler
|
||||
|
||||
47 0000003C 00000000 DCD SysTick_Handler
|
||||
; SysTick Handler
|
||||
48 00000040
|
||||
49 00000040 ; External Interrupts
|
||||
50 00000040 ; ToDo: Add here the vectors for the device specific ex
|
||||
ternal interrupts handler
|
||||
51 00000040 00000000 DCD BLE_Handler ; 0
|
||||
52 00000044 00000000 DCD DMA_Handler ; 1
|
||||
53 00000048 00000000 DCD CPR_Handler ; 2
|
||||
54 0000004C 00000000 DCD GPIO_Handler ; 3
|
||||
55 00000050 00000000 DCD RTC_Handler ; 4
|
||||
56 00000054 00000000 DCD TIMER0_Handler ; 5
|
||||
57 00000058 00000000 DCD TIMER1_Handler ; 6
|
||||
58 0000005C 00000000 DCD TIMER2_Handler ; 7
|
||||
59 00000060 00000000 DCD TIMER3_Handler ; 8
|
||||
60 00000064 00000000 DCD WDT_Handler ; 9
|
||||
61 00000068 00000000 DCD I2C_Handler ; 10
|
||||
62 0000006C 00000000 DCD UART0_Handler ; 11
|
||||
63 00000070 00000000 DCD UART1_Handler ; 12
|
||||
64 00000074 00000000 DCD SPI0_Handler ; 13
|
||||
65 00000078 00000000 DCD SPI1_Handler ; 14
|
||||
66 0000007C 00000000 DCD 0 ; 15
|
||||
67 00000080 00000000 DCD 0 ; 16
|
||||
68 00000084 00000000 DCD GADC_Handler ; 17
|
||||
69 00000088 00000000 DCD PWM_Handler ; 18
|
||||
70 0000008C 00000000 DCD AES_Handler ; 19
|
||||
71 00000090 00000000 DCD USB_Handler ; 20
|
||||
72 00000094 00000000 DCD AUDIO_Handler
|
||||
; 21
|
||||
|
||||
73 00000098 00000000 DCD RF24G_Handler ; 22
|
||||
74 0000009C 00000000 DCD SPI2_Handler ; 23
|
||||
75 000000A0 00000000 DCD 0 ; 24
|
||||
76 000000A4 00000000 DCD UART2_Handler ; 25
|
||||
77 000000A8 00000000 DCD I2S_Handler ; 26
|
||||
78 000000AC 00000000 DCD AOTIMER0_Handler ; 27
|
||||
79 000000B0 00000000 DCD AOTIMER1_Handler ; 28
|
||||
80 000000B4 00000000 DCD CMP_Handler ; 29
|
||||
81 000000B8 00000000 DCD FMC_Handler ; 30
|
||||
82 000000BC 00000000 DCD CAN_Handler ; 31
|
||||
83 000000C0
|
||||
84 000000C0 __Vectors_End
|
||||
85 000000C0
|
||||
86 000000C0 000000C0
|
||||
__Vectors_Size
|
||||
EQU __Vectors_End - __Vectors
|
||||
87 000000C0
|
||||
88 000000C0
|
||||
89 000000C0
|
||||
90 000000C0 AREA |.text|, CODE, READONLY
|
||||
91 00000000 ; Reset Handler
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 3
|
||||
|
||||
|
||||
92 00000000
|
||||
93 00000000 Reset_Handler
|
||||
PROC
|
||||
94 00000000
|
||||
95 00000000 EXPORT Reset_Handler [WEAK]
|
||||
96 00000000
|
||||
97 00000000 IMPORT SystemInit
|
||||
98 00000000 IMPORT __main
|
||||
99 00000000
|
||||
100 00000000 480F LDR r0, =0x4000013C ; remap
|
||||
101 00000002 4910 LDR r1, =0x10000001
|
||||
102 00000004 6001 STR r1, [r0]
|
||||
103 00000006
|
||||
104 00000006
|
||||
105 00000006
|
||||
106 00000006 4810 LDR R0, =SystemInit
|
||||
107 00000008 4780 BLX R0
|
||||
108 0000000A
|
||||
109 0000000A 4810 LDR R0, =__main
|
||||
110 0000000C 4700 BX R0
|
||||
111 0000000E
|
||||
112 0000000E ENDP
|
||||
113 0000000E
|
||||
114 0000000E ; Dummy Exception Handlers (infinite loops which can be
|
||||
modified)
|
||||
115 0000000E NMI_Handler
|
||||
PROC
|
||||
116 0000000E EXPORT NMI_Handler [WEAK
|
||||
]
|
||||
117 0000000E E7FE B .
|
||||
118 00000010 ENDP
|
||||
119 00000010
|
||||
120 00000010
|
||||
122 00000010 HardFault_Handler
|
||||
PROC
|
||||
123 00000010 IMPORT HardFault_Handler_c
|
||||
;函数声明
|
||||
124 00000010 2004 movs r0, #4 ;判æ–ä¸»æ ˆæŒ‡é’ˆ
|
||||
è¿˜æ˜¯è¿›ç¨‹æ ˆæŒ‡é
|
||||
’ˆ
|
||||
125 00000012 4671 mov r1, lr
|
||||
126 00000014 4208 tst r0, r1
|
||||
127 00000016 D003 beq hf_used_msp ;å¦‚æžœæ˜¯ä¸»æ ˆæŒ‡
|
||||
é’ˆ
|
||||
128 00000018 F3EF 8009 mrs r0, psp ;å�¦åˆ™æ˜¯è¿›ç¨‹æ ˆ
|
||||
指针,æŠŠè¿›ç¨‹æ ˆ
|
||||
指针地�付给
|
||||
R0
|
||||
129 0000001C 490C ldr r1, =HardFault_Handler_c ;è·³è½
|
||||
¬åˆ° HardFault 䏿
|
||||
–程åº�
|
||||
130 0000001E 4708 bx r1
|
||||
131 00000020 hf_used_msp
|
||||
132 00000020 F3EF 8008 mrs r0, msp ;æŠŠä¸»æ ˆæŒ‡é’ˆåœ°
|
||||
�赋给 R0
|
||||
133 00000024 490A ldr r1, =HardFault_Handler_c
|
||||
134 00000026 4708 bx r1
|
||||
135 00000028 ;EXPORT HardFault_Handler [WEAK]
|
||||
136 00000028 ;B .
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 4
|
||||
|
||||
|
||||
137 00000028 ENDP
|
||||
139 00000028 MemManage_Handler
|
||||
PROC
|
||||
140 00000028 EXPORT MemManage_Handler [WEAK
|
||||
]
|
||||
141 00000028 E7FE B .
|
||||
142 0000002A ENDP
|
||||
144 0000002A BusFault_Handler
|
||||
PROC
|
||||
145 0000002A EXPORT BusFault_Handler [WEAK
|
||||
]
|
||||
146 0000002A E7FE B .
|
||||
147 0000002C ENDP
|
||||
149 0000002C UsageFault_Handler
|
||||
PROC
|
||||
150 0000002C EXPORT UsageFault_Handler [WEAK
|
||||
]
|
||||
151 0000002C E7FE B .
|
||||
152 0000002E ENDP
|
||||
153 0000002E SVC_Handler
|
||||
PROC
|
||||
154 0000002E EXPORT SVC_Handler [WEAK
|
||||
]
|
||||
155 0000002E E7FE B .
|
||||
156 00000030 ENDP
|
||||
158 00000030 DebugMon_Handler
|
||||
PROC
|
||||
159 00000030 EXPORT DebugMon_Handler [WEAK
|
||||
]
|
||||
160 00000030 E7FE B .
|
||||
161 00000032 ENDP
|
||||
162 00000032
|
||||
163 00000032 Default_Handler
|
||||
PROC
|
||||
164 00000032 EXPORT BLE_Handler [WEAK
|
||||
]
|
||||
165 00000032 EXPORT DMA_Handler [WE
|
||||
AK]
|
||||
166 00000032 EXPORT CPR_Handler [WEAK]
|
||||
167 00000032 EXPORT GPIO_Handler [WEAK]
|
||||
168 00000032 EXPORT RTC_Handler [WEAK]
|
||||
169 00000032 EXPORT TIMER0_Handler [WEAK]
|
||||
170 00000032 EXPORT TIMER1_Handler [WEAK]
|
||||
171 00000032 EXPORT TIMER2_Handler [WEAK]
|
||||
172 00000032 EXPORT TIMER3_Handler [WEAK]
|
||||
173 00000032 EXPORT WDT_Handler [WE
|
||||
AK]
|
||||
174 00000032 EXPORT I2C_Handler [WEAK]
|
||||
175 00000032 EXPORT UART0_Handler [WEAK
|
||||
]
|
||||
176 00000032 EXPORT UART1_Handler [WE
|
||||
AK]
|
||||
177 00000032 EXPORT SPI0_Handler [WE
|
||||
AK]
|
||||
178 00000032 EXPORT SPI1_Handler [WE
|
||||
AK]
|
||||
179 00000032 ;EXPORT KBS_Handler [WEAK]
|
||||
180 00000032 ;EXPORT QDEC_Handler [WEAK]
|
||||
181 00000032 EXPORT GADC_Handler [WEAK]
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 5
|
||||
|
||||
|
||||
182 00000032 EXPORT PWM_Handler [WE
|
||||
AK]
|
||||
183 00000032 EXPORT AES_Handler [WE
|
||||
AK]
|
||||
184 00000032
|
||||
185 00000032 EXPORT PendSV_Handler [WEAK]
|
||||
186 00000032 EXPORT SysTick_Handler [WE
|
||||
AK]
|
||||
187 00000032
|
||||
188 00000032 EXPORT USB_Handler [WE
|
||||
AK]
|
||||
;20
|
||||
189 00000032 EXPORT AUDIO_Handler [WE
|
||||
AK]
|
||||
;21
|
||||
190 00000032 EXPORT RF24G_Handler [WE
|
||||
AK]
|
||||
;22
|
||||
191 00000032 EXPORT SPI2_Handler [WE
|
||||
AK]
|
||||
;23
|
||||
192 00000032 ;EXPORT MPU_Handler [WEAK];24
|
||||
193 00000032 EXPORT UART2_Handler [WE
|
||||
AK]
|
||||
;25
|
||||
194 00000032 EXPORT I2S_Handler [WE
|
||||
AK]
|
||||
;26
|
||||
195 00000032 EXPORT AOTIMER0_Handler [WE
|
||||
AK]
|
||||
;27
|
||||
196 00000032 EXPORT AOTIMER1_Handler [WE
|
||||
AK]
|
||||
;28
|
||||
197 00000032 EXPORT CMP_Handler [WE
|
||||
AK]
|
||||
;29
|
||||
198 00000032 EXPORT FMC_Handler [WE
|
||||
AK]
|
||||
;30
|
||||
199 00000032 EXPORT CAN_Handler [WE
|
||||
AK]
|
||||
;31
|
||||
200 00000032
|
||||
201 00000032 PendSV_Handler
|
||||
202 00000032 SysTick_Handler
|
||||
203 00000032 BLE_Handler
|
||||
204 00000032 RF24G_Handler
|
||||
205 00000032 DMA_Handler
|
||||
206 00000032 CPR_Handler
|
||||
207 00000032 GPIO_Handler
|
||||
208 00000032 RTC_Handler
|
||||
209 00000032 TIMER0_Handler
|
||||
210 00000032 TIMER1_Handler
|
||||
211 00000032 TIMER2_Handler
|
||||
212 00000032 TIMER3_Handler
|
||||
213 00000032 WDT_Handler
|
||||
214 00000032 I2C_Handler
|
||||
215 00000032 I2S_Handler
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 6
|
||||
|
||||
|
||||
216 00000032 UART0_Handler
|
||||
217 00000032 UART1_Handler
|
||||
218 00000032 UART2_Handler
|
||||
219 00000032 SPI0_Handler
|
||||
220 00000032 SPI1_Handler
|
||||
221 00000032 SPI2_Handler
|
||||
222 00000032 ;KBS_Handler
|
||||
223 00000032 ;QDEC_Handler
|
||||
224 00000032 GADC_Handler
|
||||
225 00000032 PWM_Handler
|
||||
226 00000032 AUDIO_Handler
|
||||
227 00000032 ;SIM_Handler
|
||||
228 00000032 AES_Handler
|
||||
229 00000032 AOTIMER0_Handler
|
||||
230 00000032 AOTIMER1_Handler
|
||||
231 00000032 CMP_Handler
|
||||
232 00000032 FMC_Handler
|
||||
233 00000032 CAN_Handler
|
||||
234 00000032 USB_Handler
|
||||
235 00000032
|
||||
236 00000032 E7FE B .
|
||||
237 00000034 ENDP
|
||||
238 00000034
|
||||
239 00000034
|
||||
240 00000034 ALIGN
|
||||
241 00000034
|
||||
242 00000034 ; User Initial Stack & Heap
|
||||
243 00000034
|
||||
244 00000034 IMPORT __use_two_region_memory
|
||||
245 00000034 EXPORT __user_initial_stackheap
|
||||
246 00000034 __user_initial_stackheap
|
||||
247 00000034
|
||||
248 00000034 4807 LDR R0, = Heap_Mem
|
||||
249 00000036 4908 LDR R1, = (Stack_Mem + Stack_Size)
|
||||
250 00000038 4A06 LDR R2, = (Heap_Mem + Heap_Size)
|
||||
251 0000003A 4B08 LDR R3, = Stack_Mem
|
||||
252 0000003C 4770 BX LR
|
||||
253 0000003E
|
||||
254 0000003E 00 00 ALIGN
|
||||
255 00000040
|
||||
256 00000040 END
|
||||
4000013C
|
||||
10000001
|
||||
00000000
|
||||
00000000
|
||||
00000000
|
||||
00000000
|
||||
00001000
|
||||
00000000
|
||||
Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M0 --apcs=interw
|
||||
ork --depend=.\objects\startup_xinc.d -o.\objects\startup_xinc.o -I.\RTE\_usb_h
|
||||
id_custom -IC:\Keil_v5\ARM\PACK\ARM\CMSIS\5.7.0\Device\ARM\ARMCM0\Include -IC:\
|
||||
Keil_v5\ARM\CMSIS\Include --predefine="__UVISION_VERSION SETA 530" --predefine=
|
||||
"ARMCM0 SETA 1" --predefine="_RTE_ SETA 1" --list=.\listing\startup_xinc.lst ..
|
||||
\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
STACK 00000000
|
||||
|
||||
Symbol: STACK
|
||||
Definitions
|
||||
At line 10 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: STACK unused
|
||||
Stack_Mem 00000000
|
||||
|
||||
Symbol: Stack_Mem
|
||||
Definitions
|
||||
At line 11 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 249 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 251 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
__initial_sp 00001000
|
||||
|
||||
Symbol: __initial_sp
|
||||
Definitions
|
||||
At line 12 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 32 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Comment: __initial_sp used once
|
||||
3 symbols
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
HEAP 00000000
|
||||
|
||||
Symbol: HEAP
|
||||
Definitions
|
||||
At line 16 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: HEAP unused
|
||||
Heap_Mem 00000000
|
||||
|
||||
Symbol: Heap_Mem
|
||||
Definitions
|
||||
At line 18 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 248 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 250 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
__heap_base 00000000
|
||||
|
||||
Symbol: __heap_base
|
||||
Definitions
|
||||
At line 17 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: __heap_base unused
|
||||
__heap_limit 00000000
|
||||
|
||||
Symbol: __heap_limit
|
||||
Definitions
|
||||
At line 19 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: __heap_limit unused
|
||||
4 symbols
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
RESET 00000000
|
||||
|
||||
Symbol: RESET
|
||||
Definitions
|
||||
At line 27 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: RESET unused
|
||||
__Vectors 00000000
|
||||
|
||||
Symbol: __Vectors
|
||||
Definitions
|
||||
At line 32 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 28 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 86 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
__Vectors_End 000000C0
|
||||
|
||||
Symbol: __Vectors_End
|
||||
Definitions
|
||||
At line 84 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 29 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 86 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
3 symbols
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
.text 00000000
|
||||
|
||||
Symbol: .text
|
||||
Definitions
|
||||
At line 90 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: .text unused
|
||||
AES_Handler 00000032
|
||||
|
||||
Symbol: AES_Handler
|
||||
Definitions
|
||||
At line 228 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 70 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 183 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
AOTIMER0_Handler 00000032
|
||||
|
||||
Symbol: AOTIMER0_Handler
|
||||
Definitions
|
||||
At line 229 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 78 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 195 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
AOTIMER1_Handler 00000032
|
||||
|
||||
Symbol: AOTIMER1_Handler
|
||||
Definitions
|
||||
At line 230 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 79 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 196 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
AUDIO_Handler 00000032
|
||||
|
||||
Symbol: AUDIO_Handler
|
||||
Definitions
|
||||
At line 226 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 72 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 189 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
BLE_Handler 00000032
|
||||
|
||||
Symbol: BLE_Handler
|
||||
Definitions
|
||||
At line 203 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 51 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 164 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
BusFault_Handler 0000002A
|
||||
|
||||
Symbol: BusFault_Handler
|
||||
Definitions
|
||||
At line 144 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 2 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
At line 37 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 145 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
CAN_Handler 00000032
|
||||
|
||||
Symbol: CAN_Handler
|
||||
Definitions
|
||||
At line 233 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 82 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 199 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
CMP_Handler 00000032
|
||||
|
||||
Symbol: CMP_Handler
|
||||
Definitions
|
||||
At line 231 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 80 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 197 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
CPR_Handler 00000032
|
||||
|
||||
Symbol: CPR_Handler
|
||||
Definitions
|
||||
At line 206 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 53 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 166 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
DMA_Handler 00000032
|
||||
|
||||
Symbol: DMA_Handler
|
||||
Definitions
|
||||
At line 205 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 52 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 165 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
DebugMon_Handler 00000030
|
||||
|
||||
Symbol: DebugMon_Handler
|
||||
Definitions
|
||||
At line 158 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 44 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 159 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
Default_Handler 00000032
|
||||
|
||||
Symbol: Default_Handler
|
||||
Definitions
|
||||
At line 163 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: Default_Handler unused
|
||||
FMC_Handler 00000032
|
||||
|
||||
Symbol: FMC_Handler
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 3 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
Definitions
|
||||
At line 232 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 81 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 198 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
GADC_Handler 00000032
|
||||
|
||||
Symbol: GADC_Handler
|
||||
Definitions
|
||||
At line 224 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 68 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 181 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
GPIO_Handler 00000032
|
||||
|
||||
Symbol: GPIO_Handler
|
||||
Definitions
|
||||
At line 207 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 54 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 167 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
HardFault_Handler 00000010
|
||||
|
||||
Symbol: HardFault_Handler
|
||||
Definitions
|
||||
At line 122 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 35 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Comment: HardFault_Handler used once
|
||||
I2C_Handler 00000032
|
||||
|
||||
Symbol: I2C_Handler
|
||||
Definitions
|
||||
At line 214 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 61 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 174 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
I2S_Handler 00000032
|
||||
|
||||
Symbol: I2S_Handler
|
||||
Definitions
|
||||
At line 215 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 77 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 194 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
MemManage_Handler 00000028
|
||||
|
||||
Symbol: MemManage_Handler
|
||||
Definitions
|
||||
At line 139 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 36 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 140 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 4 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
NMI_Handler 0000000E
|
||||
|
||||
Symbol: NMI_Handler
|
||||
Definitions
|
||||
At line 115 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 34 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 116 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
PWM_Handler 00000032
|
||||
|
||||
Symbol: PWM_Handler
|
||||
Definitions
|
||||
At line 225 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 69 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 182 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
PendSV_Handler 00000032
|
||||
|
||||
Symbol: PendSV_Handler
|
||||
Definitions
|
||||
At line 201 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 46 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 185 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
RF24G_Handler 00000032
|
||||
|
||||
Symbol: RF24G_Handler
|
||||
Definitions
|
||||
At line 204 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 73 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 190 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
RTC_Handler 00000032
|
||||
|
||||
Symbol: RTC_Handler
|
||||
Definitions
|
||||
At line 208 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 55 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 168 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
Reset_Handler 00000000
|
||||
|
||||
Symbol: Reset_Handler
|
||||
Definitions
|
||||
At line 93 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 33 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 95 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
SPI0_Handler 00000032
|
||||
|
||||
Symbol: SPI0_Handler
|
||||
Definitions
|
||||
At line 219 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 5 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
Uses
|
||||
At line 64 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 177 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
SPI1_Handler 00000032
|
||||
|
||||
Symbol: SPI1_Handler
|
||||
Definitions
|
||||
At line 220 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 65 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 178 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
SPI2_Handler 00000032
|
||||
|
||||
Symbol: SPI2_Handler
|
||||
Definitions
|
||||
At line 221 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 74 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 191 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
SVC_Handler 0000002E
|
||||
|
||||
Symbol: SVC_Handler
|
||||
Definitions
|
||||
At line 153 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 43 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 154 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
SysTick_Handler 00000032
|
||||
|
||||
Symbol: SysTick_Handler
|
||||
Definitions
|
||||
At line 202 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 47 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 186 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
TIMER0_Handler 00000032
|
||||
|
||||
Symbol: TIMER0_Handler
|
||||
Definitions
|
||||
At line 209 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 56 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 169 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
TIMER1_Handler 00000032
|
||||
|
||||
Symbol: TIMER1_Handler
|
||||
Definitions
|
||||
At line 210 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 57 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 170 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
TIMER2_Handler 00000032
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 6 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
|
||||
Symbol: TIMER2_Handler
|
||||
Definitions
|
||||
At line 211 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 58 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 171 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
TIMER3_Handler 00000032
|
||||
|
||||
Symbol: TIMER3_Handler
|
||||
Definitions
|
||||
At line 212 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 59 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 172 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
UART0_Handler 00000032
|
||||
|
||||
Symbol: UART0_Handler
|
||||
Definitions
|
||||
At line 216 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 62 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 175 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
UART1_Handler 00000032
|
||||
|
||||
Symbol: UART1_Handler
|
||||
Definitions
|
||||
At line 217 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 63 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 176 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
UART2_Handler 00000032
|
||||
|
||||
Symbol: UART2_Handler
|
||||
Definitions
|
||||
At line 218 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 76 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 193 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
USB_Handler 00000032
|
||||
|
||||
Symbol: USB_Handler
|
||||
Definitions
|
||||
At line 234 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 71 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 188 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
UsageFault_Handler 0000002C
|
||||
|
||||
Symbol: UsageFault_Handler
|
||||
Definitions
|
||||
At line 149 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 7 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
At line 38 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 150 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
WDT_Handler 00000032
|
||||
|
||||
Symbol: WDT_Handler
|
||||
Definitions
|
||||
At line 213 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 60 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 173 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
__user_initial_stackheap 00000034
|
||||
|
||||
Symbol: __user_initial_stackheap
|
||||
Definitions
|
||||
At line 246 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 245 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Comment: __user_initial_stackheap used once
|
||||
hf_used_msp 00000020
|
||||
|
||||
Symbol: hf_used_msp
|
||||
Definitions
|
||||
At line 131 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 127 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Comment: hf_used_msp used once
|
||||
43 symbols
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||||
Absolute symbols
|
||||
|
||||
Heap_Size 00000000
|
||||
|
||||
Symbol: Heap_Size
|
||||
Definitions
|
||||
At line 14 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 18 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 250 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
Stack_Size 00001000
|
||||
|
||||
Symbol: Stack_Size
|
||||
Definitions
|
||||
At line 8 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 11 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 249 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
__Vectors_Size 000000C0
|
||||
|
||||
Symbol: __Vectors_Size
|
||||
Definitions
|
||||
At line 86 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 30 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Comment: __Vectors_Size used once
|
||||
3 symbols
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||||
External symbols
|
||||
|
||||
HardFault_Handler_c 00000000
|
||||
|
||||
Symbol: HardFault_Handler_c
|
||||
Definitions
|
||||
At line 123 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 129 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 133 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
SystemInit 00000000
|
||||
|
||||
Symbol: SystemInit
|
||||
Definitions
|
||||
At line 97 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 106 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Comment: SystemInit used once
|
||||
__main 00000000
|
||||
|
||||
Symbol: __main
|
||||
Definitions
|
||||
At line 98 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 109 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Comment: __main used once
|
||||
__use_two_region_memory 00000000
|
||||
|
||||
Symbol: __use_two_region_memory
|
||||
Definitions
|
||||
At line 244 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: __use_two_region_memory unused
|
||||
4 symbols
|
||||
395 symbols in table
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
Xincboot_tool.exe 0_ram.bin 1_ram_download.bin 0 0 0 0 1
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
.\Tools\xinchip_xip_tool.exe .\Output\0_ram.bin .\Output\xip_dual .\Output\1_xip_download.bin
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,552 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||
<ProjectOpt xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="project_optx.xsd">
|
||||
|
||||
<SchemaVersion>1.0</SchemaVersion>
|
||||
|
||||
<Header>### uVision Project, (C) Keil Software</Header>
|
||||
|
||||
<Extensions>
|
||||
<cExt>*.c</cExt>
|
||||
<aExt>*.s*; *.src; *.a*</aExt>
|
||||
<oExt>*.obj; *.o</oExt>
|
||||
<lExt>*.lib</lExt>
|
||||
<tExt>*.txt; *.h; *.inc</tExt>
|
||||
<pExt>*.plm</pExt>
|
||||
<CppX>*.cpp</CppX>
|
||||
<nMigrate>0</nMigrate>
|
||||
</Extensions>
|
||||
|
||||
<DaveTm>
|
||||
<dwLowDateTime>0</dwLowDateTime>
|
||||
<dwHighDateTime>0</dwHighDateTime>
|
||||
</DaveTm>
|
||||
|
||||
<Target>
|
||||
<TargetName>usb_hid_custom</TargetName>
|
||||
<ToolsetNumber>0x4</ToolsetNumber>
|
||||
<ToolsetName>ARM-ADS</ToolsetName>
|
||||
<TargetOption>
|
||||
<CLKADS>12000000</CLKADS>
|
||||
<OPTTT>
|
||||
<gFlags>1</gFlags>
|
||||
<BeepAtEnd>1</BeepAtEnd>
|
||||
<RunSim>0</RunSim>
|
||||
<RunTarget>1</RunTarget>
|
||||
<RunAbUc>0</RunAbUc>
|
||||
</OPTTT>
|
||||
<OPTHX>
|
||||
<HexSelection>1</HexSelection>
|
||||
<FlashByte>65535</FlashByte>
|
||||
<HexRangeLowAddress>0</HexRangeLowAddress>
|
||||
<HexRangeHighAddress>0</HexRangeHighAddress>
|
||||
<HexOffset>0</HexOffset>
|
||||
</OPTHX>
|
||||
<OPTLEX>
|
||||
<PageWidth>79</PageWidth>
|
||||
<PageLength>66</PageLength>
|
||||
<TabStop>8</TabStop>
|
||||
<ListingPath>.\Listing\</ListingPath>
|
||||
</OPTLEX>
|
||||
<ListingPage>
|
||||
<CreateCListing>1</CreateCListing>
|
||||
<CreateAListing>1</CreateAListing>
|
||||
<CreateLListing>1</CreateLListing>
|
||||
<CreateIListing>0</CreateIListing>
|
||||
<AsmCond>1</AsmCond>
|
||||
<AsmSymb>1</AsmSymb>
|
||||
<AsmXref>0</AsmXref>
|
||||
<CCond>1</CCond>
|
||||
<CCode>0</CCode>
|
||||
<CListInc>0</CListInc>
|
||||
<CSymb>0</CSymb>
|
||||
<LinkerCodeListing>0</LinkerCodeListing>
|
||||
</ListingPage>
|
||||
<OPTXL>
|
||||
<LMap>1</LMap>
|
||||
<LComments>1</LComments>
|
||||
<LGenerateSymbols>1</LGenerateSymbols>
|
||||
<LLibSym>1</LLibSym>
|
||||
<LLines>1</LLines>
|
||||
<LLocSym>1</LLocSym>
|
||||
<LPubSym>1</LPubSym>
|
||||
<LXref>0</LXref>
|
||||
<LExpSel>0</LExpSel>
|
||||
</OPTXL>
|
||||
<OPTFL>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<IsCurrentTarget>1</IsCurrentTarget>
|
||||
</OPTFL>
|
||||
<CpuCode>7</CpuCode>
|
||||
<DebugOpt>
|
||||
<uSim>0</uSim>
|
||||
<uTrg>1</uTrg>
|
||||
<sLdApp>1</sLdApp>
|
||||
<sGomain>1</sGomain>
|
||||
<sRbreak>1</sRbreak>
|
||||
<sRwatch>1</sRwatch>
|
||||
<sRmem>1</sRmem>
|
||||
<sRfunc>1</sRfunc>
|
||||
<sRbox>1</sRbox>
|
||||
<tLdApp>1</tLdApp>
|
||||
<tGomain>1</tGomain>
|
||||
<tRbreak>1</tRbreak>
|
||||
<tRwatch>1</tRwatch>
|
||||
<tRmem>1</tRmem>
|
||||
<tRfunc>0</tRfunc>
|
||||
<tRbox>1</tRbox>
|
||||
<tRtrace>1</tRtrace>
|
||||
<sRSysVw>1</sRSysVw>
|
||||
<tRSysVw>1</tRSysVw>
|
||||
<sRunDeb>0</sRunDeb>
|
||||
<sLrtime>0</sLrtime>
|
||||
<bEvRecOn>1</bEvRecOn>
|
||||
<bSchkAxf>0</bSchkAxf>
|
||||
<bTchkAxf>0</bTchkAxf>
|
||||
<nTsel>4</nTsel>
|
||||
<sDll></sDll>
|
||||
<sDllPa></sDllPa>
|
||||
<sDlgDll></sDlgDll>
|
||||
<sDlgPa></sDlgPa>
|
||||
<sIfile></sIfile>
|
||||
<tDll></tDll>
|
||||
<tDllPa></tDllPa>
|
||||
<tDlgDll></tDlgDll>
|
||||
<tDlgPa></tDlgPa>
|
||||
<tIfile>.\Linker\Initialization.ini</tIfile>
|
||||
<pMon>Segger\JL2CM3.dll</pMon>
|
||||
</DebugOpt>
|
||||
<TargetDriverDllRegistry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>ARMRTXEVENTFLAGS</Key>
|
||||
<Name>-L70 -Z18 -C0 -M0 -T1</Name>
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>DLGTARM</Key>
|
||||
<Name>(1010=-1,-1,-1,-1,0)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)</Name>
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>ARMDBGFLAGS</Key>
|
||||
<Name></Name>
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>UL2CM3</Key>
|
||||
<Name>UL2CM3(-S0 -C0 -P0 -FC1000 -FD20000000</Name>
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>JL2CM3</Key>
|
||||
<Name>-U4294967295 -O78 -S2 -ZTIFSpeedSel5000 -A0 -C0 -JU1 -JI127.0.0.1 -JP0 -RST0 -N00("ARM CoreSight SW-DP") -D00(0BB11477) -L00(0) -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -TB1 -TFE0 -FO7 -FD10000000 -FC1000 -FN1 -FF0xc620 -FS010000000 -FL020000</Name>
|
||||
</SetRegEntry>
|
||||
</TargetDriverDllRegistry>
|
||||
<Breakpoint/>
|
||||
<WatchWindow1>
|
||||
<Ww>
|
||||
<count>0</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>baudrate</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>1</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>mul</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>2</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>div</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>3</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>adj_div</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>4</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>clk_ctl</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>5</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>HID_Load_Finish</ItemText>
|
||||
</Ww>
|
||||
</WatchWindow1>
|
||||
<MemoryWindow1>
|
||||
<Mm>
|
||||
<WinNumber>1</WinNumber>
|
||||
<SubType>0</SubType>
|
||||
<ItemText>0X40000040</ItemText>
|
||||
<AccSizeX>0</AccSizeX>
|
||||
</Mm>
|
||||
</MemoryWindow1>
|
||||
<Tracepoint>
|
||||
<THDelay>0</THDelay>
|
||||
</Tracepoint>
|
||||
<DebugFlag>
|
||||
<trace>0</trace>
|
||||
<periodic>0</periodic>
|
||||
<aLwin>1</aLwin>
|
||||
<aCover>0</aCover>
|
||||
<aSer1>0</aSer1>
|
||||
<aSer2>0</aSer2>
|
||||
<aPa>0</aPa>
|
||||
<viewmode>1</viewmode>
|
||||
<vrSel>0</vrSel>
|
||||
<aSym>0</aSym>
|
||||
<aTbox>0</aTbox>
|
||||
<AscS1>0</AscS1>
|
||||
<AscS2>0</AscS2>
|
||||
<AscS3>0</AscS3>
|
||||
<aSer3>0</aSer3>
|
||||
<eProf>0</eProf>
|
||||
<aLa>0</aLa>
|
||||
<aPa1>0</aPa1>
|
||||
<AscS4>0</AscS4>
|
||||
<aSer4>0</aSer4>
|
||||
<StkLoc>0</StkLoc>
|
||||
<TrcWin>0</TrcWin>
|
||||
<newCpu>0</newCpu>
|
||||
<uProt>0</uProt>
|
||||
</DebugFlag>
|
||||
<LintExecutable></LintExecutable>
|
||||
<LintConfigFile></LintConfigFile>
|
||||
<bLintAuto>0</bLintAuto>
|
||||
<bAutoGenD>0</bAutoGenD>
|
||||
<LntExFlags>0</LntExFlags>
|
||||
<pMisraName></pMisraName>
|
||||
<pszMrule></pszMrule>
|
||||
<pSingCmds></pSingCmds>
|
||||
<pMultCmds></pMultCmds>
|
||||
<pMisraNamep></pMisraNamep>
|
||||
<pszMrulep></pszMrulep>
|
||||
<pSingCmdsp></pSingCmdsp>
|
||||
<pMultCmdsp></pMultCmdsp>
|
||||
</TargetOption>
|
||||
</Target>
|
||||
|
||||
<Group>
|
||||
<GroupName>startup</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>1</GroupNumber>
|
||||
<FileNumber>1</FileNumber>
|
||||
<FileType>5</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\CMSIS\core_cm0.h</PathWithFileName>
|
||||
<FilenameWithoutPath>core_cm0.h</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>1</GroupNumber>
|
||||
<FileNumber>2</FileNumber>
|
||||
<FileType>2</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\app\Startup\xc60xx\startup_xinc.s</PathWithFileName>
|
||||
<FilenameWithoutPath>startup_xinc.s</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>1</GroupNumber>
|
||||
<FileNumber>3</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\app\Startup\system_xinc.c</PathWithFileName>
|
||||
<FilenameWithoutPath>system_xinc.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>1</GroupNumber>
|
||||
<FileNumber>4</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\app\Startup\system_it_xinc.c</PathWithFileName>
|
||||
<FilenameWithoutPath>system_it_xinc.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>app</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>2</GroupNumber>
|
||||
<FileNumber>5</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\app\src\main.c</PathWithFileName>
|
||||
<FilenameWithoutPath>main.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>Drivers</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>6</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_adc.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_adc.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>7</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_clock.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_clock.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>8</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_systick.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_systick.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>9</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_pwr.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_pwr.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>10</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_uart.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_uart.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>11</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_gpio.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_gpio.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>12</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\ringbuffer.c</PathWithFileName>
|
||||
<FilenameWithoutPath>ringbuffer.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>13</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\usb_driver\xc_hal_usb.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_hal_usb.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>14</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\usb_driver\xc_hal_pcd_np.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_hal_pcd_np.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>15</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\usb_driver\xc_hal_ll_usb_np.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_hal_ll_usb_np.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>middleware/App/hid</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>4</GroupNumber>
|
||||
<FileNumber>16</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\App\hid\usb_device.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usb_device.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>4</GroupNumber>
|
||||
<FileNumber>17</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\App\hid\usbd_desc.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usbd_desc.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>middleware/Library/Class/HID</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>18</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Class\HID\usbd_hid.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usbd_hid.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>middleware/Library/Core</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>6</GroupNumber>
|
||||
<FileNumber>19</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Core\usbd_core.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usbd_core.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>6</GroupNumber>
|
||||
<FileNumber>20</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Core\usbd_ctlreq.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usbd_ctlreq.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>6</GroupNumber>
|
||||
<FileNumber>21</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Core\usbd_ioreq.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usbd_ioreq.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>middleware/Target</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>7</GroupNumber>
|
||||
<FileNumber>22</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Target\usbd_conf.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usbd_conf.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
</ProjectOpt>
|
||||
@@ -0,0 +1,553 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||
<Project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="project_projx.xsd">
|
||||
|
||||
<SchemaVersion>2.1</SchemaVersion>
|
||||
|
||||
<Header>### uVision Project, (C) Keil Software</Header>
|
||||
|
||||
<Targets>
|
||||
<Target>
|
||||
<TargetName>usb_hid_custom</TargetName>
|
||||
<ToolsetNumber>0x4</ToolsetNumber>
|
||||
<ToolsetName>ARM-ADS</ToolsetName>
|
||||
<pCCUsed>5060750::V5.06 update 6 (build 750)::.\ARMCC</pCCUsed>
|
||||
<uAC6>0</uAC6>
|
||||
<TargetOption>
|
||||
<TargetCommonOption>
|
||||
<Device>ARMCM0</Device>
|
||||
<Vendor>ARM</Vendor>
|
||||
<PackID>ARM.CMSIS.5.7.0</PackID>
|
||||
<PackURL>http://www.keil.com/pack/</PackURL>
|
||||
<Cpu>IRAM(0x20000000,0x00020000) IROM(0x00000000,0x00040000) CPUTYPE("Cortex-M0") CLOCK(12000000) ESEL ELITTLE</Cpu>
|
||||
<FlashUtilSpec></FlashUtilSpec>
|
||||
<StartupFile></StartupFile>
|
||||
<FlashDriverDll>UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000)</FlashDriverDll>
|
||||
<DeviceId>0</DeviceId>
|
||||
<RegisterFile>$$Device:ARMCM0$Device\ARM\ARMCM0\Include\ARMCM0.h</RegisterFile>
|
||||
<MemoryEnv></MemoryEnv>
|
||||
<Cmp></Cmp>
|
||||
<Asm></Asm>
|
||||
<Linker></Linker>
|
||||
<OHString></OHString>
|
||||
<InfinionOptionDll></InfinionOptionDll>
|
||||
<SLE66CMisc></SLE66CMisc>
|
||||
<SLE66AMisc></SLE66AMisc>
|
||||
<SLE66LinkerMisc></SLE66LinkerMisc>
|
||||
<SFDFile></SFDFile>
|
||||
<bCustSvd>0</bCustSvd>
|
||||
<UseEnv>0</UseEnv>
|
||||
<BinPath></BinPath>
|
||||
<IncludePath></IncludePath>
|
||||
<LibPath></LibPath>
|
||||
<RegisterFilePath></RegisterFilePath>
|
||||
<DBRegisterFilePath></DBRegisterFilePath>
|
||||
<TargetStatus>
|
||||
<Error>0</Error>
|
||||
<ExitCodeStop>0</ExitCodeStop>
|
||||
<ButtonStop>0</ButtonStop>
|
||||
<NotGenerated>0</NotGenerated>
|
||||
<InvalidFlash>1</InvalidFlash>
|
||||
</TargetStatus>
|
||||
<OutputDirectory>.\Objects\</OutputDirectory>
|
||||
<OutputName>xc6xxx_usb</OutputName>
|
||||
<CreateExecutable>1</CreateExecutable>
|
||||
<CreateLib>0</CreateLib>
|
||||
<CreateHexFile>1</CreateHexFile>
|
||||
<DebugInformation>1</DebugInformation>
|
||||
<BrowseInformation>1</BrowseInformation>
|
||||
<ListingPath>.\Listing\</ListingPath>
|
||||
<HexFormatSelection>1</HexFormatSelection>
|
||||
<Merge32K>0</Merge32K>
|
||||
<CreateBatchFile>0</CreateBatchFile>
|
||||
<BeforeCompile>
|
||||
<RunUserProg1>0</RunUserProg1>
|
||||
<RunUserProg2>0</RunUserProg2>
|
||||
<UserProg1Name></UserProg1Name>
|
||||
<UserProg2Name></UserProg2Name>
|
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
|
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
|
||||
<nStopU1X>0</nStopU1X>
|
||||
<nStopU2X>0</nStopU2X>
|
||||
</BeforeCompile>
|
||||
<BeforeMake>
|
||||
<RunUserProg1>0</RunUserProg1>
|
||||
<RunUserProg2>0</RunUserProg2>
|
||||
<UserProg1Name></UserProg1Name>
|
||||
<UserProg2Name></UserProg2Name>
|
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
|
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
|
||||
<nStopB1X>0</nStopB1X>
|
||||
<nStopB2X>0</nStopB2X>
|
||||
</BeforeMake>
|
||||
<AfterMake>
|
||||
<RunUserProg1>1</RunUserProg1>
|
||||
<RunUserProg2>1</RunUserProg2>
|
||||
<UserProg1Name>fromelf --bin --output=.\Output\0_ram.bin !L</UserProg1Name>
|
||||
<UserProg2Name>.\tools\Xincboot_tool .\Output\0_ram.bin .\Output\1_ram_download.bin</UserProg2Name>
|
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
|
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
|
||||
<nStopA1X>0</nStopA1X>
|
||||
<nStopA2X>0</nStopA2X>
|
||||
</AfterMake>
|
||||
<SelectedForBatchBuild>0</SelectedForBatchBuild>
|
||||
<SVCSIdString></SVCSIdString>
|
||||
</TargetCommonOption>
|
||||
<CommonProperty>
|
||||
<UseCPPCompiler>0</UseCPPCompiler>
|
||||
<RVCTCodeConst>0</RVCTCodeConst>
|
||||
<RVCTZI>0</RVCTZI>
|
||||
<RVCTOtherData>0</RVCTOtherData>
|
||||
<ModuleSelection>0</ModuleSelection>
|
||||
<IncludeInBuild>1</IncludeInBuild>
|
||||
<AlwaysBuild>0</AlwaysBuild>
|
||||
<GenerateAssemblyFile>0</GenerateAssemblyFile>
|
||||
<AssembleAssemblyFile>0</AssembleAssemblyFile>
|
||||
<PublicsOnly>0</PublicsOnly>
|
||||
<StopOnExitCode>3</StopOnExitCode>
|
||||
<CustomArgument></CustomArgument>
|
||||
<IncludeLibraryModules></IncludeLibraryModules>
|
||||
<ComprImg>1</ComprImg>
|
||||
</CommonProperty>
|
||||
<DllOption>
|
||||
<SimDllName>SARMCM3.DLL</SimDllName>
|
||||
<SimDllArguments> </SimDllArguments>
|
||||
<SimDlgDll>DARMCM1.DLL</SimDlgDll>
|
||||
<SimDlgDllArguments>-pCM0</SimDlgDllArguments>
|
||||
<TargetDllName>SARMCM3.DLL</TargetDllName>
|
||||
<TargetDllArguments> </TargetDllArguments>
|
||||
<TargetDlgDll>TARMCM1.DLL</TargetDlgDll>
|
||||
<TargetDlgDllArguments>-pCM0</TargetDlgDllArguments>
|
||||
</DllOption>
|
||||
<DebugOption>
|
||||
<OPTHX>
|
||||
<HexSelection>1</HexSelection>
|
||||
<HexRangeLowAddress>0</HexRangeLowAddress>
|
||||
<HexRangeHighAddress>0</HexRangeHighAddress>
|
||||
<HexOffset>0</HexOffset>
|
||||
<Oh166RecLen>16</Oh166RecLen>
|
||||
</OPTHX>
|
||||
</DebugOption>
|
||||
<Utilities>
|
||||
<Flash1>
|
||||
<UseTargetDll>1</UseTargetDll>
|
||||
<UseExternalTool>0</UseExternalTool>
|
||||
<RunIndependent>0</RunIndependent>
|
||||
<UpdateFlashBeforeDebugging>1</UpdateFlashBeforeDebugging>
|
||||
<Capability>1</Capability>
|
||||
<DriverSelection>4096</DriverSelection>
|
||||
</Flash1>
|
||||
<bUseTDR>1</bUseTDR>
|
||||
<Flash2>BIN\UL2CM3.DLL</Flash2>
|
||||
<Flash3>"" ()</Flash3>
|
||||
<Flash4></Flash4>
|
||||
<pFcarmOut></pFcarmOut>
|
||||
<pFcarmGrp></pFcarmGrp>
|
||||
<pFcArmRoot></pFcArmRoot>
|
||||
<FcArmLst>0</FcArmLst>
|
||||
</Utilities>
|
||||
<TargetArmAds>
|
||||
<ArmAdsMisc>
|
||||
<GenerateListings>0</GenerateListings>
|
||||
<asHll>1</asHll>
|
||||
<asAsm>1</asAsm>
|
||||
<asMacX>1</asMacX>
|
||||
<asSyms>1</asSyms>
|
||||
<asFals>1</asFals>
|
||||
<asDbgD>1</asDbgD>
|
||||
<asForm>1</asForm>
|
||||
<ldLst>0</ldLst>
|
||||
<ldmm>1</ldmm>
|
||||
<ldXref>1</ldXref>
|
||||
<BigEnd>0</BigEnd>
|
||||
<AdsALst>1</AdsALst>
|
||||
<AdsACrf>1</AdsACrf>
|
||||
<AdsANop>0</AdsANop>
|
||||
<AdsANot>0</AdsANot>
|
||||
<AdsLLst>1</AdsLLst>
|
||||
<AdsLmap>1</AdsLmap>
|
||||
<AdsLcgr>1</AdsLcgr>
|
||||
<AdsLsym>1</AdsLsym>
|
||||
<AdsLszi>1</AdsLszi>
|
||||
<AdsLtoi>1</AdsLtoi>
|
||||
<AdsLsun>1</AdsLsun>
|
||||
<AdsLven>1</AdsLven>
|
||||
<AdsLsxf>1</AdsLsxf>
|
||||
<RvctClst>0</RvctClst>
|
||||
<GenPPlst>0</GenPPlst>
|
||||
<AdsCpuType>"Cortex-M0"</AdsCpuType>
|
||||
<RvctDeviceName></RvctDeviceName>
|
||||
<mOS>0</mOS>
|
||||
<uocRom>0</uocRom>
|
||||
<uocRam>0</uocRam>
|
||||
<hadIROM>1</hadIROM>
|
||||
<hadIRAM>1</hadIRAM>
|
||||
<hadXRAM>0</hadXRAM>
|
||||
<uocXRam>0</uocXRam>
|
||||
<RvdsVP>0</RvdsVP>
|
||||
<RvdsMve>0</RvdsMve>
|
||||
<RvdsCdeCp>0</RvdsCdeCp>
|
||||
<hadIRAM2>0</hadIRAM2>
|
||||
<hadIROM2>0</hadIROM2>
|
||||
<StupSel>8</StupSel>
|
||||
<useUlib>0</useUlib>
|
||||
<EndSel>1</EndSel>
|
||||
<uLtcg>0</uLtcg>
|
||||
<nSecure>0</nSecure>
|
||||
<RoSelD>3</RoSelD>
|
||||
<RwSelD>3</RwSelD>
|
||||
<CodeSel>0</CodeSel>
|
||||
<OptFeed>0</OptFeed>
|
||||
<NoZi1>0</NoZi1>
|
||||
<NoZi2>0</NoZi2>
|
||||
<NoZi3>0</NoZi3>
|
||||
<NoZi4>0</NoZi4>
|
||||
<NoZi5>0</NoZi5>
|
||||
<Ro1Chk>0</Ro1Chk>
|
||||
<Ro2Chk>0</Ro2Chk>
|
||||
<Ro3Chk>0</Ro3Chk>
|
||||
<Ir1Chk>1</Ir1Chk>
|
||||
<Ir2Chk>0</Ir2Chk>
|
||||
<Ra1Chk>0</Ra1Chk>
|
||||
<Ra2Chk>0</Ra2Chk>
|
||||
<Ra3Chk>0</Ra3Chk>
|
||||
<Im1Chk>1</Im1Chk>
|
||||
<Im2Chk>0</Im2Chk>
|
||||
<OnChipMemories>
|
||||
<Ocm1>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm1>
|
||||
<Ocm2>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm2>
|
||||
<Ocm3>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm3>
|
||||
<Ocm4>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm4>
|
||||
<Ocm5>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm5>
|
||||
<Ocm6>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm6>
|
||||
<IRAM>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x20000000</StartAddress>
|
||||
<Size>0x20000</Size>
|
||||
</IRAM>
|
||||
<IROM>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x40000</Size>
|
||||
</IROM>
|
||||
<XRAM>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</XRAM>
|
||||
<OCR_RVCT1>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT1>
|
||||
<OCR_RVCT2>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT2>
|
||||
<OCR_RVCT3>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT3>
|
||||
<OCR_RVCT4>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x40000</Size>
|
||||
</OCR_RVCT4>
|
||||
<OCR_RVCT5>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT5>
|
||||
<OCR_RVCT6>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT6>
|
||||
<OCR_RVCT7>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT7>
|
||||
<OCR_RVCT8>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT8>
|
||||
<OCR_RVCT9>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x20000000</StartAddress>
|
||||
<Size>0x20000</Size>
|
||||
</OCR_RVCT9>
|
||||
<OCR_RVCT10>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT10>
|
||||
</OnChipMemories>
|
||||
<RvctStartVector></RvctStartVector>
|
||||
</ArmAdsMisc>
|
||||
<Cads>
|
||||
<interw>1</interw>
|
||||
<Optim>4</Optim>
|
||||
<oTime>0</oTime>
|
||||
<SplitLS>0</SplitLS>
|
||||
<OneElfS>1</OneElfS>
|
||||
<Strict>0</Strict>
|
||||
<EnumInt>0</EnumInt>
|
||||
<PlainCh>0</PlainCh>
|
||||
<Ropi>0</Ropi>
|
||||
<Rwpi>0</Rwpi>
|
||||
<wLevel>0</wLevel>
|
||||
<uThumb>0</uThumb>
|
||||
<uSurpInc>0</uSurpInc>
|
||||
<uC99>1</uC99>
|
||||
<uGnu>1</uGnu>
|
||||
<useXO>0</useXO>
|
||||
<v6Lang>1</v6Lang>
|
||||
<v6LangP>1</v6LangP>
|
||||
<vShortEn>1</vShortEn>
|
||||
<vShortWch>1</vShortWch>
|
||||
<v6Lto>0</v6Lto>
|
||||
<v6WtE>0</v6WtE>
|
||||
<v6Rtti>0</v6Rtti>
|
||||
<VariousControls>
|
||||
<MiscControls>--c99</MiscControls>
|
||||
<Define>XC60XX XC6XX_5C=0 DEBUG_ENABLE HID_MOUSE_ENABLE=1 HAL_PCD_MODULE_ENABLED USB_OTG_FS USB_SINGLE_DEVICE USB_HID HID_CLASS_MODE=4</Define>
|
||||
<Undefine></Undefine>
|
||||
<IncludePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\CMSIS\Device\xc_m0_register;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\CMSIS\Device;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\CMSIS;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\usb_driver;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Target;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Core;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Class\HID;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\App\hid;..\app\api;..\app\Startup\xc60xx</IncludePath>
|
||||
</VariousControls>
|
||||
</Cads>
|
||||
<Aads>
|
||||
<interw>1</interw>
|
||||
<Ropi>0</Ropi>
|
||||
<Rwpi>0</Rwpi>
|
||||
<thumb>0</thumb>
|
||||
<SplitLS>0</SplitLS>
|
||||
<SwStkChk>0</SwStkChk>
|
||||
<NoWarn>0</NoWarn>
|
||||
<uSurpInc>0</uSurpInc>
|
||||
<useXO>0</useXO>
|
||||
<ClangAsOpt>1</ClangAsOpt>
|
||||
<VariousControls>
|
||||
<MiscControls></MiscControls>
|
||||
<Define></Define>
|
||||
<Undefine></Undefine>
|
||||
<IncludePath></IncludePath>
|
||||
</VariousControls>
|
||||
</Aads>
|
||||
<LDads>
|
||||
<umfTarg>0</umfTarg>
|
||||
<Ropi>0</Ropi>
|
||||
<Rwpi>0</Rwpi>
|
||||
<noStLib>0</noStLib>
|
||||
<RepFail>1</RepFail>
|
||||
<useFile>0</useFile>
|
||||
<TextAddressRange>0x00000000</TextAddressRange>
|
||||
<DataAddressRange>0x00000000</DataAddressRange>
|
||||
<pXoBase></pXoBase>
|
||||
<ScatterFile>.\Linker\cpu.scat</ScatterFile>
|
||||
<IncludeLibs></IncludeLibs>
|
||||
<IncludeLibsPath></IncludeLibsPath>
|
||||
<Misc>--entry=Reset_Handler</Misc>
|
||||
<LinkerInputFile></LinkerInputFile>
|
||||
<DisabledWarnings></DisabledWarnings>
|
||||
</LDads>
|
||||
</TargetArmAds>
|
||||
</TargetOption>
|
||||
<Groups>
|
||||
<Group>
|
||||
<GroupName>startup</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>core_cm0.h</FileName>
|
||||
<FileType>5</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\CMSIS\core_cm0.h</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>startup_xinc.s</FileName>
|
||||
<FileType>2</FileType>
|
||||
<FilePath>..\app\Startup\xc60xx\startup_xinc.s</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>system_xinc.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\Startup\system_xinc.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>system_it_xinc.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\Startup\system_it_xinc.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>app</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>main.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\app\src\main.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>Drivers</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>xc_drv_adc.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_adc.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_drv_clock.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_clock.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_drv_systick.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_systick.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_drv_pwr.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_pwr.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_drv_uart.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_uart.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_drv_gpio.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_gpio.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>ringbuffer.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\ringbuffer.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_hal_usb.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\usb_driver\xc_hal_usb.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_hal_pcd_np.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\usb_driver\xc_hal_pcd_np.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_hal_ll_usb_np.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\usb_driver\xc_hal_ll_usb_np.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>middleware/App/hid</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>usb_device.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\App\hid\usb_device.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>usbd_desc.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\App\hid\usbd_desc.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>middleware/Library/Class/HID</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>usbd_hid.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Class\HID\usbd_hid.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>middleware/Library/Core</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>usbd_core.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Core\usbd_core.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>usbd_ctlreq.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Core\usbd_ctlreq.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>usbd_ioreq.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Core\usbd_ioreq.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>middleware/Target</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>usbd_conf.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Target\usbd_conf.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
</Groups>
|
||||
</Target>
|
||||
</Targets>
|
||||
|
||||
<RTE>
|
||||
<apis/>
|
||||
<components/>
|
||||
<files/>
|
||||
</RTE>
|
||||
|
||||
<LayerInfo>
|
||||
<Layers>
|
||||
<Layer>
|
||||
<LayName><Project Info></LayName>
|
||||
<LayDesc></LayDesc>
|
||||
<LayUrl></LayUrl>
|
||||
<LayKeys></LayKeys>
|
||||
<LayCat></LayCat>
|
||||
<LayLic></LayLic>
|
||||
<LayTarg>0</LayTarg>
|
||||
<LayPrjMark>1</LayPrjMark>
|
||||
</Layer>
|
||||
</Layers>
|
||||
</LayerInfo>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,232 @@
|
||||
/*!
|
||||
* \file system_it_xinc.c
|
||||
*
|
||||
* \brief Target system interruption implementation
|
||||
*
|
||||
* \copyright Revised BSD License, see section \ref LICENSE.
|
||||
*
|
||||
* \code
|
||||
*
|
||||
* _ __ _ ________ _
|
||||
* | |/ /(_)___ / ____/ /_ (_)___
|
||||
* | // / __ \/ / / __ \/ / __ \
|
||||
* / |/ / / / / /___/ / / / / /_/ /
|
||||
* /_/|_/_/_/ /_/\____/_/ /_/_/ .___/
|
||||
* /_/
|
||||
* (C) 2022-2025 XinChip
|
||||
*
|
||||
* \endcode
|
||||
*
|
||||
* \author ( XinChip ) Alex-J
|
||||
*
|
||||
* \author ( XinChip )
|
||||
*/
|
||||
|
||||
/*-----------------------------------------------------------------------------------
|
||||
INCLUDE HEADE FILES
|
||||
------------------------------------------------------------------------------------*/
|
||||
#include "system_it_xinc.h"
|
||||
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Func Prototype
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Functions
|
||||
-------------------------------------------------------------------------------------*/
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles NMI exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void NMI_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN NonMaskableInt_IRQn */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END NonMaskableInt_IRQn */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles Hard Fault exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void HardFault_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN HardFault_IRQn */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END HardFault_IRQn */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles Memory Manage exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void MemManage_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles Bus Fault exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void BusFault_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles Usage Fault exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void UsageFault_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles SVCall exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void SVC_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN SVCall_IRQn */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END SVCall_IRQn */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles Debug Monitor exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void DebugMon_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles PendSVC exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void PendSV_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN PendSV_IRQn */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END PendSV_IRQn */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/****************************** Hard Fault Handler Functions *******************************/
|
||||
/*------------------------------------------------------------------------------------
|
||||
Private Functions
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
void HardFault_Handler_c(unsigned int * HardFault_args)
|
||||
{
|
||||
/*栈帧里面内容:*/
|
||||
unsigned int stack_r0; //压栈的 R0
|
||||
unsigned int stack_r1; //压栈的 R1
|
||||
unsigned int stack_r2; //压栈的 R2
|
||||
unsigned int stack_r3; //压栈的 R3
|
||||
unsigned int stack_r12; //压栈的 R12
|
||||
unsigned int stack_lr; //压栈的 lr
|
||||
unsigned int stack_pc; //压栈的 pc
|
||||
unsigned int stack_psr; //压栈的 psr
|
||||
|
||||
stack_r0 = ((unsigned int)HardFault_args[0]);
|
||||
stack_r1 = ((unsigned int)HardFault_args[1]);
|
||||
stack_r2 = ((unsigned int)HardFault_args[2]);
|
||||
stack_r3 = ((unsigned int)HardFault_args[3]);
|
||||
stack_r12 = ((unsigned int)HardFault_args[4]);
|
||||
stack_lr = ((unsigned int)HardFault_args[5]);
|
||||
stack_pc = ((unsigned int)HardFault_args[6]);
|
||||
stack_psr = ((unsigned int)HardFault_args[7]);
|
||||
|
||||
DEBUG("----%s----\n", __func__);
|
||||
DEBUG("R0=%x\n",stack_r0);
|
||||
DEBUG("R1=%x\n",stack_r1);
|
||||
DEBUG("R2=%x\n",stack_r2);
|
||||
DEBUG("R3=%x\n",stack_r3);
|
||||
DEBUG("R12=%x\n",stack_r12);
|
||||
DEBUG("LR[R14]=%x\n",stack_lr);
|
||||
DEBUG("PC[R15]=%x\n",stack_pc);
|
||||
DEBUG("PSR=%x\n",stack_psr);
|
||||
DEBUG("SCB_SHCSR=%x\n",SCB->SHCSR);
|
||||
DEBUG("---------------------------\n");
|
||||
|
||||
while(1);
|
||||
}
|
||||
|
||||
/*******************************************************************************************/
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
/*!
|
||||
* \file system_it_xinc.h
|
||||
*
|
||||
* \brief The header of system_it_xinc.c
|
||||
*
|
||||
* \copyright Revised BSD License, see section \ref LICENSE.
|
||||
*
|
||||
* \code
|
||||
*
|
||||
* _ __ _ ________ _
|
||||
* | |/ /(_)___ / ____/ /_ (_)___
|
||||
* | // / __ \/ / / __ \/ / __ \
|
||||
* / |/ / / / / /___/ / / / / /_/ /
|
||||
* /_/|_/_/_/ /_/\____/_/ /_/_/ .___/
|
||||
* /_/
|
||||
* (C) 2022-2025 XinChip
|
||||
*
|
||||
* \endcode
|
||||
*
|
||||
* \author ( XinChip ) Alex-J
|
||||
*
|
||||
* \author ( XinChip )
|
||||
*/
|
||||
|
||||
/* Define to prevent recursive inclusion -------------------------------------*/
|
||||
#ifndef __SYSTEM_IT_XINC_H__
|
||||
#define __SYSTEM_IT_XINC_H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*-----------------------------------------------------------------------------------
|
||||
INCLUDE HEADE FILES
|
||||
------------------------------------------------------------------------------------*/
|
||||
#include "xc6xxx.h"
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Exported Functions
|
||||
-------------------------------------------------------------------------------------*/
|
||||
void NMI_Handler( void );
|
||||
void HardFault_Handler( void );
|
||||
void MemManage_Handler( void );
|
||||
void BusFault_Handler( void );
|
||||
void UsageFault_Handler( void );
|
||||
void SVC_Handler( void );
|
||||
void DebugMon_Handler( void );
|
||||
void PendSV_Handler( void );
|
||||
|
||||
void HardFault_Handler_c(unsigned int * HardFault_args);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __SYSTEM_IT_XINC_H__ */
|
||||
|
||||
@@ -0,0 +1,177 @@
|
||||
/**
|
||||
* Initialize the system
|
||||
*
|
||||
* @param none
|
||||
* @return none
|
||||
*
|
||||
* @brief Setup the microcontroller system
|
||||
*
|
||||
*/
|
||||
|
||||
/*-----------------------------------------------------------------------------------
|
||||
INCLUDE HEADE FILES
|
||||
------------------------------------------------------------------------------------*/
|
||||
#include <stdio.h>
|
||||
|
||||
#include "xc6xxx.h"
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Macros
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define __DEBUG_OUT_PORT 0
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Functions
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
void debug_uart_init(void)
|
||||
{
|
||||
#if (__DEBUG_OUT_PORT == 0)
|
||||
|
||||
GPIO_InitCfg_t gpio_cfg = {0};
|
||||
|
||||
gpio_cfg.Mux = GPIO_Mux0;
|
||||
gpio_cfg.Pull = GPIO_PULLUP;
|
||||
gpio_cfg.Int = NOT_INT;
|
||||
gpio_cfg.FunSel = UART0_TX;
|
||||
|
||||
gpio_cfg.Pin = GPIO_18;
|
||||
gpio_cfg.Dir = GPIO_DIR_OUTPUT;
|
||||
xc_gpio_init(&gpio_cfg);
|
||||
|
||||
gpio_cfg.FunSel = UART0_RX;
|
||||
gpio_cfg.Pin = GPIO_19;
|
||||
gpio_cfg.Dir = GPIO_DIR_INPUT;
|
||||
xc_gpio_init(&gpio_cfg);
|
||||
|
||||
UART_InitCfg_t uart_cfg = {0};
|
||||
|
||||
uart_cfg.Parity = UART_PARITY_DISABLE;
|
||||
uart_cfg.StopBits = UART_STOP_1_BITS;
|
||||
uart_cfg.WordLength = UART_DATA_8_BITS;
|
||||
uart_cfg.BaudRate = UART_BAUDRATE_115200;
|
||||
uart_cfg.HardwareFlowControl = UART_HWFC_DISABLE;
|
||||
|
||||
xc_uart_init(UART0_IDX, &uart_cfg);
|
||||
#else
|
||||
|
||||
GPIO_InitCfg_t gpio_cfg = {0};
|
||||
|
||||
gpio_cfg.Mux = GPIO_Mux0;
|
||||
gpio_cfg.Pull = GPIO_PULLUP;
|
||||
gpio_cfg.Int = NOT_INT;
|
||||
gpio_cfg.FunSel = UART1_TX;
|
||||
|
||||
gpio_cfg.Pin = GPIO_14;
|
||||
gpio_cfg.Dir = GPIO_DIR_OUTPUT;
|
||||
xc_gpio_init(&gpio_cfg);
|
||||
|
||||
gpio_cfg.FunSel = UART1_RX;
|
||||
gpio_cfg.Pin = GPIO_15;
|
||||
gpio_cfg.Dir = GPIO_DIR_INPUT;
|
||||
xc_gpio_init(&gpio_cfg);
|
||||
|
||||
UART_InitCfg_t uart_cfg = {0};
|
||||
|
||||
uart_cfg.Parity = UART_PARITY_DISABLE;
|
||||
uart_cfg.StopBits = UART_STOP_1_BITS;
|
||||
uart_cfg.WordLength = UART_DATA_8_BITS;
|
||||
uart_cfg.BaudRate = UART_BAUDRATE_115200;
|
||||
uart_cfg.HardwareFlowControl = UART_HWFC_DISABLE;
|
||||
|
||||
xc_uart_init(UART1_IDX, &uart_cfg);
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
#define VECTOR_NUM 48
|
||||
|
||||
void set_vector(void)
|
||||
{
|
||||
#if (USE_XIP == 1)
|
||||
__disable_irq();
|
||||
for (uint32_t i = 0, *Pvector = (uint32_t *)(0x11001000 + 0),
|
||||
*_vector_table = (uint32_t *)(0x10000000);
|
||||
i < VECTOR_NUM; i++) // copy vertor table
|
||||
{
|
||||
_vector_table[i] = *Pvector++;
|
||||
}
|
||||
|
||||
*((volatile unsigned int *)(0x4000013C)) =
|
||||
0x10000001; // inter vertor table remap
|
||||
__enable_irq();
|
||||
#endif
|
||||
}
|
||||
|
||||
static void WDT_ResetInit(void)
|
||||
{
|
||||
cpr_ctlapbclken_grctl__wdt_pclk_en__setf(ENABLE);
|
||||
|
||||
cpr_rstctl_ctlapb_sw__wdt_rstn__setf(RSTCTL_ENABLE);
|
||||
cpr_rstctl_ctlapb_sw__wdt_rstn__setf(RSTCTL_DISABLE);
|
||||
|
||||
cpr_rstctl_wdtrst_mask_set(
|
||||
(WDT_SYS_RSTN_MASK_DISABLE | WDT_M0_RSTN_MASK_ENABLE));
|
||||
|
||||
cpr_lp_ctl__ctl_wdt_tclk_en__setf(ENABLE);
|
||||
wdt_cr__wdt_en__setf(DISABLE);
|
||||
}
|
||||
|
||||
void SystemInit(void)
|
||||
{
|
||||
|
||||
WDT_ResetInit();
|
||||
|
||||
#if (USE_XIP == 1)
|
||||
|
||||
set_vector();
|
||||
#endif
|
||||
|
||||
debug_uart_init();
|
||||
}
|
||||
|
||||
__RAM_CODE int sendchar(int c)
|
||||
{
|
||||
unsigned int status;
|
||||
#if (__DEBUG_OUT_PORT == 1)
|
||||
for (;;) {
|
||||
status = (*((volatile unsigned *)(0x40011000 + 0x14)));
|
||||
status &= 0x20;
|
||||
if (status == 0x20)
|
||||
break;
|
||||
}
|
||||
(*((volatile unsigned *)(0x40011000 + 0x00))) = c;
|
||||
return (1);
|
||||
#else
|
||||
for (;;) {
|
||||
status = (*((volatile unsigned *)(0x40010000 + 0x14)));
|
||||
status &= 0x20;
|
||||
if (status == 0x20)
|
||||
break;
|
||||
}
|
||||
(*((volatile unsigned *)(0x40010000 + 0x00))) = c;
|
||||
return (1);
|
||||
#endif
|
||||
}
|
||||
|
||||
struct __FILE
|
||||
{
|
||||
int handle; /* Add whatever you need here */
|
||||
};
|
||||
|
||||
FILE __stdout;
|
||||
__RAM_CODE int fputc(int ch, FILE *f) { return (sendchar(ch)); }
|
||||
|
||||
int ferror(FILE *f)
|
||||
{
|
||||
/* Your implementation of ferror */
|
||||
return EOF;
|
||||
}
|
||||
|
||||
void _ttywrch(int ch) { sendchar(ch); }
|
||||
|
||||
void _sys_exit(int return_code)
|
||||
{
|
||||
label:
|
||||
goto label; /* endless loop */
|
||||
}
|
||||
@@ -0,0 +1,256 @@
|
||||
|
||||
;/*****************************************************************************
|
||||
; * @file: startup_xinc.s
|
||||
; * @purpose: CMSIS Cortex-M0 Core Device Startup File for the
|
||||
; * Device xinc.
|
||||
; *****************************************************************************/
|
||||
|
||||
Stack_Size EQU 0x00001000
|
||||
|
||||
AREA STACK, NOINIT, READWRITE, ALIGN=3
|
||||
Stack_Mem SPACE Stack_Size
|
||||
__initial_sp
|
||||
|
||||
Heap_Size EQU 0x00000000
|
||||
|
||||
AREA HEAP, NOINIT, READWRITE, ALIGN=3
|
||||
__heap_base
|
||||
Heap_Mem SPACE Heap_Size
|
||||
__heap_limit
|
||||
|
||||
|
||||
PRESERVE8
|
||||
THUMB
|
||||
|
||||
; Vector Table Mapped to Address 0 at Reset
|
||||
|
||||
AREA RESET, DATA, READONLY
|
||||
EXPORT __Vectors
|
||||
EXPORT __Vectors_End
|
||||
EXPORT __Vectors_Size
|
||||
|
||||
__Vectors DCD __initial_sp ; Top of Stack
|
||||
DCD Reset_Handler ; Reset Handler
|
||||
DCD NMI_Handler ; NMI Handler
|
||||
DCD HardFault_Handler ; Hard Fault Handler
|
||||
DCD MemManage_Handler ; MPU Fault Handler
|
||||
DCD BusFault_Handler ; Bus Fault Handler
|
||||
DCD UsageFault_Handler ; Usage Fault Handler
|
||||
DCD 0 ; Reserved
|
||||
DCD 0 ; Reserved
|
||||
DCD 0 ; Reserved
|
||||
DCD 0 ; Reserved
|
||||
DCD SVC_Handler ; SVCall Handler
|
||||
DCD DebugMon_Handler ; Debug Monitor Handler
|
||||
DCD 0 ; Reserved
|
||||
DCD PendSV_Handler ; PendSV Handler
|
||||
DCD SysTick_Handler ; SysTick Handler
|
||||
|
||||
; External Interrupts
|
||||
; ToDo: Add here the vectors for the device specific external interrupts handler
|
||||
DCD BLE_Handler ; 0
|
||||
DCD DMA_Handler ; 1
|
||||
DCD CPR_Handler ; 2
|
||||
DCD GPIO_Handler ; 3
|
||||
DCD RTC_Handler ; 4
|
||||
DCD TIMER0_Handler ; 5
|
||||
DCD TIMER1_Handler ; 6
|
||||
DCD TIMER2_Handler ; 7
|
||||
DCD TIMER3_Handler ; 8
|
||||
DCD WDT_Handler ; 9
|
||||
DCD I2C_Handler ; 10
|
||||
DCD UART0_Handler ; 11
|
||||
DCD UART1_Handler ; 12
|
||||
DCD SPI0_Handler ; 13
|
||||
DCD SPI1_Handler ; 14
|
||||
DCD 0 ; 15
|
||||
DCD 0 ; 16
|
||||
DCD GADC_Handler ; 17
|
||||
DCD PWM_Handler ; 18
|
||||
DCD AES_Handler ; 19
|
||||
DCD USB_Handler ; 20
|
||||
DCD AUDIO_Handler ; 21
|
||||
DCD RF24G_Handler ; 22
|
||||
DCD SPI2_Handler ; 23
|
||||
DCD 0 ; 24
|
||||
DCD UART2_Handler ; 25
|
||||
DCD I2S_Handler ; 26
|
||||
DCD AOTIMER0_Handler ; 27
|
||||
DCD AOTIMER1_Handler ; 28
|
||||
DCD CMP_Handler ; 29
|
||||
DCD FMC_Handler ; 30
|
||||
DCD CAN_Handler ; 31
|
||||
|
||||
__Vectors_End
|
||||
|
||||
__Vectors_Size EQU __Vectors_End - __Vectors
|
||||
|
||||
|
||||
|
||||
AREA |.text|, CODE, READONLY
|
||||
; Reset Handler
|
||||
|
||||
Reset_Handler PROC
|
||||
|
||||
EXPORT Reset_Handler [WEAK]
|
||||
|
||||
IMPORT SystemInit
|
||||
IMPORT __main
|
||||
|
||||
LDR r0, =0x4000013C ; remap
|
||||
LDR r1, =0x10000001
|
||||
STR r1, [r0]
|
||||
|
||||
|
||||
|
||||
LDR R0, =SystemInit
|
||||
BLX R0
|
||||
|
||||
LDR R0, =__main
|
||||
BX R0
|
||||
|
||||
ENDP
|
||||
|
||||
; Dummy Exception Handlers (infinite loops which can be modified)
|
||||
NMI_Handler PROC
|
||||
EXPORT NMI_Handler [WEAK]
|
||||
B .
|
||||
ENDP
|
||||
|
||||
|
||||
HardFault_Handler\
|
||||
PROC
|
||||
IMPORT HardFault_Handler_c ;函数声明
|
||||
movs r0, #4 ;判断主栈指针还是进程栈指针
|
||||
mov r1, lr
|
||||
tst r0, r1
|
||||
beq hf_used_msp ;如果是主栈指针
|
||||
mrs r0, psp ;否则是进程栈指针,把进程栈指针地址付给 R0
|
||||
ldr r1, =HardFault_Handler_c ;跳转到 HardFault 中断程序
|
||||
bx r1
|
||||
hf_used_msp
|
||||
mrs r0, msp ;把主栈指针地址赋给 R0
|
||||
ldr r1, =HardFault_Handler_c
|
||||
bx r1
|
||||
;EXPORT HardFault_Handler [WEAK]
|
||||
;B .
|
||||
ENDP
|
||||
MemManage_Handler\
|
||||
PROC
|
||||
EXPORT MemManage_Handler [WEAK]
|
||||
B .
|
||||
ENDP
|
||||
BusFault_Handler\
|
||||
PROC
|
||||
EXPORT BusFault_Handler [WEAK]
|
||||
B .
|
||||
ENDP
|
||||
UsageFault_Handler\
|
||||
PROC
|
||||
EXPORT UsageFault_Handler [WEAK]
|
||||
B .
|
||||
ENDP
|
||||
SVC_Handler PROC
|
||||
EXPORT SVC_Handler [WEAK]
|
||||
B .
|
||||
ENDP
|
||||
DebugMon_Handler\
|
||||
PROC
|
||||
EXPORT DebugMon_Handler [WEAK]
|
||||
B .
|
||||
ENDP
|
||||
|
||||
Default_Handler PROC
|
||||
EXPORT BLE_Handler [WEAK]
|
||||
EXPORT DMA_Handler [WEAK]
|
||||
EXPORT CPR_Handler [WEAK]
|
||||
EXPORT GPIO_Handler [WEAK]
|
||||
EXPORT RTC_Handler [WEAK]
|
||||
EXPORT TIMER0_Handler [WEAK]
|
||||
EXPORT TIMER1_Handler [WEAK]
|
||||
EXPORT TIMER2_Handler [WEAK]
|
||||
EXPORT TIMER3_Handler [WEAK]
|
||||
EXPORT WDT_Handler [WEAK]
|
||||
EXPORT I2C_Handler [WEAK]
|
||||
EXPORT UART0_Handler [WEAK]
|
||||
EXPORT UART1_Handler [WEAK]
|
||||
EXPORT SPI0_Handler [WEAK]
|
||||
EXPORT SPI1_Handler [WEAK]
|
||||
;EXPORT KBS_Handler [WEAK]
|
||||
;EXPORT QDEC_Handler [WEAK]
|
||||
EXPORT GADC_Handler [WEAK]
|
||||
EXPORT PWM_Handler [WEAK]
|
||||
EXPORT AES_Handler [WEAK]
|
||||
|
||||
EXPORT PendSV_Handler [WEAK]
|
||||
EXPORT SysTick_Handler [WEAK]
|
||||
|
||||
EXPORT USB_Handler [WEAK];20
|
||||
EXPORT AUDIO_Handler [WEAK];21
|
||||
EXPORT RF24G_Handler [WEAK];22
|
||||
EXPORT SPI2_Handler [WEAK];23
|
||||
;EXPORT MPU_Handler [WEAK];24
|
||||
EXPORT UART2_Handler [WEAK];25
|
||||
EXPORT I2S_Handler [WEAK];26
|
||||
EXPORT AOTIMER0_Handler [WEAK];27
|
||||
EXPORT AOTIMER1_Handler [WEAK];28
|
||||
EXPORT CMP_Handler [WEAK];29
|
||||
EXPORT FMC_Handler [WEAK];30
|
||||
EXPORT CAN_Handler [WEAK];31
|
||||
|
||||
PendSV_Handler
|
||||
SysTick_Handler
|
||||
BLE_Handler
|
||||
RF24G_Handler
|
||||
DMA_Handler
|
||||
CPR_Handler
|
||||
GPIO_Handler
|
||||
RTC_Handler
|
||||
TIMER0_Handler
|
||||
TIMER1_Handler
|
||||
TIMER2_Handler
|
||||
TIMER3_Handler
|
||||
WDT_Handler
|
||||
I2C_Handler
|
||||
I2S_Handler
|
||||
UART0_Handler
|
||||
UART1_Handler
|
||||
UART2_Handler
|
||||
SPI0_Handler
|
||||
SPI1_Handler
|
||||
SPI2_Handler
|
||||
;KBS_Handler
|
||||
;QDEC_Handler
|
||||
GADC_Handler
|
||||
PWM_Handler
|
||||
AUDIO_Handler
|
||||
;SIM_Handler
|
||||
AES_Handler
|
||||
AOTIMER0_Handler
|
||||
AOTIMER1_Handler
|
||||
CMP_Handler
|
||||
FMC_Handler
|
||||
CAN_Handler
|
||||
USB_Handler
|
||||
|
||||
B .
|
||||
ENDP
|
||||
|
||||
|
||||
ALIGN
|
||||
|
||||
; User Initial Stack & Heap
|
||||
|
||||
IMPORT __use_two_region_memory
|
||||
EXPORT __user_initial_stackheap
|
||||
__user_initial_stackheap
|
||||
|
||||
LDR R0, = Heap_Mem
|
||||
LDR R1, = (Stack_Mem + Stack_Size)
|
||||
LDR R2, = (Heap_Mem + Heap_Size)
|
||||
LDR R3, = Stack_Mem
|
||||
BX LR
|
||||
|
||||
ALIGN
|
||||
|
||||
END
|
||||
@@ -0,0 +1,160 @@
|
||||
/*!
|
||||
* \file main.c
|
||||
*
|
||||
* \brief Target main implementation
|
||||
*
|
||||
* \copyright Revised BSD License, see section \ref LICENSE.
|
||||
*
|
||||
* \code
|
||||
*
|
||||
* _ __ _ ________ _
|
||||
* | |/ /(_)___ / ____/ /_ (_)___
|
||||
* | // / __ \/ / / __ \/ / __ \
|
||||
* / |/ / / / / /___/ / / / / /_/ /
|
||||
* /_/|_/_/_/ /_/\____/_/ /_/_/ .___/
|
||||
* /_/
|
||||
* (C) 2022-2025 XinChip
|
||||
*
|
||||
* \endcode
|
||||
*
|
||||
* \author ( XinChip ) Alex-J
|
||||
*
|
||||
* \author ( XinChip )
|
||||
*/
|
||||
|
||||
/*-----------------------------------------------------------------------------------
|
||||
INCLUDE HEADE FILES
|
||||
------------------------------------------------------------------------------------*/
|
||||
#include "xc6xxx.h"
|
||||
#include "usbd_core.h"
|
||||
#include "usb_device.h"
|
||||
#include "usbd_hid.h"
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Macros
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define LED_PIN 3U
|
||||
#define KEY_CAPS_PIN 7U
|
||||
|
||||
#define CAPS_LOCK_VAL 0x02
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Global Variables
|
||||
-------------------------------------------------------------------------------------*/
|
||||
eKeyState key_state = KEY_RELEASE;
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Functions
|
||||
-------------------------------------------------------------------------------------*/
|
||||
void SysTick_Callback(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void clock_init(void)
|
||||
{
|
||||
CLOCK_InitCfg_t clock_cfg;
|
||||
|
||||
clock_cfg.hfclk_src = CLOCK_HFCLK_SRC_XTAL;
|
||||
clock_cfg.hfclk_in = CLOCK_HFCLK_IN_32M;
|
||||
clock_cfg.lfclk_src = CLOCK_LFCLK_SRC_RC;
|
||||
|
||||
if (clock_cfg.lfclk_src == CLOCK_LFCLK_SRC_XTAL) {
|
||||
clock_cfg.lfclk_in = CLOCK_LFCLK_IN_32768;
|
||||
} else if (clock_cfg.lfclk_src == CLOCK_LFCLK_SRC_RC) {
|
||||
clock_cfg.lfclk_in = CLOCK_LFCLK_IN_32K;
|
||||
}
|
||||
|
||||
xc_clock_init_cfg(&clock_cfg);
|
||||
|
||||
SysTick_Config(xc_clock_hfclk_in_get() / 100);
|
||||
SysTick->CTRL &= ~SysTick_CTRL_TICKINT_Msk;
|
||||
}
|
||||
|
||||
void app_uart_init(void)
|
||||
{
|
||||
GPIO_InitCfg_t gpio_cfg = {0};
|
||||
|
||||
gpio_cfg.Mux = GPIO_Mux0;
|
||||
gpio_cfg.Pull = GPIO_PULLUP;
|
||||
gpio_cfg.Int = NOT_INT;
|
||||
gpio_cfg.FunSel = UART0_TX;
|
||||
|
||||
gpio_cfg.Pin = GPIO_18;
|
||||
gpio_cfg.Dir = GPIO_DIR_OUTPUT;
|
||||
xc_gpio_init(&gpio_cfg);
|
||||
|
||||
gpio_cfg.FunSel = UART0_RX;
|
||||
gpio_cfg.Pin = GPIO_19;
|
||||
gpio_cfg.Dir = GPIO_DIR_INPUT;
|
||||
xc_gpio_init(&gpio_cfg);
|
||||
|
||||
UART_InitCfg_t uart_cfg = {0};
|
||||
|
||||
uart_cfg.Parity = UART_PARITY_DISABLE;
|
||||
uart_cfg.StopBits = UART_STOP_1_BITS;
|
||||
uart_cfg.WordLength = UART_DATA_8_BITS;
|
||||
uart_cfg.BaudRate = UART_BAUDRATE_115200;
|
||||
uart_cfg.HardwareFlowControl = UART_HWFC_DISABLE;
|
||||
|
||||
xc_uart_init(UART0_IDX, &uart_cfg);
|
||||
}
|
||||
|
||||
void led_key_init(void)
|
||||
{
|
||||
GPIO_InitCfg_t gpio_cfg = {0};
|
||||
|
||||
gpio_cfg.FunSel = GPIO_Dx;
|
||||
gpio_cfg.Dir = GPIO_DIR_OUTPUT;
|
||||
gpio_cfg.Pull = GPIO_PULLUP;
|
||||
gpio_cfg.Int = NOT_INT;
|
||||
|
||||
gpio_cfg.Pin = LED_PIN;
|
||||
xc_gpio_init(&gpio_cfg);
|
||||
|
||||
xc_gpio_write_pin(LED_PIN, GPIO_PIN_RESET);
|
||||
|
||||
gpio_cfg.Dir = GPIO_DIR_INPUT;
|
||||
|
||||
gpio_cfg.Pin = KEY_CAPS_PIN;
|
||||
xc_gpio_init(&gpio_cfg);
|
||||
}
|
||||
|
||||
int main(void)
|
||||
{
|
||||
clock_init();
|
||||
|
||||
app_uart_init( );
|
||||
|
||||
DEBUG("__USB_HID_KEYBOARD_DEMO__\n");
|
||||
|
||||
led_key_init( );
|
||||
/* USB Device Initialization */
|
||||
USB_DEVICE_Init( );
|
||||
|
||||
while(1)
|
||||
{
|
||||
if(xc_gpio_read_pin(KEY_CAPS_PIN) == 0) {
|
||||
if(key_state == KEY_RELEASE) {
|
||||
key_state = KEY_PRESS;
|
||||
USB_Keyboard_Test_SendReport(KEY_PRESS);
|
||||
}
|
||||
if(key_state == KEY_PRESS) {
|
||||
key_state = KEY_HOLD_PRESS;
|
||||
}
|
||||
} else if((xc_gpio_read_pin(KEY_CAPS_PIN) == 1) && (key_state != KEY_RELEASE)) {
|
||||
key_state = KEY_RELEASE;
|
||||
USB_Keyboard_Test_SendReport(KEY_RELEASE);
|
||||
}
|
||||
|
||||
if((CAPS_LOCK_VAL & Report_buff[0]) == CAPS_LOCK_VAL)
|
||||
{
|
||||
xc_gpio_write_pin(LED_PIN, GPIO_PIN_SET);
|
||||
}
|
||||
else
|
||||
{
|
||||
xc_gpio_write_pin(LED_PIN, GPIO_PIN_RESET);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
|
||||
FUNC void Initialization(void)
|
||||
{
|
||||
SP = _RDWORD(0x10000000);
|
||||
PC = _RDWORD(0x10000004);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
LOAD %L INCREMENTAL
|
||||
Initialization();
|
||||
@@ -0,0 +1,35 @@
|
||||
[BREAKPOINTS]
|
||||
ForceImpTypeAny = 0
|
||||
ShowInfoWin = 1
|
||||
EnableFlashBP = 2
|
||||
BPDuringExecution = 0
|
||||
[CFI]
|
||||
CFISize = 0x00
|
||||
CFIAddr = 0x00
|
||||
[CPU]
|
||||
OverrideMemMap = 0
|
||||
AllowSimulation = 1
|
||||
ScriptFile=""
|
||||
[FLASH]
|
||||
CacheExcludeSize = 0x00
|
||||
CacheExcludeAddr = 0x00
|
||||
MinNumBytesFlashDL = 0
|
||||
SkipProgOnCRCMatch = 1
|
||||
VerifyDownload = 1
|
||||
AllowCaching = 1
|
||||
EnableFlashDL = 2
|
||||
Override = 1
|
||||
Device="Cortex-M4"
|
||||
[GENERAL]
|
||||
WorkRAMSize = 0x00
|
||||
WorkRAMAddr = 0x00
|
||||
RAMUsageLimit = 0x00
|
||||
[SWO]
|
||||
SWOLogFile=""
|
||||
[MEM]
|
||||
RdOverrideOrMask = 0x00
|
||||
RdOverrideAndMask = 0xFFFFFFFF
|
||||
RdOverrideAddr = 0xFFFFFFFF
|
||||
WrOverrideOrMask = 0x00
|
||||
WrOverrideAndMask = 0xFFFFFFFF
|
||||
WrOverrideAddr = 0xFFFFFFFF
|
||||
@@ -0,0 +1,15 @@
|
||||
|
||||
LOAD 0x10000000
|
||||
{
|
||||
EXE 0x10000000
|
||||
{
|
||||
startup_xinc.o (RESET, +FIRST)
|
||||
* (+RO)
|
||||
|
||||
}
|
||||
RW +0
|
||||
{
|
||||
* (+RW,+ZI)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,990 @@
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 1
|
||||
|
||||
|
||||
1 00000000
|
||||
2 00000000 ;/******************************************************
|
||||
***********************
|
||||
3 00000000 ; * @file: startup_xinc.s
|
||||
4 00000000 ; * @purpose: CMSIS Cortex-M0 Core Device Startup File f
|
||||
or the
|
||||
5 00000000 ; * Device xinc.
|
||||
6 00000000 ; ******************************************************
|
||||
***********************/
|
||||
7 00000000
|
||||
8 00000000 00001000
|
||||
Stack_Size
|
||||
EQU 0x00001000
|
||||
9 00000000
|
||||
10 00000000 AREA STACK, NOINIT, READWRITE, ALIGN
|
||||
=3
|
||||
11 00000000 Stack_Mem
|
||||
SPACE Stack_Size
|
||||
12 00001000 __initial_sp
|
||||
13 00001000
|
||||
14 00001000 00000000
|
||||
Heap_Size
|
||||
EQU 0x00000000
|
||||
15 00001000
|
||||
16 00001000 AREA HEAP, NOINIT, READWRITE, ALIGN=
|
||||
3
|
||||
17 00000000 __heap_base
|
||||
18 00000000 Heap_Mem
|
||||
SPACE Heap_Size
|
||||
19 00000000 __heap_limit
|
||||
20 00000000
|
||||
21 00000000
|
||||
22 00000000 PRESERVE8
|
||||
23 00000000 THUMB
|
||||
24 00000000
|
||||
25 00000000 ; Vector Table Mapped to Address 0 at Reset
|
||||
26 00000000
|
||||
27 00000000 AREA RESET, DATA, READONLY
|
||||
28 00000000 EXPORT __Vectors
|
||||
29 00000000 EXPORT __Vectors_End
|
||||
30 00000000 EXPORT __Vectors_Size
|
||||
31 00000000
|
||||
32 00000000 00000000
|
||||
__Vectors
|
||||
DCD __initial_sp ; Top of Stack
|
||||
33 00000004 00000000 DCD Reset_Handler ; Reset Handler
|
||||
34 00000008 00000000 DCD NMI_Handler ; NMI Handler
|
||||
35 0000000C 00000000 DCD HardFault_Handler ; Hard Fault
|
||||
Handler
|
||||
36 00000010 00000000 DCD MemManage_Handler
|
||||
; MPU Fault Handler
|
||||
|
||||
37 00000014 00000000 DCD BusFault_Handler
|
||||
; Bus Fault Handler
|
||||
|
||||
38 00000018 00000000 DCD UsageFault_Handler ; Usage Faul
|
||||
t Handler
|
||||
39 0000001C 00000000 DCD 0 ; Reserved
|
||||
40 00000020 00000000 DCD 0 ; Reserved
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 2
|
||||
|
||||
|
||||
41 00000024 00000000 DCD 0 ; Reserved
|
||||
42 00000028 00000000 DCD 0 ; Reserved
|
||||
43 0000002C 00000000 DCD SVC_Handler ; SVCall Handler
|
||||
44 00000030 00000000 DCD DebugMon_Handler ; Debug Monito
|
||||
r Handler
|
||||
45 00000034 00000000 DCD 0 ; Reserved
|
||||
46 00000038 00000000 DCD PendSV_Handler ; PendSV Handler
|
||||
|
||||
47 0000003C 00000000 DCD SysTick_Handler
|
||||
; SysTick Handler
|
||||
48 00000040
|
||||
49 00000040 ; External Interrupts
|
||||
50 00000040 ; ToDo: Add here the vectors for the device specific ex
|
||||
ternal interrupts handler
|
||||
51 00000040 00000000 DCD BLE_Handler ; 0
|
||||
52 00000044 00000000 DCD DMA_Handler ; 1
|
||||
53 00000048 00000000 DCD CPR_Handler ; 2
|
||||
54 0000004C 00000000 DCD GPIO_Handler ; 3
|
||||
55 00000050 00000000 DCD RTC_Handler ; 4
|
||||
56 00000054 00000000 DCD TIMER0_Handler ; 5
|
||||
57 00000058 00000000 DCD TIMER1_Handler ; 6
|
||||
58 0000005C 00000000 DCD TIMER2_Handler ; 7
|
||||
59 00000060 00000000 DCD TIMER3_Handler ; 8
|
||||
60 00000064 00000000 DCD WDT_Handler ; 9
|
||||
61 00000068 00000000 DCD I2C_Handler ; 10
|
||||
62 0000006C 00000000 DCD UART0_Handler ; 11
|
||||
63 00000070 00000000 DCD UART1_Handler ; 12
|
||||
64 00000074 00000000 DCD SPI0_Handler ; 13
|
||||
65 00000078 00000000 DCD SPI1_Handler ; 14
|
||||
66 0000007C 00000000 DCD 0 ; 15
|
||||
67 00000080 00000000 DCD 0 ; 16
|
||||
68 00000084 00000000 DCD GADC_Handler ; 17
|
||||
69 00000088 00000000 DCD PWM_Handler ; 18
|
||||
70 0000008C 00000000 DCD AES_Handler ; 19
|
||||
71 00000090 00000000 DCD USB_Handler ; 20
|
||||
72 00000094 00000000 DCD AUDIO_Handler
|
||||
; 21
|
||||
|
||||
73 00000098 00000000 DCD RF24G_Handler ; 22
|
||||
74 0000009C 00000000 DCD SPI2_Handler ; 23
|
||||
75 000000A0 00000000 DCD 0 ; 24
|
||||
76 000000A4 00000000 DCD UART2_Handler ; 25
|
||||
77 000000A8 00000000 DCD I2S_Handler ; 26
|
||||
78 000000AC 00000000 DCD AOTIMER0_Handler ; 27
|
||||
79 000000B0 00000000 DCD AOTIMER1_Handler ; 28
|
||||
80 000000B4 00000000 DCD CMP_Handler ; 29
|
||||
81 000000B8 00000000 DCD FMC_Handler ; 30
|
||||
82 000000BC 00000000 DCD CAN_Handler ; 31
|
||||
83 000000C0
|
||||
84 000000C0 __Vectors_End
|
||||
85 000000C0
|
||||
86 000000C0 000000C0
|
||||
__Vectors_Size
|
||||
EQU __Vectors_End - __Vectors
|
||||
87 000000C0
|
||||
88 000000C0
|
||||
89 000000C0
|
||||
90 000000C0 AREA |.text|, CODE, READONLY
|
||||
91 00000000 ; Reset Handler
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 3
|
||||
|
||||
|
||||
92 00000000
|
||||
93 00000000 Reset_Handler
|
||||
PROC
|
||||
94 00000000
|
||||
95 00000000 EXPORT Reset_Handler [WEAK]
|
||||
96 00000000
|
||||
97 00000000 IMPORT SystemInit
|
||||
98 00000000 IMPORT __main
|
||||
99 00000000
|
||||
100 00000000 480F LDR r0, =0x4000013C ; remap
|
||||
101 00000002 4910 LDR r1, =0x10000001
|
||||
102 00000004 6001 STR r1, [r0]
|
||||
103 00000006
|
||||
104 00000006
|
||||
105 00000006
|
||||
106 00000006 4810 LDR R0, =SystemInit
|
||||
107 00000008 4780 BLX R0
|
||||
108 0000000A
|
||||
109 0000000A 4810 LDR R0, =__main
|
||||
110 0000000C 4700 BX R0
|
||||
111 0000000E
|
||||
112 0000000E ENDP
|
||||
113 0000000E
|
||||
114 0000000E ; Dummy Exception Handlers (infinite loops which can be
|
||||
modified)
|
||||
115 0000000E NMI_Handler
|
||||
PROC
|
||||
116 0000000E EXPORT NMI_Handler [WEAK
|
||||
]
|
||||
117 0000000E E7FE B .
|
||||
118 00000010 ENDP
|
||||
119 00000010
|
||||
120 00000010
|
||||
122 00000010 HardFault_Handler
|
||||
PROC
|
||||
123 00000010 IMPORT HardFault_Handler_c
|
||||
;函数声明
|
||||
124 00000010 2004 movs r0, #4 ;判æ–ä¸»æ ˆæŒ‡é’ˆ
|
||||
è¿˜æ˜¯è¿›ç¨‹æ ˆæŒ‡é
|
||||
’ˆ
|
||||
125 00000012 4671 mov r1, lr
|
||||
126 00000014 4208 tst r0, r1
|
||||
127 00000016 D003 beq hf_used_msp ;å¦‚æžœæ˜¯ä¸»æ ˆæŒ‡
|
||||
é’ˆ
|
||||
128 00000018 F3EF 8009 mrs r0, psp ;å�¦åˆ™æ˜¯è¿›ç¨‹æ ˆ
|
||||
指针,æŠŠè¿›ç¨‹æ ˆ
|
||||
指针地�付给
|
||||
R0
|
||||
129 0000001C 490C ldr r1, =HardFault_Handler_c ;è·³è½
|
||||
¬åˆ° HardFault 䏿
|
||||
–程åº�
|
||||
130 0000001E 4708 bx r1
|
||||
131 00000020 hf_used_msp
|
||||
132 00000020 F3EF 8008 mrs r0, msp ;æŠŠä¸»æ ˆæŒ‡é’ˆåœ°
|
||||
�赋给 R0
|
||||
133 00000024 490A ldr r1, =HardFault_Handler_c
|
||||
134 00000026 4708 bx r1
|
||||
135 00000028 ;EXPORT HardFault_Handler [WEAK]
|
||||
136 00000028 ;B .
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 4
|
||||
|
||||
|
||||
137 00000028 ENDP
|
||||
139 00000028 MemManage_Handler
|
||||
PROC
|
||||
140 00000028 EXPORT MemManage_Handler [WEAK
|
||||
]
|
||||
141 00000028 E7FE B .
|
||||
142 0000002A ENDP
|
||||
144 0000002A BusFault_Handler
|
||||
PROC
|
||||
145 0000002A EXPORT BusFault_Handler [WEAK
|
||||
]
|
||||
146 0000002A E7FE B .
|
||||
147 0000002C ENDP
|
||||
149 0000002C UsageFault_Handler
|
||||
PROC
|
||||
150 0000002C EXPORT UsageFault_Handler [WEAK
|
||||
]
|
||||
151 0000002C E7FE B .
|
||||
152 0000002E ENDP
|
||||
153 0000002E SVC_Handler
|
||||
PROC
|
||||
154 0000002E EXPORT SVC_Handler [WEAK
|
||||
]
|
||||
155 0000002E E7FE B .
|
||||
156 00000030 ENDP
|
||||
158 00000030 DebugMon_Handler
|
||||
PROC
|
||||
159 00000030 EXPORT DebugMon_Handler [WEAK
|
||||
]
|
||||
160 00000030 E7FE B .
|
||||
161 00000032 ENDP
|
||||
162 00000032
|
||||
163 00000032 Default_Handler
|
||||
PROC
|
||||
164 00000032 EXPORT BLE_Handler [WEAK
|
||||
]
|
||||
165 00000032 EXPORT DMA_Handler [WE
|
||||
AK]
|
||||
166 00000032 EXPORT CPR_Handler [WEAK]
|
||||
167 00000032 EXPORT GPIO_Handler [WEAK]
|
||||
168 00000032 EXPORT RTC_Handler [WEAK]
|
||||
169 00000032 EXPORT TIMER0_Handler [WEAK]
|
||||
170 00000032 EXPORT TIMER1_Handler [WEAK]
|
||||
171 00000032 EXPORT TIMER2_Handler [WEAK]
|
||||
172 00000032 EXPORT TIMER3_Handler [WEAK]
|
||||
173 00000032 EXPORT WDT_Handler [WE
|
||||
AK]
|
||||
174 00000032 EXPORT I2C_Handler [WEAK]
|
||||
175 00000032 EXPORT UART0_Handler [WEAK
|
||||
]
|
||||
176 00000032 EXPORT UART1_Handler [WE
|
||||
AK]
|
||||
177 00000032 EXPORT SPI0_Handler [WE
|
||||
AK]
|
||||
178 00000032 EXPORT SPI1_Handler [WE
|
||||
AK]
|
||||
179 00000032 ;EXPORT KBS_Handler [WEAK]
|
||||
180 00000032 ;EXPORT QDEC_Handler [WEAK]
|
||||
181 00000032 EXPORT GADC_Handler [WEAK]
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 5
|
||||
|
||||
|
||||
182 00000032 EXPORT PWM_Handler [WE
|
||||
AK]
|
||||
183 00000032 EXPORT AES_Handler [WE
|
||||
AK]
|
||||
184 00000032
|
||||
185 00000032 EXPORT PendSV_Handler [WEAK]
|
||||
186 00000032 EXPORT SysTick_Handler [WE
|
||||
AK]
|
||||
187 00000032
|
||||
188 00000032 EXPORT USB_Handler [WE
|
||||
AK]
|
||||
;20
|
||||
189 00000032 EXPORT AUDIO_Handler [WE
|
||||
AK]
|
||||
;21
|
||||
190 00000032 EXPORT RF24G_Handler [WE
|
||||
AK]
|
||||
;22
|
||||
191 00000032 EXPORT SPI2_Handler [WE
|
||||
AK]
|
||||
;23
|
||||
192 00000032 ;EXPORT MPU_Handler [WEAK];24
|
||||
193 00000032 EXPORT UART2_Handler [WE
|
||||
AK]
|
||||
;25
|
||||
194 00000032 EXPORT I2S_Handler [WE
|
||||
AK]
|
||||
;26
|
||||
195 00000032 EXPORT AOTIMER0_Handler [WE
|
||||
AK]
|
||||
;27
|
||||
196 00000032 EXPORT AOTIMER1_Handler [WE
|
||||
AK]
|
||||
;28
|
||||
197 00000032 EXPORT CMP_Handler [WE
|
||||
AK]
|
||||
;29
|
||||
198 00000032 EXPORT FMC_Handler [WE
|
||||
AK]
|
||||
;30
|
||||
199 00000032 EXPORT CAN_Handler [WE
|
||||
AK]
|
||||
;31
|
||||
200 00000032
|
||||
201 00000032 PendSV_Handler
|
||||
202 00000032 SysTick_Handler
|
||||
203 00000032 BLE_Handler
|
||||
204 00000032 RF24G_Handler
|
||||
205 00000032 DMA_Handler
|
||||
206 00000032 CPR_Handler
|
||||
207 00000032 GPIO_Handler
|
||||
208 00000032 RTC_Handler
|
||||
209 00000032 TIMER0_Handler
|
||||
210 00000032 TIMER1_Handler
|
||||
211 00000032 TIMER2_Handler
|
||||
212 00000032 TIMER3_Handler
|
||||
213 00000032 WDT_Handler
|
||||
214 00000032 I2C_Handler
|
||||
215 00000032 I2S_Handler
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 6
|
||||
|
||||
|
||||
216 00000032 UART0_Handler
|
||||
217 00000032 UART1_Handler
|
||||
218 00000032 UART2_Handler
|
||||
219 00000032 SPI0_Handler
|
||||
220 00000032 SPI1_Handler
|
||||
221 00000032 SPI2_Handler
|
||||
222 00000032 ;KBS_Handler
|
||||
223 00000032 ;QDEC_Handler
|
||||
224 00000032 GADC_Handler
|
||||
225 00000032 PWM_Handler
|
||||
226 00000032 AUDIO_Handler
|
||||
227 00000032 ;SIM_Handler
|
||||
228 00000032 AES_Handler
|
||||
229 00000032 AOTIMER0_Handler
|
||||
230 00000032 AOTIMER1_Handler
|
||||
231 00000032 CMP_Handler
|
||||
232 00000032 FMC_Handler
|
||||
233 00000032 CAN_Handler
|
||||
234 00000032 USB_Handler
|
||||
235 00000032
|
||||
236 00000032 E7FE B .
|
||||
237 00000034 ENDP
|
||||
238 00000034
|
||||
239 00000034
|
||||
240 00000034 ALIGN
|
||||
241 00000034
|
||||
242 00000034 ; User Initial Stack & Heap
|
||||
243 00000034
|
||||
244 00000034 IMPORT __use_two_region_memory
|
||||
245 00000034 EXPORT __user_initial_stackheap
|
||||
246 00000034 __user_initial_stackheap
|
||||
247 00000034
|
||||
248 00000034 4807 LDR R0, = Heap_Mem
|
||||
249 00000036 4908 LDR R1, = (Stack_Mem + Stack_Size)
|
||||
250 00000038 4A06 LDR R2, = (Heap_Mem + Heap_Size)
|
||||
251 0000003A 4B08 LDR R3, = Stack_Mem
|
||||
252 0000003C 4770 BX LR
|
||||
253 0000003E
|
||||
254 0000003E 00 00 ALIGN
|
||||
255 00000040
|
||||
256 00000040 END
|
||||
4000013C
|
||||
10000001
|
||||
00000000
|
||||
00000000
|
||||
00000000
|
||||
00000000
|
||||
00001000
|
||||
00000000
|
||||
Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M0 --apcs=interw
|
||||
ork --depend=.\objects\startup_xinc.d -o.\objects\startup_xinc.o -I.\RTE\_usb_h
|
||||
id_keboard -IC:\Keil_v5\ARM\PACK\ARM\CMSIS\5.7.0\Device\ARM\ARMCM0\Include -IC:
|
||||
\Keil_v5\ARM\CMSIS\Include --predefine="__UVISION_VERSION SETA 530" --predefine
|
||||
="ARMCM0 SETA 1" --predefine="_RTE_ SETA 1" --list=.\listing\startup_xinc.lst .
|
||||
.\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
STACK 00000000
|
||||
|
||||
Symbol: STACK
|
||||
Definitions
|
||||
At line 10 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: STACK unused
|
||||
Stack_Mem 00000000
|
||||
|
||||
Symbol: Stack_Mem
|
||||
Definitions
|
||||
At line 11 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 249 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 251 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
__initial_sp 00001000
|
||||
|
||||
Symbol: __initial_sp
|
||||
Definitions
|
||||
At line 12 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 32 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Comment: __initial_sp used once
|
||||
3 symbols
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
HEAP 00000000
|
||||
|
||||
Symbol: HEAP
|
||||
Definitions
|
||||
At line 16 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: HEAP unused
|
||||
Heap_Mem 00000000
|
||||
|
||||
Symbol: Heap_Mem
|
||||
Definitions
|
||||
At line 18 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 248 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 250 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
__heap_base 00000000
|
||||
|
||||
Symbol: __heap_base
|
||||
Definitions
|
||||
At line 17 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: __heap_base unused
|
||||
__heap_limit 00000000
|
||||
|
||||
Symbol: __heap_limit
|
||||
Definitions
|
||||
At line 19 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: __heap_limit unused
|
||||
4 symbols
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
RESET 00000000
|
||||
|
||||
Symbol: RESET
|
||||
Definitions
|
||||
At line 27 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: RESET unused
|
||||
__Vectors 00000000
|
||||
|
||||
Symbol: __Vectors
|
||||
Definitions
|
||||
At line 32 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 28 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 86 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
__Vectors_End 000000C0
|
||||
|
||||
Symbol: __Vectors_End
|
||||
Definitions
|
||||
At line 84 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 29 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 86 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
3 symbols
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
.text 00000000
|
||||
|
||||
Symbol: .text
|
||||
Definitions
|
||||
At line 90 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: .text unused
|
||||
AES_Handler 00000032
|
||||
|
||||
Symbol: AES_Handler
|
||||
Definitions
|
||||
At line 228 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 70 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 183 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
AOTIMER0_Handler 00000032
|
||||
|
||||
Symbol: AOTIMER0_Handler
|
||||
Definitions
|
||||
At line 229 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 78 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 195 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
AOTIMER1_Handler 00000032
|
||||
|
||||
Symbol: AOTIMER1_Handler
|
||||
Definitions
|
||||
At line 230 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 79 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 196 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
AUDIO_Handler 00000032
|
||||
|
||||
Symbol: AUDIO_Handler
|
||||
Definitions
|
||||
At line 226 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 72 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 189 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
BLE_Handler 00000032
|
||||
|
||||
Symbol: BLE_Handler
|
||||
Definitions
|
||||
At line 203 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 51 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 164 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
BusFault_Handler 0000002A
|
||||
|
||||
Symbol: BusFault_Handler
|
||||
Definitions
|
||||
At line 144 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 2 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
At line 37 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 145 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
CAN_Handler 00000032
|
||||
|
||||
Symbol: CAN_Handler
|
||||
Definitions
|
||||
At line 233 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 82 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 199 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
CMP_Handler 00000032
|
||||
|
||||
Symbol: CMP_Handler
|
||||
Definitions
|
||||
At line 231 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 80 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 197 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
CPR_Handler 00000032
|
||||
|
||||
Symbol: CPR_Handler
|
||||
Definitions
|
||||
At line 206 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 53 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 166 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
DMA_Handler 00000032
|
||||
|
||||
Symbol: DMA_Handler
|
||||
Definitions
|
||||
At line 205 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 52 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 165 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
DebugMon_Handler 00000030
|
||||
|
||||
Symbol: DebugMon_Handler
|
||||
Definitions
|
||||
At line 158 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 44 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 159 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
Default_Handler 00000032
|
||||
|
||||
Symbol: Default_Handler
|
||||
Definitions
|
||||
At line 163 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: Default_Handler unused
|
||||
FMC_Handler 00000032
|
||||
|
||||
Symbol: FMC_Handler
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 3 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
Definitions
|
||||
At line 232 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 81 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 198 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
GADC_Handler 00000032
|
||||
|
||||
Symbol: GADC_Handler
|
||||
Definitions
|
||||
At line 224 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 68 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 181 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
GPIO_Handler 00000032
|
||||
|
||||
Symbol: GPIO_Handler
|
||||
Definitions
|
||||
At line 207 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 54 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 167 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
HardFault_Handler 00000010
|
||||
|
||||
Symbol: HardFault_Handler
|
||||
Definitions
|
||||
At line 122 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 35 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Comment: HardFault_Handler used once
|
||||
I2C_Handler 00000032
|
||||
|
||||
Symbol: I2C_Handler
|
||||
Definitions
|
||||
At line 214 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 61 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 174 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
I2S_Handler 00000032
|
||||
|
||||
Symbol: I2S_Handler
|
||||
Definitions
|
||||
At line 215 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 77 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 194 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
MemManage_Handler 00000028
|
||||
|
||||
Symbol: MemManage_Handler
|
||||
Definitions
|
||||
At line 139 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 36 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 140 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 4 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
NMI_Handler 0000000E
|
||||
|
||||
Symbol: NMI_Handler
|
||||
Definitions
|
||||
At line 115 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 34 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 116 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
PWM_Handler 00000032
|
||||
|
||||
Symbol: PWM_Handler
|
||||
Definitions
|
||||
At line 225 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 69 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 182 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
PendSV_Handler 00000032
|
||||
|
||||
Symbol: PendSV_Handler
|
||||
Definitions
|
||||
At line 201 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 46 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 185 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
RF24G_Handler 00000032
|
||||
|
||||
Symbol: RF24G_Handler
|
||||
Definitions
|
||||
At line 204 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 73 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 190 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
RTC_Handler 00000032
|
||||
|
||||
Symbol: RTC_Handler
|
||||
Definitions
|
||||
At line 208 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 55 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 168 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
Reset_Handler 00000000
|
||||
|
||||
Symbol: Reset_Handler
|
||||
Definitions
|
||||
At line 93 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 33 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 95 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
SPI0_Handler 00000032
|
||||
|
||||
Symbol: SPI0_Handler
|
||||
Definitions
|
||||
At line 219 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 5 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
Uses
|
||||
At line 64 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 177 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
SPI1_Handler 00000032
|
||||
|
||||
Symbol: SPI1_Handler
|
||||
Definitions
|
||||
At line 220 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 65 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 178 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
SPI2_Handler 00000032
|
||||
|
||||
Symbol: SPI2_Handler
|
||||
Definitions
|
||||
At line 221 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 74 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 191 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
SVC_Handler 0000002E
|
||||
|
||||
Symbol: SVC_Handler
|
||||
Definitions
|
||||
At line 153 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 43 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 154 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
SysTick_Handler 00000032
|
||||
|
||||
Symbol: SysTick_Handler
|
||||
Definitions
|
||||
At line 202 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 47 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 186 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
TIMER0_Handler 00000032
|
||||
|
||||
Symbol: TIMER0_Handler
|
||||
Definitions
|
||||
At line 209 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 56 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 169 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
TIMER1_Handler 00000032
|
||||
|
||||
Symbol: TIMER1_Handler
|
||||
Definitions
|
||||
At line 210 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 57 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 170 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
TIMER2_Handler 00000032
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 6 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
|
||||
Symbol: TIMER2_Handler
|
||||
Definitions
|
||||
At line 211 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 58 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 171 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
TIMER3_Handler 00000032
|
||||
|
||||
Symbol: TIMER3_Handler
|
||||
Definitions
|
||||
At line 212 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 59 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 172 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
UART0_Handler 00000032
|
||||
|
||||
Symbol: UART0_Handler
|
||||
Definitions
|
||||
At line 216 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 62 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 175 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
UART1_Handler 00000032
|
||||
|
||||
Symbol: UART1_Handler
|
||||
Definitions
|
||||
At line 217 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 63 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 176 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
UART2_Handler 00000032
|
||||
|
||||
Symbol: UART2_Handler
|
||||
Definitions
|
||||
At line 218 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 76 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 193 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
USB_Handler 00000032
|
||||
|
||||
Symbol: USB_Handler
|
||||
Definitions
|
||||
At line 234 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 71 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 188 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
UsageFault_Handler 0000002C
|
||||
|
||||
Symbol: UsageFault_Handler
|
||||
Definitions
|
||||
At line 149 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 7 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
At line 38 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 150 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
WDT_Handler 00000032
|
||||
|
||||
Symbol: WDT_Handler
|
||||
Definitions
|
||||
At line 213 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 60 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 173 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
__user_initial_stackheap 00000034
|
||||
|
||||
Symbol: __user_initial_stackheap
|
||||
Definitions
|
||||
At line 246 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 245 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Comment: __user_initial_stackheap used once
|
||||
hf_used_msp 00000020
|
||||
|
||||
Symbol: hf_used_msp
|
||||
Definitions
|
||||
At line 131 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 127 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Comment: hf_used_msp used once
|
||||
43 symbols
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||||
Absolute symbols
|
||||
|
||||
Heap_Size 00000000
|
||||
|
||||
Symbol: Heap_Size
|
||||
Definitions
|
||||
At line 14 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 18 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 250 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
Stack_Size 00001000
|
||||
|
||||
Symbol: Stack_Size
|
||||
Definitions
|
||||
At line 8 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 11 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 249 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
__Vectors_Size 000000C0
|
||||
|
||||
Symbol: __Vectors_Size
|
||||
Definitions
|
||||
At line 86 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 30 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Comment: __Vectors_Size used once
|
||||
3 symbols
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||||
External symbols
|
||||
|
||||
HardFault_Handler_c 00000000
|
||||
|
||||
Symbol: HardFault_Handler_c
|
||||
Definitions
|
||||
At line 123 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 129 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 133 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
SystemInit 00000000
|
||||
|
||||
Symbol: SystemInit
|
||||
Definitions
|
||||
At line 97 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 106 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Comment: SystemInit used once
|
||||
__main 00000000
|
||||
|
||||
Symbol: __main
|
||||
Definitions
|
||||
At line 98 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 109 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Comment: __main used once
|
||||
__use_two_region_memory 00000000
|
||||
|
||||
Symbol: __use_two_region_memory
|
||||
Definitions
|
||||
At line 244 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: __use_two_region_memory unused
|
||||
4 symbols
|
||||
395 symbols in table
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
Xincboot_tool.exe 0_ram.bin 1_ram_download.bin 0 0 0 0 1
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
.\Tools\xinchip_xip_tool.exe .\Output\0_ram.bin .\Output\xip_dual .\Output\1_xip_download.bin
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,552 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||
<ProjectOpt xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="project_optx.xsd">
|
||||
|
||||
<SchemaVersion>1.0</SchemaVersion>
|
||||
|
||||
<Header>### uVision Project, (C) Keil Software</Header>
|
||||
|
||||
<Extensions>
|
||||
<cExt>*.c</cExt>
|
||||
<aExt>*.s*; *.src; *.a*</aExt>
|
||||
<oExt>*.obj; *.o</oExt>
|
||||
<lExt>*.lib</lExt>
|
||||
<tExt>*.txt; *.h; *.inc</tExt>
|
||||
<pExt>*.plm</pExt>
|
||||
<CppX>*.cpp</CppX>
|
||||
<nMigrate>0</nMigrate>
|
||||
</Extensions>
|
||||
|
||||
<DaveTm>
|
||||
<dwLowDateTime>0</dwLowDateTime>
|
||||
<dwHighDateTime>0</dwHighDateTime>
|
||||
</DaveTm>
|
||||
|
||||
<Target>
|
||||
<TargetName>usb_hid_keboard</TargetName>
|
||||
<ToolsetNumber>0x4</ToolsetNumber>
|
||||
<ToolsetName>ARM-ADS</ToolsetName>
|
||||
<TargetOption>
|
||||
<CLKADS>12000000</CLKADS>
|
||||
<OPTTT>
|
||||
<gFlags>1</gFlags>
|
||||
<BeepAtEnd>1</BeepAtEnd>
|
||||
<RunSim>0</RunSim>
|
||||
<RunTarget>1</RunTarget>
|
||||
<RunAbUc>0</RunAbUc>
|
||||
</OPTTT>
|
||||
<OPTHX>
|
||||
<HexSelection>1</HexSelection>
|
||||
<FlashByte>65535</FlashByte>
|
||||
<HexRangeLowAddress>0</HexRangeLowAddress>
|
||||
<HexRangeHighAddress>0</HexRangeHighAddress>
|
||||
<HexOffset>0</HexOffset>
|
||||
</OPTHX>
|
||||
<OPTLEX>
|
||||
<PageWidth>79</PageWidth>
|
||||
<PageLength>66</PageLength>
|
||||
<TabStop>8</TabStop>
|
||||
<ListingPath>.\Listing\</ListingPath>
|
||||
</OPTLEX>
|
||||
<ListingPage>
|
||||
<CreateCListing>1</CreateCListing>
|
||||
<CreateAListing>1</CreateAListing>
|
||||
<CreateLListing>1</CreateLListing>
|
||||
<CreateIListing>0</CreateIListing>
|
||||
<AsmCond>1</AsmCond>
|
||||
<AsmSymb>1</AsmSymb>
|
||||
<AsmXref>0</AsmXref>
|
||||
<CCond>1</CCond>
|
||||
<CCode>0</CCode>
|
||||
<CListInc>0</CListInc>
|
||||
<CSymb>0</CSymb>
|
||||
<LinkerCodeListing>0</LinkerCodeListing>
|
||||
</ListingPage>
|
||||
<OPTXL>
|
||||
<LMap>1</LMap>
|
||||
<LComments>1</LComments>
|
||||
<LGenerateSymbols>1</LGenerateSymbols>
|
||||
<LLibSym>1</LLibSym>
|
||||
<LLines>1</LLines>
|
||||
<LLocSym>1</LLocSym>
|
||||
<LPubSym>1</LPubSym>
|
||||
<LXref>0</LXref>
|
||||
<LExpSel>0</LExpSel>
|
||||
</OPTXL>
|
||||
<OPTFL>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<IsCurrentTarget>1</IsCurrentTarget>
|
||||
</OPTFL>
|
||||
<CpuCode>7</CpuCode>
|
||||
<DebugOpt>
|
||||
<uSim>0</uSim>
|
||||
<uTrg>1</uTrg>
|
||||
<sLdApp>1</sLdApp>
|
||||
<sGomain>1</sGomain>
|
||||
<sRbreak>1</sRbreak>
|
||||
<sRwatch>1</sRwatch>
|
||||
<sRmem>1</sRmem>
|
||||
<sRfunc>1</sRfunc>
|
||||
<sRbox>1</sRbox>
|
||||
<tLdApp>1</tLdApp>
|
||||
<tGomain>1</tGomain>
|
||||
<tRbreak>1</tRbreak>
|
||||
<tRwatch>1</tRwatch>
|
||||
<tRmem>1</tRmem>
|
||||
<tRfunc>0</tRfunc>
|
||||
<tRbox>1</tRbox>
|
||||
<tRtrace>1</tRtrace>
|
||||
<sRSysVw>1</sRSysVw>
|
||||
<tRSysVw>1</tRSysVw>
|
||||
<sRunDeb>0</sRunDeb>
|
||||
<sLrtime>0</sLrtime>
|
||||
<bEvRecOn>1</bEvRecOn>
|
||||
<bSchkAxf>0</bSchkAxf>
|
||||
<bTchkAxf>0</bTchkAxf>
|
||||
<nTsel>4</nTsel>
|
||||
<sDll></sDll>
|
||||
<sDllPa></sDllPa>
|
||||
<sDlgDll></sDlgDll>
|
||||
<sDlgPa></sDlgPa>
|
||||
<sIfile></sIfile>
|
||||
<tDll></tDll>
|
||||
<tDllPa></tDllPa>
|
||||
<tDlgDll></tDlgDll>
|
||||
<tDlgPa></tDlgPa>
|
||||
<tIfile>.\Linker\Initialization.ini</tIfile>
|
||||
<pMon>Segger\JL2CM3.dll</pMon>
|
||||
</DebugOpt>
|
||||
<TargetDriverDllRegistry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>ARMRTXEVENTFLAGS</Key>
|
||||
<Name>-L70 -Z18 -C0 -M0 -T1</Name>
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>DLGTARM</Key>
|
||||
<Name>(1010=-1,-1,-1,-1,0)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)</Name>
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>ARMDBGFLAGS</Key>
|
||||
<Name></Name>
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>UL2CM3</Key>
|
||||
<Name>UL2CM3(-S0 -C0 -P0 -FC1000 -FD20000000</Name>
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>JL2CM3</Key>
|
||||
<Name>-U4294967295 -O78 -S2 -ZTIFSpeedSel5000 -A0 -C0 -JU1 -JI127.0.0.1 -JP0 -RST0 -N00("ARM CoreSight SW-DP") -D00(0BB11477) -L00(0) -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -TB1 -TFE0 -FO7 -FD10000000 -FC1000 -FN1 -FF0xc620 -FS010000000 -FL020000</Name>
|
||||
</SetRegEntry>
|
||||
</TargetDriverDllRegistry>
|
||||
<Breakpoint/>
|
||||
<WatchWindow1>
|
||||
<Ww>
|
||||
<count>0</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>baudrate</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>1</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>mul</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>2</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>div</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>3</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>adj_div</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>4</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>clk_ctl</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>5</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>HID_Load_Finish</ItemText>
|
||||
</Ww>
|
||||
</WatchWindow1>
|
||||
<MemoryWindow1>
|
||||
<Mm>
|
||||
<WinNumber>1</WinNumber>
|
||||
<SubType>0</SubType>
|
||||
<ItemText>0X40000040</ItemText>
|
||||
<AccSizeX>0</AccSizeX>
|
||||
</Mm>
|
||||
</MemoryWindow1>
|
||||
<Tracepoint>
|
||||
<THDelay>0</THDelay>
|
||||
</Tracepoint>
|
||||
<DebugFlag>
|
||||
<trace>0</trace>
|
||||
<periodic>0</periodic>
|
||||
<aLwin>1</aLwin>
|
||||
<aCover>0</aCover>
|
||||
<aSer1>0</aSer1>
|
||||
<aSer2>0</aSer2>
|
||||
<aPa>0</aPa>
|
||||
<viewmode>1</viewmode>
|
||||
<vrSel>0</vrSel>
|
||||
<aSym>0</aSym>
|
||||
<aTbox>0</aTbox>
|
||||
<AscS1>0</AscS1>
|
||||
<AscS2>0</AscS2>
|
||||
<AscS3>0</AscS3>
|
||||
<aSer3>0</aSer3>
|
||||
<eProf>0</eProf>
|
||||
<aLa>0</aLa>
|
||||
<aPa1>0</aPa1>
|
||||
<AscS4>0</AscS4>
|
||||
<aSer4>0</aSer4>
|
||||
<StkLoc>0</StkLoc>
|
||||
<TrcWin>0</TrcWin>
|
||||
<newCpu>0</newCpu>
|
||||
<uProt>0</uProt>
|
||||
</DebugFlag>
|
||||
<LintExecutable></LintExecutable>
|
||||
<LintConfigFile></LintConfigFile>
|
||||
<bLintAuto>0</bLintAuto>
|
||||
<bAutoGenD>0</bAutoGenD>
|
||||
<LntExFlags>0</LntExFlags>
|
||||
<pMisraName></pMisraName>
|
||||
<pszMrule></pszMrule>
|
||||
<pSingCmds></pSingCmds>
|
||||
<pMultCmds></pMultCmds>
|
||||
<pMisraNamep></pMisraNamep>
|
||||
<pszMrulep></pszMrulep>
|
||||
<pSingCmdsp></pSingCmdsp>
|
||||
<pMultCmdsp></pMultCmdsp>
|
||||
</TargetOption>
|
||||
</Target>
|
||||
|
||||
<Group>
|
||||
<GroupName>startup</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>1</GroupNumber>
|
||||
<FileNumber>1</FileNumber>
|
||||
<FileType>5</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\CMSIS\core_cm0.h</PathWithFileName>
|
||||
<FilenameWithoutPath>core_cm0.h</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>1</GroupNumber>
|
||||
<FileNumber>2</FileNumber>
|
||||
<FileType>2</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\app\Startup\xc60xx\startup_xinc.s</PathWithFileName>
|
||||
<FilenameWithoutPath>startup_xinc.s</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>1</GroupNumber>
|
||||
<FileNumber>3</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\app\Startup\system_xinc.c</PathWithFileName>
|
||||
<FilenameWithoutPath>system_xinc.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>1</GroupNumber>
|
||||
<FileNumber>4</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\app\Startup\system_it_xinc.c</PathWithFileName>
|
||||
<FilenameWithoutPath>system_it_xinc.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>app</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>2</GroupNumber>
|
||||
<FileNumber>5</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\app\src\main.c</PathWithFileName>
|
||||
<FilenameWithoutPath>main.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>Drivers</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>6</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_clock.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_clock.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>7</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_systick.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_systick.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>8</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_pwr.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_pwr.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>9</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_gpio.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_gpio.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>10</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_adc.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_adc.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>11</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\usb_driver\xc_hal_ll_usb_np.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_hal_ll_usb_np.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>12</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\usb_driver\xc_hal_pcd_np.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_hal_pcd_np.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>13</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\usb_driver\xc_hal_usb.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_hal_usb.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>14</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_uart.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_uart.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>15</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\ringbuffer.c</PathWithFileName>
|
||||
<FilenameWithoutPath>ringbuffer.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>middleware/App/hid</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>4</GroupNumber>
|
||||
<FileNumber>16</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\App\hid\usb_device.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usb_device.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>4</GroupNumber>
|
||||
<FileNumber>17</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\App\hid\usbd_desc.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usbd_desc.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>middleware/Library/Class/HID</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>18</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Class\HID\usbd_hid.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usbd_hid.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>middleware/Library/Core</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>6</GroupNumber>
|
||||
<FileNumber>19</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Core\usbd_core.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usbd_core.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>6</GroupNumber>
|
||||
<FileNumber>20</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Core\usbd_ctlreq.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usbd_ctlreq.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>6</GroupNumber>
|
||||
<FileNumber>21</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Core\usbd_ioreq.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usbd_ioreq.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>middleware/Target</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>7</GroupNumber>
|
||||
<FileNumber>22</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Target\usbd_conf.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usbd_conf.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
</ProjectOpt>
|
||||
@@ -0,0 +1,553 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||
<Project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="project_projx.xsd">
|
||||
|
||||
<SchemaVersion>2.1</SchemaVersion>
|
||||
|
||||
<Header>### uVision Project, (C) Keil Software</Header>
|
||||
|
||||
<Targets>
|
||||
<Target>
|
||||
<TargetName>usb_hid_keboard</TargetName>
|
||||
<ToolsetNumber>0x4</ToolsetNumber>
|
||||
<ToolsetName>ARM-ADS</ToolsetName>
|
||||
<pCCUsed>5060750::V5.06 update 6 (build 750)::.\ARMCC</pCCUsed>
|
||||
<uAC6>0</uAC6>
|
||||
<TargetOption>
|
||||
<TargetCommonOption>
|
||||
<Device>ARMCM0</Device>
|
||||
<Vendor>ARM</Vendor>
|
||||
<PackID>ARM.CMSIS.5.7.0</PackID>
|
||||
<PackURL>http://www.keil.com/pack/</PackURL>
|
||||
<Cpu>IRAM(0x20000000,0x00020000) IROM(0x00000000,0x00040000) CPUTYPE("Cortex-M0") CLOCK(12000000) ESEL ELITTLE</Cpu>
|
||||
<FlashUtilSpec></FlashUtilSpec>
|
||||
<StartupFile></StartupFile>
|
||||
<FlashDriverDll>UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000)</FlashDriverDll>
|
||||
<DeviceId>0</DeviceId>
|
||||
<RegisterFile>$$Device:ARMCM0$Device\ARM\ARMCM0\Include\ARMCM0.h</RegisterFile>
|
||||
<MemoryEnv></MemoryEnv>
|
||||
<Cmp></Cmp>
|
||||
<Asm></Asm>
|
||||
<Linker></Linker>
|
||||
<OHString></OHString>
|
||||
<InfinionOptionDll></InfinionOptionDll>
|
||||
<SLE66CMisc></SLE66CMisc>
|
||||
<SLE66AMisc></SLE66AMisc>
|
||||
<SLE66LinkerMisc></SLE66LinkerMisc>
|
||||
<SFDFile></SFDFile>
|
||||
<bCustSvd>0</bCustSvd>
|
||||
<UseEnv>0</UseEnv>
|
||||
<BinPath></BinPath>
|
||||
<IncludePath></IncludePath>
|
||||
<LibPath></LibPath>
|
||||
<RegisterFilePath></RegisterFilePath>
|
||||
<DBRegisterFilePath></DBRegisterFilePath>
|
||||
<TargetStatus>
|
||||
<Error>0</Error>
|
||||
<ExitCodeStop>0</ExitCodeStop>
|
||||
<ButtonStop>0</ButtonStop>
|
||||
<NotGenerated>0</NotGenerated>
|
||||
<InvalidFlash>1</InvalidFlash>
|
||||
</TargetStatus>
|
||||
<OutputDirectory>.\Objects\</OutputDirectory>
|
||||
<OutputName>xc6xxx_usb</OutputName>
|
||||
<CreateExecutable>1</CreateExecutable>
|
||||
<CreateLib>0</CreateLib>
|
||||
<CreateHexFile>1</CreateHexFile>
|
||||
<DebugInformation>1</DebugInformation>
|
||||
<BrowseInformation>1</BrowseInformation>
|
||||
<ListingPath>.\Listing\</ListingPath>
|
||||
<HexFormatSelection>1</HexFormatSelection>
|
||||
<Merge32K>0</Merge32K>
|
||||
<CreateBatchFile>0</CreateBatchFile>
|
||||
<BeforeCompile>
|
||||
<RunUserProg1>0</RunUserProg1>
|
||||
<RunUserProg2>0</RunUserProg2>
|
||||
<UserProg1Name></UserProg1Name>
|
||||
<UserProg2Name></UserProg2Name>
|
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
|
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
|
||||
<nStopU1X>0</nStopU1X>
|
||||
<nStopU2X>0</nStopU2X>
|
||||
</BeforeCompile>
|
||||
<BeforeMake>
|
||||
<RunUserProg1>0</RunUserProg1>
|
||||
<RunUserProg2>0</RunUserProg2>
|
||||
<UserProg1Name></UserProg1Name>
|
||||
<UserProg2Name></UserProg2Name>
|
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
|
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
|
||||
<nStopB1X>0</nStopB1X>
|
||||
<nStopB2X>0</nStopB2X>
|
||||
</BeforeMake>
|
||||
<AfterMake>
|
||||
<RunUserProg1>1</RunUserProg1>
|
||||
<RunUserProg2>1</RunUserProg2>
|
||||
<UserProg1Name>fromelf --bin --output=.\Output\0_ram.bin !L</UserProg1Name>
|
||||
<UserProg2Name>.\tools\Xincboot_tool .\Output\0_ram.bin .\Output\1_ram_download.bin</UserProg2Name>
|
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
|
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
|
||||
<nStopA1X>0</nStopA1X>
|
||||
<nStopA2X>0</nStopA2X>
|
||||
</AfterMake>
|
||||
<SelectedForBatchBuild>0</SelectedForBatchBuild>
|
||||
<SVCSIdString></SVCSIdString>
|
||||
</TargetCommonOption>
|
||||
<CommonProperty>
|
||||
<UseCPPCompiler>0</UseCPPCompiler>
|
||||
<RVCTCodeConst>0</RVCTCodeConst>
|
||||
<RVCTZI>0</RVCTZI>
|
||||
<RVCTOtherData>0</RVCTOtherData>
|
||||
<ModuleSelection>0</ModuleSelection>
|
||||
<IncludeInBuild>1</IncludeInBuild>
|
||||
<AlwaysBuild>0</AlwaysBuild>
|
||||
<GenerateAssemblyFile>0</GenerateAssemblyFile>
|
||||
<AssembleAssemblyFile>0</AssembleAssemblyFile>
|
||||
<PublicsOnly>0</PublicsOnly>
|
||||
<StopOnExitCode>3</StopOnExitCode>
|
||||
<CustomArgument></CustomArgument>
|
||||
<IncludeLibraryModules></IncludeLibraryModules>
|
||||
<ComprImg>1</ComprImg>
|
||||
</CommonProperty>
|
||||
<DllOption>
|
||||
<SimDllName>SARMCM3.DLL</SimDllName>
|
||||
<SimDllArguments> </SimDllArguments>
|
||||
<SimDlgDll>DARMCM1.DLL</SimDlgDll>
|
||||
<SimDlgDllArguments>-pCM0</SimDlgDllArguments>
|
||||
<TargetDllName>SARMCM3.DLL</TargetDllName>
|
||||
<TargetDllArguments> </TargetDllArguments>
|
||||
<TargetDlgDll>TARMCM1.DLL</TargetDlgDll>
|
||||
<TargetDlgDllArguments>-pCM0</TargetDlgDllArguments>
|
||||
</DllOption>
|
||||
<DebugOption>
|
||||
<OPTHX>
|
||||
<HexSelection>1</HexSelection>
|
||||
<HexRangeLowAddress>0</HexRangeLowAddress>
|
||||
<HexRangeHighAddress>0</HexRangeHighAddress>
|
||||
<HexOffset>0</HexOffset>
|
||||
<Oh166RecLen>16</Oh166RecLen>
|
||||
</OPTHX>
|
||||
</DebugOption>
|
||||
<Utilities>
|
||||
<Flash1>
|
||||
<UseTargetDll>1</UseTargetDll>
|
||||
<UseExternalTool>0</UseExternalTool>
|
||||
<RunIndependent>0</RunIndependent>
|
||||
<UpdateFlashBeforeDebugging>1</UpdateFlashBeforeDebugging>
|
||||
<Capability>1</Capability>
|
||||
<DriverSelection>4096</DriverSelection>
|
||||
</Flash1>
|
||||
<bUseTDR>1</bUseTDR>
|
||||
<Flash2>BIN\UL2CM3.DLL</Flash2>
|
||||
<Flash3>"" ()</Flash3>
|
||||
<Flash4></Flash4>
|
||||
<pFcarmOut></pFcarmOut>
|
||||
<pFcarmGrp></pFcarmGrp>
|
||||
<pFcArmRoot></pFcArmRoot>
|
||||
<FcArmLst>0</FcArmLst>
|
||||
</Utilities>
|
||||
<TargetArmAds>
|
||||
<ArmAdsMisc>
|
||||
<GenerateListings>0</GenerateListings>
|
||||
<asHll>1</asHll>
|
||||
<asAsm>1</asAsm>
|
||||
<asMacX>1</asMacX>
|
||||
<asSyms>1</asSyms>
|
||||
<asFals>1</asFals>
|
||||
<asDbgD>1</asDbgD>
|
||||
<asForm>1</asForm>
|
||||
<ldLst>0</ldLst>
|
||||
<ldmm>1</ldmm>
|
||||
<ldXref>1</ldXref>
|
||||
<BigEnd>0</BigEnd>
|
||||
<AdsALst>1</AdsALst>
|
||||
<AdsACrf>1</AdsACrf>
|
||||
<AdsANop>0</AdsANop>
|
||||
<AdsANot>0</AdsANot>
|
||||
<AdsLLst>1</AdsLLst>
|
||||
<AdsLmap>1</AdsLmap>
|
||||
<AdsLcgr>1</AdsLcgr>
|
||||
<AdsLsym>1</AdsLsym>
|
||||
<AdsLszi>1</AdsLszi>
|
||||
<AdsLtoi>1</AdsLtoi>
|
||||
<AdsLsun>1</AdsLsun>
|
||||
<AdsLven>1</AdsLven>
|
||||
<AdsLsxf>1</AdsLsxf>
|
||||
<RvctClst>0</RvctClst>
|
||||
<GenPPlst>0</GenPPlst>
|
||||
<AdsCpuType>"Cortex-M0"</AdsCpuType>
|
||||
<RvctDeviceName></RvctDeviceName>
|
||||
<mOS>0</mOS>
|
||||
<uocRom>0</uocRom>
|
||||
<uocRam>0</uocRam>
|
||||
<hadIROM>1</hadIROM>
|
||||
<hadIRAM>1</hadIRAM>
|
||||
<hadXRAM>0</hadXRAM>
|
||||
<uocXRam>0</uocXRam>
|
||||
<RvdsVP>0</RvdsVP>
|
||||
<RvdsMve>0</RvdsMve>
|
||||
<RvdsCdeCp>0</RvdsCdeCp>
|
||||
<hadIRAM2>0</hadIRAM2>
|
||||
<hadIROM2>0</hadIROM2>
|
||||
<StupSel>8</StupSel>
|
||||
<useUlib>0</useUlib>
|
||||
<EndSel>1</EndSel>
|
||||
<uLtcg>0</uLtcg>
|
||||
<nSecure>0</nSecure>
|
||||
<RoSelD>3</RoSelD>
|
||||
<RwSelD>3</RwSelD>
|
||||
<CodeSel>0</CodeSel>
|
||||
<OptFeed>0</OptFeed>
|
||||
<NoZi1>0</NoZi1>
|
||||
<NoZi2>0</NoZi2>
|
||||
<NoZi3>0</NoZi3>
|
||||
<NoZi4>0</NoZi4>
|
||||
<NoZi5>0</NoZi5>
|
||||
<Ro1Chk>0</Ro1Chk>
|
||||
<Ro2Chk>0</Ro2Chk>
|
||||
<Ro3Chk>0</Ro3Chk>
|
||||
<Ir1Chk>1</Ir1Chk>
|
||||
<Ir2Chk>0</Ir2Chk>
|
||||
<Ra1Chk>0</Ra1Chk>
|
||||
<Ra2Chk>0</Ra2Chk>
|
||||
<Ra3Chk>0</Ra3Chk>
|
||||
<Im1Chk>1</Im1Chk>
|
||||
<Im2Chk>0</Im2Chk>
|
||||
<OnChipMemories>
|
||||
<Ocm1>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm1>
|
||||
<Ocm2>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm2>
|
||||
<Ocm3>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm3>
|
||||
<Ocm4>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm4>
|
||||
<Ocm5>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm5>
|
||||
<Ocm6>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm6>
|
||||
<IRAM>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x20000000</StartAddress>
|
||||
<Size>0x20000</Size>
|
||||
</IRAM>
|
||||
<IROM>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x40000</Size>
|
||||
</IROM>
|
||||
<XRAM>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</XRAM>
|
||||
<OCR_RVCT1>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT1>
|
||||
<OCR_RVCT2>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT2>
|
||||
<OCR_RVCT3>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT3>
|
||||
<OCR_RVCT4>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x40000</Size>
|
||||
</OCR_RVCT4>
|
||||
<OCR_RVCT5>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT5>
|
||||
<OCR_RVCT6>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT6>
|
||||
<OCR_RVCT7>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT7>
|
||||
<OCR_RVCT8>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT8>
|
||||
<OCR_RVCT9>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x20000000</StartAddress>
|
||||
<Size>0x20000</Size>
|
||||
</OCR_RVCT9>
|
||||
<OCR_RVCT10>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT10>
|
||||
</OnChipMemories>
|
||||
<RvctStartVector></RvctStartVector>
|
||||
</ArmAdsMisc>
|
||||
<Cads>
|
||||
<interw>1</interw>
|
||||
<Optim>4</Optim>
|
||||
<oTime>0</oTime>
|
||||
<SplitLS>0</SplitLS>
|
||||
<OneElfS>1</OneElfS>
|
||||
<Strict>0</Strict>
|
||||
<EnumInt>0</EnumInt>
|
||||
<PlainCh>0</PlainCh>
|
||||
<Ropi>0</Ropi>
|
||||
<Rwpi>0</Rwpi>
|
||||
<wLevel>0</wLevel>
|
||||
<uThumb>0</uThumb>
|
||||
<uSurpInc>0</uSurpInc>
|
||||
<uC99>1</uC99>
|
||||
<uGnu>1</uGnu>
|
||||
<useXO>0</useXO>
|
||||
<v6Lang>1</v6Lang>
|
||||
<v6LangP>1</v6LangP>
|
||||
<vShortEn>1</vShortEn>
|
||||
<vShortWch>1</vShortWch>
|
||||
<v6Lto>0</v6Lto>
|
||||
<v6WtE>0</v6WtE>
|
||||
<v6Rtti>0</v6Rtti>
|
||||
<VariousControls>
|
||||
<MiscControls>--c99</MiscControls>
|
||||
<Define>XC60XX XC6XX_5C=0 DEBUG_ENABLE HID_KEYBOARD_ENABLE=1 HAL_PCD_MODULE_ENABLED USB_OTG_FS USB_SINGLE_DEVICE USB_HID HID_CLASS_MODE=2</Define>
|
||||
<Undefine></Undefine>
|
||||
<IncludePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\CMSIS\Device;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\CMSIS;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Target;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Core;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Class\HID;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\App\hid;..\app\api;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\usb_driver;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\CMSIS\Device\xc_m0_register</IncludePath>
|
||||
</VariousControls>
|
||||
</Cads>
|
||||
<Aads>
|
||||
<interw>1</interw>
|
||||
<Ropi>0</Ropi>
|
||||
<Rwpi>0</Rwpi>
|
||||
<thumb>0</thumb>
|
||||
<SplitLS>0</SplitLS>
|
||||
<SwStkChk>0</SwStkChk>
|
||||
<NoWarn>0</NoWarn>
|
||||
<uSurpInc>0</uSurpInc>
|
||||
<useXO>0</useXO>
|
||||
<ClangAsOpt>1</ClangAsOpt>
|
||||
<VariousControls>
|
||||
<MiscControls></MiscControls>
|
||||
<Define></Define>
|
||||
<Undefine></Undefine>
|
||||
<IncludePath></IncludePath>
|
||||
</VariousControls>
|
||||
</Aads>
|
||||
<LDads>
|
||||
<umfTarg>0</umfTarg>
|
||||
<Ropi>0</Ropi>
|
||||
<Rwpi>0</Rwpi>
|
||||
<noStLib>0</noStLib>
|
||||
<RepFail>1</RepFail>
|
||||
<useFile>0</useFile>
|
||||
<TextAddressRange>0x00000000</TextAddressRange>
|
||||
<DataAddressRange>0x00000000</DataAddressRange>
|
||||
<pXoBase></pXoBase>
|
||||
<ScatterFile>.\Linker\cpu.scat</ScatterFile>
|
||||
<IncludeLibs></IncludeLibs>
|
||||
<IncludeLibsPath></IncludeLibsPath>
|
||||
<Misc>--entry=Reset_Handler</Misc>
|
||||
<LinkerInputFile></LinkerInputFile>
|
||||
<DisabledWarnings></DisabledWarnings>
|
||||
</LDads>
|
||||
</TargetArmAds>
|
||||
</TargetOption>
|
||||
<Groups>
|
||||
<Group>
|
||||
<GroupName>startup</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>core_cm0.h</FileName>
|
||||
<FileType>5</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\CMSIS\core_cm0.h</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>startup_xinc.s</FileName>
|
||||
<FileType>2</FileType>
|
||||
<FilePath>..\app\Startup\xc60xx\startup_xinc.s</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>system_xinc.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\Startup\system_xinc.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>system_it_xinc.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\Startup\system_it_xinc.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>app</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>main.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\app\src\main.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>Drivers</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>xc_drv_clock.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_clock.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_drv_systick.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_systick.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_drv_pwr.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_pwr.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_drv_gpio.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_gpio.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_drv_adc.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_adc.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_hal_ll_usb_np.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\usb_driver\xc_hal_ll_usb_np.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_hal_pcd_np.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\usb_driver\xc_hal_pcd_np.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_hal_usb.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\usb_driver\xc_hal_usb.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_drv_uart.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_uart.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>ringbuffer.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\ringbuffer.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>middleware/App/hid</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>usb_device.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\App\hid\usb_device.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>usbd_desc.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\App\hid\usbd_desc.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>middleware/Library/Class/HID</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>usbd_hid.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Class\HID\usbd_hid.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>middleware/Library/Core</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>usbd_core.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Core\usbd_core.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>usbd_ctlreq.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Core\usbd_ctlreq.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>usbd_ioreq.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Core\usbd_ioreq.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>middleware/Target</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>usbd_conf.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Target\usbd_conf.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
</Groups>
|
||||
</Target>
|
||||
</Targets>
|
||||
|
||||
<RTE>
|
||||
<apis/>
|
||||
<components/>
|
||||
<files/>
|
||||
</RTE>
|
||||
|
||||
<LayerInfo>
|
||||
<Layers>
|
||||
<Layer>
|
||||
<LayName><Project Info></LayName>
|
||||
<LayDesc></LayDesc>
|
||||
<LayUrl></LayUrl>
|
||||
<LayKeys></LayKeys>
|
||||
<LayCat></LayCat>
|
||||
<LayLic></LayLic>
|
||||
<LayTarg>0</LayTarg>
|
||||
<LayPrjMark>1</LayPrjMark>
|
||||
</Layer>
|
||||
</Layers>
|
||||
</LayerInfo>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,232 @@
|
||||
/*!
|
||||
* \file system_it_xinc.c
|
||||
*
|
||||
* \brief Target system interruption implementation
|
||||
*
|
||||
* \copyright Revised BSD License, see section \ref LICENSE.
|
||||
*
|
||||
* \code
|
||||
*
|
||||
* _ __ _ ________ _
|
||||
* | |/ /(_)___ / ____/ /_ (_)___
|
||||
* | // / __ \/ / / __ \/ / __ \
|
||||
* / |/ / / / / /___/ / / / / /_/ /
|
||||
* /_/|_/_/_/ /_/\____/_/ /_/_/ .___/
|
||||
* /_/
|
||||
* (C) 2022-2025 XinChip
|
||||
*
|
||||
* \endcode
|
||||
*
|
||||
* \author ( XinChip ) Alex-J
|
||||
*
|
||||
* \author ( XinChip )
|
||||
*/
|
||||
|
||||
/*-----------------------------------------------------------------------------------
|
||||
INCLUDE HEADE FILES
|
||||
------------------------------------------------------------------------------------*/
|
||||
#include "system_it_xinc.h"
|
||||
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Func Prototype
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Functions
|
||||
-------------------------------------------------------------------------------------*/
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles NMI exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void NMI_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN NonMaskableInt_IRQn */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END NonMaskableInt_IRQn */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles Hard Fault exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void HardFault_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN HardFault_IRQn */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END HardFault_IRQn */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles Memory Manage exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void MemManage_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles Bus Fault exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void BusFault_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles Usage Fault exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void UsageFault_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles SVCall exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void SVC_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN SVCall_IRQn */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END SVCall_IRQn */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles Debug Monitor exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void DebugMon_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
****************************************************************************************
|
||||
* @brief This function handles PendSVC exception.
|
||||
*
|
||||
* @param[in]
|
||||
* @param[in]
|
||||
****************************************************************************************
|
||||
*/
|
||||
void PendSV_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN PendSV_IRQn */
|
||||
DEBUG("%s\n", __func__);
|
||||
/* USER CODE END PendSV_IRQn */
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/****************************** Hard Fault Handler Functions *******************************/
|
||||
/*------------------------------------------------------------------------------------
|
||||
Private Functions
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
void HardFault_Handler_c(unsigned int * HardFault_args)
|
||||
{
|
||||
/*栈帧里面内容:*/
|
||||
unsigned int stack_r0; //压栈的 R0
|
||||
unsigned int stack_r1; //压栈的 R1
|
||||
unsigned int stack_r2; //压栈的 R2
|
||||
unsigned int stack_r3; //压栈的 R3
|
||||
unsigned int stack_r12; //压栈的 R12
|
||||
unsigned int stack_lr; //压栈的 lr
|
||||
unsigned int stack_pc; //压栈的 pc
|
||||
unsigned int stack_psr; //压栈的 psr
|
||||
|
||||
stack_r0 = ((unsigned int)HardFault_args[0]);
|
||||
stack_r1 = ((unsigned int)HardFault_args[1]);
|
||||
stack_r2 = ((unsigned int)HardFault_args[2]);
|
||||
stack_r3 = ((unsigned int)HardFault_args[3]);
|
||||
stack_r12 = ((unsigned int)HardFault_args[4]);
|
||||
stack_lr = ((unsigned int)HardFault_args[5]);
|
||||
stack_pc = ((unsigned int)HardFault_args[6]);
|
||||
stack_psr = ((unsigned int)HardFault_args[7]);
|
||||
|
||||
DEBUG("----%s----\n", __func__);
|
||||
DEBUG("R0=%x\n",stack_r0);
|
||||
DEBUG("R1=%x\n",stack_r1);
|
||||
DEBUG("R2=%x\n",stack_r2);
|
||||
DEBUG("R3=%x\n",stack_r3);
|
||||
DEBUG("R12=%x\n",stack_r12);
|
||||
DEBUG("LR[R14]=%x\n",stack_lr);
|
||||
DEBUG("PC[R15]=%x\n",stack_pc);
|
||||
DEBUG("PSR=%x\n",stack_psr);
|
||||
DEBUG("SCB_SHCSR=%x\n",SCB->SHCSR);
|
||||
DEBUG("---------------------------\n");
|
||||
|
||||
while(1);
|
||||
}
|
||||
|
||||
/*******************************************************************************************/
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
/*!
|
||||
* \file system_it_xinc.h
|
||||
*
|
||||
* \brief The header of system_it_xinc.c
|
||||
*
|
||||
* \copyright Revised BSD License, see section \ref LICENSE.
|
||||
*
|
||||
* \code
|
||||
*
|
||||
* _ __ _ ________ _
|
||||
* | |/ /(_)___ / ____/ /_ (_)___
|
||||
* | // / __ \/ / / __ \/ / __ \
|
||||
* / |/ / / / / /___/ / / / / /_/ /
|
||||
* /_/|_/_/_/ /_/\____/_/ /_/_/ .___/
|
||||
* /_/
|
||||
* (C) 2022-2025 XinChip
|
||||
*
|
||||
* \endcode
|
||||
*
|
||||
* \author ( XinChip ) Alex-J
|
||||
*
|
||||
* \author ( XinChip )
|
||||
*/
|
||||
|
||||
/* Define to prevent recursive inclusion -------------------------------------*/
|
||||
#ifndef __SYSTEM_IT_XINC_H__
|
||||
#define __SYSTEM_IT_XINC_H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*-----------------------------------------------------------------------------------
|
||||
INCLUDE HEADE FILES
|
||||
------------------------------------------------------------------------------------*/
|
||||
#include "xc6xxx.h"
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Exported Functions
|
||||
-------------------------------------------------------------------------------------*/
|
||||
void NMI_Handler( void );
|
||||
void HardFault_Handler( void );
|
||||
void MemManage_Handler( void );
|
||||
void BusFault_Handler( void );
|
||||
void UsageFault_Handler( void );
|
||||
void SVC_Handler( void );
|
||||
void DebugMon_Handler( void );
|
||||
void PendSV_Handler( void );
|
||||
|
||||
void HardFault_Handler_c(unsigned int * HardFault_args);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __SYSTEM_IT_XINC_H__ */
|
||||
|
||||
@@ -0,0 +1,177 @@
|
||||
/**
|
||||
* Initialize the system
|
||||
*
|
||||
* @param none
|
||||
* @return none
|
||||
*
|
||||
* @brief Setup the microcontroller system
|
||||
*
|
||||
*/
|
||||
|
||||
/*-----------------------------------------------------------------------------------
|
||||
INCLUDE HEADE FILES
|
||||
------------------------------------------------------------------------------------*/
|
||||
#include <stdio.h>
|
||||
|
||||
#include "xc6xxx.h"
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Macros
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define __DEBUG_OUT_PORT 0
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Functions
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
void debug_uart_init(void)
|
||||
{
|
||||
#if (__DEBUG_OUT_PORT == 0)
|
||||
|
||||
GPIO_InitCfg_t gpio_cfg = {0};
|
||||
|
||||
gpio_cfg.Mux = GPIO_Mux0;
|
||||
gpio_cfg.Pull = GPIO_PULLUP;
|
||||
gpio_cfg.Int = NOT_INT;
|
||||
gpio_cfg.FunSel = UART0_TX;
|
||||
|
||||
gpio_cfg.Pin = GPIO_18;
|
||||
gpio_cfg.Dir = GPIO_DIR_OUTPUT;
|
||||
xc_gpio_init(&gpio_cfg);
|
||||
|
||||
gpio_cfg.FunSel = UART0_RX;
|
||||
gpio_cfg.Pin = GPIO_19;
|
||||
gpio_cfg.Dir = GPIO_DIR_INPUT;
|
||||
xc_gpio_init(&gpio_cfg);
|
||||
|
||||
UART_InitCfg_t uart_cfg = {0};
|
||||
|
||||
uart_cfg.Parity = UART_PARITY_DISABLE;
|
||||
uart_cfg.StopBits = UART_STOP_1_BITS;
|
||||
uart_cfg.WordLength = UART_DATA_8_BITS;
|
||||
uart_cfg.BaudRate = UART_BAUDRATE_115200;
|
||||
uart_cfg.HardwareFlowControl = UART_HWFC_DISABLE;
|
||||
|
||||
xc_uart_init(UART0_IDX, &uart_cfg);
|
||||
#else
|
||||
|
||||
GPIO_InitCfg_t gpio_cfg = {0};
|
||||
|
||||
gpio_cfg.Mux = GPIO_Mux0;
|
||||
gpio_cfg.Pull = GPIO_PULLUP;
|
||||
gpio_cfg.Int = NOT_INT;
|
||||
gpio_cfg.FunSel = UART1_TX;
|
||||
|
||||
gpio_cfg.Pin = GPIO_14;
|
||||
gpio_cfg.Dir = GPIO_DIR_OUTPUT;
|
||||
xc_gpio_init(&gpio_cfg);
|
||||
|
||||
gpio_cfg.FunSel = UART1_RX;
|
||||
gpio_cfg.Pin = GPIO_15;
|
||||
gpio_cfg.Dir = GPIO_DIR_INPUT;
|
||||
xc_gpio_init(&gpio_cfg);
|
||||
|
||||
UART_InitCfg_t uart_cfg = {0};
|
||||
|
||||
uart_cfg.Parity = UART_PARITY_DISABLE;
|
||||
uart_cfg.StopBits = UART_STOP_1_BITS;
|
||||
uart_cfg.WordLength = UART_DATA_8_BITS;
|
||||
uart_cfg.BaudRate = UART_BAUDRATE_115200;
|
||||
uart_cfg.HardwareFlowControl = UART_HWFC_DISABLE;
|
||||
|
||||
xc_uart_init(UART1_IDX, &uart_cfg);
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
#define VECTOR_NUM 48
|
||||
|
||||
void set_vector(void)
|
||||
{
|
||||
#if (USE_XIP == 1)
|
||||
__disable_irq();
|
||||
for (uint32_t i = 0, *Pvector = (uint32_t *)(0x11001000 + 0),
|
||||
*_vector_table = (uint32_t *)(0x10000000);
|
||||
i < VECTOR_NUM; i++) // copy vertor table
|
||||
{
|
||||
_vector_table[i] = *Pvector++;
|
||||
}
|
||||
|
||||
*((volatile unsigned int *)(0x4000013C)) =
|
||||
0x10000001; // inter vertor table remap
|
||||
__enable_irq();
|
||||
#endif
|
||||
}
|
||||
|
||||
static void WDT_ResetInit(void)
|
||||
{
|
||||
cpr_ctlapbclken_grctl__wdt_pclk_en__setf(ENABLE);
|
||||
|
||||
cpr_rstctl_ctlapb_sw__wdt_rstn__setf(RSTCTL_ENABLE);
|
||||
cpr_rstctl_ctlapb_sw__wdt_rstn__setf(RSTCTL_DISABLE);
|
||||
|
||||
cpr_rstctl_wdtrst_mask_set(
|
||||
(WDT_SYS_RSTN_MASK_DISABLE | WDT_M0_RSTN_MASK_ENABLE));
|
||||
|
||||
cpr_lp_ctl__ctl_wdt_tclk_en__setf(ENABLE);
|
||||
wdt_cr__wdt_en__setf(DISABLE);
|
||||
}
|
||||
|
||||
void SystemInit(void)
|
||||
{
|
||||
|
||||
WDT_ResetInit();
|
||||
|
||||
#if (USE_XIP == 1)
|
||||
|
||||
set_vector();
|
||||
#endif
|
||||
|
||||
debug_uart_init();
|
||||
}
|
||||
|
||||
__RAM_CODE int sendchar(int c)
|
||||
{
|
||||
unsigned int status;
|
||||
#if (__DEBUG_OUT_PORT == 1)
|
||||
for (;;) {
|
||||
status = (*((volatile unsigned *)(0x40011000 + 0x14)));
|
||||
status &= 0x20;
|
||||
if (status == 0x20)
|
||||
break;
|
||||
}
|
||||
(*((volatile unsigned *)(0x40011000 + 0x00))) = c;
|
||||
return (1);
|
||||
#else
|
||||
for (;;) {
|
||||
status = (*((volatile unsigned *)(0x40010000 + 0x14)));
|
||||
status &= 0x20;
|
||||
if (status == 0x20)
|
||||
break;
|
||||
}
|
||||
(*((volatile unsigned *)(0x40010000 + 0x00))) = c;
|
||||
return (1);
|
||||
#endif
|
||||
}
|
||||
|
||||
struct __FILE
|
||||
{
|
||||
int handle; /* Add whatever you need here */
|
||||
};
|
||||
|
||||
FILE __stdout;
|
||||
__RAM_CODE int fputc(int ch, FILE *f) { return (sendchar(ch)); }
|
||||
|
||||
int ferror(FILE *f)
|
||||
{
|
||||
/* Your implementation of ferror */
|
||||
return EOF;
|
||||
}
|
||||
|
||||
void _ttywrch(int ch) { sendchar(ch); }
|
||||
|
||||
void _sys_exit(int return_code)
|
||||
{
|
||||
label:
|
||||
goto label; /* endless loop */
|
||||
}
|
||||
@@ -0,0 +1,256 @@
|
||||
|
||||
;/*****************************************************************************
|
||||
; * @file: startup_xinc.s
|
||||
; * @purpose: CMSIS Cortex-M0 Core Device Startup File for the
|
||||
; * Device xinc.
|
||||
; *****************************************************************************/
|
||||
|
||||
Stack_Size EQU 0x00000400
|
||||
|
||||
AREA STACK, NOINIT, READWRITE, ALIGN=3
|
||||
Stack_Mem SPACE Stack_Size
|
||||
__initial_sp
|
||||
|
||||
Heap_Size EQU 0x00000000
|
||||
|
||||
AREA HEAP, NOINIT, READWRITE, ALIGN=3
|
||||
__heap_base
|
||||
Heap_Mem SPACE Heap_Size
|
||||
__heap_limit
|
||||
|
||||
|
||||
PRESERVE8
|
||||
THUMB
|
||||
|
||||
; Vector Table Mapped to Address 0 at Reset
|
||||
|
||||
AREA RESET, DATA, READONLY
|
||||
EXPORT __Vectors
|
||||
EXPORT __Vectors_End
|
||||
EXPORT __Vectors_Size
|
||||
|
||||
__Vectors DCD __initial_sp ; Top of Stack
|
||||
DCD Reset_Handler ; Reset Handler
|
||||
DCD NMI_Handler ; NMI Handler
|
||||
DCD HardFault_Handler ; Hard Fault Handler
|
||||
DCD MemManage_Handler ; MPU Fault Handler
|
||||
DCD BusFault_Handler ; Bus Fault Handler
|
||||
DCD UsageFault_Handler ; Usage Fault Handler
|
||||
DCD 0 ; Reserved
|
||||
DCD 0 ; Reserved
|
||||
DCD 0 ; Reserved
|
||||
DCD 0 ; Reserved
|
||||
DCD SVC_Handler ; SVCall Handler
|
||||
DCD DebugMon_Handler ; Debug Monitor Handler
|
||||
DCD 0 ; Reserved
|
||||
DCD PendSV_Handler ; PendSV Handler
|
||||
DCD SysTick_Handler ; SysTick Handler
|
||||
|
||||
; External Interrupts
|
||||
; ToDo: Add here the vectors for the device specific external interrupts handler
|
||||
DCD BLE_Handler ; 0
|
||||
DCD DMA_Handler ; 1
|
||||
DCD CPR_Handler ; 2
|
||||
DCD GPIO_Handler ; 3
|
||||
DCD RTC_Handler ; 4
|
||||
DCD TIMER0_Handler ; 5
|
||||
DCD TIMER1_Handler ; 6
|
||||
DCD TIMER2_Handler ; 7
|
||||
DCD TIMER3_Handler ; 8
|
||||
DCD WDT_Handler ; 9
|
||||
DCD I2C_Handler ; 10
|
||||
DCD UART0_Handler ; 11
|
||||
DCD UART1_Handler ; 12
|
||||
DCD SPI0_Handler ; 13
|
||||
DCD SPI1_Handler ; 14
|
||||
DCD 0 ; 15
|
||||
DCD 0 ; 16
|
||||
DCD GADC_Handler ; 17
|
||||
DCD PWM_Handler ; 18
|
||||
DCD AES_Handler ; 19
|
||||
DCD USB_Handler ; 20
|
||||
DCD AUDIO_Handler ; 21
|
||||
DCD RF24G_Handler ; 22
|
||||
DCD SPI2_Handler ; 23
|
||||
DCD 0 ; 24
|
||||
DCD UART2_Handler ; 25
|
||||
DCD I2S_Handler ; 26
|
||||
DCD AOTIMER0_Handler ; 27
|
||||
DCD AOTIMER1_Handler ; 28
|
||||
DCD CMP_Handler ; 29
|
||||
DCD FMC_Handler ; 30
|
||||
DCD CAN_Handler ; 31
|
||||
|
||||
__Vectors_End
|
||||
|
||||
__Vectors_Size EQU __Vectors_End - __Vectors
|
||||
|
||||
|
||||
|
||||
AREA |.text|, CODE, READONLY
|
||||
; Reset Handler
|
||||
|
||||
Reset_Handler PROC
|
||||
|
||||
EXPORT Reset_Handler [WEAK]
|
||||
|
||||
IMPORT SystemInit
|
||||
IMPORT __main
|
||||
|
||||
LDR r0, =0x4000013C ; remap
|
||||
LDR r1, =0x10000001
|
||||
STR r1, [r0]
|
||||
|
||||
|
||||
|
||||
LDR R0, =SystemInit
|
||||
BLX R0
|
||||
|
||||
LDR R0, =__main
|
||||
BX R0
|
||||
|
||||
ENDP
|
||||
|
||||
; Dummy Exception Handlers (infinite loops which can be modified)
|
||||
NMI_Handler PROC
|
||||
EXPORT NMI_Handler [WEAK]
|
||||
B .
|
||||
ENDP
|
||||
|
||||
|
||||
HardFault_Handler\
|
||||
PROC
|
||||
IMPORT HardFault_Handler_c ;函数声明
|
||||
movs r0, #4 ;判断主栈指针还是进程栈指针
|
||||
mov r1, lr
|
||||
tst r0, r1
|
||||
beq hf_used_msp ;如果是主栈指针
|
||||
mrs r0, psp ;否则是进程栈指针,把进程栈指针地址付给 R0
|
||||
ldr r1, =HardFault_Handler_c ;跳转到 HardFault 中断程序
|
||||
bx r1
|
||||
hf_used_msp
|
||||
mrs r0, msp ;把主栈指针地址赋给 R0
|
||||
ldr r1, =HardFault_Handler_c
|
||||
bx r1
|
||||
;EXPORT HardFault_Handler [WEAK]
|
||||
;B .
|
||||
ENDP
|
||||
MemManage_Handler\
|
||||
PROC
|
||||
EXPORT MemManage_Handler [WEAK]
|
||||
B .
|
||||
ENDP
|
||||
BusFault_Handler\
|
||||
PROC
|
||||
EXPORT BusFault_Handler [WEAK]
|
||||
B .
|
||||
ENDP
|
||||
UsageFault_Handler\
|
||||
PROC
|
||||
EXPORT UsageFault_Handler [WEAK]
|
||||
B .
|
||||
ENDP
|
||||
SVC_Handler PROC
|
||||
EXPORT SVC_Handler [WEAK]
|
||||
B .
|
||||
ENDP
|
||||
DebugMon_Handler\
|
||||
PROC
|
||||
EXPORT DebugMon_Handler [WEAK]
|
||||
B .
|
||||
ENDP
|
||||
|
||||
Default_Handler PROC
|
||||
EXPORT BLE_Handler [WEAK]
|
||||
EXPORT DMA_Handler [WEAK]
|
||||
EXPORT CPR_Handler [WEAK]
|
||||
EXPORT GPIO_Handler [WEAK]
|
||||
EXPORT RTC_Handler [WEAK]
|
||||
EXPORT TIMER0_Handler [WEAK]
|
||||
EXPORT TIMER1_Handler [WEAK]
|
||||
EXPORT TIMER2_Handler [WEAK]
|
||||
EXPORT TIMER3_Handler [WEAK]
|
||||
EXPORT WDT_Handler [WEAK]
|
||||
EXPORT I2C_Handler [WEAK]
|
||||
EXPORT UART0_Handler [WEAK]
|
||||
EXPORT UART1_Handler [WEAK]
|
||||
EXPORT SPI0_Handler [WEAK]
|
||||
EXPORT SPI1_Handler [WEAK]
|
||||
;EXPORT KBS_Handler [WEAK]
|
||||
;EXPORT QDEC_Handler [WEAK]
|
||||
EXPORT GADC_Handler [WEAK]
|
||||
EXPORT PWM_Handler [WEAK]
|
||||
EXPORT AES_Handler [WEAK]
|
||||
|
||||
EXPORT PendSV_Handler [WEAK]
|
||||
EXPORT SysTick_Handler [WEAK]
|
||||
|
||||
EXPORT USB_Handler [WEAK];20
|
||||
EXPORT AUDIO_Handler [WEAK];21
|
||||
EXPORT RF24G_Handler [WEAK];22
|
||||
EXPORT SPI2_Handler [WEAK];23
|
||||
;EXPORT MPU_Handler [WEAK];24
|
||||
EXPORT UART2_Handler [WEAK];25
|
||||
EXPORT I2S_Handler [WEAK];26
|
||||
EXPORT AOTIMER0_Handler [WEAK];27
|
||||
EXPORT AOTIMER1_Handler [WEAK];28
|
||||
EXPORT CMP_Handler [WEAK];29
|
||||
EXPORT FMC_Handler [WEAK];30
|
||||
EXPORT CAN_Handler [WEAK];31
|
||||
|
||||
PendSV_Handler
|
||||
SysTick_Handler
|
||||
BLE_Handler
|
||||
RF24G_Handler
|
||||
DMA_Handler
|
||||
CPR_Handler
|
||||
GPIO_Handler
|
||||
RTC_Handler
|
||||
TIMER0_Handler
|
||||
TIMER1_Handler
|
||||
TIMER2_Handler
|
||||
TIMER3_Handler
|
||||
WDT_Handler
|
||||
I2C_Handler
|
||||
I2S_Handler
|
||||
UART0_Handler
|
||||
UART1_Handler
|
||||
UART2_Handler
|
||||
SPI0_Handler
|
||||
SPI1_Handler
|
||||
SPI2_Handler
|
||||
;KBS_Handler
|
||||
;QDEC_Handler
|
||||
GADC_Handler
|
||||
PWM_Handler
|
||||
AUDIO_Handler
|
||||
;SIM_Handler
|
||||
AES_Handler
|
||||
AOTIMER0_Handler
|
||||
AOTIMER1_Handler
|
||||
CMP_Handler
|
||||
FMC_Handler
|
||||
CAN_Handler
|
||||
USB_Handler
|
||||
|
||||
B .
|
||||
ENDP
|
||||
|
||||
|
||||
ALIGN
|
||||
|
||||
; User Initial Stack & Heap
|
||||
|
||||
IMPORT __use_two_region_memory
|
||||
EXPORT __user_initial_stackheap
|
||||
__user_initial_stackheap
|
||||
|
||||
LDR R0, = Heap_Mem
|
||||
LDR R1, = (Stack_Mem + Stack_Size)
|
||||
LDR R2, = (Heap_Mem + Heap_Size)
|
||||
LDR R3, = Stack_Mem
|
||||
BX LR
|
||||
|
||||
ALIGN
|
||||
|
||||
END
|
||||
@@ -0,0 +1,144 @@
|
||||
/*!
|
||||
* \file main.c
|
||||
*
|
||||
* \brief Target main implementation
|
||||
*
|
||||
* \copyright Revised BSD License, see section \ref LICENSE.
|
||||
*
|
||||
* \code
|
||||
*
|
||||
* _ __ _ ________ _
|
||||
* | |/ /(_)___ / ____/ /_ (_)___
|
||||
* | // / __ \/ / / __ \/ / __ \
|
||||
* / |/ / / / / /___/ / / / / /_/ /
|
||||
* /_/|_/_/_/ /_/\____/_/ /_/_/ .___/
|
||||
* /_/
|
||||
* (C) 2022-2025 XinChip
|
||||
*
|
||||
* \endcode
|
||||
*
|
||||
* \author ( XinChip ) Alex-J
|
||||
*
|
||||
* \author ( XinChip )
|
||||
*/
|
||||
|
||||
/*-----------------------------------------------------------------------------------
|
||||
INCLUDE HEADE FILES
|
||||
------------------------------------------------------------------------------------*/
|
||||
#include "xc6xxx.h"
|
||||
#include "usbd_core.h"
|
||||
#include "usb_device.h"
|
||||
#include "usbd_hid.h"
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Macros
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define KEY1_PIN GPIO_7
|
||||
#define KEY2_PIN GPIO_8
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Global Variables
|
||||
-------------------------------------------------------------------------------------*/
|
||||
eKeyState key_state = KEY_RELEASE;
|
||||
|
||||
/*------------------------------------------------------------------------------------
|
||||
Functions
|
||||
-------------------------------------------------------------------------------------*/
|
||||
void SysTick_Callback(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void clock_init(void)
|
||||
{
|
||||
CLOCK_InitCfg_t clock_cfg;
|
||||
|
||||
clock_cfg.hfclk_src = CLOCK_HFCLK_SRC_XTAL;
|
||||
clock_cfg.hfclk_in = CLOCK_HFCLK_IN_32M;
|
||||
clock_cfg.lfclk_src = CLOCK_LFCLK_SRC_RC;
|
||||
|
||||
if (clock_cfg.lfclk_src == CLOCK_LFCLK_SRC_XTAL) {
|
||||
clock_cfg.lfclk_in = CLOCK_LFCLK_IN_32768;
|
||||
} else if (clock_cfg.lfclk_src == CLOCK_LFCLK_SRC_RC) {
|
||||
clock_cfg.lfclk_in = CLOCK_LFCLK_IN_32K;
|
||||
}
|
||||
|
||||
xc_clock_init_cfg(&clock_cfg);
|
||||
|
||||
SysTick_Config(xc_clock_hfclk_in_get() / 100);
|
||||
SysTick->CTRL &= ~SysTick_CTRL_TICKINT_Msk;
|
||||
}
|
||||
|
||||
void app_uart_init(void)
|
||||
{
|
||||
GPIO_InitCfg_t gpio_cfg = {0};
|
||||
|
||||
gpio_cfg.Mux = GPIO_Mux0;
|
||||
gpio_cfg.Pull = GPIO_PULLUP;
|
||||
gpio_cfg.Int = NOT_INT;
|
||||
gpio_cfg.FunSel = UART0_TX;
|
||||
|
||||
gpio_cfg.Pin = GPIO_18;
|
||||
gpio_cfg.Dir = GPIO_DIR_OUTPUT;
|
||||
xc_gpio_init(&gpio_cfg);
|
||||
|
||||
gpio_cfg.FunSel = UART0_RX;
|
||||
gpio_cfg.Pin = GPIO_19;
|
||||
gpio_cfg.Dir = GPIO_DIR_INPUT;
|
||||
xc_gpio_init(&gpio_cfg);
|
||||
|
||||
UART_InitCfg_t uart_cfg = {0};
|
||||
|
||||
uart_cfg.Parity = UART_PARITY_DISABLE;
|
||||
uart_cfg.StopBits = UART_STOP_1_BITS;
|
||||
uart_cfg.WordLength = UART_DATA_8_BITS;
|
||||
uart_cfg.BaudRate = UART_BAUDRATE_115200;
|
||||
uart_cfg.HardwareFlowControl = UART_HWFC_DISABLE;
|
||||
|
||||
xc_uart_init(UART0_IDX, &uart_cfg);
|
||||
}
|
||||
|
||||
void key_init(void)
|
||||
{
|
||||
GPIO_InitCfg_t GPIO_InitCfg = { 0 };
|
||||
|
||||
GPIO_InitCfg.Mux = GPIO_Mux0;
|
||||
GPIO_InitCfg.FunSel = GPIO_Dx;
|
||||
GPIO_InitCfg.Pull = GPIO_PULLUP;
|
||||
GPIO_InitCfg.Dir = GPIO_DIR_INPUT;
|
||||
GPIO_InitCfg.Int = NOT_INT;
|
||||
|
||||
GPIO_InitCfg.Pin = KEY1_PIN;
|
||||
xc_gpio_init(&GPIO_InitCfg);
|
||||
|
||||
GPIO_InitCfg.Pin = KEY2_PIN;
|
||||
xc_gpio_init(&GPIO_InitCfg);
|
||||
}
|
||||
|
||||
int main(void)
|
||||
{
|
||||
clock_init();
|
||||
|
||||
app_uart_init( );
|
||||
|
||||
DEBUG("__USB_HID_MOUSE_DEMO__\n");
|
||||
|
||||
key_init( );
|
||||
/* USB Device Initialization */
|
||||
USB_DEVICE_Init( );
|
||||
|
||||
while(1)
|
||||
{
|
||||
if(xc_gpio_read_pin(KEY1_PIN) == 0) {
|
||||
if(key_state == KEY_RELEASE) {
|
||||
key_state = KEY_PRESS;
|
||||
} else if(key_state == KEY_PRESS) {
|
||||
key_state = KEY_HOLD_PRESS;
|
||||
}
|
||||
USB_Mouse_Test_SendReport( );
|
||||
} else if((xc_gpio_read_pin(KEY1_PIN) == 1) && (key_state != KEY_RELEASE)) {
|
||||
key_state = KEY_RELEASE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
|
||||
FUNC void Initialization(void)
|
||||
{
|
||||
SP = _RDWORD(0x10000000);
|
||||
PC = _RDWORD(0x10000004);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
LOAD %L INCREMENTAL
|
||||
Initialization();
|
||||
@@ -0,0 +1,35 @@
|
||||
[BREAKPOINTS]
|
||||
ForceImpTypeAny = 0
|
||||
ShowInfoWin = 1
|
||||
EnableFlashBP = 2
|
||||
BPDuringExecution = 0
|
||||
[CFI]
|
||||
CFISize = 0x00
|
||||
CFIAddr = 0x00
|
||||
[CPU]
|
||||
OverrideMemMap = 0
|
||||
AllowSimulation = 1
|
||||
ScriptFile=""
|
||||
[FLASH]
|
||||
CacheExcludeSize = 0x00
|
||||
CacheExcludeAddr = 0x00
|
||||
MinNumBytesFlashDL = 0
|
||||
SkipProgOnCRCMatch = 1
|
||||
VerifyDownload = 1
|
||||
AllowCaching = 1
|
||||
EnableFlashDL = 2
|
||||
Override = 1
|
||||
Device="Cortex-M4"
|
||||
[GENERAL]
|
||||
WorkRAMSize = 0x00
|
||||
WorkRAMAddr = 0x00
|
||||
RAMUsageLimit = 0x00
|
||||
[SWO]
|
||||
SWOLogFile=""
|
||||
[MEM]
|
||||
RdOverrideOrMask = 0x00
|
||||
RdOverrideAndMask = 0xFFFFFFFF
|
||||
RdOverrideAddr = 0xFFFFFFFF
|
||||
WrOverrideOrMask = 0x00
|
||||
WrOverrideAndMask = 0xFFFFFFFF
|
||||
WrOverrideAddr = 0xFFFFFFFF
|
||||
@@ -0,0 +1,15 @@
|
||||
|
||||
LOAD 0x10000000
|
||||
{
|
||||
EXE 0x10000000
|
||||
{
|
||||
startup_xinc.o (RESET, +FIRST)
|
||||
* (+RO)
|
||||
|
||||
}
|
||||
RW +0
|
||||
{
|
||||
* (+RW,+ZI)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,990 @@
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 1
|
||||
|
||||
|
||||
1 00000000
|
||||
2 00000000 ;/******************************************************
|
||||
***********************
|
||||
3 00000000 ; * @file: startup_xinc.s
|
||||
4 00000000 ; * @purpose: CMSIS Cortex-M0 Core Device Startup File f
|
||||
or the
|
||||
5 00000000 ; * Device xinc.
|
||||
6 00000000 ; ******************************************************
|
||||
***********************/
|
||||
7 00000000
|
||||
8 00000000 00000400
|
||||
Stack_Size
|
||||
EQU 0x00000400
|
||||
9 00000000
|
||||
10 00000000 AREA STACK, NOINIT, READWRITE, ALIGN
|
||||
=3
|
||||
11 00000000 Stack_Mem
|
||||
SPACE Stack_Size
|
||||
12 00000400 __initial_sp
|
||||
13 00000400
|
||||
14 00000400 00000000
|
||||
Heap_Size
|
||||
EQU 0x00000000
|
||||
15 00000400
|
||||
16 00000400 AREA HEAP, NOINIT, READWRITE, ALIGN=
|
||||
3
|
||||
17 00000000 __heap_base
|
||||
18 00000000 Heap_Mem
|
||||
SPACE Heap_Size
|
||||
19 00000000 __heap_limit
|
||||
20 00000000
|
||||
21 00000000
|
||||
22 00000000 PRESERVE8
|
||||
23 00000000 THUMB
|
||||
24 00000000
|
||||
25 00000000 ; Vector Table Mapped to Address 0 at Reset
|
||||
26 00000000
|
||||
27 00000000 AREA RESET, DATA, READONLY
|
||||
28 00000000 EXPORT __Vectors
|
||||
29 00000000 EXPORT __Vectors_End
|
||||
30 00000000 EXPORT __Vectors_Size
|
||||
31 00000000
|
||||
32 00000000 00000000
|
||||
__Vectors
|
||||
DCD __initial_sp ; Top of Stack
|
||||
33 00000004 00000000 DCD Reset_Handler ; Reset Handler
|
||||
34 00000008 00000000 DCD NMI_Handler ; NMI Handler
|
||||
35 0000000C 00000000 DCD HardFault_Handler ; Hard Fault
|
||||
Handler
|
||||
36 00000010 00000000 DCD MemManage_Handler
|
||||
; MPU Fault Handler
|
||||
|
||||
37 00000014 00000000 DCD BusFault_Handler
|
||||
; Bus Fault Handler
|
||||
|
||||
38 00000018 00000000 DCD UsageFault_Handler ; Usage Faul
|
||||
t Handler
|
||||
39 0000001C 00000000 DCD 0 ; Reserved
|
||||
40 00000020 00000000 DCD 0 ; Reserved
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 2
|
||||
|
||||
|
||||
41 00000024 00000000 DCD 0 ; Reserved
|
||||
42 00000028 00000000 DCD 0 ; Reserved
|
||||
43 0000002C 00000000 DCD SVC_Handler ; SVCall Handler
|
||||
44 00000030 00000000 DCD DebugMon_Handler ; Debug Monito
|
||||
r Handler
|
||||
45 00000034 00000000 DCD 0 ; Reserved
|
||||
46 00000038 00000000 DCD PendSV_Handler ; PendSV Handler
|
||||
|
||||
47 0000003C 00000000 DCD SysTick_Handler
|
||||
; SysTick Handler
|
||||
48 00000040
|
||||
49 00000040 ; External Interrupts
|
||||
50 00000040 ; ToDo: Add here the vectors for the device specific ex
|
||||
ternal interrupts handler
|
||||
51 00000040 00000000 DCD BLE_Handler ; 0
|
||||
52 00000044 00000000 DCD DMA_Handler ; 1
|
||||
53 00000048 00000000 DCD CPR_Handler ; 2
|
||||
54 0000004C 00000000 DCD GPIO_Handler ; 3
|
||||
55 00000050 00000000 DCD RTC_Handler ; 4
|
||||
56 00000054 00000000 DCD TIMER0_Handler ; 5
|
||||
57 00000058 00000000 DCD TIMER1_Handler ; 6
|
||||
58 0000005C 00000000 DCD TIMER2_Handler ; 7
|
||||
59 00000060 00000000 DCD TIMER3_Handler ; 8
|
||||
60 00000064 00000000 DCD WDT_Handler ; 9
|
||||
61 00000068 00000000 DCD I2C_Handler ; 10
|
||||
62 0000006C 00000000 DCD UART0_Handler ; 11
|
||||
63 00000070 00000000 DCD UART1_Handler ; 12
|
||||
64 00000074 00000000 DCD SPI0_Handler ; 13
|
||||
65 00000078 00000000 DCD SPI1_Handler ; 14
|
||||
66 0000007C 00000000 DCD 0 ; 15
|
||||
67 00000080 00000000 DCD 0 ; 16
|
||||
68 00000084 00000000 DCD GADC_Handler ; 17
|
||||
69 00000088 00000000 DCD PWM_Handler ; 18
|
||||
70 0000008C 00000000 DCD AES_Handler ; 19
|
||||
71 00000090 00000000 DCD USB_Handler ; 20
|
||||
72 00000094 00000000 DCD AUDIO_Handler
|
||||
; 21
|
||||
|
||||
73 00000098 00000000 DCD RF24G_Handler ; 22
|
||||
74 0000009C 00000000 DCD SPI2_Handler ; 23
|
||||
75 000000A0 00000000 DCD 0 ; 24
|
||||
76 000000A4 00000000 DCD UART2_Handler ; 25
|
||||
77 000000A8 00000000 DCD I2S_Handler ; 26
|
||||
78 000000AC 00000000 DCD AOTIMER0_Handler ; 27
|
||||
79 000000B0 00000000 DCD AOTIMER1_Handler ; 28
|
||||
80 000000B4 00000000 DCD CMP_Handler ; 29
|
||||
81 000000B8 00000000 DCD FMC_Handler ; 30
|
||||
82 000000BC 00000000 DCD CAN_Handler ; 31
|
||||
83 000000C0
|
||||
84 000000C0 __Vectors_End
|
||||
85 000000C0
|
||||
86 000000C0 000000C0
|
||||
__Vectors_Size
|
||||
EQU __Vectors_End - __Vectors
|
||||
87 000000C0
|
||||
88 000000C0
|
||||
89 000000C0
|
||||
90 000000C0 AREA |.text|, CODE, READONLY
|
||||
91 00000000 ; Reset Handler
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 3
|
||||
|
||||
|
||||
92 00000000
|
||||
93 00000000 Reset_Handler
|
||||
PROC
|
||||
94 00000000
|
||||
95 00000000 EXPORT Reset_Handler [WEAK]
|
||||
96 00000000
|
||||
97 00000000 IMPORT SystemInit
|
||||
98 00000000 IMPORT __main
|
||||
99 00000000
|
||||
100 00000000 480F LDR r0, =0x4000013C ; remap
|
||||
101 00000002 4910 LDR r1, =0x10000001
|
||||
102 00000004 6001 STR r1, [r0]
|
||||
103 00000006
|
||||
104 00000006
|
||||
105 00000006
|
||||
106 00000006 4810 LDR R0, =SystemInit
|
||||
107 00000008 4780 BLX R0
|
||||
108 0000000A
|
||||
109 0000000A 4810 LDR R0, =__main
|
||||
110 0000000C 4700 BX R0
|
||||
111 0000000E
|
||||
112 0000000E ENDP
|
||||
113 0000000E
|
||||
114 0000000E ; Dummy Exception Handlers (infinite loops which can be
|
||||
modified)
|
||||
115 0000000E NMI_Handler
|
||||
PROC
|
||||
116 0000000E EXPORT NMI_Handler [WEAK
|
||||
]
|
||||
117 0000000E E7FE B .
|
||||
118 00000010 ENDP
|
||||
119 00000010
|
||||
120 00000010
|
||||
122 00000010 HardFault_Handler
|
||||
PROC
|
||||
123 00000010 IMPORT HardFault_Handler_c
|
||||
;函数声明
|
||||
124 00000010 2004 movs r0, #4 ;判æ–ä¸»æ ˆæŒ‡é’ˆ
|
||||
è¿˜æ˜¯è¿›ç¨‹æ ˆæŒ‡é
|
||||
’ˆ
|
||||
125 00000012 4671 mov r1, lr
|
||||
126 00000014 4208 tst r0, r1
|
||||
127 00000016 D003 beq hf_used_msp ;å¦‚æžœæ˜¯ä¸»æ ˆæŒ‡
|
||||
é’ˆ
|
||||
128 00000018 F3EF 8009 mrs r0, psp ;å�¦åˆ™æ˜¯è¿›ç¨‹æ ˆ
|
||||
指针,æŠŠè¿›ç¨‹æ ˆ
|
||||
指针地�付给
|
||||
R0
|
||||
129 0000001C 490C ldr r1, =HardFault_Handler_c ;è·³è½
|
||||
¬åˆ° HardFault 䏿
|
||||
–程åº�
|
||||
130 0000001E 4708 bx r1
|
||||
131 00000020 hf_used_msp
|
||||
132 00000020 F3EF 8008 mrs r0, msp ;æŠŠä¸»æ ˆæŒ‡é’ˆåœ°
|
||||
�赋给 R0
|
||||
133 00000024 490A ldr r1, =HardFault_Handler_c
|
||||
134 00000026 4708 bx r1
|
||||
135 00000028 ;EXPORT HardFault_Handler [WEAK]
|
||||
136 00000028 ;B .
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 4
|
||||
|
||||
|
||||
137 00000028 ENDP
|
||||
139 00000028 MemManage_Handler
|
||||
PROC
|
||||
140 00000028 EXPORT MemManage_Handler [WEAK
|
||||
]
|
||||
141 00000028 E7FE B .
|
||||
142 0000002A ENDP
|
||||
144 0000002A BusFault_Handler
|
||||
PROC
|
||||
145 0000002A EXPORT BusFault_Handler [WEAK
|
||||
]
|
||||
146 0000002A E7FE B .
|
||||
147 0000002C ENDP
|
||||
149 0000002C UsageFault_Handler
|
||||
PROC
|
||||
150 0000002C EXPORT UsageFault_Handler [WEAK
|
||||
]
|
||||
151 0000002C E7FE B .
|
||||
152 0000002E ENDP
|
||||
153 0000002E SVC_Handler
|
||||
PROC
|
||||
154 0000002E EXPORT SVC_Handler [WEAK
|
||||
]
|
||||
155 0000002E E7FE B .
|
||||
156 00000030 ENDP
|
||||
158 00000030 DebugMon_Handler
|
||||
PROC
|
||||
159 00000030 EXPORT DebugMon_Handler [WEAK
|
||||
]
|
||||
160 00000030 E7FE B .
|
||||
161 00000032 ENDP
|
||||
162 00000032
|
||||
163 00000032 Default_Handler
|
||||
PROC
|
||||
164 00000032 EXPORT BLE_Handler [WEAK
|
||||
]
|
||||
165 00000032 EXPORT DMA_Handler [WE
|
||||
AK]
|
||||
166 00000032 EXPORT CPR_Handler [WEAK]
|
||||
167 00000032 EXPORT GPIO_Handler [WEAK]
|
||||
168 00000032 EXPORT RTC_Handler [WEAK]
|
||||
169 00000032 EXPORT TIMER0_Handler [WEAK]
|
||||
170 00000032 EXPORT TIMER1_Handler [WEAK]
|
||||
171 00000032 EXPORT TIMER2_Handler [WEAK]
|
||||
172 00000032 EXPORT TIMER3_Handler [WEAK]
|
||||
173 00000032 EXPORT WDT_Handler [WE
|
||||
AK]
|
||||
174 00000032 EXPORT I2C_Handler [WEAK]
|
||||
175 00000032 EXPORT UART0_Handler [WEAK
|
||||
]
|
||||
176 00000032 EXPORT UART1_Handler [WE
|
||||
AK]
|
||||
177 00000032 EXPORT SPI0_Handler [WE
|
||||
AK]
|
||||
178 00000032 EXPORT SPI1_Handler [WE
|
||||
AK]
|
||||
179 00000032 ;EXPORT KBS_Handler [WEAK]
|
||||
180 00000032 ;EXPORT QDEC_Handler [WEAK]
|
||||
181 00000032 EXPORT GADC_Handler [WEAK]
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 5
|
||||
|
||||
|
||||
182 00000032 EXPORT PWM_Handler [WE
|
||||
AK]
|
||||
183 00000032 EXPORT AES_Handler [WE
|
||||
AK]
|
||||
184 00000032
|
||||
185 00000032 EXPORT PendSV_Handler [WEAK]
|
||||
186 00000032 EXPORT SysTick_Handler [WE
|
||||
AK]
|
||||
187 00000032
|
||||
188 00000032 EXPORT USB_Handler [WE
|
||||
AK]
|
||||
;20
|
||||
189 00000032 EXPORT AUDIO_Handler [WE
|
||||
AK]
|
||||
;21
|
||||
190 00000032 EXPORT RF24G_Handler [WE
|
||||
AK]
|
||||
;22
|
||||
191 00000032 EXPORT SPI2_Handler [WE
|
||||
AK]
|
||||
;23
|
||||
192 00000032 ;EXPORT MPU_Handler [WEAK];24
|
||||
193 00000032 EXPORT UART2_Handler [WE
|
||||
AK]
|
||||
;25
|
||||
194 00000032 EXPORT I2S_Handler [WE
|
||||
AK]
|
||||
;26
|
||||
195 00000032 EXPORT AOTIMER0_Handler [WE
|
||||
AK]
|
||||
;27
|
||||
196 00000032 EXPORT AOTIMER1_Handler [WE
|
||||
AK]
|
||||
;28
|
||||
197 00000032 EXPORT CMP_Handler [WE
|
||||
AK]
|
||||
;29
|
||||
198 00000032 EXPORT FMC_Handler [WE
|
||||
AK]
|
||||
;30
|
||||
199 00000032 EXPORT CAN_Handler [WE
|
||||
AK]
|
||||
;31
|
||||
200 00000032
|
||||
201 00000032 PendSV_Handler
|
||||
202 00000032 SysTick_Handler
|
||||
203 00000032 BLE_Handler
|
||||
204 00000032 RF24G_Handler
|
||||
205 00000032 DMA_Handler
|
||||
206 00000032 CPR_Handler
|
||||
207 00000032 GPIO_Handler
|
||||
208 00000032 RTC_Handler
|
||||
209 00000032 TIMER0_Handler
|
||||
210 00000032 TIMER1_Handler
|
||||
211 00000032 TIMER2_Handler
|
||||
212 00000032 TIMER3_Handler
|
||||
213 00000032 WDT_Handler
|
||||
214 00000032 I2C_Handler
|
||||
215 00000032 I2S_Handler
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 6
|
||||
|
||||
|
||||
216 00000032 UART0_Handler
|
||||
217 00000032 UART1_Handler
|
||||
218 00000032 UART2_Handler
|
||||
219 00000032 SPI0_Handler
|
||||
220 00000032 SPI1_Handler
|
||||
221 00000032 SPI2_Handler
|
||||
222 00000032 ;KBS_Handler
|
||||
223 00000032 ;QDEC_Handler
|
||||
224 00000032 GADC_Handler
|
||||
225 00000032 PWM_Handler
|
||||
226 00000032 AUDIO_Handler
|
||||
227 00000032 ;SIM_Handler
|
||||
228 00000032 AES_Handler
|
||||
229 00000032 AOTIMER0_Handler
|
||||
230 00000032 AOTIMER1_Handler
|
||||
231 00000032 CMP_Handler
|
||||
232 00000032 FMC_Handler
|
||||
233 00000032 CAN_Handler
|
||||
234 00000032 USB_Handler
|
||||
235 00000032
|
||||
236 00000032 E7FE B .
|
||||
237 00000034 ENDP
|
||||
238 00000034
|
||||
239 00000034
|
||||
240 00000034 ALIGN
|
||||
241 00000034
|
||||
242 00000034 ; User Initial Stack & Heap
|
||||
243 00000034
|
||||
244 00000034 IMPORT __use_two_region_memory
|
||||
245 00000034 EXPORT __user_initial_stackheap
|
||||
246 00000034 __user_initial_stackheap
|
||||
247 00000034
|
||||
248 00000034 4807 LDR R0, = Heap_Mem
|
||||
249 00000036 4908 LDR R1, = (Stack_Mem + Stack_Size)
|
||||
250 00000038 4A06 LDR R2, = (Heap_Mem + Heap_Size)
|
||||
251 0000003A 4B08 LDR R3, = Stack_Mem
|
||||
252 0000003C 4770 BX LR
|
||||
253 0000003E
|
||||
254 0000003E 00 00 ALIGN
|
||||
255 00000040
|
||||
256 00000040 END
|
||||
4000013C
|
||||
10000001
|
||||
00000000
|
||||
00000000
|
||||
00000000
|
||||
00000000
|
||||
00000400
|
||||
00000000
|
||||
Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M0 --apcs=interw
|
||||
ork --depend=.\objects\startup_xinc.d -o.\objects\startup_xinc.o -I.\RTE\_usb_h
|
||||
id_mouse -IC:\Keil_v5\ARM\PACK\ARM\CMSIS\5.7.0\Device\ARM\ARMCM0\Include -IC:\K
|
||||
eil_v5\ARM\CMSIS\Include --predefine="__UVISION_VERSION SETA 530" --predefine="
|
||||
ARMCM0 SETA 1" --predefine="_RTE_ SETA 1" --list=.\listing\startup_xinc.lst ..\
|
||||
app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
STACK 00000000
|
||||
|
||||
Symbol: STACK
|
||||
Definitions
|
||||
At line 10 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: STACK unused
|
||||
Stack_Mem 00000000
|
||||
|
||||
Symbol: Stack_Mem
|
||||
Definitions
|
||||
At line 11 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 249 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 251 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
__initial_sp 00000400
|
||||
|
||||
Symbol: __initial_sp
|
||||
Definitions
|
||||
At line 12 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 32 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Comment: __initial_sp used once
|
||||
3 symbols
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
HEAP 00000000
|
||||
|
||||
Symbol: HEAP
|
||||
Definitions
|
||||
At line 16 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: HEAP unused
|
||||
Heap_Mem 00000000
|
||||
|
||||
Symbol: Heap_Mem
|
||||
Definitions
|
||||
At line 18 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 248 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 250 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
__heap_base 00000000
|
||||
|
||||
Symbol: __heap_base
|
||||
Definitions
|
||||
At line 17 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: __heap_base unused
|
||||
__heap_limit 00000000
|
||||
|
||||
Symbol: __heap_limit
|
||||
Definitions
|
||||
At line 19 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: __heap_limit unused
|
||||
4 symbols
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
RESET 00000000
|
||||
|
||||
Symbol: RESET
|
||||
Definitions
|
||||
At line 27 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: RESET unused
|
||||
__Vectors 00000000
|
||||
|
||||
Symbol: __Vectors
|
||||
Definitions
|
||||
At line 32 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 28 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 86 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
__Vectors_End 000000C0
|
||||
|
||||
Symbol: __Vectors_End
|
||||
Definitions
|
||||
At line 84 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 29 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 86 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
3 symbols
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
.text 00000000
|
||||
|
||||
Symbol: .text
|
||||
Definitions
|
||||
At line 90 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: .text unused
|
||||
AES_Handler 00000032
|
||||
|
||||
Symbol: AES_Handler
|
||||
Definitions
|
||||
At line 228 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 70 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 183 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
AOTIMER0_Handler 00000032
|
||||
|
||||
Symbol: AOTIMER0_Handler
|
||||
Definitions
|
||||
At line 229 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 78 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 195 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
AOTIMER1_Handler 00000032
|
||||
|
||||
Symbol: AOTIMER1_Handler
|
||||
Definitions
|
||||
At line 230 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 79 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 196 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
AUDIO_Handler 00000032
|
||||
|
||||
Symbol: AUDIO_Handler
|
||||
Definitions
|
||||
At line 226 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 72 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 189 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
BLE_Handler 00000032
|
||||
|
||||
Symbol: BLE_Handler
|
||||
Definitions
|
||||
At line 203 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 51 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 164 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
BusFault_Handler 0000002A
|
||||
|
||||
Symbol: BusFault_Handler
|
||||
Definitions
|
||||
At line 144 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 2 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
At line 37 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 145 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
CAN_Handler 00000032
|
||||
|
||||
Symbol: CAN_Handler
|
||||
Definitions
|
||||
At line 233 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 82 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 199 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
CMP_Handler 00000032
|
||||
|
||||
Symbol: CMP_Handler
|
||||
Definitions
|
||||
At line 231 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 80 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 197 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
CPR_Handler 00000032
|
||||
|
||||
Symbol: CPR_Handler
|
||||
Definitions
|
||||
At line 206 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 53 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 166 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
DMA_Handler 00000032
|
||||
|
||||
Symbol: DMA_Handler
|
||||
Definitions
|
||||
At line 205 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 52 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 165 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
DebugMon_Handler 00000030
|
||||
|
||||
Symbol: DebugMon_Handler
|
||||
Definitions
|
||||
At line 158 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 44 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 159 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
Default_Handler 00000032
|
||||
|
||||
Symbol: Default_Handler
|
||||
Definitions
|
||||
At line 163 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: Default_Handler unused
|
||||
FMC_Handler 00000032
|
||||
|
||||
Symbol: FMC_Handler
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 3 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
Definitions
|
||||
At line 232 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 81 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 198 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
GADC_Handler 00000032
|
||||
|
||||
Symbol: GADC_Handler
|
||||
Definitions
|
||||
At line 224 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 68 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 181 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
GPIO_Handler 00000032
|
||||
|
||||
Symbol: GPIO_Handler
|
||||
Definitions
|
||||
At line 207 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 54 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 167 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
HardFault_Handler 00000010
|
||||
|
||||
Symbol: HardFault_Handler
|
||||
Definitions
|
||||
At line 122 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 35 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Comment: HardFault_Handler used once
|
||||
I2C_Handler 00000032
|
||||
|
||||
Symbol: I2C_Handler
|
||||
Definitions
|
||||
At line 214 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 61 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 174 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
I2S_Handler 00000032
|
||||
|
||||
Symbol: I2S_Handler
|
||||
Definitions
|
||||
At line 215 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 77 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 194 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
MemManage_Handler 00000028
|
||||
|
||||
Symbol: MemManage_Handler
|
||||
Definitions
|
||||
At line 139 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 36 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 140 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 4 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
NMI_Handler 0000000E
|
||||
|
||||
Symbol: NMI_Handler
|
||||
Definitions
|
||||
At line 115 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 34 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 116 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
PWM_Handler 00000032
|
||||
|
||||
Symbol: PWM_Handler
|
||||
Definitions
|
||||
At line 225 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 69 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 182 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
PendSV_Handler 00000032
|
||||
|
||||
Symbol: PendSV_Handler
|
||||
Definitions
|
||||
At line 201 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 46 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 185 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
RF24G_Handler 00000032
|
||||
|
||||
Symbol: RF24G_Handler
|
||||
Definitions
|
||||
At line 204 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 73 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 190 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
RTC_Handler 00000032
|
||||
|
||||
Symbol: RTC_Handler
|
||||
Definitions
|
||||
At line 208 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 55 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 168 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
Reset_Handler 00000000
|
||||
|
||||
Symbol: Reset_Handler
|
||||
Definitions
|
||||
At line 93 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 33 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 95 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
SPI0_Handler 00000032
|
||||
|
||||
Symbol: SPI0_Handler
|
||||
Definitions
|
||||
At line 219 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 5 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
Uses
|
||||
At line 64 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 177 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
SPI1_Handler 00000032
|
||||
|
||||
Symbol: SPI1_Handler
|
||||
Definitions
|
||||
At line 220 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 65 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 178 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
SPI2_Handler 00000032
|
||||
|
||||
Symbol: SPI2_Handler
|
||||
Definitions
|
||||
At line 221 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 74 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 191 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
SVC_Handler 0000002E
|
||||
|
||||
Symbol: SVC_Handler
|
||||
Definitions
|
||||
At line 153 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 43 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 154 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
SysTick_Handler 00000032
|
||||
|
||||
Symbol: SysTick_Handler
|
||||
Definitions
|
||||
At line 202 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 47 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 186 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
TIMER0_Handler 00000032
|
||||
|
||||
Symbol: TIMER0_Handler
|
||||
Definitions
|
||||
At line 209 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 56 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 169 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
TIMER1_Handler 00000032
|
||||
|
||||
Symbol: TIMER1_Handler
|
||||
Definitions
|
||||
At line 210 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 57 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 170 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
TIMER2_Handler 00000032
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 6 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
|
||||
Symbol: TIMER2_Handler
|
||||
Definitions
|
||||
At line 211 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 58 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 171 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
TIMER3_Handler 00000032
|
||||
|
||||
Symbol: TIMER3_Handler
|
||||
Definitions
|
||||
At line 212 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 59 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 172 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
UART0_Handler 00000032
|
||||
|
||||
Symbol: UART0_Handler
|
||||
Definitions
|
||||
At line 216 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 62 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 175 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
UART1_Handler 00000032
|
||||
|
||||
Symbol: UART1_Handler
|
||||
Definitions
|
||||
At line 217 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 63 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 176 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
UART2_Handler 00000032
|
||||
|
||||
Symbol: UART2_Handler
|
||||
Definitions
|
||||
At line 218 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 76 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 193 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
USB_Handler 00000032
|
||||
|
||||
Symbol: USB_Handler
|
||||
Definitions
|
||||
At line 234 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 71 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 188 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
UsageFault_Handler 0000002C
|
||||
|
||||
Symbol: UsageFault_Handler
|
||||
Definitions
|
||||
At line 149 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 7 Alphabetic symbol ordering
|
||||
Relocatable symbols
|
||||
|
||||
At line 38 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 150 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
WDT_Handler 00000032
|
||||
|
||||
Symbol: WDT_Handler
|
||||
Definitions
|
||||
At line 213 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 60 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 173 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
__user_initial_stackheap 00000034
|
||||
|
||||
Symbol: __user_initial_stackheap
|
||||
Definitions
|
||||
At line 246 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 245 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Comment: __user_initial_stackheap used once
|
||||
hf_used_msp 00000020
|
||||
|
||||
Symbol: hf_used_msp
|
||||
Definitions
|
||||
At line 131 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 127 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Comment: hf_used_msp used once
|
||||
43 symbols
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||||
Absolute symbols
|
||||
|
||||
Heap_Size 00000000
|
||||
|
||||
Symbol: Heap_Size
|
||||
Definitions
|
||||
At line 14 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 18 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 250 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
Stack_Size 00000400
|
||||
|
||||
Symbol: Stack_Size
|
||||
Definitions
|
||||
At line 8 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 11 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 249 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
__Vectors_Size 000000C0
|
||||
|
||||
Symbol: __Vectors_Size
|
||||
Definitions
|
||||
At line 86 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 30 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Comment: __Vectors_Size used once
|
||||
3 symbols
|
||||
|
||||
|
||||
|
||||
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||||
External symbols
|
||||
|
||||
HardFault_Handler_c 00000000
|
||||
|
||||
Symbol: HardFault_Handler_c
|
||||
Definitions
|
||||
At line 123 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 129 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
At line 133 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
|
||||
SystemInit 00000000
|
||||
|
||||
Symbol: SystemInit
|
||||
Definitions
|
||||
At line 97 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 106 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Comment: SystemInit used once
|
||||
__main 00000000
|
||||
|
||||
Symbol: __main
|
||||
Definitions
|
||||
At line 98 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
At line 109 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Comment: __main used once
|
||||
__use_two_region_memory 00000000
|
||||
|
||||
Symbol: __use_two_region_memory
|
||||
Definitions
|
||||
At line 244 in file ..\app\Startup\xc60xx\startup_xinc.s
|
||||
Uses
|
||||
None
|
||||
Comment: __use_two_region_memory unused
|
||||
4 symbols
|
||||
395 symbols in table
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
Xincboot_tool.exe 0_ram.bin 1_ram_download.bin 0 0 0 0 1
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
.\Tools\xinchip_xip_tool.exe .\Output\0_ram.bin .\Output\xip_dual .\Output\1_xip_download.bin
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,557 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||
<ProjectOpt xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="project_optx.xsd">
|
||||
|
||||
<SchemaVersion>1.0</SchemaVersion>
|
||||
|
||||
<Header>### uVision Project, (C) Keil Software</Header>
|
||||
|
||||
<Extensions>
|
||||
<cExt>*.c</cExt>
|
||||
<aExt>*.s*; *.src; *.a*</aExt>
|
||||
<oExt>*.obj; *.o</oExt>
|
||||
<lExt>*.lib</lExt>
|
||||
<tExt>*.txt; *.h; *.inc</tExt>
|
||||
<pExt>*.plm</pExt>
|
||||
<CppX>*.cpp</CppX>
|
||||
<nMigrate>0</nMigrate>
|
||||
</Extensions>
|
||||
|
||||
<DaveTm>
|
||||
<dwLowDateTime>0</dwLowDateTime>
|
||||
<dwHighDateTime>0</dwHighDateTime>
|
||||
</DaveTm>
|
||||
|
||||
<Target>
|
||||
<TargetName>usb_hid_mouse</TargetName>
|
||||
<ToolsetNumber>0x4</ToolsetNumber>
|
||||
<ToolsetName>ARM-ADS</ToolsetName>
|
||||
<TargetOption>
|
||||
<CLKADS>12000000</CLKADS>
|
||||
<OPTTT>
|
||||
<gFlags>1</gFlags>
|
||||
<BeepAtEnd>1</BeepAtEnd>
|
||||
<RunSim>0</RunSim>
|
||||
<RunTarget>1</RunTarget>
|
||||
<RunAbUc>0</RunAbUc>
|
||||
</OPTTT>
|
||||
<OPTHX>
|
||||
<HexSelection>1</HexSelection>
|
||||
<FlashByte>65535</FlashByte>
|
||||
<HexRangeLowAddress>0</HexRangeLowAddress>
|
||||
<HexRangeHighAddress>0</HexRangeHighAddress>
|
||||
<HexOffset>0</HexOffset>
|
||||
</OPTHX>
|
||||
<OPTLEX>
|
||||
<PageWidth>79</PageWidth>
|
||||
<PageLength>66</PageLength>
|
||||
<TabStop>8</TabStop>
|
||||
<ListingPath>.\Listing\</ListingPath>
|
||||
</OPTLEX>
|
||||
<ListingPage>
|
||||
<CreateCListing>1</CreateCListing>
|
||||
<CreateAListing>1</CreateAListing>
|
||||
<CreateLListing>1</CreateLListing>
|
||||
<CreateIListing>0</CreateIListing>
|
||||
<AsmCond>1</AsmCond>
|
||||
<AsmSymb>1</AsmSymb>
|
||||
<AsmXref>0</AsmXref>
|
||||
<CCond>1</CCond>
|
||||
<CCode>0</CCode>
|
||||
<CListInc>0</CListInc>
|
||||
<CSymb>0</CSymb>
|
||||
<LinkerCodeListing>0</LinkerCodeListing>
|
||||
</ListingPage>
|
||||
<OPTXL>
|
||||
<LMap>1</LMap>
|
||||
<LComments>1</LComments>
|
||||
<LGenerateSymbols>1</LGenerateSymbols>
|
||||
<LLibSym>1</LLibSym>
|
||||
<LLines>1</LLines>
|
||||
<LLocSym>1</LLocSym>
|
||||
<LPubSym>1</LPubSym>
|
||||
<LXref>0</LXref>
|
||||
<LExpSel>0</LExpSel>
|
||||
</OPTXL>
|
||||
<OPTFL>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<IsCurrentTarget>1</IsCurrentTarget>
|
||||
</OPTFL>
|
||||
<CpuCode>7</CpuCode>
|
||||
<DebugOpt>
|
||||
<uSim>0</uSim>
|
||||
<uTrg>1</uTrg>
|
||||
<sLdApp>1</sLdApp>
|
||||
<sGomain>1</sGomain>
|
||||
<sRbreak>1</sRbreak>
|
||||
<sRwatch>1</sRwatch>
|
||||
<sRmem>1</sRmem>
|
||||
<sRfunc>1</sRfunc>
|
||||
<sRbox>1</sRbox>
|
||||
<tLdApp>1</tLdApp>
|
||||
<tGomain>1</tGomain>
|
||||
<tRbreak>1</tRbreak>
|
||||
<tRwatch>1</tRwatch>
|
||||
<tRmem>1</tRmem>
|
||||
<tRfunc>0</tRfunc>
|
||||
<tRbox>1</tRbox>
|
||||
<tRtrace>1</tRtrace>
|
||||
<sRSysVw>1</sRSysVw>
|
||||
<tRSysVw>1</tRSysVw>
|
||||
<sRunDeb>0</sRunDeb>
|
||||
<sLrtime>0</sLrtime>
|
||||
<bEvRecOn>1</bEvRecOn>
|
||||
<bSchkAxf>0</bSchkAxf>
|
||||
<bTchkAxf>0</bTchkAxf>
|
||||
<nTsel>4</nTsel>
|
||||
<sDll></sDll>
|
||||
<sDllPa></sDllPa>
|
||||
<sDlgDll></sDlgDll>
|
||||
<sDlgPa></sDlgPa>
|
||||
<sIfile></sIfile>
|
||||
<tDll></tDll>
|
||||
<tDllPa></tDllPa>
|
||||
<tDlgDll></tDlgDll>
|
||||
<tDlgPa></tDlgPa>
|
||||
<tIfile>.\Linker\Initialization.ini</tIfile>
|
||||
<pMon>Segger\JL2CM3.dll</pMon>
|
||||
</DebugOpt>
|
||||
<TargetDriverDllRegistry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>ARMRTXEVENTFLAGS</Key>
|
||||
<Name>-L70 -Z18 -C0 -M0 -T1</Name>
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>DLGTARM</Key>
|
||||
<Name>(1010=-1,-1,-1,-1,0)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)</Name>
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>ARMDBGFLAGS</Key>
|
||||
<Name></Name>
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>DLGUARM</Key>
|
||||
<Name></Name>
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>UL2CM3</Key>
|
||||
<Name>UL2CM3(-S0 -C0 -P0 -FC1000 -FD20000000</Name>
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>JL2CM3</Key>
|
||||
<Name>-U4294967295 -O78 -S2 -ZTIFSpeedSel5000 -A0 -C0 -JU1 -JI127.0.0.1 -JP0 -RST0 -N00("ARM CoreSight SW-DP") -D00(0BB11477) -L00(0) -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -TB1 -TFE0 -FO7 -FD10000000 -FC1000 -FN1 -FF0xc620 -FS010000000 -FL020000</Name>
|
||||
</SetRegEntry>
|
||||
</TargetDriverDllRegistry>
|
||||
<Breakpoint/>
|
||||
<WatchWindow1>
|
||||
<Ww>
|
||||
<count>0</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>baudrate</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>1</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>mul</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>2</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>div</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>3</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>adj_div</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>4</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>clk_ctl</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>5</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>HID_Load_Finish</ItemText>
|
||||
</Ww>
|
||||
</WatchWindow1>
|
||||
<MemoryWindow1>
|
||||
<Mm>
|
||||
<WinNumber>1</WinNumber>
|
||||
<SubType>0</SubType>
|
||||
<ItemText>0X40000040</ItemText>
|
||||
<AccSizeX>0</AccSizeX>
|
||||
</Mm>
|
||||
</MemoryWindow1>
|
||||
<Tracepoint>
|
||||
<THDelay>0</THDelay>
|
||||
</Tracepoint>
|
||||
<DebugFlag>
|
||||
<trace>0</trace>
|
||||
<periodic>0</periodic>
|
||||
<aLwin>1</aLwin>
|
||||
<aCover>0</aCover>
|
||||
<aSer1>0</aSer1>
|
||||
<aSer2>0</aSer2>
|
||||
<aPa>0</aPa>
|
||||
<viewmode>1</viewmode>
|
||||
<vrSel>0</vrSel>
|
||||
<aSym>0</aSym>
|
||||
<aTbox>0</aTbox>
|
||||
<AscS1>0</AscS1>
|
||||
<AscS2>0</AscS2>
|
||||
<AscS3>0</AscS3>
|
||||
<aSer3>0</aSer3>
|
||||
<eProf>0</eProf>
|
||||
<aLa>0</aLa>
|
||||
<aPa1>0</aPa1>
|
||||
<AscS4>0</AscS4>
|
||||
<aSer4>0</aSer4>
|
||||
<StkLoc>0</StkLoc>
|
||||
<TrcWin>0</TrcWin>
|
||||
<newCpu>0</newCpu>
|
||||
<uProt>0</uProt>
|
||||
</DebugFlag>
|
||||
<LintExecutable></LintExecutable>
|
||||
<LintConfigFile></LintConfigFile>
|
||||
<bLintAuto>0</bLintAuto>
|
||||
<bAutoGenD>0</bAutoGenD>
|
||||
<LntExFlags>0</LntExFlags>
|
||||
<pMisraName></pMisraName>
|
||||
<pszMrule></pszMrule>
|
||||
<pSingCmds></pSingCmds>
|
||||
<pMultCmds></pMultCmds>
|
||||
<pMisraNamep></pMisraNamep>
|
||||
<pszMrulep></pszMrulep>
|
||||
<pSingCmdsp></pSingCmdsp>
|
||||
<pMultCmdsp></pMultCmdsp>
|
||||
</TargetOption>
|
||||
</Target>
|
||||
|
||||
<Group>
|
||||
<GroupName>startup</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>1</GroupNumber>
|
||||
<FileNumber>1</FileNumber>
|
||||
<FileType>5</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\CMSIS\core_cm0.h</PathWithFileName>
|
||||
<FilenameWithoutPath>core_cm0.h</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>1</GroupNumber>
|
||||
<FileNumber>2</FileNumber>
|
||||
<FileType>2</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\app\Startup\xc60xx\startup_xinc.s</PathWithFileName>
|
||||
<FilenameWithoutPath>startup_xinc.s</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>1</GroupNumber>
|
||||
<FileNumber>3</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\app\Startup\system_xinc.c</PathWithFileName>
|
||||
<FilenameWithoutPath>system_xinc.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>1</GroupNumber>
|
||||
<FileNumber>4</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\app\Startup\system_it_xinc.c</PathWithFileName>
|
||||
<FilenameWithoutPath>system_it_xinc.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>app</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>2</GroupNumber>
|
||||
<FileNumber>5</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\app\src\main.c</PathWithFileName>
|
||||
<FilenameWithoutPath>main.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>Drivers</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>6</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_adc.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_adc.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>7</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_clock.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_clock.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>8</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_gpio.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_gpio.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>9</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_systick.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_systick.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>10</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\ringbuffer.c</PathWithFileName>
|
||||
<FilenameWithoutPath>ringbuffer.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>11</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\usb_driver\xc_hal_ll_usb_np.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_hal_ll_usb_np.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>12</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\usb_driver\xc_hal_pcd_np.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_hal_pcd_np.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>13</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\usb_driver\xc_hal_usb.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_hal_usb.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>14</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_uart.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_uart.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>15</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_pwr.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_pwr.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>middleware/App/hid</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>4</GroupNumber>
|
||||
<FileNumber>16</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\App\hid\usb_device.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usb_device.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>4</GroupNumber>
|
||||
<FileNumber>17</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\App\hid\usbd_desc.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usbd_desc.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>middleware/Library/Class/HID</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>18</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Class\HID\usbd_hid.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usbd_hid.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>middleware/Library/Core</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>6</GroupNumber>
|
||||
<FileNumber>19</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Core\usbd_core.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usbd_core.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>6</GroupNumber>
|
||||
<FileNumber>20</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Core\usbd_ctlreq.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usbd_ctlreq.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>6</GroupNumber>
|
||||
<FileNumber>21</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Core\usbd_ioreq.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usbd_ioreq.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>middleware/Target</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>7</GroupNumber>
|
||||
<FileNumber>22</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Target\usbd_conf.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usbd_conf.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
</ProjectOpt>
|
||||
@@ -0,0 +1,553 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||
<Project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="project_projx.xsd">
|
||||
|
||||
<SchemaVersion>2.1</SchemaVersion>
|
||||
|
||||
<Header>### uVision Project, (C) Keil Software</Header>
|
||||
|
||||
<Targets>
|
||||
<Target>
|
||||
<TargetName>usb_hid_mouse</TargetName>
|
||||
<ToolsetNumber>0x4</ToolsetNumber>
|
||||
<ToolsetName>ARM-ADS</ToolsetName>
|
||||
<pCCUsed>5060750::V5.06 update 6 (build 750)::.\ARMCC</pCCUsed>
|
||||
<uAC6>0</uAC6>
|
||||
<TargetOption>
|
||||
<TargetCommonOption>
|
||||
<Device>ARMCM0</Device>
|
||||
<Vendor>ARM</Vendor>
|
||||
<PackID>ARM.CMSIS.5.7.0</PackID>
|
||||
<PackURL>http://www.keil.com/pack/</PackURL>
|
||||
<Cpu>IRAM(0x20000000,0x00020000) IROM(0x00000000,0x00040000) CPUTYPE("Cortex-M0") CLOCK(12000000) ESEL ELITTLE</Cpu>
|
||||
<FlashUtilSpec></FlashUtilSpec>
|
||||
<StartupFile></StartupFile>
|
||||
<FlashDriverDll>UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000)</FlashDriverDll>
|
||||
<DeviceId>0</DeviceId>
|
||||
<RegisterFile>$$Device:ARMCM0$Device\ARM\ARMCM0\Include\ARMCM0.h</RegisterFile>
|
||||
<MemoryEnv></MemoryEnv>
|
||||
<Cmp></Cmp>
|
||||
<Asm></Asm>
|
||||
<Linker></Linker>
|
||||
<OHString></OHString>
|
||||
<InfinionOptionDll></InfinionOptionDll>
|
||||
<SLE66CMisc></SLE66CMisc>
|
||||
<SLE66AMisc></SLE66AMisc>
|
||||
<SLE66LinkerMisc></SLE66LinkerMisc>
|
||||
<SFDFile></SFDFile>
|
||||
<bCustSvd>0</bCustSvd>
|
||||
<UseEnv>0</UseEnv>
|
||||
<BinPath></BinPath>
|
||||
<IncludePath></IncludePath>
|
||||
<LibPath></LibPath>
|
||||
<RegisterFilePath></RegisterFilePath>
|
||||
<DBRegisterFilePath></DBRegisterFilePath>
|
||||
<TargetStatus>
|
||||
<Error>0</Error>
|
||||
<ExitCodeStop>0</ExitCodeStop>
|
||||
<ButtonStop>0</ButtonStop>
|
||||
<NotGenerated>0</NotGenerated>
|
||||
<InvalidFlash>1</InvalidFlash>
|
||||
</TargetStatus>
|
||||
<OutputDirectory>.\Objects\</OutputDirectory>
|
||||
<OutputName>xc6xxx_usb</OutputName>
|
||||
<CreateExecutable>1</CreateExecutable>
|
||||
<CreateLib>0</CreateLib>
|
||||
<CreateHexFile>1</CreateHexFile>
|
||||
<DebugInformation>1</DebugInformation>
|
||||
<BrowseInformation>1</BrowseInformation>
|
||||
<ListingPath>.\Listing\</ListingPath>
|
||||
<HexFormatSelection>1</HexFormatSelection>
|
||||
<Merge32K>0</Merge32K>
|
||||
<CreateBatchFile>0</CreateBatchFile>
|
||||
<BeforeCompile>
|
||||
<RunUserProg1>0</RunUserProg1>
|
||||
<RunUserProg2>0</RunUserProg2>
|
||||
<UserProg1Name></UserProg1Name>
|
||||
<UserProg2Name></UserProg2Name>
|
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
|
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
|
||||
<nStopU1X>0</nStopU1X>
|
||||
<nStopU2X>0</nStopU2X>
|
||||
</BeforeCompile>
|
||||
<BeforeMake>
|
||||
<RunUserProg1>0</RunUserProg1>
|
||||
<RunUserProg2>0</RunUserProg2>
|
||||
<UserProg1Name></UserProg1Name>
|
||||
<UserProg2Name></UserProg2Name>
|
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
|
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
|
||||
<nStopB1X>0</nStopB1X>
|
||||
<nStopB2X>0</nStopB2X>
|
||||
</BeforeMake>
|
||||
<AfterMake>
|
||||
<RunUserProg1>1</RunUserProg1>
|
||||
<RunUserProg2>1</RunUserProg2>
|
||||
<UserProg1Name>fromelf --bin --output=.\Output\0_ram.bin !L</UserProg1Name>
|
||||
<UserProg2Name>.\tools\Xincboot_tool .\Output\0_ram.bin .\Output\1_ram_download.bin</UserProg2Name>
|
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
|
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
|
||||
<nStopA1X>0</nStopA1X>
|
||||
<nStopA2X>0</nStopA2X>
|
||||
</AfterMake>
|
||||
<SelectedForBatchBuild>0</SelectedForBatchBuild>
|
||||
<SVCSIdString></SVCSIdString>
|
||||
</TargetCommonOption>
|
||||
<CommonProperty>
|
||||
<UseCPPCompiler>0</UseCPPCompiler>
|
||||
<RVCTCodeConst>0</RVCTCodeConst>
|
||||
<RVCTZI>0</RVCTZI>
|
||||
<RVCTOtherData>0</RVCTOtherData>
|
||||
<ModuleSelection>0</ModuleSelection>
|
||||
<IncludeInBuild>1</IncludeInBuild>
|
||||
<AlwaysBuild>0</AlwaysBuild>
|
||||
<GenerateAssemblyFile>0</GenerateAssemblyFile>
|
||||
<AssembleAssemblyFile>0</AssembleAssemblyFile>
|
||||
<PublicsOnly>0</PublicsOnly>
|
||||
<StopOnExitCode>3</StopOnExitCode>
|
||||
<CustomArgument></CustomArgument>
|
||||
<IncludeLibraryModules></IncludeLibraryModules>
|
||||
<ComprImg>1</ComprImg>
|
||||
</CommonProperty>
|
||||
<DllOption>
|
||||
<SimDllName>SARMCM3.DLL</SimDllName>
|
||||
<SimDllArguments> </SimDllArguments>
|
||||
<SimDlgDll>DARMCM1.DLL</SimDlgDll>
|
||||
<SimDlgDllArguments>-pCM0</SimDlgDllArguments>
|
||||
<TargetDllName>SARMCM3.DLL</TargetDllName>
|
||||
<TargetDllArguments> </TargetDllArguments>
|
||||
<TargetDlgDll>TARMCM1.DLL</TargetDlgDll>
|
||||
<TargetDlgDllArguments>-pCM0</TargetDlgDllArguments>
|
||||
</DllOption>
|
||||
<DebugOption>
|
||||
<OPTHX>
|
||||
<HexSelection>1</HexSelection>
|
||||
<HexRangeLowAddress>0</HexRangeLowAddress>
|
||||
<HexRangeHighAddress>0</HexRangeHighAddress>
|
||||
<HexOffset>0</HexOffset>
|
||||
<Oh166RecLen>16</Oh166RecLen>
|
||||
</OPTHX>
|
||||
</DebugOption>
|
||||
<Utilities>
|
||||
<Flash1>
|
||||
<UseTargetDll>1</UseTargetDll>
|
||||
<UseExternalTool>0</UseExternalTool>
|
||||
<RunIndependent>0</RunIndependent>
|
||||
<UpdateFlashBeforeDebugging>1</UpdateFlashBeforeDebugging>
|
||||
<Capability>1</Capability>
|
||||
<DriverSelection>4096</DriverSelection>
|
||||
</Flash1>
|
||||
<bUseTDR>1</bUseTDR>
|
||||
<Flash2>BIN\UL2CM3.DLL</Flash2>
|
||||
<Flash3>"" ()</Flash3>
|
||||
<Flash4></Flash4>
|
||||
<pFcarmOut></pFcarmOut>
|
||||
<pFcarmGrp></pFcarmGrp>
|
||||
<pFcArmRoot></pFcArmRoot>
|
||||
<FcArmLst>0</FcArmLst>
|
||||
</Utilities>
|
||||
<TargetArmAds>
|
||||
<ArmAdsMisc>
|
||||
<GenerateListings>0</GenerateListings>
|
||||
<asHll>1</asHll>
|
||||
<asAsm>1</asAsm>
|
||||
<asMacX>1</asMacX>
|
||||
<asSyms>1</asSyms>
|
||||
<asFals>1</asFals>
|
||||
<asDbgD>1</asDbgD>
|
||||
<asForm>1</asForm>
|
||||
<ldLst>0</ldLst>
|
||||
<ldmm>1</ldmm>
|
||||
<ldXref>1</ldXref>
|
||||
<BigEnd>0</BigEnd>
|
||||
<AdsALst>1</AdsALst>
|
||||
<AdsACrf>1</AdsACrf>
|
||||
<AdsANop>0</AdsANop>
|
||||
<AdsANot>0</AdsANot>
|
||||
<AdsLLst>1</AdsLLst>
|
||||
<AdsLmap>1</AdsLmap>
|
||||
<AdsLcgr>1</AdsLcgr>
|
||||
<AdsLsym>1</AdsLsym>
|
||||
<AdsLszi>1</AdsLszi>
|
||||
<AdsLtoi>1</AdsLtoi>
|
||||
<AdsLsun>1</AdsLsun>
|
||||
<AdsLven>1</AdsLven>
|
||||
<AdsLsxf>1</AdsLsxf>
|
||||
<RvctClst>0</RvctClst>
|
||||
<GenPPlst>0</GenPPlst>
|
||||
<AdsCpuType>"Cortex-M0"</AdsCpuType>
|
||||
<RvctDeviceName></RvctDeviceName>
|
||||
<mOS>0</mOS>
|
||||
<uocRom>0</uocRom>
|
||||
<uocRam>0</uocRam>
|
||||
<hadIROM>1</hadIROM>
|
||||
<hadIRAM>1</hadIRAM>
|
||||
<hadXRAM>0</hadXRAM>
|
||||
<uocXRam>0</uocXRam>
|
||||
<RvdsVP>0</RvdsVP>
|
||||
<RvdsMve>0</RvdsMve>
|
||||
<RvdsCdeCp>0</RvdsCdeCp>
|
||||
<hadIRAM2>0</hadIRAM2>
|
||||
<hadIROM2>0</hadIROM2>
|
||||
<StupSel>8</StupSel>
|
||||
<useUlib>0</useUlib>
|
||||
<EndSel>1</EndSel>
|
||||
<uLtcg>0</uLtcg>
|
||||
<nSecure>0</nSecure>
|
||||
<RoSelD>3</RoSelD>
|
||||
<RwSelD>3</RwSelD>
|
||||
<CodeSel>0</CodeSel>
|
||||
<OptFeed>0</OptFeed>
|
||||
<NoZi1>0</NoZi1>
|
||||
<NoZi2>0</NoZi2>
|
||||
<NoZi3>0</NoZi3>
|
||||
<NoZi4>0</NoZi4>
|
||||
<NoZi5>0</NoZi5>
|
||||
<Ro1Chk>0</Ro1Chk>
|
||||
<Ro2Chk>0</Ro2Chk>
|
||||
<Ro3Chk>0</Ro3Chk>
|
||||
<Ir1Chk>1</Ir1Chk>
|
||||
<Ir2Chk>0</Ir2Chk>
|
||||
<Ra1Chk>0</Ra1Chk>
|
||||
<Ra2Chk>0</Ra2Chk>
|
||||
<Ra3Chk>0</Ra3Chk>
|
||||
<Im1Chk>1</Im1Chk>
|
||||
<Im2Chk>0</Im2Chk>
|
||||
<OnChipMemories>
|
||||
<Ocm1>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm1>
|
||||
<Ocm2>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm2>
|
||||
<Ocm3>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm3>
|
||||
<Ocm4>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm4>
|
||||
<Ocm5>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm5>
|
||||
<Ocm6>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm6>
|
||||
<IRAM>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x20000000</StartAddress>
|
||||
<Size>0x20000</Size>
|
||||
</IRAM>
|
||||
<IROM>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x40000</Size>
|
||||
</IROM>
|
||||
<XRAM>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</XRAM>
|
||||
<OCR_RVCT1>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT1>
|
||||
<OCR_RVCT2>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT2>
|
||||
<OCR_RVCT3>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT3>
|
||||
<OCR_RVCT4>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x40000</Size>
|
||||
</OCR_RVCT4>
|
||||
<OCR_RVCT5>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT5>
|
||||
<OCR_RVCT6>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT6>
|
||||
<OCR_RVCT7>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT7>
|
||||
<OCR_RVCT8>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT8>
|
||||
<OCR_RVCT9>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x20000000</StartAddress>
|
||||
<Size>0x20000</Size>
|
||||
</OCR_RVCT9>
|
||||
<OCR_RVCT10>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT10>
|
||||
</OnChipMemories>
|
||||
<RvctStartVector></RvctStartVector>
|
||||
</ArmAdsMisc>
|
||||
<Cads>
|
||||
<interw>1</interw>
|
||||
<Optim>4</Optim>
|
||||
<oTime>0</oTime>
|
||||
<SplitLS>0</SplitLS>
|
||||
<OneElfS>1</OneElfS>
|
||||
<Strict>0</Strict>
|
||||
<EnumInt>0</EnumInt>
|
||||
<PlainCh>0</PlainCh>
|
||||
<Ropi>0</Ropi>
|
||||
<Rwpi>0</Rwpi>
|
||||
<wLevel>0</wLevel>
|
||||
<uThumb>0</uThumb>
|
||||
<uSurpInc>0</uSurpInc>
|
||||
<uC99>1</uC99>
|
||||
<uGnu>1</uGnu>
|
||||
<useXO>0</useXO>
|
||||
<v6Lang>1</v6Lang>
|
||||
<v6LangP>1</v6LangP>
|
||||
<vShortEn>1</vShortEn>
|
||||
<vShortWch>1</vShortWch>
|
||||
<v6Lto>0</v6Lto>
|
||||
<v6WtE>0</v6WtE>
|
||||
<v6Rtti>0</v6Rtti>
|
||||
<VariousControls>
|
||||
<MiscControls>--c99</MiscControls>
|
||||
<Define>XC60XX XC6XX_5C=0 DEBUG_ENABLE HID_MOUSE_ENABLE=1 HAL_PCD_MODULE_ENABLED USB_OTG_FS USB_SINGLE_DEVICE USB_HID HID_CLASS_MODE=1</Define>
|
||||
<Undefine></Undefine>
|
||||
<IncludePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\CMSIS\Device;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\CMSIS;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Target;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Core;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Class\HID;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\App\hid;..\app\api;..\app\Startup\xc60xx;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\usb_driver;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver;..\..\..\..\..\..\component\xc6xx_drivers\Drivers\CMSIS\Device\xc_m0_register</IncludePath>
|
||||
</VariousControls>
|
||||
</Cads>
|
||||
<Aads>
|
||||
<interw>1</interw>
|
||||
<Ropi>0</Ropi>
|
||||
<Rwpi>0</Rwpi>
|
||||
<thumb>0</thumb>
|
||||
<SplitLS>0</SplitLS>
|
||||
<SwStkChk>0</SwStkChk>
|
||||
<NoWarn>0</NoWarn>
|
||||
<uSurpInc>0</uSurpInc>
|
||||
<useXO>0</useXO>
|
||||
<ClangAsOpt>1</ClangAsOpt>
|
||||
<VariousControls>
|
||||
<MiscControls></MiscControls>
|
||||
<Define></Define>
|
||||
<Undefine></Undefine>
|
||||
<IncludePath></IncludePath>
|
||||
</VariousControls>
|
||||
</Aads>
|
||||
<LDads>
|
||||
<umfTarg>0</umfTarg>
|
||||
<Ropi>0</Ropi>
|
||||
<Rwpi>0</Rwpi>
|
||||
<noStLib>0</noStLib>
|
||||
<RepFail>1</RepFail>
|
||||
<useFile>0</useFile>
|
||||
<TextAddressRange>0x00000000</TextAddressRange>
|
||||
<DataAddressRange>0x00000000</DataAddressRange>
|
||||
<pXoBase></pXoBase>
|
||||
<ScatterFile>.\Linker\cpu.scat</ScatterFile>
|
||||
<IncludeLibs></IncludeLibs>
|
||||
<IncludeLibsPath></IncludeLibsPath>
|
||||
<Misc>--entry=Reset_Handler</Misc>
|
||||
<LinkerInputFile></LinkerInputFile>
|
||||
<DisabledWarnings></DisabledWarnings>
|
||||
</LDads>
|
||||
</TargetArmAds>
|
||||
</TargetOption>
|
||||
<Groups>
|
||||
<Group>
|
||||
<GroupName>startup</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>core_cm0.h</FileName>
|
||||
<FileType>5</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\CMSIS\core_cm0.h</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>startup_xinc.s</FileName>
|
||||
<FileType>2</FileType>
|
||||
<FilePath>..\app\Startup\xc60xx\startup_xinc.s</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>system_xinc.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\Startup\system_xinc.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>system_it_xinc.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\Startup\system_it_xinc.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>app</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>main.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\app\src\main.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>Drivers</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>xc_drv_adc.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_adc.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_drv_clock.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_clock.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_drv_gpio.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_gpio.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_drv_systick.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_systick.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>ringbuffer.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\ringbuffer.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_hal_ll_usb_np.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\usb_driver\xc_hal_ll_usb_np.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_hal_pcd_np.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\usb_driver\xc_hal_pcd_np.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_hal_usb.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\usb_driver\xc_hal_usb.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_drv_uart.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_uart.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_drv_pwr.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_pwr.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>middleware/App/hid</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>usb_device.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\App\hid\usb_device.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>usbd_desc.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\App\hid\usbd_desc.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>middleware/Library/Class/HID</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>usbd_hid.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Class\HID\usbd_hid.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>middleware/Library/Core</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>usbd_core.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Core\usbd_core.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>usbd_ctlreq.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Core\usbd_ctlreq.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>usbd_ioreq.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Library\Core\usbd_ioreq.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>middleware/Target</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>usbd_conf.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\..\component\xc6xx_drivers\Drivers\USB\Middleware\Target\usbd_conf.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
</Groups>
|
||||
</Target>
|
||||
</Targets>
|
||||
|
||||
<RTE>
|
||||
<apis/>
|
||||
<components/>
|
||||
<files/>
|
||||
</RTE>
|
||||
|
||||
<LayerInfo>
|
||||
<Layers>
|
||||
<Layer>
|
||||
<LayName><Project Info></LayName>
|
||||
<LayDesc></LayDesc>
|
||||
<LayUrl></LayUrl>
|
||||
<LayKeys></LayKeys>
|
||||
<LayCat></LayCat>
|
||||
<LayLic></LayLic>
|
||||
<LayTarg>0</LayTarg>
|
||||
<LayPrjMark>1</LayPrjMark>
|
||||
</Layer>
|
||||
</Layers>
|
||||
</LayerInfo>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user