zephyr/subsys
Marcin Niestroj 976520c77e settings: file: do not create file when loading
File backend can be read-only with the use of `settings_file_src()` API. It
makes no sense to create file when `settings_load()` is called and
registered file backend won't be used for saving files (because
`settings_file_dst()` was not used).

Do not create file during `settings_load()` if it does not exist yet. This
just requires to remove FS_O_CREATE flag in `fs_open()` invocation.

Open file with read-only access, which is now possible after removal of
`FS_O_CREATE` flag.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2022-12-05 14:59:59 +01:00
..
bluetooth Bluetooth: Audio: Removed unused cmd_mcc_ots functions 2022-12-02 16:08:54 +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
dfu dfu/boot/mcuboot: treat pristine image as confirmed 2022-11-07 09:50:35 +01:00
disk
dsp math: Introduce a DSP basicmath subsystem with a cmsis backend 2022-12-02 20:15:55 +01: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 crc: Make the build of crc function dependent on a Kconfig 2022-11-23 13:30:00 +01:00
ipc cache: Fix libraries and drivers 2022-12-01 13:40:56 -05:00
jwt
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 crc: Make the build of crc function dependent on a Kconfig 2022-11-23 13:30:00 +01:00
modbus crc: Make the build of crc function dependent on a Kconfig 2022-11-23 13:30:00 +01:00
net net: Make user_data size in rx and tx buffers configurable 2022-12-01 15:50:35 +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
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: do not create file when loading 2022-12-05 14:59:59 +01:00
shell shell: devmem: add devmem dump subcommand 2022-12-05 11:28:22 +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
testsuite unittest: add support for coverage 2022-11-28 16:26:02 -05:00
timing
tracing subsys/tracing: Use z_current_get in switch_{in,out} 2022-10-26 12:00:04 +02:00
usb usb-c: Generate USB-C connector VIF policies XML file 2022-12-02 08:46:04 -06:00
zbus zbus: Add message bus subsystem to Zephyr 2022-11-14 17:25:29 -05:00
CMakeLists.txt math: Introduce a DSP basicmath subsystem with a cmsis backend 2022-12-02 20:15:55 +01:00
Kconfig math: Introduce a DSP basicmath subsystem with a cmsis backend 2022-12-02 20:15:55 +01:00