CONFIG_ATOMIC_OPERATIONS_C

(No prompt – not directly user assignable.)

Type: bool

Help

Use atomic operations routines that are implemented entirely
in C by locking interrupts. Selected by architectures which either
do not have support for atomic operations in their instruction
set, or haven't been implemented yet during bring-up, and also
the compiler does not have support for the atomic __sync_* builtins.

Defaults

  • y

  • y

Kconfig definitions

At <Zephyr>/soc/riscv/esp32c3/Kconfig.defconfig:32

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1

Menu path: (Top)

config ATOMIC_OPERATIONS_C
    bool
    default y
    depends on SOC_ESP32C3

At <Zephyr>/soc/riscv/esp32c3/Kconfig.defconfig:32

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27

Menu path: (Top)

config ATOMIC_OPERATIONS_C
    bool
    default y
    depends on SOC_ESP32C3

At <Zephyr>/kernel/Kconfig:443

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:40

Menu path: (Top) → General Kernel Options → Atomic Operations

config ATOMIC_OPERATIONS_C
    bool
    help
      Use atomic operations routines that are implemented entirely
      in C by locking interrupts. Selected by architectures which either
      do not have support for atomic operations in their instruction
      set, or haven't been implemented yet during bring-up, and also
      the compiler does not have support for the atomic __sync_* builtins.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)