zephyr/subsys
Marcin Niestroj 2d3365200c settings: file: drop CONFIG_SETTINGS_FILE_DIR
There is already CONFIG_SETTINGS_FILE_PATH, which is set to full file path,
while CONFIG_SETTINGS_FILE_DIR is required to be set to its parent
directory. This is redundant, as parent directory path can be easily found
out either during runtime or optionally during buildtime by CMake.

CONFIG_SETTINGS_FILE_DIR was actually introduced recently after Zephyr 3.2
release as a replacement of deprecated CONFIG_SETTINGS_FS_DIR. This means,
that there is no need to deprecate it for 3.3 release and dropping it
should be fine. Adjust 3.3 release notes accordingly, so that
CONFIG_SETTINGS_FILE_PATH will be used directly.

This patch stops using deprecated CONFIG_SETTINGS_FS_DIR. There is actually
no value in respecting it, as setting anything other than parent directory
of CONFIG_SETTINGS_FS_FILE makes no sense.

There is actually one use of CONFIG_SETTINGS_FILE_DIR in file backend
tests, to derive directory for files containing tested settings.
CONFIG_SETTINGS_FILE_PATH is not used there, so it makes little sense to
derive directory name from it. Instead, just use hardcoded "/settings"
subdirectory, as this was the default value of CONFIG_SETTINGS_FILE_DIR.

Deriving parent directory can be done either in runtime or in
buildtime (e.g. using some helper CMake function). Doing it in runtime
however allows to create directory recursively (which this patch actually
implements), e.g. for some more nested FS tree structure. Additionally it
will simplify migration of settings configuration from Kconfig to
device-tree (yet to be developed feature).

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2022-12-14 14:11:03 +01:00
..
bluetooth Bluetooth: Controller: Fix MIC failure transmitting LL_CIS_REQ PDU 2022-12-12 18:44:40 +01:00
canbus drivers: can: use flags fields for can_frame and can_filter structs 2022-10-25 16:32:10 +02:00
console includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
cpp subsys/cpp: make libstdc++ select full libc to get tests working 2022-11-22 12:54:00 +09:00
debug debug: thread_info: store arch mode_exc_return offset 2022-10-28 11:51:15 +02:00
demand_paging different subsystems: use unsigned int for irq_lock() 2022-07-14 14:37:13 -05:00
dfu dfu/boot/mcuboot: treat pristine image as confirmed 2022-11-07 09:50:35 +01:00
disk subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
dsp zdsp: Fix missing kconfig and no source library 2022-12-07 10:24:24 +00:00
emul test: SBS gauge gets initially supported props 2022-11-19 17:56:05 -05:00
fb includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
fs fs: fat: document path transformation 2022-12-07 10:31:01 +00:00
ipc ipc: static_vrings: Zero config struct 2022-12-13 09:44:44 +01:00
jwt subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
logging logging: minimal: Change imply to select for printk 2022-12-02 16:17:35 +01:00
lorawan lorawan: enforce larger system work queue stack size via Kconfig 2022-11-28 10:49:18 +01:00
mgmt samples/smp_svr: Switch to ZCBOR_MAP_DECODE_KEY_DECODER 2022-12-13 11:42:02 +01:00
modbus crc: Make the build of crc function dependent on a Kconfig 2022-11-23 13:30:00 +01:00
net net: lib: lwm2m: add uCIFI LPWAN object 2022-12-14 09:51:38 +01:00
pm pm: Rework usage of CONFIG_MP_NUM_CPUS to CONFIG_MP_MAX_NUM_CPUS 2022-10-27 13:51:55 -04:00
portability subsys/cmsis_v*: Fix racy mutex testing, decouple from k_mutex 2022-10-17 10:13:56 +02:00
random random: initialize devices at compile time 2022-08-19 11:51:26 +02:00
rtio rtio: Userspace support 2022-11-08 10:44:03 +01:00
sd sd: enable 4 bit bus width for high speed cards 2022-10-03 14:22:33 +02:00
settings settings: file: drop CONFIG_SETTINGS_FILE_DIR 2022-12-14 14:11:03 +01:00
shell shell: shell_log_backend: added check for msg allocation 2022-12-05 15:35:03 +01:00
stats stats: shell: enable the stats shell if both stats and shell are enabled 2022-10-12 06:46:34 +02:00
storage include: add missing errno.h include 2022-10-11 18:05:17 +02:00
task_wdt task_wdt: Fix build warning on 64-bit platforms 2022-08-23 10:16:04 +02:00
testsuite ztest: Add config to control test summary 2022-12-06 07:35:23 -05:00
timing subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
tracing subsys/tracing: Use z_current_get in switch_{in,out} 2022-10-26 12:00:04 +02:00
usb usb: device: cdc_acm: send more than 1 byte in poll out 2022-12-14 12:07:33 +01:00
zbus zbus: Add message bus subsystem to Zephyr 2022-11-14 17:25:29 -05:00
CMakeLists.txt zdsp: Fix missing kconfig and no source library 2022-12-07 10:24:24 +00:00
Kconfig math: Introduce a DSP basicmath subsystem with a cmsis backend 2022-12-02 20:15:55 +01:00