Sound Byte Libs 0.5.1-340-gab5b79a
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
Loading...
Searching...
No Matches
config.hpp File Reference

Umbrella header for generated hardware configuration. More...

Detailed Description

Umbrella header for generated hardware configuration.

Includes the generated configuration headers:

  • gpio.hpp: GPIO handles (e.g., sbl::hw::gpio::status_led)
  • mcu.hpp: MCU metadata (name, family)
  • target.hpp: Target configuration (sysclk_mhz, sample_rate, block_size)
  • adc.hpp, uart.hpp, i2c.hpp, board.hpp, app.hpp: each when generated

sloth generates these files at build time from the hardware manifest (sbl.json -> mainboard -> MCU).

Definition in file config.hpp.

#include <sbl/hw/config/gpio.hpp>
#include <sbl/hw/config/mcu.hpp>
#include <sbl/hw/config/target.hpp>

Go to the source code of this file.