forked from nrfconnect/sdk-zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: flatten all loose components into one lib
lib/ was starting to get messy and inconsitent. Files being either dumped in the root or in sub-directories without a clear plan. Move all library components into one single folder and call it 'os'. Signed-off-by: Anas Nashif <[email protected]>
- Loading branch information
Showing
23 changed files
with
54 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,8 @@ | ||
zephyr_sources(thread_entry.c work_q.c) | ||
zephyr_sources(fdtable.c) | ||
add_subdirectory(crc) | ||
add_subdirectory_ifdef(CONFIG_JSON_LIBRARY json) | ||
if(NOT CONFIG_NATIVE_APPLICATION) | ||
add_subdirectory(libc) | ||
endif() | ||
add_subdirectory_if_kconfig(ring_buffer) | ||
add_subdirectory_if_kconfig(base64) | ||
add_subdirectory(mempool) | ||
add_subdirectory_ifdef(CONFIG_POSIX_API posix) | ||
add_subdirectory_ifdef(CONFIG_CMSIS_RTOS_V1 cmsis_rtos_v1) | ||
add_subdirectory_ifdef(CONFIG_CMSIS_RTOS_V2 cmsis_rtos_v2) | ||
add_subdirectory(rbtree) | ||
add_subdirectory(gui) | ||
add_subdirectory(os) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
zephyr_sources_if_kconfig(base64.c) | ||
|
||
zephyr_sources( | ||
crc32_sw.c | ||
crc16_sw.c | ||
crc8_sw.c | ||
crc7_sw.c | ||
fdtable.c | ||
mempool.c | ||
rb.c | ||
thread_entry.c | ||
work_q.c | ||
) | ||
|
||
zephyr_sources_ifdef(CONFIG_JSON_LIBRARY json.c) | ||
|
||
zephyr_sources_if_kconfig(ring_buffer.c) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# | ||
# Copyright (c) 2016 Intel Corporation | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
menu "OS Support Library" | ||
|
||
config JSON_LIBRARY | ||
bool "Build JSON library" | ||
help | ||
Build a minimal JSON parsing/encoding library. Used by sample | ||
applications such as the NATS client. | ||
|
||
config RING_BUFFER | ||
bool "Enable ring buffers" | ||
help | ||
Enable usage of ring buffers. This is similar to kernel FIFOs but ring | ||
buffers manage their own buffer memory and can store arbitrary data. | ||
For optimal performance, use buffer sizes that are a power of 2. | ||
|
||
config BASE64 | ||
bool "Enable base64 encoding and decoding" | ||
help | ||
Enable base64 encoding and decoding functionality | ||
|
||
endmenu |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters