Skip to content

C Standard Environment

lbuild module: modm:stdc

Refines the C language to make it easier to use on embedded targets.

ARM Cortex-M

For ARMv6-M, C11 atomics are implemented via atomic lock.

Additional compiler options:

  • --specs=nano.specs: use Newlib Nano (when not using exceptions).
  • --specs=nosys.specs: No additional C library features are implemented.

Dependencies

modm:stdc modm_stdc modm: stdc modm_architecture_assert modm: architecture: assert modm_stdc->modm_architecture_assert modm_architecture_atomic modm: architecture: atomic modm_stdc->modm_architecture_atomic