File tree Expand file tree Collapse file tree 6 files changed +23
-4
lines changed
stm32/stm32u575-st-nucleo Expand file tree Collapse file tree 6 files changed +23
-4
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,9 @@ CONFIG_RT_VER_NUM=0x40100
8282CONFIG_ARCH_ARM=y
8383CONFIG_RT_USING_CPU_FFS=y
8484CONFIG_ARCH_ARM_CORTEX_A=y
85- CONFIG_RT_NO_USING_GIC=y
85+ # CONFIG_RT_SMP_AUTO_BOOT is not set
86+ CONFIG_RT_USING_GIC_V2=y
87+ # CONFIG_RT_USING_GIC_V3 is not set
8688CONFIG_ARCH_ARM_CORTEX_A9=y
8789
8890#
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ config SOC_VEXPRESS_GEMINI
2323 select ARCH_ARM_CORTEX_A9
2424 select RT_USING_COMPONENTS_INIT
2525 # select RT_USING_USER_MAIN
26+ select RT_USING_GIC_V2
2627 default y
2728
2829source "$BSP_DIR/drivers/Kconfig"
Original file line number Diff line number Diff line change @@ -30,4 +30,21 @@ void rt_hw_cpu_shutdown()
3030 }
3131}
3232
33+ #ifdef RT_USING_CPU_FFS
34+ /**
35+ * This function finds the first bit set (beginning with the least significant bit)
36+ * in value and return the index of that bit.
37+ *
38+ * Bits are numbered starting at 1 (the least significant bit). A return value of
39+ * zero from any of these functions means that the argument was zero.
40+ *
41+ * @return return the index of the first bit set. If value is 0, then this function
42+ * shall return 0.
43+ */
44+ int __rt_ffs (int value )
45+ {
46+ return __builtin_ffs (value );
47+ }
48+ #endif
49+
3350/*@}*/
Original file line number Diff line number Diff line change 5151#define ARCH_ARM
5252#define RT_USING_CPU_FFS
5353#define ARCH_ARM_CORTEX_A
54- #define RT_NO_USING_GIC
54+ #define RT_USING_GIC_V2
5555#define ARCH_ARM_CORTEX_A9
5656
5757/* RT-Thread Components */
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ CONFIG_RT_PIPE_BUFSZ=512
129129CONFIG_RT_USING_SERIAL=y
130130CONFIG_RT_USING_SERIAL_V1=y
131131# CONFIG_RT_USING_SERIAL_V2 is not set
132- CONFIG_RT_SERIAL_USING_DMA=y
132+ # CONFIG_RT_SERIAL_USING_DMA is not set
133133CONFIG_RT_SERIAL_RB_BUFSZ=64
134134# CONFIG_RT_USING_CAN is not set
135135# CONFIG_RT_USING_HWTIMER is not set
Original file line number Diff line number Diff line change 8686#define RT_PIPE_BUFSZ 512
8787#define RT_USING_SERIAL
8888#define RT_USING_SERIAL_V1
89- #define RT_SERIAL_USING_DMA
9089#define RT_SERIAL_RB_BUFSZ 64
9190#define RT_USING_PIN
9291
You can’t perform that action at this time.
0 commit comments