Browse Source

[BSP][stm32f411-nucleo] Add ARCH type and change for module & lwP.

Bernard Xiong 7 years ago
parent
commit
8e67f65688

+ 5 - 0
bsp/stm32f411-nucleo/Kconfig

@@ -15,6 +15,11 @@ config $PKGS_DIR
     option env="PKGS_ROOT"
     default "packages"
 
+config BOARD_STM32F411_NUCLEO
+    bool 
+    select ARCH_ARM_CORTEX_M4
+    default y
+
 source "$RTT_DIR/Kconfig"
 source "$PKGS_DIR/Kconfig"
 

+ 0 - 9
bsp/stm32f411-nucleo/drivers/stm32f4xx_it.c

@@ -93,15 +93,6 @@ void UsageFault_Handler(void)
   }
 }
 
-/**
-  * @brief  This function handles SVCall exception.
-  * @param  None
-  * @retval None
-  */
-void SVC_Handler(void)
-{
-}
-
 /**
   * @}
   */

+ 6 - 0
bsp/stm32f411-nucleo/stm32_rom.ld

@@ -39,6 +39,12 @@ SECTIONS
         __vsymtab_end = .;
         . = ALIGN(4);
 
+        /* section information for modules */
+        . = ALIGN(4);
+        __rtmsymtab_start = .;
+        KEEP(*(RTMSymTab))
+        __rtmsymtab_end = .;
+
         /* section information for initial. */
         . = ALIGN(4);
         __rt_init_start = .;