From 168b8502c9001f54f172a52b62765dcf6fa98c61 Mon Sep 17 00:00:00 2001 From: nongxiaoming Date: Thu, 20 Dec 2018 16:46:09 +0800 Subject: [PATCH] [bsp][stm32h743-nucleo] add the usart3 driver and use for console. --- bsp/stm32h743-nucleo/drivers/drv_usart.c | 94 +- bsp/stm32h743-nucleo/project.uvoptx | 1246 +++++++--------------- bsp/stm32h743-nucleo/project.uvprojx | 597 ++++------- bsp/stm32h743-nucleo/rtconfig.h | 2 +- 4 files changed, 643 insertions(+), 1296 deletions(-) diff --git a/bsp/stm32h743-nucleo/drivers/drv_usart.c b/bsp/stm32h743-nucleo/drivers/drv_usart.c index 26b624130..7ab3c61cc 100644 --- a/bsp/stm32h743-nucleo/drivers/drv_usart.c +++ b/bsp/stm32h743-nucleo/drivers/drv_usart.c @@ -30,6 +30,22 @@ #define USART1_RX_GPIO_PORT GPIOB #define USART1_RX_AF GPIO_AF7_USART1 +/* Definition for USART3 clock resources */ +#define USART3_CLK_ENABLE() __USART3_CLK_ENABLE() +#define USART3_RX_GPIO_CLK_ENABLE() __GPIOD_CLK_ENABLE() +#define USART3_TX_GPIO_CLK_ENABLE() __GPIOD_CLK_ENABLE() + +#define USART3_FORCE_RESET() __USART3_FORCE_RESET() +#define USART3_RELEASE_RESET() __USART3_RELEASE_RESET() + +/* Definition for USARTx Pins */ +#define USART3_TX_PIN GPIO_PIN_8 +#define USART3_TX_GPIO_PORT GPIOD +#define USART3_TX_AF GPIO_AF7_USART3 +#define USART3_RX_PIN GPIO_PIN_9 +#define USART3_RX_GPIO_PORT GPIOD +#define USART3_RX_AF GPIO_AF7_USART3 + /* STM32 uart driver */ struct stm32_uart { @@ -195,8 +211,33 @@ void USART1_IRQHandler(void) /* leave interrupt */ rt_interrupt_leave(); } -#endif /* RT_USING_UART1 */ +#endif /* RT_USING_UART3 */ +#if defined(RT_USING_UART3) +/* UART1 device driver structure */ + +static struct stm32_uart uart3; +struct rt_serial_device serial3; + +void USART3_IRQHandler(void) +{ + struct stm32_uart *uart; + + uart = &uart3; + + /* enter interrupt */ + rt_interrupt_enter(); + /* UART in mode Receiver ---------------------------------------------------*/ + if ((__HAL_UART_GET_IT(&uart->UartHandle, UART_IT_RXNE) != RESET) && (__HAL_UART_GET_IT_SOURCE(&uart->UartHandle, UART_IT_RXNE) != RESET)) + { + rt_hw_serial_isr(&serial3, RT_SERIAL_EVENT_RX_IND); + /* Clear RXNE interrupt flag */ + __HAL_UART_SEND_REQ(&uart->UartHandle, UART_RXDATA_FLUSH_REQUEST); + } + /* leave interrupt */ + rt_interrupt_leave(); +} +#endif /* RT_USING_UART3 */ /** * @brief UART MSP Initialization * This function configures the hardware resources used in this example: @@ -233,6 +274,31 @@ void HAL_UART_MspInit(UART_HandleTypeDef *huart) /* NVIC for USART */ HAL_NVIC_SetPriority(USART1_IRQn, 0, 1); HAL_NVIC_EnableIRQ(USART1_IRQn); + } + if (huart->Instance == USART3) + { + /* Enable GPIO TX/RX clock */ + USART3_TX_GPIO_CLK_ENABLE(); + USART3_RX_GPIO_CLK_ENABLE(); + /* Enable USARTx clock */ + USART3_CLK_ENABLE(); + + /* UART TX GPIO pin configuration */ + GPIO_InitStruct.Pin = USART3_TX_PIN; + GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; + GPIO_InitStruct.Pull = GPIO_PULLUP; + GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; + GPIO_InitStruct.Alternate = USART3_TX_AF; + HAL_GPIO_Init(USART3_TX_GPIO_PORT, &GPIO_InitStruct); + + /* UART RX GPIO pin configuration */ + GPIO_InitStruct.Pin = USART3_RX_PIN; + GPIO_InitStruct.Alternate = USART3_RX_AF; + HAL_GPIO_Init(USART3_RX_GPIO_PORT, &GPIO_InitStruct); + + /* NVIC for USART */ + HAL_NVIC_SetPriority(USART3_IRQn, 0, 1); + HAL_NVIC_EnableIRQ(USART3_IRQn); } } @@ -260,6 +326,21 @@ void HAL_UART_MspDeInit(UART_HandleTypeDef *huart) /* Disable the NVIC for UART */ HAL_NVIC_DisableIRQ(USART1_IRQn); + } + if (huart->Instance == USART3) + { + /* Reset peripherals */ + USART3_FORCE_RESET(); + USART3_RELEASE_RESET(); + + /* Disable peripherals and GPIO Clocks */ + /* Configure UART Tx as alternate function */ + HAL_GPIO_DeInit(USART3_TX_GPIO_PORT, USART3_TX_PIN); + /* Configure UART Rx as alternate function */ + HAL_GPIO_DeInit(USART3_RX_GPIO_PORT, USART3_RX_PIN); + + /* Disable the NVIC for UART */ + HAL_NVIC_DisableIRQ(USART3_IRQn); } } @@ -280,7 +361,18 @@ int stm32_hw_usart_init(void) RT_DEVICE_FLAG_RDWR | RT_DEVICE_FLAG_INT_RX, uart); #endif /* RT_USING_UART1 */ +#ifdef RT_USING_UART3 + uart = &uart3; + uart->UartHandle.Instance = USART3; + serial3.ops = &stm32_uart_ops; + serial3.config = config; + + /* register UART3 device */ + rt_hw_serial_register(&serial3, "uart3", + RT_DEVICE_FLAG_RDWR | RT_DEVICE_FLAG_INT_RX, + uart); +#endif /* RT_USING_UART3 */ return 0; } INIT_BOARD_EXPORT(stm32_hw_usart_init); diff --git a/bsp/stm32h743-nucleo/project.uvoptx b/bsp/stm32h743-nucleo/project.uvoptx index c1307fe87..6f0393618 100644 --- a/bsp/stm32h743-nucleo/project.uvoptx +++ b/bsp/stm32h743-nucleo/project.uvoptx @@ -8,7 +8,7 @@ *.c *.s*; *.src; *.a* - *.obj + *.obj; *.o *.lib *.txt; *.h; *.inc *.plm @@ -28,7 +28,7 @@ 12000000 - 0 + 1 1 0 1 @@ -73,11 +73,11 @@ 0 - 0 + 1 0 1 - 0 + 18 0 1 @@ -101,6 +101,8 @@ 0 0 1 + 0 + 0 5 @@ -115,6 +117,11 @@ STLink\ST-LINKIII-KEIL_SWO.dll + + 0 + ST-LINKIII-KEIL_SWO + -U -O206 -SF4000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P1 -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15 -FD20000000 -FC1000 -FN1 -FF0STM32H7x_2048.FLM -FS08000000 -FL0200000 -FP0($$Device:STM32H743ZITx$CMSIS\Flash\STM32H7x_2048.FLM) + 0 UL2CM3 @@ -160,8 +167,13 @@ + + + + 1 + 0 0 2 10000000 @@ -170,8 +182,8 @@ - Drivers - 0 + Applications + 1 0 0 0 @@ -182,8 +194,8 @@ 0 0 0 - drivers/board.c - board.c + applications\main.c + main.c 0 0 @@ -194,88 +206,64 @@ 0 0 0 - drivers/drv_led.c - drv_led.c + applications\sram.c + sram.c 0 0 + + + + Drivers + 1 + 0 + 0 + 0 - 1 + 2 3 1 0 0 0 - drivers/drv_mpu.c - drv_mpu.c + drivers\board.c + board.c 0 0 - 1 + 2 4 1 0 0 0 - drivers/drv_usart.c - drv_usart.c - 0 - 0 - - - 1 - 5 - 1 - 0 - 0 - 0 - drivers/lan8742a.c - lan8742a.c - 0 - 0 - - - 1 - 6 - 1 - 0 - 0 - 0 - drivers/stm32h7xx_it.c + drivers\stm32h7xx_it.c stm32h7xx_it.c 0 0 - - - - Applications - 0 - 0 - 0 - 0 2 - 7 + 5 1 0 0 0 - applications/main.c - main.c + drivers\drv_mpu.c + drv_mpu.c 0 0 2 - 8 + 6 1 0 0 0 - applications/sram.c - sram.c + drivers\drv_usart.c + drv_usart.c 0 0 @@ -283,30 +271,30 @@ CMSIS - 0 + 1 0 0 0 3 - 9 + 7 1 0 0 0 - Libraries/CMSIS/Device/ST/STM32H7xx/Source/Templates/system_stm32h7xx.c + Libraries\CMSIS\Device\ST\STM32H7xx\Source\Templates\system_stm32h7xx.c system_stm32h7xx.c 0 0 3 - 10 + 8 2 0 0 0 - Libraries/CMSIS/Device/ST/STM32H7xx/Source/Templates/arm/startup_stm32h743xx.s + Libraries\CMSIS\Device\ST\STM32H7xx\Source\Templates\arm\startup_stm32h743xx.s startup_stm32h743xx.s 0 0 @@ -321,924 +309,924 @@ 0 4 - 11 + 9 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal.c stm32h7xx_hal.c 0 0 4 - 12 + 10 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_adc.c stm32h7xx_hal_adc.c 0 0 4 - 13 + 11 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_adc_ex.c stm32h7xx_hal_adc_ex.c 0 0 4 - 14 + 12 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_cec.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cec.c stm32h7xx_hal_cec.c 0 0 4 - 15 + 13 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_comp.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_comp.c stm32h7xx_hal_comp.c 0 0 4 - 16 + 14 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_cortex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cortex.c stm32h7xx_hal_cortex.c 0 0 4 - 17 + 15 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_crc.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_crc.c stm32h7xx_hal_crc.c 0 0 4 - 18 + 16 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_crc_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_crc_ex.c stm32h7xx_hal_crc_ex.c 0 0 4 - 19 + 17 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_cryp.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cryp.c stm32h7xx_hal_cryp.c 0 0 4 - 20 + 18 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_cryp_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cryp_ex.c stm32h7xx_hal_cryp_ex.c 0 0 4 - 21 + 19 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dac.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_dac.c stm32h7xx_hal_dac.c 0 0 4 - 22 + 20 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dac_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_dac_ex.c stm32h7xx_hal_dac_ex.c 0 0 4 - 23 + 21 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dcmi.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_dcmi.c stm32h7xx_hal_dcmi.c 0 0 4 - 24 + 22 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dfsdm.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_dfsdm.c stm32h7xx_hal_dfsdm.c 0 0 4 - 25 + 23 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dma.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_dma.c stm32h7xx_hal_dma.c 0 0 4 - 26 + 24 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dma2d.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_dma2d.c stm32h7xx_hal_dma2d.c 0 0 4 - 27 + 25 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dma_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_dma_ex.c stm32h7xx_hal_dma_ex.c 0 0 4 - 28 + 26 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_eth.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_eth.c stm32h7xx_hal_eth.c 0 0 4 - 29 + 27 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_eth_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_eth_ex.c stm32h7xx_hal_eth_ex.c 0 0 4 - 30 + 28 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_fdcan.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_fdcan.c stm32h7xx_hal_fdcan.c 0 0 4 - 31 + 29 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_flash.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_flash.c stm32h7xx_hal_flash.c 0 0 4 - 32 + 30 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_flash_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_flash_ex.c stm32h7xx_hal_flash_ex.c 0 0 4 - 33 + 31 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_gpio.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_gpio.c stm32h7xx_hal_gpio.c 0 0 4 - 34 + 32 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_hash.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_hash.c stm32h7xx_hal_hash.c 0 0 4 - 35 + 33 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_hash_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_hash_ex.c stm32h7xx_hal_hash_ex.c 0 0 4 - 36 + 34 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_hcd.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_hcd.c stm32h7xx_hal_hcd.c 0 0 4 - 37 + 35 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_hrtim.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_hrtim.c stm32h7xx_hal_hrtim.c 0 0 4 - 38 + 36 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_hsem.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_hsem.c stm32h7xx_hal_hsem.c 0 0 4 - 39 + 37 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_i2c.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_i2c.c stm32h7xx_hal_i2c.c 0 0 4 - 40 + 38 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_i2c_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_i2c_ex.c stm32h7xx_hal_i2c_ex.c 0 0 4 - 41 + 39 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_i2s.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_i2s.c stm32h7xx_hal_i2s.c 0 0 4 - 42 + 40 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_i2s_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_i2s_ex.c stm32h7xx_hal_i2s_ex.c 0 0 4 - 43 + 41 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_irda.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_irda.c stm32h7xx_hal_irda.c 0 0 4 - 44 + 42 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_iwdg.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_iwdg.c stm32h7xx_hal_iwdg.c 0 0 4 - 45 + 43 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_jpeg.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_jpeg.c stm32h7xx_hal_jpeg.c 0 0 4 - 46 + 44 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_lptim.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_lptim.c stm32h7xx_hal_lptim.c 0 0 4 - 47 + 45 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_ltdc.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_ltdc.c stm32h7xx_hal_ltdc.c 0 0 4 - 48 + 46 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_mdios.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_mdios.c stm32h7xx_hal_mdios.c 0 0 4 - 49 + 47 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_mdma.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_mdma.c stm32h7xx_hal_mdma.c 0 0 4 - 50 + 48 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_mmc.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_mmc.c stm32h7xx_hal_mmc.c 0 0 4 - 51 + 49 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_mmc_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_mmc_ex.c stm32h7xx_hal_mmc_ex.c 0 0 4 - 52 + 50 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_nand.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_nand.c stm32h7xx_hal_nand.c 0 0 4 - 53 + 51 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_nor.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_nor.c stm32h7xx_hal_nor.c 0 0 4 - 54 + 52 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_opamp.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_opamp.c stm32h7xx_hal_opamp.c 0 0 4 - 55 + 53 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_opamp_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_opamp_ex.c stm32h7xx_hal_opamp_ex.c 0 0 4 - 56 + 54 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pcd.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_pcd.c stm32h7xx_hal_pcd.c 0 0 4 - 57 + 55 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pcd_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_pcd_ex.c stm32h7xx_hal_pcd_ex.c 0 0 4 - 58 + 56 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pwr.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_pwr.c stm32h7xx_hal_pwr.c 0 0 4 - 59 + 57 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pwr_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_pwr_ex.c stm32h7xx_hal_pwr_ex.c 0 0 4 - 60 + 58 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_qspi.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_qspi.c stm32h7xx_hal_qspi.c 0 0 4 - 61 + 59 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rcc.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rcc.c stm32h7xx_hal_rcc.c 0 0 4 - 62 + 60 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rcc_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rcc_ex.c stm32h7xx_hal_rcc_ex.c 0 0 4 - 63 + 61 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rng.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rng.c stm32h7xx_hal_rng.c 0 0 4 - 64 + 62 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rtc.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rtc.c stm32h7xx_hal_rtc.c 0 0 4 - 65 + 63 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rtc_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rtc_ex.c stm32h7xx_hal_rtc_ex.c 0 0 4 - 66 + 64 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_sai.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_sai.c stm32h7xx_hal_sai.c 0 0 4 - 67 + 65 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_sai_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_sai_ex.c stm32h7xx_hal_sai_ex.c 0 0 4 - 68 + 66 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_sd.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_sd.c stm32h7xx_hal_sd.c 0 0 4 - 69 + 67 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_sd_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_sd_ex.c stm32h7xx_hal_sd_ex.c 0 0 4 - 70 + 68 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_sdram.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_sdram.c stm32h7xx_hal_sdram.c 0 0 4 - 71 + 69 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_smartcard.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_smartcard.c stm32h7xx_hal_smartcard.c 0 0 4 - 72 + 70 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_smartcard_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_smartcard_ex.c stm32h7xx_hal_smartcard_ex.c 0 0 4 - 73 + 71 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_smbus.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_smbus.c stm32h7xx_hal_smbus.c 0 0 4 - 74 + 72 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spdifrx.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_spdifrx.c stm32h7xx_hal_spdifrx.c 0 0 4 - 75 + 73 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_spi.c stm32h7xx_hal_spi.c 0 0 4 - 76 + 74 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_spi_ex.c stm32h7xx_hal_spi_ex.c 0 0 4 - 77 + 75 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_sram.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_sram.c stm32h7xx_hal_sram.c 0 0 4 - 78 + 76 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_swpmi.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_swpmi.c stm32h7xx_hal_swpmi.c 0 0 4 - 79 + 77 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_tim.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_tim.c stm32h7xx_hal_tim.c 0 0 4 - 80 + 78 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_tim_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_tim_ex.c stm32h7xx_hal_tim_ex.c 0 0 4 - 81 + 79 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_uart.c stm32h7xx_hal_uart.c 0 0 4 - 82 + 80 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_uart_ex.c stm32h7xx_hal_uart_ex.c 0 0 4 - 83 + 81 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_usart.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_usart.c stm32h7xx_hal_usart.c 0 0 4 - 84 + 82 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_wwdg.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_wwdg.c stm32h7xx_hal_wwdg.c 0 0 4 - 85 + 83 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_ll_fmc.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_ll_fmc.c stm32h7xx_ll_fmc.c 0 0 4 - 86 + 84 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_ll_sdmmc.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_ll_sdmmc.c stm32h7xx_ll_sdmmc.c 0 0 4 - 87 + 85 1 0 0 0 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_ll_usb.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_ll_usb.c stm32h7xx_ll_usb.c 0 0 @@ -1253,180 +1241,180 @@ 0 5 - 88 + 86 1 0 0 0 - ../../src/clock.c + ..\..\src\clock.c clock.c 0 0 5 - 89 + 87 1 0 0 0 - ../../src/components.c + ..\..\src\components.c components.c 0 0 5 - 90 + 88 1 0 0 0 - ../../src/device.c - device.c + ..\..\src\cpu.c + cpu.c 0 0 5 - 91 + 89 1 0 0 0 - ../../src/idle.c - idle.c + ..\..\src\device.c + device.c 0 0 5 - 92 + 90 1 0 0 0 - ../../src/ipc.c - ipc.c + ..\..\src\idle.c + idle.c 0 0 5 - 93 + 91 1 0 0 0 - ../../src/irq.c - irq.c + ..\..\src\ipc.c + ipc.c 0 0 5 - 94 + 92 1 0 0 0 - ../../src/kservice.c - kservice.c + ..\..\src\irq.c + irq.c 0 0 5 - 95 + 93 1 0 0 0 - ../../src/mem.c - mem.c + ..\..\src\kservice.c + kservice.c 0 0 5 - 96 + 94 1 0 0 0 - ../../src/memheap.c - memheap.c + ..\..\src\mem.c + mem.c 0 0 5 - 97 + 95 1 0 0 0 - ../../src/mempool.c + ..\..\src\mempool.c mempool.c 0 0 5 - 98 + 96 1 0 0 0 - ../../src/object.c + ..\..\src\object.c object.c 0 0 5 - 99 + 97 1 0 0 0 - ../../src/scheduler.c + ..\..\src\scheduler.c scheduler.c 0 0 5 - 100 + 98 1 0 0 0 - ../../src/signal.c + ..\..\src\signal.c signal.c 0 0 5 - 101 + 99 1 0 0 0 - ../../src/thread.c + ..\..\src\thread.c thread.c 0 0 5 - 102 + 100 1 0 0 0 - ../../src/timer.c + ..\..\src\timer.c timer.c 0 0 @@ -1441,60 +1429,60 @@ 0 6 - 103 + 101 1 0 0 0 - ../../libcpu/arm/cortex-m7/cpuport.c + ..\..\libcpu\arm\cortex-m7\cpuport.c cpuport.c 0 0 6 - 104 + 102 2 0 0 0 - ../../libcpu/arm/cortex-m7/context_rvds.S + ..\..\libcpu\arm\cortex-m7\context_rvds.S context_rvds.S 0 0 6 - 105 + 103 1 0 0 0 - ../../libcpu/arm/common/backtrace.c + ..\..\libcpu\arm\common\backtrace.c backtrace.c 0 0 6 - 106 + 104 1 0 0 0 - ../../libcpu/arm/common/div0.c + ..\..\libcpu\arm\common\div0.c div0.c 0 0 6 - 107 + 105 1 0 0 0 - ../../libcpu/arm/common/showmem.c + ..\..\libcpu\arm\common\showmem.c showmem.c 0 0 @@ -1502,336 +1490,172 @@ - DeviceDrivers + Filesystem 0 0 0 0 7 - 108 - 1 - 0 - 0 - 0 - ../../components/drivers/serial/serial.c - serial.c - 0 - 0 - - - 7 - 109 - 1 - 0 - 0 - 0 - ../../components/drivers/src/completion.c - completion.c - 0 - 0 - - - 7 - 110 + 106 1 0 0 0 - ../../components/drivers/src/dataqueue.c - dataqueue.c + ..\..\components\dfs\src\dfs.c + dfs.c 0 0 7 - 111 + 107 1 0 0 0 - ../../components/drivers/src/pipe.c - pipe.c + ..\..\components\dfs\src\dfs_file.c + dfs_file.c 0 0 7 - 112 + 108 1 0 0 0 - ../../components/drivers/src/ringbuffer.c - ringbuffer.c + ..\..\components\dfs\src\dfs_fs.c + dfs_fs.c 0 0 7 - 113 + 109 1 0 0 0 - ../../components/drivers/src/waitqueue.c - waitqueue.c + ..\..\components\dfs\src\dfs_posix.c + dfs_posix.c 0 0 7 - 114 + 110 1 0 0 0 - ../../components/drivers/src/workqueue.c - workqueue.c + ..\..\components\dfs\filesystems\devfs\devfs.c + devfs.c 0 0 - pthreads + DeviceDrivers 0 0 0 0 8 - 115 - 1 - 0 - 0 - 0 - ../../components/libc/pthreads/mqueue.c - mqueue.c - 0 - 0 - - - 8 - 116 - 1 - 0 - 0 - 0 - ../../components/libc/pthreads/pthread.c - pthread.c - 0 - 0 - - - 8 - 117 - 1 - 0 - 0 - 0 - ../../components/libc/pthreads/pthread_attr.c - pthread_attr.c - 0 - 0 - - - 8 - 118 - 1 - 0 - 0 - 0 - ../../components/libc/pthreads/pthread_barrier.c - pthread_barrier.c - 0 - 0 - - - 8 - 119 - 1 - 0 - 0 - 0 - ../../components/libc/pthreads/pthread_cond.c - pthread_cond.c - 0 - 0 - - - 8 - 120 + 111 1 0 0 0 - ../../components/libc/pthreads/pthread_mutex.c - pthread_mutex.c + ..\..\components\drivers\serial\serial.c + serial.c 0 0 8 - 121 + 112 1 0 0 0 - ../../components/libc/pthreads/pthread_rwlock.c - pthread_rwlock.c + ..\..\components\drivers\src\completion.c + completion.c 0 0 8 - 122 + 113 1 0 0 0 - ../../components/libc/pthreads/pthread_spin.c - pthread_spin.c + ..\..\components\drivers\src\dataqueue.c + dataqueue.c 0 0 8 - 123 + 114 1 0 0 0 - ../../components/libc/pthreads/pthread_tls.c - pthread_tls.c + ..\..\components\drivers\src\pipe.c + pipe.c 0 0 8 - 124 + 115 1 0 0 0 - ../../components/libc/pthreads/sched.c - sched.c + ..\..\components\drivers\src\ringblk_buf.c + ringblk_buf.c 0 0 8 - 125 + 116 1 0 0 0 - ../../components/libc/pthreads/semaphore.c - semaphore.c + ..\..\components\drivers\src\ringbuffer.c + ringbuffer.c 0 0 8 - 126 + 117 1 0 0 0 - ../../components/libc/time/clock_time.c - clock_time.c + ..\..\components\drivers\src\waitqueue.c + waitqueue.c 0 0 8 - 127 - 1 - 0 - 0 - 0 - ../../components/libc/time/posix_sleep.c - posix_sleep.c - 0 - 0 - - - - - libc - 0 - 0 - 0 - 0 - - 9 - 128 - 1 - 0 - 0 - 0 - ../../components/libc/compilers/armlibc/libc.c - libc.c - 0 - 0 - - - 9 - 129 - 1 - 0 - 0 - 0 - ../../components/libc/compilers/armlibc/libc_syms.c - libc_syms.c - 0 - 0 - - - 9 - 130 - 1 - 0 - 0 - 0 - ../../components/libc/compilers/armlibc/mem_std.c - mem_std.c - 0 - 0 - - - 9 - 131 - 1 - 0 - 0 - 0 - ../../components/libc/compilers/armlibc/stdio.c - stdio.c - 0 - 0 - - - 9 - 132 - 1 - 0 - 0 - 0 - ../../components/libc/compilers/armlibc/stubs.c - stubs.c - 0 - 0 - - - 9 - 133 + 118 1 0 0 0 - ../../components/libc/compilers/armlibc/time.c - time.c + ..\..\components\drivers\src\workqueue.c + workqueue.c 0 0 @@ -1844,193 +1668,193 @@ 0 0 - 10 - 134 + 9 + 119 1 0 0 0 - ../../components/finsh/shell.c + ..\..\components\finsh\shell.c shell.c 0 0 - 10 - 135 + 9 + 120 1 0 0 0 - ../../components/finsh/symbol.c + ..\..\components\finsh\symbol.c symbol.c 0 0 - 10 - 136 + 9 + 121 1 0 0 0 - ../../components/finsh/cmd.c + ..\..\components\finsh\cmd.c cmd.c 0 0 - 10 - 137 + 9 + 122 1 0 0 0 - ../../components/finsh/msh.c + ..\..\components\finsh\msh.c msh.c 0 0 - 10 - 138 + 9 + 123 1 0 0 0 - ../../components/finsh/msh_cmd.c + ..\..\components\finsh\msh_cmd.c msh_cmd.c 0 0 - 10 - 139 + 9 + 124 1 0 0 0 - ../../components/finsh/msh_file.c + ..\..\components\finsh\msh_file.c msh_file.c 0 0 - 10 - 140 + 9 + 125 1 0 0 0 - ../../components/finsh/finsh_compiler.c + ..\..\components\finsh\finsh_compiler.c finsh_compiler.c 0 0 - 10 - 141 + 9 + 126 1 0 0 0 - ../../components/finsh/finsh_error.c + ..\..\components\finsh\finsh_error.c finsh_error.c 0 0 - 10 - 142 + 9 + 127 1 0 0 0 - ../../components/finsh/finsh_heap.c + ..\..\components\finsh\finsh_heap.c finsh_heap.c 0 0 - 10 - 143 + 9 + 128 1 0 0 0 - ../../components/finsh/finsh_init.c + ..\..\components\finsh\finsh_init.c finsh_init.c 0 0 - 10 - 144 + 9 + 129 1 0 0 0 - ../../components/finsh/finsh_node.c + ..\..\components\finsh\finsh_node.c finsh_node.c 0 0 - 10 - 145 + 9 + 130 1 0 0 0 - ../../components/finsh/finsh_ops.c + ..\..\components\finsh\finsh_ops.c finsh_ops.c 0 0 - 10 - 146 + 9 + 131 1 0 0 0 - ../../components/finsh/finsh_parser.c + ..\..\components\finsh\finsh_parser.c finsh_parser.c 0 0 - 10 - 147 + 9 + 132 1 0 0 0 - ../../components/finsh/finsh_var.c + ..\..\components\finsh\finsh_var.c finsh_var.c 0 0 - 10 - 148 + 9 + 133 1 0 0 0 - ../../components/finsh/finsh_vm.c + ..\..\components\finsh\finsh_vm.c finsh_vm.c 0 0 - 10 - 149 + 9 + 134 1 0 0 0 - ../../components/finsh/finsh_token.c + ..\..\components\finsh\finsh_token.c finsh_token.c 0 0 @@ -2038,428 +1862,80 @@ - LwIP + libc 0 0 0 0 - 11 - 150 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/api/api_lib.c - api_lib.c - 0 - 0 - - - 11 - 151 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/api/api_msg.c - api_msg.c - 0 - 0 - - - 11 - 152 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/api/err.c - err.c - 0 - 0 - - - 11 - 153 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/api/netbuf.c - netbuf.c - 0 - 0 - - - 11 - 154 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/api/netdb.c - netdb.c - 0 - 0 - - - 11 - 155 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/api/netifapi.c - netifapi.c - 0 - 0 - - - 11 - 156 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/api/sockets.c - sockets.c - 0 - 0 - - - 11 - 157 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/api/tcpip.c - tcpip.c - 0 - 0 - - - 11 - 158 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/arch/sys_arch.c - sys_arch.c - 0 - 0 - - - 11 - 159 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/core/def.c - def.c - 0 - 0 - - - 11 - 160 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/core/dhcp.c - dhcp.c - 0 - 0 - - - 11 - 161 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/core/dns.c - dns.c - 0 - 0 - - - 11 - 162 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/core/init.c - init.c - 0 - 0 - - - 11 - 163 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/core/memp.c - memp.c - 0 - 0 - - - 11 - 164 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/core/netif.c - netif.c - 0 - 0 - - - 11 - 165 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/core/pbuf.c - pbuf.c - 0 - 0 - - - 11 - 166 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/core/raw.c - raw.c - 0 - 0 - - - 11 - 167 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/core/stats.c - stats.c - 0 - 0 - - - 11 - 168 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/core/sys.c - sys.c - 0 - 0 - - - 11 - 169 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/core/tcp.c - tcp.c - 0 - 0 - - - 11 - 170 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/core/tcp_in.c - tcp_in.c - 0 - 0 - - - 11 - 171 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/core/tcp_out.c - tcp_out.c - 0 - 0 - - - 11 - 172 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/core/timers.c - timers.c - 0 - 0 - - - 11 - 173 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/core/udp.c - udp.c - 0 - 0 - - - 11 - 174 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/core/ipv4/autoip.c - autoip.c - 0 - 0 - - - 11 - 175 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/core/ipv4/icmp.c - icmp.c - 0 - 0 - - - 11 - 176 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/core/ipv4/igmp.c - igmp.c - 0 - 0 - - - 11 - 177 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/core/ipv4/inet.c - inet.c - 0 - 0 - - - 11 - 178 - 1 - 0 - 0 - 0 - ../../components/net/lwip-1.4.1/src/core/ipv4/inet_chksum.c - inet_chksum.c - 0 - 0 - - - 11 - 179 + 10 + 135 1 0 0 0 - ../../components/net/lwip-1.4.1/src/core/ipv4/ip.c - ip.c + ..\..\components\libc\compilers\armlibc\libc.c + libc.c 0 0 - 11 - 180 + 10 + 136 1 0 0 0 - ../../components/net/lwip-1.4.1/src/core/ipv4/ip_addr.c - ip_addr.c + ..\..\components\libc\compilers\armlibc\mem_std.c + mem_std.c 0 0 - 11 - 181 + 10 + 137 1 0 0 0 - ../../components/net/lwip-1.4.1/src/core/ipv4/ip_frag.c - ip_frag.c + ..\..\components\libc\compilers\armlibc\stdio.c + stdio.c 0 0 - 11 - 182 + 10 + 138 1 0 0 0 - ../../components/net/lwip-1.4.1/src/netif/etharp.c - etharp.c + ..\..\components\libc\compilers\armlibc\stubs.c + stubs.c 0 0 - 11 - 183 + 10 + 139 1 0 0 0 - ../../components/net/lwip-1.4.1/src/netif/ethernetif.c - ethernetif.c + ..\..\components\libc\compilers\armlibc\time.c + time.c 0 0 - 11 - 184 + 10 + 140 1 0 0 0 - ../../components/net/lwip-1.4.1/src/netif/slipif.c - slipif.c + ..\..\components\libc\compilers\common\gmtime_r.c + gmtime_r.c 0 0 diff --git a/bsp/stm32h743-nucleo/project.uvprojx b/bsp/stm32h743-nucleo/project.uvprojx index 46506c791..f34e1cd74 100644 --- a/bsp/stm32h743-nucleo/project.uvprojx +++ b/bsp/stm32h743-nucleo/project.uvprojx @@ -10,11 +10,13 @@ rt-thread_stm32h7xx 0x4 ARM-ADS + 5060750::V5.06 update 6 (build 750)::ARMCC + 0 STM32H743ZITx STMicroelectronics - Keil.STM32H7xx_DFP.2.0.0 + Keil.STM32H7xx_DFP.2.2.0 http://www.keil.com/pack IRAM(0x20000000-0x2001FFFF) IRAM2(0x24000000-0x2407FFFF) IROM(0x8000000-0x81FFFFF) CLOCK(12000000) FPU3(DFPU) CPUTYPE("Cortex-M7") ELITTLE @@ -52,7 +54,7 @@ 0 0 1 - 1 + 0 .\build\ 1 0 @@ -182,6 +184,7 @@ 0 0 2 + 0 1 0 8 @@ -318,13 +321,14 @@ 1 0 0 - 0 + 2 0 0 1 + 0 0 - 0 - 0 + 3 + 3 1 1 0 @@ -334,7 +338,7 @@ USE_HAL_DRIVER, RT_USING_ARM_LIBC, STM32H743xx - drivers;applications;.;Libraries/CMSIS/Device/ST/STM32H7xx/Include;Libraries/CMSIS/Include;Libraries/STM32H7xx_HAL_Driver/Inc;../../include;../../libcpu/arm/cortex-m7;../../libcpu/arm/common;../../components/drivers/include;../../components/drivers/include;../../components/libc/pthreads;../../components/libc/time;../../components/libc/compilers/armlibc;../../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 + applications;.;drivers;Libraries\CMSIS\Device\ST\STM32H7xx\Include;Libraries\CMSIS\Include;Libraries\STM32H7xx_HAL_Driver\Inc;..\..\include;..\..\libcpu\arm\cortex-m7;..\..\libcpu\arm\common;..\..\components\dfs\include;..\..\components\dfs\filesystems\devfs;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\finsh;..\..\components\libc\compilers\armlibc;..\..\components\libc\compilers\common @@ -368,7 +372,7 @@ - --keep *.o(.rti_fn.*) --keep *.o(FSymTab) --keep *.o(VSymTab) + --keep *.o(.rti_fn.*) --keep *.o(FSymTab) --keep *.o(VSymTab) @@ -376,52 +380,42 @@ - Drivers + Applications - board.c - 1 - drivers/board.c - - - drv_led.c - 1 - drivers/drv_led.c - - - drv_mpu.c + main.c 1 - drivers/drv_mpu.c + applications\main.c - drv_usart.c + sram.c 1 - drivers/drv_usart.c + applications\sram.c + + + + Drivers + - lan8742a.c + board.c 1 - drivers/lan8742a.c + drivers\board.c stm32h7xx_it.c 1 - drivers/stm32h7xx_it.c + drivers\stm32h7xx_it.c - - - - Applications - - main.c + drv_mpu.c 1 - applications/main.c + drivers\drv_mpu.c - sram.c + drv_usart.c 1 - applications/sram.c + drivers\drv_usart.c @@ -431,12 +425,12 @@ system_stm32h7xx.c 1 - Libraries/CMSIS/Device/ST/STM32H7xx/Source/Templates/system_stm32h7xx.c + Libraries\CMSIS\Device\ST\STM32H7xx\Source\Templates\system_stm32h7xx.c startup_stm32h743xx.s 2 - Libraries/CMSIS/Device/ST/STM32H7xx/Source/Templates/arm/startup_stm32h743xx.s + Libraries\CMSIS\Device\ST\STM32H7xx\Source\Templates\arm\startup_stm32h743xx.s @@ -446,387 +440,387 @@ stm32h7xx_hal.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal.c stm32h7xx_hal_adc.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_adc.c stm32h7xx_hal_adc_ex.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_adc_ex.c stm32h7xx_hal_cec.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_cec.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cec.c stm32h7xx_hal_comp.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_comp.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_comp.c stm32h7xx_hal_cortex.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_cortex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cortex.c stm32h7xx_hal_crc.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_crc.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_crc.c stm32h7xx_hal_crc_ex.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_crc_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_crc_ex.c stm32h7xx_hal_cryp.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_cryp.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cryp.c stm32h7xx_hal_cryp_ex.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_cryp_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cryp_ex.c stm32h7xx_hal_dac.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dac.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_dac.c stm32h7xx_hal_dac_ex.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dac_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_dac_ex.c stm32h7xx_hal_dcmi.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dcmi.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_dcmi.c stm32h7xx_hal_dfsdm.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dfsdm.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_dfsdm.c stm32h7xx_hal_dma.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dma.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_dma.c stm32h7xx_hal_dma2d.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dma2d.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_dma2d.c stm32h7xx_hal_dma_ex.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dma_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_dma_ex.c stm32h7xx_hal_eth.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_eth.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_eth.c stm32h7xx_hal_eth_ex.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_eth_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_eth_ex.c stm32h7xx_hal_fdcan.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_fdcan.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_fdcan.c stm32h7xx_hal_flash.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_flash.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_flash.c stm32h7xx_hal_flash_ex.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_flash_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_flash_ex.c stm32h7xx_hal_gpio.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_gpio.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_gpio.c stm32h7xx_hal_hash.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_hash.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_hash.c stm32h7xx_hal_hash_ex.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_hash_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_hash_ex.c stm32h7xx_hal_hcd.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_hcd.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_hcd.c stm32h7xx_hal_hrtim.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_hrtim.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_hrtim.c stm32h7xx_hal_hsem.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_hsem.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_hsem.c stm32h7xx_hal_i2c.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_i2c.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_i2c.c stm32h7xx_hal_i2c_ex.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_i2c_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_i2c_ex.c stm32h7xx_hal_i2s.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_i2s.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_i2s.c stm32h7xx_hal_i2s_ex.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_i2s_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_i2s_ex.c stm32h7xx_hal_irda.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_irda.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_irda.c stm32h7xx_hal_iwdg.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_iwdg.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_iwdg.c stm32h7xx_hal_jpeg.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_jpeg.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_jpeg.c stm32h7xx_hal_lptim.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_lptim.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_lptim.c stm32h7xx_hal_ltdc.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_ltdc.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_ltdc.c stm32h7xx_hal_mdios.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_mdios.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_mdios.c stm32h7xx_hal_mdma.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_mdma.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_mdma.c stm32h7xx_hal_mmc.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_mmc.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_mmc.c stm32h7xx_hal_mmc_ex.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_mmc_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_mmc_ex.c stm32h7xx_hal_nand.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_nand.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_nand.c stm32h7xx_hal_nor.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_nor.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_nor.c stm32h7xx_hal_opamp.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_opamp.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_opamp.c stm32h7xx_hal_opamp_ex.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_opamp_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_opamp_ex.c stm32h7xx_hal_pcd.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pcd.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_pcd.c stm32h7xx_hal_pcd_ex.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pcd_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_pcd_ex.c stm32h7xx_hal_pwr.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pwr.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_pwr.c stm32h7xx_hal_pwr_ex.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pwr_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_pwr_ex.c stm32h7xx_hal_qspi.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_qspi.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_qspi.c stm32h7xx_hal_rcc.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rcc.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rcc.c stm32h7xx_hal_rcc_ex.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rcc_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rcc_ex.c stm32h7xx_hal_rng.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rng.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rng.c stm32h7xx_hal_rtc.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rtc.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rtc.c stm32h7xx_hal_rtc_ex.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rtc_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rtc_ex.c stm32h7xx_hal_sai.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_sai.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_sai.c stm32h7xx_hal_sai_ex.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_sai_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_sai_ex.c stm32h7xx_hal_sd.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_sd.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_sd.c stm32h7xx_hal_sd_ex.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_sd_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_sd_ex.c stm32h7xx_hal_sdram.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_sdram.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_sdram.c stm32h7xx_hal_smartcard.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_smartcard.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_smartcard.c stm32h7xx_hal_smartcard_ex.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_smartcard_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_smartcard_ex.c stm32h7xx_hal_smbus.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_smbus.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_smbus.c stm32h7xx_hal_spdifrx.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spdifrx.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_spdifrx.c stm32h7xx_hal_spi.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_spi.c stm32h7xx_hal_spi_ex.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_spi_ex.c stm32h7xx_hal_sram.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_sram.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_sram.c stm32h7xx_hal_swpmi.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_swpmi.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_swpmi.c stm32h7xx_hal_tim.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_tim.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_tim.c stm32h7xx_hal_tim_ex.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_tim_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_tim_ex.c stm32h7xx_hal_uart.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_uart.c stm32h7xx_hal_uart_ex.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart_ex.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_uart_ex.c stm32h7xx_hal_usart.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_usart.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_usart.c stm32h7xx_hal_wwdg.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_wwdg.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_wwdg.c stm32h7xx_ll_fmc.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_ll_fmc.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_ll_fmc.c stm32h7xx_ll_sdmmc.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_ll_sdmmc.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_ll_sdmmc.c stm32h7xx_ll_usb.c 1 - Libraries/STM32H7xx_HAL_Driver/Src/stm32h7xx_ll_usb.c + Libraries\STM32H7xx_HAL_Driver\Src\stm32h7xx_ll_usb.c @@ -836,77 +830,77 @@ clock.c 1 - ../../src/clock.c + ..\..\src\clock.c components.c 1 - ../../src/components.c + ..\..\src\components.c + + + cpu.c + 1 + ..\..\src\cpu.c device.c 1 - ../../src/device.c + ..\..\src\device.c idle.c 1 - ../../src/idle.c + ..\..\src\idle.c ipc.c 1 - ../../src/ipc.c + ..\..\src\ipc.c irq.c 1 - ../../src/irq.c + ..\..\src\irq.c kservice.c 1 - ../../src/kservice.c + ..\..\src\kservice.c mem.c 1 - ../../src/mem.c - - - memheap.c - 1 - ../../src/memheap.c + ..\..\src\mem.c mempool.c 1 - ../../src/mempool.c + ..\..\src\mempool.c object.c 1 - ../../src/object.c + ..\..\src\object.c scheduler.c 1 - ../../src/scheduler.c + ..\..\src\scheduler.c signal.c 1 - ../../src/signal.c + ..\..\src\signal.c thread.c 1 - ../../src/thread.c + ..\..\src\thread.c timer.c 1 - ../../src/timer.c + ..\..\src\timer.c @@ -916,172 +910,102 @@ cpuport.c 1 - ../../libcpu/arm/cortex-m7/cpuport.c + ..\..\libcpu\arm\cortex-m7\cpuport.c context_rvds.S 2 - ../../libcpu/arm/cortex-m7/context_rvds.S + ..\..\libcpu\arm\cortex-m7\context_rvds.S backtrace.c 1 - ../../libcpu/arm/common/backtrace.c + ..\..\libcpu\arm\common\backtrace.c div0.c 1 - ../../libcpu/arm/common/div0.c + ..\..\libcpu\arm\common\div0.c showmem.c 1 - ../../libcpu/arm/common/showmem.c + ..\..\libcpu\arm\common\showmem.c - DeviceDrivers + Filesystem - serial.c - 1 - ../../components/drivers/serial/serial.c - - - completion.c - 1 - ../../components/drivers/src/completion.c - - - dataqueue.c + dfs.c 1 - ../../components/drivers/src/dataqueue.c + ..\..\components\dfs\src\dfs.c - pipe.c + dfs_file.c 1 - ../../components/drivers/src/pipe.c + ..\..\components\dfs\src\dfs_file.c - ringbuffer.c + dfs_fs.c 1 - ../../components/drivers/src/ringbuffer.c + ..\..\components\dfs\src\dfs_fs.c - waitqueue.c + dfs_posix.c 1 - ../../components/drivers/src/waitqueue.c + ..\..\components\dfs\src\dfs_posix.c - workqueue.c + devfs.c 1 - ../../components/drivers/src/workqueue.c + ..\..\components\dfs\filesystems\devfs\devfs.c - pthreads + DeviceDrivers - mqueue.c - 1 - ../../components/libc/pthreads/mqueue.c - - - pthread.c - 1 - ../../components/libc/pthreads/pthread.c - - - pthread_attr.c - 1 - ../../components/libc/pthreads/pthread_attr.c - - - pthread_barrier.c - 1 - ../../components/libc/pthreads/pthread_barrier.c - - - pthread_cond.c - 1 - ../../components/libc/pthreads/pthread_cond.c - - - pthread_mutex.c - 1 - ../../components/libc/pthreads/pthread_mutex.c - - - pthread_rwlock.c - 1 - ../../components/libc/pthreads/pthread_rwlock.c - - - pthread_spin.c - 1 - ../../components/libc/pthreads/pthread_spin.c - - - pthread_tls.c - 1 - ../../components/libc/pthreads/pthread_tls.c - - - sched.c - 1 - ../../components/libc/pthreads/sched.c - - - semaphore.c - 1 - ../../components/libc/pthreads/semaphore.c - - - clock_time.c + serial.c 1 - ../../components/libc/time/clock_time.c + ..\..\components\drivers\serial\serial.c - posix_sleep.c + completion.c 1 - ../../components/libc/time/posix_sleep.c + ..\..\components\drivers\src\completion.c - - - - libc - - libc.c + dataqueue.c 1 - ../../components/libc/compilers/armlibc/libc.c + ..\..\components\drivers\src\dataqueue.c - libc_syms.c + pipe.c 1 - ../../components/libc/compilers/armlibc/libc_syms.c + ..\..\components\drivers\src\pipe.c - mem_std.c + ringblk_buf.c 1 - ../../components/libc/compilers/armlibc/mem_std.c + ..\..\components\drivers\src\ringblk_buf.c - stdio.c + ringbuffer.c 1 - ../../components/libc/compilers/armlibc/stdio.c + ..\..\components\drivers\src\ringbuffer.c - stubs.c + waitqueue.c 1 - ../../components/libc/compilers/armlibc/stubs.c + ..\..\components\drivers\src\waitqueue.c - time.c + workqueue.c 1 - ../../components/libc/compilers/armlibc/time.c + ..\..\components\drivers\src\workqueue.c @@ -1091,262 +1015,117 @@ shell.c 1 - ../../components/finsh/shell.c + ..\..\components\finsh\shell.c symbol.c 1 - ../../components/finsh/symbol.c + ..\..\components\finsh\symbol.c cmd.c 1 - ../../components/finsh/cmd.c + ..\..\components\finsh\cmd.c msh.c 1 - ../../components/finsh/msh.c + ..\..\components\finsh\msh.c msh_cmd.c 1 - ../../components/finsh/msh_cmd.c + ..\..\components\finsh\msh_cmd.c msh_file.c 1 - ../../components/finsh/msh_file.c + ..\..\components\finsh\msh_file.c finsh_compiler.c 1 - ../../components/finsh/finsh_compiler.c + ..\..\components\finsh\finsh_compiler.c finsh_error.c 1 - ../../components/finsh/finsh_error.c + ..\..\components\finsh\finsh_error.c finsh_heap.c 1 - ../../components/finsh/finsh_heap.c + ..\..\components\finsh\finsh_heap.c finsh_init.c 1 - ../../components/finsh/finsh_init.c + ..\..\components\finsh\finsh_init.c finsh_node.c 1 - ../../components/finsh/finsh_node.c + ..\..\components\finsh\finsh_node.c finsh_ops.c 1 - ../../components/finsh/finsh_ops.c + ..\..\components\finsh\finsh_ops.c finsh_parser.c 1 - ../../components/finsh/finsh_parser.c + ..\..\components\finsh\finsh_parser.c finsh_var.c 1 - ../../components/finsh/finsh_var.c + ..\..\components\finsh\finsh_var.c finsh_vm.c 1 - ../../components/finsh/finsh_vm.c + ..\..\components\finsh\finsh_vm.c finsh_token.c 1 - ../../components/finsh/finsh_token.c + ..\..\components\finsh\finsh_token.c - LwIP + libc - api_lib.c - 1 - ../../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 - - - err.c - 1 - ../../components/net/lwip-1.4.1/src/api/err.c - - - netbuf.c - 1 - ../../components/net/lwip-1.4.1/src/api/netbuf.c - - - netdb.c - 1 - ../../components/net/lwip-1.4.1/src/api/netdb.c - - - netifapi.c - 1 - ../../components/net/lwip-1.4.1/src/api/netifapi.c - - - sockets.c - 1 - ../../components/net/lwip-1.4.1/src/api/sockets.c - - - tcpip.c - 1 - ../../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 - - - def.c - 1 - ../../components/net/lwip-1.4.1/src/core/def.c - - - dhcp.c - 1 - ../../components/net/lwip-1.4.1/src/core/dhcp.c - - - dns.c - 1 - ../../components/net/lwip-1.4.1/src/core/dns.c - - - init.c - 1 - ../../components/net/lwip-1.4.1/src/core/init.c - - - memp.c - 1 - ../../components/net/lwip-1.4.1/src/core/memp.c - - - netif.c - 1 - ../../components/net/lwip-1.4.1/src/core/netif.c - - - pbuf.c - 1 - ../../components/net/lwip-1.4.1/src/core/pbuf.c - - - raw.c - 1 - ../../components/net/lwip-1.4.1/src/core/raw.c - - - stats.c - 1 - ../../components/net/lwip-1.4.1/src/core/stats.c - - - sys.c - 1 - ../../components/net/lwip-1.4.1/src/core/sys.c - - - tcp.c - 1 - ../../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 - - - tcp_out.c - 1 - ../../components/net/lwip-1.4.1/src/core/tcp_out.c - - - timers.c - 1 - ../../components/net/lwip-1.4.1/src/core/timers.c - - - udp.c - 1 - ../../components/net/lwip-1.4.1/src/core/udp.c - - - autoip.c - 1 - ../../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 - - - igmp.c - 1 - ../../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 - - - inet_chksum.c - 1 - ../../components/net/lwip-1.4.1/src/core/ipv4/inet_chksum.c - - - ip.c + libc.c 1 - ../../components/net/lwip-1.4.1/src/core/ipv4/ip.c + ..\..\components\libc\compilers\armlibc\libc.c - ip_addr.c + mem_std.c 1 - ../../components/net/lwip-1.4.1/src/core/ipv4/ip_addr.c + ..\..\components\libc\compilers\armlibc\mem_std.c - ip_frag.c + stdio.c 1 - ../../components/net/lwip-1.4.1/src/core/ipv4/ip_frag.c + ..\..\components\libc\compilers\armlibc\stdio.c - etharp.c + stubs.c 1 - ../../components/net/lwip-1.4.1/src/netif/etharp.c + ..\..\components\libc\compilers\armlibc\stubs.c - ethernetif.c + time.c 1 - ../../components/net/lwip-1.4.1/src/netif/ethernetif.c + ..\..\components\libc\compilers\armlibc\time.c - slipif.c + gmtime_r.c 1 - ../../components/net/lwip-1.4.1/src/netif/slipif.c + ..\..\components\libc\compilers\common\gmtime_r.c diff --git a/bsp/stm32h743-nucleo/rtconfig.h b/bsp/stm32h743-nucleo/rtconfig.h index 173db7f63..7f092e5fa 100644 --- a/bsp/stm32h743-nucleo/rtconfig.h +++ b/bsp/stm32h743-nucleo/rtconfig.h @@ -56,7 +56,7 @@ /* RT_USING_INTERRUPT_INFO is not set */ #define RT_USING_CONSOLE #define RT_CONSOLEBUF_SIZE 128 -#define RT_CONSOLE_DEVICE_NAME "uart1" +#define RT_CONSOLE_DEVICE_NAME "uart3" /* RT-Thread Components */ -- GitLab