diff --git a/KConfig b/KConfig index ac17c10708525db6f1741e96817773f51ab7d68c..506c20ff586832ec722425fb9dcc5de52845e271 100644 --- a/KConfig +++ b/KConfig @@ -1,2 +1,3 @@ source "$RTT_DIR/src/KConfig" +source "$RTT_DIR/libcpu/Kconfig" source "$RTT_DIR/components/KConfig" diff --git a/components/net/KConfig b/components/net/KConfig index c52c12f7d3a19f5fe1425907c9d1ad6b59bb2aff..cd758cd33af86e5fa237b323d79cc7b87119931e 100644 --- a/components/net/KConfig +++ b/components/net/KConfig @@ -55,6 +55,20 @@ config RT_USING_LWIP default n endif + if !RT_LWIP_DHCP + config RT_LWIP_IPADDR + string "IPv4: IP address" + default 192.168.1.30 + + config RT_LWIP_GWADDR + string "IPv4: Gateway address" + default 192.168.1.1 + + config RT_LWIP_MSKADDR + string "IPv4: Mask address" + default 255.255.255.0 + endif + config RT_LWIP_UDP bool "UDP protocol" default y diff --git a/libcpu/Kconfig b/libcpu/Kconfig new file mode 100644 index 0000000000000000000000000000000000000000..0358141576833bdcfedf694936a758ba510bc467 --- /dev/null +++ b/libcpu/Kconfig @@ -0,0 +1,75 @@ +config ARCH_ARM + bool + +config ARCH_ARM_CORTEX_M + bool + select ARCH_ARM + +config ARCH_ARM_CORTEX_M0 + bool + select ARCH_ARM_CORTEX_M + +config ARCH_ARM_CORTEX_M3 + bool + select ARCH_ARM_CORTEX_M + +config ARCH_ARM_MPU + bool + depends on ARCH_ARM + +config ARCH_ARM_CORTEX_M4 + bool + select ARCH_ARM_CORTEX_M + +config ARCH_ARM_CORTEX_M7 + bool + select ARCH_ARM_CORTEX_M + +config ARCH_ARM_CORTEX_R + bool + select ARCH_ARM + +config ARCH_ARM_MMU + bool + depends on ARCH_ARM + +config ARCH_ARM_CORTEX_A5 + bool + select ARCH_ARM + +config ARCH_ARM_CORTEX_A7 + bool + select ARCH_ARM + +config ARCH_ARM_CORTEX_A8 + bool + select ARCH_ARM + +config ARCH_ARM_CORTEX_A9 + bool + select ARCH_ARM + +config ARCH_MIPS + bool + +config ARCH_MIPS_XBURST + bool + select ARCH_MIPS + +config ARCH_ANDES + bool + +config ARCH_CSKY + bool + +config ARCH_POWERPC + bool + +config ARCH_RISCV + bool + +config ARCH_IA32 + bool + +config ARCH_HOST_SIMULATOR + bool