From a7fe956e35c4b0df8536ab6ef87fcb56a613060a Mon Sep 17 00:00:00 2001 From: hathach Date: Fri, 15 Dec 2023 18:55:36 +0700 Subject: [PATCH] rename dk board and more update --- .idea/cmake.xml | 1 + .../stm32h5/FreeRTOSConfig/FreeRTOSConfig.h | 4 +- hw/bsp/stm32h5/boards/stm32h563nucleo/board.h | 115 ++++++++++++++++++ .../board.cmake | 0 .../{stm32h573i-dk => stm32h573i_dk}/board.h | 12 +- .../{stm32h573i-dk => stm32h573i_dk}/board.mk | 0 hw/bsp/stm32h5/family.c | 77 ++++++------ 7 files changed, 153 insertions(+), 56 deletions(-) create mode 100644 hw/bsp/stm32h5/boards/stm32h563nucleo/board.h rename hw/bsp/stm32h5/boards/{stm32h573i-dk => stm32h573i_dk}/board.cmake (100%) rename hw/bsp/stm32h5/boards/{stm32h573i-dk => stm32h573i_dk}/board.h (97%) rename hw/bsp/stm32h5/boards/{stm32h573i-dk => stm32h573i_dk}/board.mk (100%) diff --git a/.idea/cmake.xml b/.idea/cmake.xml index 101f08078..d12e44789 100644 --- a/.idea/cmake.xml +++ b/.idea/cmake.xml @@ -62,6 +62,7 @@ + diff --git a/hw/bsp/stm32h5/FreeRTOSConfig/FreeRTOSConfig.h b/hw/bsp/stm32h5/FreeRTOSConfig/FreeRTOSConfig.h index 52dfa095f..34398c448 100644 --- a/hw/bsp/stm32h5/FreeRTOSConfig/FreeRTOSConfig.h +++ b/hw/bsp/stm32h5/FreeRTOSConfig/FreeRTOSConfig.h @@ -44,7 +44,7 @@ // skip if included from IAR assembler #ifndef __IASMARM__ - #include "stm32g0xx.h" + #include "stm32h5xx.h" #endif /* Cortex M23/M33 port configuration. */ @@ -143,7 +143,7 @@ //--------------------------------------------------------------------+ // For Cortex-M specific: __NVIC_PRIO_BITS is defined in mcu header -#define configPRIO_BITS 2 +#define configPRIO_BITS 4 /* The lowest interrupt priority that can be used in a call to a "set priority" function. */ #define configLIBRARY_LOWEST_INTERRUPT_PRIORITY ((1<