From 7a82e93e14766ef6e42df9915ea2ab8e3b952a8b Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Tue, 20 Aug 2019 06:33:13 -0700 Subject: [PATCH] modules: make openisa TI a zephyr module Split ext/ content and create a module that can be used with west. Signed-off-by: Anas Nashif --- simplelink/CMakeLists.txt | 1 + simplelink/Kconfig | 30 ------------------------------ zephyr/module.yml | 2 ++ 3 files changed, 3 insertions(+), 30 deletions(-) delete mode 100644 simplelink/Kconfig create mode 100644 zephyr/module.yml diff --git a/simplelink/CMakeLists.txt b/simplelink/CMakeLists.txt index 8596722..55e2a03 100644 --- a/simplelink/CMakeLists.txt +++ b/simplelink/CMakeLists.txt @@ -5,6 +5,7 @@ if(CONFIG_SIMPLELINK_HOST_DRIVER) . source kernel/zephyr/dpl + source/ti/drivers/net/wifi/porting ) zephyr_compile_definitions( SL_SUPPORT_IPV6 diff --git a/simplelink/Kconfig b/simplelink/Kconfig deleted file mode 100644 index 57b35e4..0000000 --- a/simplelink/Kconfig +++ /dev/null @@ -1,30 +0,0 @@ -# Kconfig - CC3220 SDK HAL configuration - -config HAS_CC3220SDK - bool - -# Notes: -# SimpleLink drivers require types (stdint.h) from NEWLIB_LIBC -# Selecting ERRNO lets host driver use Zephyr's __errno -# Selecting PTHREAD_IPC and POSIX_API are needed to build the host driver -config SIMPLELINK_HOST_DRIVER - bool "Build the SimpleLink WiFi Host Driver" - depends on HAS_CC3220SDK - depends on MULTITHREADING - select NEWLIB_LIBC - select ERRNO - select POSIX_API - select PTHREAD_IPC - help - Build the SimpleLink host driver - -# Kconfig - MSP432 SDK HAL configuration - -config HAS_MSP432P4XXSDK - bool - select HAS_CMSIS - -# Kconfig - CC13X2 / CC26X2 SDK HAL configuration - -config HAS_CC13X2_CC26X2_SDK - bool diff --git a/zephyr/module.yml b/zephyr/module.yml new file mode 100644 index 0000000..eb317c3 --- /dev/null +++ b/zephyr/module.yml @@ -0,0 +1,2 @@ +build: + cmake: .