From d766ababec756272b883289ec60b2bb9cab6c281 Mon Sep 17 00:00:00 2001 From: tanek liang Date: Wed, 30 Aug 2017 10:42:14 +0800 Subject: [PATCH] update uart and spi driver --- bsp/gd32450z-eval/drivers/drv_spi.c | 9 + bsp/gd32450z-eval/drivers/drv_usart.c | 231 ++++++++++++-------------- bsp/gd32450z-eval/gd32_rom.sct | 15 ++ bsp/gd32450z-eval/project.ewp | 17 +- bsp/gd32450z-eval/project.uvprojx | 216 +++++++++++++----------- 5 files changed, 247 insertions(+), 241 deletions(-) create mode 100644 bsp/gd32450z-eval/gd32_rom.sct diff --git a/bsp/gd32450z-eval/drivers/drv_spi.c b/bsp/gd32450z-eval/drivers/drv_spi.c index 87ca4800bd..46b07d79ee 100644 --- a/bsp/gd32450z-eval/drivers/drv_spi.c +++ b/bsp/gd32450z-eval/drivers/drv_spi.c @@ -17,6 +17,14 @@ #include #include +#ifdef RT_USING_SPI + +#if !defined(RT_USING_SPI0) && !defined(RT_USING_SPI1) && \ + !defined(RT_USING_SPI2) && !defined(RT_USING_SPI3) && \ + !defined(RT_USING_SPI4) && !defined(RT_USING_SPI5) +#error "Please define at least one SPIx" +#endif + //#define DEBUG #define ARR_LEN(__N) (sizeof(__N) / sizeof(__N[0])) @@ -345,3 +353,4 @@ rt_err_t stm32_spi_bus_register(uint32_t spi_periph, p_spi_bus->hdma_rx.Init.PeriphBurst = DMA_PBURST_INC4; #endif } +#endif diff --git a/bsp/gd32450z-eval/drivers/drv_usart.c b/bsp/gd32450z-eval/drivers/drv_usart.c index 0535848f2e..01ea3ccdfb 100644 --- a/bsp/gd32450z-eval/drivers/drv_usart.c +++ b/bsp/gd32450z-eval/drivers/drv_usart.c @@ -26,7 +26,7 @@ !defined(RT_USING_USART2) && !defined(RT_USING_UART3) && \ !defined(RT_USING_UART4) && !defined(RT_USING_USART5) && \ !defined(RT_USING_UART6) && !defined(RT_USING_UART7) -#error "Please define " +#error "Please define at least one UARTx" #endif @@ -57,18 +57,6 @@ static void uart_isr(struct rt_serial_device *serial); #if defined(RT_USING_USART0) struct rt_serial_device serial0; -/* UART1 device driver structure */ -const struct gd32_uart usart0 = -{ - USART0, // uart peripheral index - USART0_IRQn, // uart iqrn - RCU_USART0, RCU_GPIOA, RCU_GPIOA, // periph clock, tx gpio clock, rt gpio clock - GPIOA, GPIO_AF_7, GPIO_PIN_9, // tx port, tx alternate, tx pin - GPIOA, GPIO_AF_7, GPIO_PIN_10, // rx port, rx alternate, rx pin - &serial0, - "uart0", -}; - void USART0_IRQHandler(void) { /* enter interrupt */ @@ -84,17 +72,6 @@ void USART0_IRQHandler(void) #if defined(RT_USING_USART1) struct rt_serial_device serial1; -/* UART1 device driver structure */ -const struct gd32_uart usart1 = -{ - USART1, // uart peripheral index - USART1_IRQn, // uart iqrn - RCU_USART1, RCU_GPIOA, RCU_GPIOA, // periph clock, tx gpio clock, rt gpio clock - GPIOA, GPIO_AF_7, GPIO_PIN_2, // tx port, tx alternate, tx pin - GPIOA, GPIO_AF_7, GPIO_PIN_3, // rx port, rx alternate, rx pin - &serial1, - "uart1", -}; void USART1_IRQHandler(void) { @@ -111,17 +88,6 @@ void USART1_IRQHandler(void) #if defined(RT_USING_USART2) struct rt_serial_device serial2; -/* UART2 device driver structure */ -const struct gd32_uart usart2 = -{ - USART2, // uart peripheral index - USART2_IRQn, // uart iqrn - RCU_USART2, RCU_GPIOB, RCU_GPIOB, // periph clock, tx gpio clock, rt gpio clock - GPIOB, GPIO_AF_7, GPIO_PIN_10, // tx port, tx alternate, tx pin - GPIOB, GPIO_AF_7, GPIO_PIN_11, // rx port, rx alternate, rx pin - &serial2, - "uart2", -}; void USART2_IRQHandler(void) { @@ -138,17 +104,6 @@ void USART2_IRQHandler(void) #if defined(RT_USING_UART3) struct rt_serial_device serial3; -/* UART3 device driver structure */ -const struct gd32_uart uart3 = -{ - UART3, // uart peripheral index - UART3_IRQn, // uart iqrn - RCU_UART3, RCU_GPIOC, RCU_GPIOC, // periph clock, tx gpio clock, rt gpio clock - GPIOC, GPIO_AF_8, GPIO_PIN_10, // tx port, tx alternate, tx pin - GPIOC, GPIO_AF_8, GPIO_PIN_11, // rx port, rx alternate, rx pin - &serial3, - "uart3", -}; void UART3_IRQHandler(void) { @@ -165,17 +120,6 @@ void UART3_IRQHandler(void) #if defined(RT_USING_UART4) struct rt_serial_device serial4; -/* UART4 device driver structure */ -const struct gd32_uart uart4 = -{ - UART4, // uart peripheral index - UART4_IRQn, // uart iqrn - RCU_UART4, RCU_GPIOC, RCU_GPIOD, // periph clock, tx gpio clock, rt gpio clock - GPIOC, GPIO_AF_8, GPIO_PIN_12, // tx port, tx alternate, tx pin - GPIOD, GPIO_AF_8, GPIO_PIN_2, // rx port, rx alternate, rx pin - &serial4, - "uart4", -}; void UART4_IRQHandler(void) { @@ -191,17 +135,6 @@ void UART4_IRQHandler(void) #if defined(RT_USING_USART5) struct rt_serial_device serial5; -/* UART5 device driver structure */ -const struct gd32_uart usart5 = -{ - USART5, // uart peripheral index - USART5_IRQn, // uart iqrn - RCU_USART5, RCU_GPIOC, RCU_GPIOC, // periph clock, tx gpio clock, rt gpio clock - GPIOC, GPIO_AF_8, GPIO_PIN_6, // tx port, tx alternate, tx pin - GPIOC, GPIO_AF_8, GPIO_PIN_7, // rx port, rx alternate, rx pin - &serial5, - "uart5", -}; void USART5_IRQHandler(void) { @@ -218,17 +151,6 @@ void USART5_IRQHandler(void) #if defined(RT_USING_UART6) struct rt_serial_device serial6; -/* UART6 device driver structure */ -const struct gd32_uart uart6 = -{ - UART6, // uart peripheral index - UART6_IRQn, // uart iqrn - RCU_UART6, RCU_GPIOE, RCU_GPIOE, // periph clock, tx gpio clock, rt gpio clock - GPIOE, GPIO_AF_8, GPIO_PIN_7, // tx port, tx alternate, tx pin - GPIOE, GPIO_AF_8, GPIO_PIN_8, // rx port, rx alternate, rx pin - &serial6, - "uart6", -}; void UART6_IRQHandler(void) { @@ -245,17 +167,6 @@ void UART6_IRQHandler(void) #if defined(RT_USING_UART7) struct rt_serial_device serial7; -/* UART7 device driver structure */ -const struct gd32_uart uart7 = -{ - UART7, // uart peripheral index - UART7_IRQn, // uart iqrn - RCU_UART7, RCU_GPIOE, RCU_GPIOE, // periph clock, tx gpio clock, rt gpio clock - GPIOE, GPIO_AF_8, GPIO_PIN_0, // tx port, tx alternate, tx pin - GPIOE, GPIO_AF_8, GPIO_PIN_1, // rx port, rx alternate, rx pin - &serial7, - "uart7", -}; void UART7_IRQHandler(void) { @@ -270,6 +181,104 @@ void UART7_IRQHandler(void) #endif /* RT_USING_UART7 */ +static const struct gd32_uart uarts[] = { + #ifdef RT_USING_USART0 + { + USART0, // uart peripheral index + USART0_IRQn, // uart iqrn + RCU_USART0, RCU_GPIOA, RCU_GPIOA, // periph clock, tx gpio clock, rt gpio clock + GPIOA, GPIO_AF_7, GPIO_PIN_9, // tx port, tx alternate, tx pin + GPIOA, GPIO_AF_7, GPIO_PIN_10, // rx port, rx alternate, rx pin + &serial0, + "uart0", + }, + #endif + + #ifdef RT_USING_USART1 + { + USART1, // uart peripheral index + USART1_IRQn, // uart iqrn + RCU_USART1, RCU_GPIOA, RCU_GPIOA, // periph clock, tx gpio clock, rt gpio clock + GPIOA, GPIO_AF_7, GPIO_PIN_2, // tx port, tx alternate, tx pin + GPIOA, GPIO_AF_7, GPIO_PIN_3, // rx port, rx alternate, rx pin + &serial1, + "uart1", + }, + #endif + + #ifdef RT_USING_USART2 + { + USART2, // uart peripheral index + USART2_IRQn, // uart iqrn + RCU_USART2, RCU_GPIOB, RCU_GPIOB, // periph clock, tx gpio clock, rt gpio clock + GPIOB, GPIO_AF_7, GPIO_PIN_10, // tx port, tx alternate, tx pin + GPIOB, GPIO_AF_7, GPIO_PIN_11, // rx port, rx alternate, rx pin + &serial2, + "uart2", + }, + #endif + + #ifdef RT_USING_UART3 + { + UART3, // uart peripheral index + UART3_IRQn, // uart iqrn + RCU_UART3, RCU_GPIOC, RCU_GPIOC, // periph clock, tx gpio clock, rt gpio clock + GPIOC, GPIO_AF_8, GPIO_PIN_10, // tx port, tx alternate, tx pin + GPIOC, GPIO_AF_8, GPIO_PIN_11, // rx port, rx alternate, rx pin + &serial3, + "uart3", + }, + #endif + + #ifdef RT_USING_UART4 + { + UART4, // uart peripheral index + UART4_IRQn, // uart iqrn + RCU_UART4, RCU_GPIOC, RCU_GPIOD, // periph clock, tx gpio clock, rt gpio clock + GPIOC, GPIO_AF_8, GPIO_PIN_12, // tx port, tx alternate, tx pin + GPIOD, GPIO_AF_8, GPIO_PIN_2, // rx port, rx alternate, rx pin + &serial4, + "uart4", + }, + #endif + + #ifdef RT_USING_USART5 + { + USART5, // uart peripheral index + USART5_IRQn, // uart iqrn + RCU_USART5, RCU_GPIOC, RCU_GPIOC, // periph clock, tx gpio clock, rt gpio clock + GPIOC, GPIO_AF_8, GPIO_PIN_6, // tx port, tx alternate, tx pin + GPIOC, GPIO_AF_8, GPIO_PIN_7, // rx port, rx alternate, rx pin + &serial5, + "uart5", + }, + #endif + + #ifdef RT_USING_UART6 + { + UART6, // uart peripheral index + UART6_IRQn, // uart iqrn + RCU_UART6, RCU_GPIOE, RCU_GPIOE, // periph clock, tx gpio clock, rt gpio clock + GPIOE, GPIO_AF_8, GPIO_PIN_7, // tx port, tx alternate, tx pin + GPIOE, GPIO_AF_8, GPIO_PIN_8, // rx port, rx alternate, rx pin + &serial6, + "uart6", + }, + #endif + + #ifdef RT_USING_UART7 + { + UART7, // uart peripheral index + UART7_IRQn, // uart iqrn + RCU_UART7, RCU_GPIOE, RCU_GPIOE, // periph clock, tx gpio clock, rt gpio clock + GPIOE, GPIO_AF_8, GPIO_PIN_0, // tx port, tx alternate, tx pin + GPIOE, GPIO_AF_8, GPIO_PIN_1, // rx port, rx alternate, rx pin + &serial7, + "uart7", + }, + #endif +}; + /** * @brief UART MSP Initialization @@ -446,50 +455,18 @@ int gd32_hw_usart_init(void) { struct serial_configure config = RT_SERIAL_CONFIG_DEFAULT; int i; - static const struct gd32_uart * uarts[] = { - #ifdef RT_USING_USART0 - &usart0, - #endif - - #ifdef RT_USING_USART1 - &usart1, - #endif - - #ifdef RT_USING_USART2 - &usart2, - #endif - - #ifdef RT_USING_UART3 - &uart3, - #endif - - #ifdef RT_USING_UART4 - &uart4, - #endif - #ifdef RT_USING_USART5 - &usart5, - #endif - - #ifdef RT_USING_UART6 - &uart6, - #endif - - #ifdef RT_USING_UART7 - &uart7, - #endif - }; for (i = 0; i < sizeof(uarts) / sizeof(uarts[0]); i++) { - uarts[i]->serial->ops = &gd32_uart_ops; - uarts[i]->serial->config = config; + uarts[i].serial->ops = &gd32_uart_ops; + uarts[i].serial->config = config; /* register UART1 device */ - rt_hw_serial_register(uarts[i]->serial, - uarts[i]->device_name, + rt_hw_serial_register(uarts[i].serial, + uarts[i].device_name, RT_DEVICE_FLAG_RDWR | RT_DEVICE_FLAG_INT_RX, - (void *)uarts[i]); + (void *)&uarts[i]); } return 0; diff --git a/bsp/gd32450z-eval/gd32_rom.sct b/bsp/gd32450z-eval/gd32_rom.sct new file mode 100644 index 0000000000..f8a5eaf1e2 --- /dev/null +++ b/bsp/gd32450z-eval/gd32_rom.sct @@ -0,0 +1,15 @@ +; ************************************************************* +; *** Scatter-Loading Description File generated by uVision *** +; ************************************************************* + +LR_IROM1 0x08000000 0x00300000 { ; load region size_region + ER_IROM1 0x08000000 0x00300000 { ; load address = execution address + *.o (RESET, +First) + *(InRoot$$Sections) + .ANY (+RO) + } + RW_IRAM1 0x20000000 0x00030000 { ; RW data + .ANY (+RW +ZI) + } +} + diff --git a/bsp/gd32450z-eval/project.ewp b/bsp/gd32450z-eval/project.ewp index 784aeb6f6a..9276f399e6 100644 --- a/bsp/gd32450z-eval/project.ewp +++ b/bsp/gd32450z-eval/project.ewp @@ -198,7 +198,7 @@ @@ -2515,19 +2515,4 @@ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\udp.c - - trace - - $PROJ_DIR$\..\..\components\trace\SystemView_Src_V240\SEGGER\SEGGER_RTT.c - - - $PROJ_DIR$\..\..\components\trace\SystemView_Src_V240\SEGGER\SEGGER_SYSVIEW.c - - - $PROJ_DIR$\..\..\components\trace\SystemView_Src_V240\Config\SEGGER_SYSVIEW_Config_RTThread.c - - - $PROJ_DIR$\..\..\components\trace\SystemView_Src_V240\Config\SEGGER_SYSVIEW_RTThread.c - - diff --git a/bsp/gd32450z-eval/project.uvprojx b/bsp/gd32450z-eval/project.uvprojx index f94e857973..ad7363eb6f 100644 --- a/bsp/gd32450z-eval/project.uvprojx +++ b/bsp/gd32450z-eval/project.uvprojx @@ -319,7 +319,7 @@ 0 0 0 - 2 + 0 0 0 1 @@ -333,9 +333,9 @@ 0 - GD32F4XX, USE_STDPERIPH_DRIVER + GD32F4XX, RT_USING_ARM_LIBC, USE_STDPERIPH_DRIVER - applications;.;drivers;Libraries\CMSIS\GD\GD32F4xx\Include;Libraries\CMSIS;Libraries\GD32F4xx_standard_peripheral\Include;..\..\include;..\..\libcpu\arm\cortex-m4;..\..\libcpu\arm\common;..\..\components\dfs\include;..\..\components\dfs\filesystems\devfs;..\..\components\dfs\filesystems\elmfat;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\spi;..\..\components\drivers\include;..\..\components\drivers\spi\sfud\inc;..\..\components\drivers\include;..\..\components\finsh;..\..\components\net\lwip-1.4.1\src;..\..\components\net\lwip-1.4.1\src\include;..\..\components\net\lwip-1.4.1\src\include\ipv4;..\..\components\net\lwip-1.4.1\src\arch\include;..\..\components\net\lwip-1.4.1\src\include\netif;..\..\components\trace;..\..\components\trace\SystemView_Src_V240\Config;..\..\components\trace;..\..\components\trace\SystemView_Src_V240\SEGGER + applications;.;drivers;Libraries\CMSIS\GD\GD32F4xx\Include;Libraries\CMSIS;Libraries\GD32F4xx_standard_peripheral\Include;..\..\..\git\rt-thread\include;..\..\..\git\rt-thread\libcpu\arm\cortex-m4;..\..\..\git\rt-thread\libcpu\arm\common;..\..\..\git\rt-thread\components\dfs\include;..\..\..\git\rt-thread\components\dfs\filesystems\devfs;..\..\..\git\rt-thread\components\dfs\filesystems\elmfat;..\..\..\git\rt-thread\components\drivers\include;..\..\..\git\rt-thread\components\drivers\include;..\..\..\git\rt-thread\components\drivers\include;..\..\..\git\rt-thread\components\drivers\spi;..\..\..\git\rt-thread\components\drivers\include;..\..\..\git\rt-thread\components\drivers\spi\sfud\inc;..\..\..\git\rt-thread\components\drivers\include;..\..\..\git\rt-thread\components\finsh;..\..\..\git\rt-thread\components\libc\armlibc;..\..\..\git\rt-thread\components\net\lwip-1.4.1\src;..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\include;..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\include\ipv4;..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\arch\include;..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\include\netif;..\..\..\git\rt-thread\components\trace;..\..\..\git\rt-thread\components\trace\SystemView_Src_V240\Config;..\..\..\git\rt-thread\components\trace;..\..\..\git\rt-thread\components\trace\SystemView_Src_V240\SEGGER @@ -622,77 +622,77 @@ clock.c 1 - ..\..\src\clock.c + ..\..\..\git\rt-thread\src\clock.c components.c 1 - ..\..\src\components.c + ..\..\..\git\rt-thread\src\components.c device.c 1 - ..\..\src\device.c + ..\..\..\git\rt-thread\src\device.c idle.c 1 - ..\..\src\idle.c + ..\..\..\git\rt-thread\src\idle.c ipc.c 1 - ..\..\src\ipc.c + ..\..\..\git\rt-thread\src\ipc.c irq.c 1 - ..\..\src\irq.c + ..\..\..\git\rt-thread\src\irq.c kservice.c 1 - ..\..\src\kservice.c + ..\..\..\git\rt-thread\src\kservice.c mem.c 1 - ..\..\src\mem.c + ..\..\..\git\rt-thread\src\mem.c memheap.c 1 - ..\..\src\memheap.c + ..\..\..\git\rt-thread\src\memheap.c mempool.c 1 - ..\..\src\mempool.c + ..\..\..\git\rt-thread\src\mempool.c module.c 1 - ..\..\src\module.c + ..\..\..\git\rt-thread\src\module.c object.c 1 - ..\..\src\object.c + ..\..\..\git\rt-thread\src\object.c scheduler.c 1 - ..\..\src\scheduler.c + ..\..\..\git\rt-thread\src\scheduler.c thread.c 1 - ..\..\src\thread.c + ..\..\..\git\rt-thread\src\thread.c timer.c 1 - ..\..\src\timer.c + ..\..\..\git\rt-thread\src\timer.c @@ -702,27 +702,27 @@ cpuport.c 1 - ..\..\libcpu\arm\cortex-m4\cpuport.c + ..\..\..\git\rt-thread\libcpu\arm\cortex-m4\cpuport.c context_rvds.S 2 - ..\..\libcpu\arm\cortex-m4\context_rvds.S + ..\..\..\git\rt-thread\libcpu\arm\cortex-m4\context_rvds.S backtrace.c 1 - ..\..\libcpu\arm\common\backtrace.c + ..\..\..\git\rt-thread\libcpu\arm\common\backtrace.c div0.c 1 - ..\..\libcpu\arm\common\div0.c + ..\..\..\git\rt-thread\libcpu\arm\common\div0.c showmem.c 1 - ..\..\libcpu\arm\common\showmem.c + ..\..\..\git\rt-thread\libcpu\arm\common\showmem.c @@ -732,42 +732,42 @@ dfs.c 1 - ..\..\components\dfs\src\dfs.c + ..\..\..\git\rt-thread\components\dfs\src\dfs.c dfs_file.c 1 - ..\..\components\dfs\src\dfs_file.c + ..\..\..\git\rt-thread\components\dfs\src\dfs_file.c dfs_fs.c 1 - ..\..\components\dfs\src\dfs_fs.c + ..\..\..\git\rt-thread\components\dfs\src\dfs_fs.c dfs_posix.c 1 - ..\..\components\dfs\src\dfs_posix.c + ..\..\..\git\rt-thread\components\dfs\src\dfs_posix.c console.c 1 - ..\..\components\dfs\filesystems\devfs\console.c + ..\..\..\git\rt-thread\components\dfs\filesystems\devfs\console.c devfs.c 1 - ..\..\components\dfs\filesystems\devfs\devfs.c + ..\..\..\git\rt-thread\components\dfs\filesystems\devfs\devfs.c dfs_elm.c 1 - ..\..\components\dfs\filesystems\elmfat\dfs_elm.c + ..\..\..\git\rt-thread\components\dfs\filesystems\elmfat\dfs_elm.c ff.c 1 - ..\..\components\dfs\filesystems\elmfat\ff.c + ..\..\..\git\rt-thread\components\dfs\filesystems\elmfat\ff.c @@ -777,77 +777,77 @@ i2c_core.c 1 - ..\..\components\drivers\i2c\i2c_core.c + ..\..\..\git\rt-thread\components\drivers\i2c\i2c_core.c i2c_dev.c 1 - ..\..\components\drivers\i2c\i2c_dev.c + ..\..\..\git\rt-thread\components\drivers\i2c\i2c_dev.c i2c-bit-ops.c 1 - ..\..\components\drivers\i2c\i2c-bit-ops.c + ..\..\..\git\rt-thread\components\drivers\i2c\i2c-bit-ops.c rtc.c 1 - ..\..\components\drivers\rtc\rtc.c + ..\..\..\git\rt-thread\components\drivers\rtc\rtc.c serial.c 1 - ..\..\components\drivers\serial\serial.c + ..\..\..\git\rt-thread\components\drivers\serial\serial.c spi_core.c 1 - ..\..\components\drivers\spi\spi_core.c + ..\..\..\git\rt-thread\components\drivers\spi\spi_core.c spi_dev.c 1 - ..\..\components\drivers\spi\spi_dev.c + ..\..\..\git\rt-thread\components\drivers\spi\spi_dev.c spi_flash_sfud.c 1 - ..\..\components\drivers\spi\spi_flash_sfud.c + ..\..\..\git\rt-thread\components\drivers\spi\spi_flash_sfud.c sfud.c 1 - ..\..\components\drivers\spi\sfud\src\sfud.c + ..\..\..\git\rt-thread\components\drivers\spi\sfud\src\sfud.c completion.c 1 - ..\..\components\drivers\src\completion.c + ..\..\..\git\rt-thread\components\drivers\src\completion.c dataqueue.c 1 - ..\..\components\drivers\src\dataqueue.c + ..\..\..\git\rt-thread\components\drivers\src\dataqueue.c pipe.c 1 - ..\..\components\drivers\src\pipe.c + ..\..\..\git\rt-thread\components\drivers\src\pipe.c portal.c 1 - ..\..\components\drivers\src\portal.c + ..\..\..\git\rt-thread\components\drivers\src\portal.c ringbuffer.c 1 - ..\..\components\drivers\src\ringbuffer.c + ..\..\..\git\rt-thread\components\drivers\src\ringbuffer.c workqueue.c 1 - ..\..\components\drivers\src\workqueue.c + ..\..\..\git\rt-thread\components\drivers\src\workqueue.c @@ -857,67 +857,87 @@ shell.c 1 - ..\..\components\finsh\shell.c + ..\..\..\git\rt-thread\components\finsh\shell.c symbol.c 1 - ..\..\components\finsh\symbol.c + ..\..\..\git\rt-thread\components\finsh\symbol.c cmd.c 1 - ..\..\components\finsh\cmd.c + ..\..\..\git\rt-thread\components\finsh\cmd.c finsh_compiler.c 1 - ..\..\components\finsh\finsh_compiler.c + ..\..\..\git\rt-thread\components\finsh\finsh_compiler.c finsh_error.c 1 - ..\..\components\finsh\finsh_error.c + ..\..\..\git\rt-thread\components\finsh\finsh_error.c finsh_heap.c 1 - ..\..\components\finsh\finsh_heap.c + ..\..\..\git\rt-thread\components\finsh\finsh_heap.c finsh_init.c 1 - ..\..\components\finsh\finsh_init.c + ..\..\..\git\rt-thread\components\finsh\finsh_init.c finsh_node.c 1 - ..\..\components\finsh\finsh_node.c + ..\..\..\git\rt-thread\components\finsh\finsh_node.c finsh_ops.c 1 - ..\..\components\finsh\finsh_ops.c + ..\..\..\git\rt-thread\components\finsh\finsh_ops.c finsh_parser.c 1 - ..\..\components\finsh\finsh_parser.c + ..\..\..\git\rt-thread\components\finsh\finsh_parser.c finsh_var.c 1 - ..\..\components\finsh\finsh_var.c + ..\..\..\git\rt-thread\components\finsh\finsh_var.c finsh_vm.c 1 - ..\..\components\finsh\finsh_vm.c + ..\..\..\git\rt-thread\components\finsh\finsh_vm.c finsh_token.c 1 - ..\..\components\finsh\finsh_token.c + ..\..\..\git\rt-thread\components\finsh\finsh_token.c + + + + + libc + + + libc_syms.c + 1 + ..\..\..\git\rt-thread\components\libc\armlibc\libc_syms.c + + + mem_std.c + 1 + ..\..\..\git\rt-thread\components\libc\armlibc\mem_std.c + + + stubs.c + 1 + ..\..\..\git\rt-thread\components\libc\armlibc\stubs.c @@ -927,177 +947,177 @@ api_lib.c 1 - ..\..\components\net\lwip-1.4.1\src\api\api_lib.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\api\api_lib.c api_msg.c 1 - ..\..\components\net\lwip-1.4.1\src\api\api_msg.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\api\api_msg.c err.c 1 - ..\..\components\net\lwip-1.4.1\src\api\err.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\api\err.c netbuf.c 1 - ..\..\components\net\lwip-1.4.1\src\api\netbuf.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\api\netbuf.c netdb.c 1 - ..\..\components\net\lwip-1.4.1\src\api\netdb.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\api\netdb.c netifapi.c 1 - ..\..\components\net\lwip-1.4.1\src\api\netifapi.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\api\netifapi.c sockets.c 1 - ..\..\components\net\lwip-1.4.1\src\api\sockets.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\api\sockets.c tcpip.c 1 - ..\..\components\net\lwip-1.4.1\src\api\tcpip.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\api\tcpip.c sys_arch.c 1 - ..\..\components\net\lwip-1.4.1\src\arch\sys_arch.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\arch\sys_arch.c def.c 1 - ..\..\components\net\lwip-1.4.1\src\core\def.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\core\def.c dhcp.c 1 - ..\..\components\net\lwip-1.4.1\src\core\dhcp.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\core\dhcp.c dns.c 1 - ..\..\components\net\lwip-1.4.1\src\core\dns.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\core\dns.c init.c 1 - ..\..\components\net\lwip-1.4.1\src\core\init.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\core\init.c memp.c 1 - ..\..\components\net\lwip-1.4.1\src\core\memp.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\core\memp.c netif.c 1 - ..\..\components\net\lwip-1.4.1\src\core\netif.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\core\netif.c pbuf.c 1 - ..\..\components\net\lwip-1.4.1\src\core\pbuf.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\core\pbuf.c raw.c 1 - ..\..\components\net\lwip-1.4.1\src\core\raw.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\core\raw.c stats.c 1 - ..\..\components\net\lwip-1.4.1\src\core\stats.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\core\stats.c sys.c 1 - ..\..\components\net\lwip-1.4.1\src\core\sys.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\core\sys.c tcp.c 1 - ..\..\components\net\lwip-1.4.1\src\core\tcp.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\core\tcp.c tcp_in.c 1 - ..\..\components\net\lwip-1.4.1\src\core\tcp_in.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\core\tcp_in.c tcp_out.c 1 - ..\..\components\net\lwip-1.4.1\src\core\tcp_out.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\core\tcp_out.c timers.c 1 - ..\..\components\net\lwip-1.4.1\src\core\timers.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\core\timers.c udp.c 1 - ..\..\components\net\lwip-1.4.1\src\core\udp.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\core\udp.c autoip.c 1 - ..\..\components\net\lwip-1.4.1\src\core\ipv4\autoip.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\core\ipv4\autoip.c icmp.c 1 - ..\..\components\net\lwip-1.4.1\src\core\ipv4\icmp.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\core\ipv4\icmp.c igmp.c 1 - ..\..\components\net\lwip-1.4.1\src\core\ipv4\igmp.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\core\ipv4\igmp.c inet.c 1 - ..\..\components\net\lwip-1.4.1\src\core\ipv4\inet.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\core\ipv4\inet.c inet_chksum.c 1 - ..\..\components\net\lwip-1.4.1\src\core\ipv4\inet_chksum.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\core\ipv4\inet_chksum.c ip.c 1 - ..\..\components\net\lwip-1.4.1\src\core\ipv4\ip.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\core\ipv4\ip.c ip_addr.c 1 - ..\..\components\net\lwip-1.4.1\src\core\ipv4\ip_addr.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\core\ipv4\ip_addr.c ip_frag.c 1 - ..\..\components\net\lwip-1.4.1\src\core\ipv4\ip_frag.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\core\ipv4\ip_frag.c etharp.c 1 - ..\..\components\net\lwip-1.4.1\src\netif\etharp.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\netif\etharp.c ethernetif.c 1 - ..\..\components\net\lwip-1.4.1\src\netif\ethernetif.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\netif\ethernetif.c slipif.c 1 - ..\..\components\net\lwip-1.4.1\src\netif\slipif.c + ..\..\..\git\rt-thread\components\net\lwip-1.4.1\src\netif\slipif.c @@ -1107,22 +1127,22 @@ SEGGER_SYSVIEW_Config_RTThread.c 1 - ..\..\components\trace\SystemView_Src_V240\Config\SEGGER_SYSVIEW_Config_RTThread.c + ..\..\..\git\rt-thread\components\trace\SystemView_Src_V240\Config\SEGGER_SYSVIEW_Config_RTThread.c SEGGER_SYSVIEW_RTThread.c 1 - ..\..\components\trace\SystemView_Src_V240\Config\SEGGER_SYSVIEW_RTThread.c + ..\..\..\git\rt-thread\components\trace\SystemView_Src_V240\Config\SEGGER_SYSVIEW_RTThread.c SEGGER_RTT.c 1 - ..\..\components\trace\SystemView_Src_V240\SEGGER\SEGGER_RTT.c + ..\..\..\git\rt-thread\components\trace\SystemView_Src_V240\SEGGER\SEGGER_RTT.c SEGGER_SYSVIEW.c 1 - ..\..\components\trace\SystemView_Src_V240\SEGGER\SEGGER_SYSVIEW.c + ..\..\..\git\rt-thread\components\trace\SystemView_Src_V240\SEGGER\SEGGER_SYSVIEW.c