Skip to content

Commit

Permalink
feat:add mongoose
Browse files Browse the repository at this point in the history
  • Loading branch information
hacperme committed Apr 12, 2024
1 parent 145afcc commit 906a99a
Show file tree
Hide file tree
Showing 12 changed files with 20,183 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ sdk_add_subdirectory_ifdef(CONFIG_MICROECC micro-ecc)
sdk_add_subdirectory_ifdef(CONFIG_NETWORK network)
sdk_add_subdirectory_ifdef(CONFIG_WOLFSSL wolfssl)
sdk_add_subdirectory_ifdef(CONFIG_UTILS utils)
sdk_add_subdirectory_ifdef(CONFIG_DUKTAPE duktape)
sdk_add_subdirectory_ifdef(CONFIG_DUKTAPE duktape)
sdk_add_subdirectory_ifdef(CONFIG_MONGOOSE mongoose)
1 change: 1 addition & 0 deletions components/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ source "$SDK_BASE/components/network/Kconfig"
source "$SDK_BASE/components/wolfssl/Kconfig"
source "$SDK_BASE/components/utils/Kconfig"
source "$SDK_BASE/components/duktape/Kconfig"
source "$SDK_BASE/components/mongoose/Kconfig"
endmenu
7 changes: 7 additions & 0 deletions components/mongoose/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
message("MICROECC")

sdk_generate_library()
# file(GLOB_RECURSE SOURCES src/*.c)
sdk_library_add_sources(mongoose.c)
sdk_add_compile_definitions("-DMG_TLS=MG_TLS_MBED")
sdk_add_include_directories(../mongoose)
7 changes: 7 additions & 0 deletions components/mongoose/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
menuconfig MONGOOSE
bool "mongoose"
default n

if MONGOOSE

endif
Loading

0 comments on commit 906a99a

Please sign in to comment.