configure_file(eink/config.h.in eink-config.h) target_sources(module-bsp PRIVATE board.cpp bluetooth/Bluetooth.cpp bluetooth/test/bsp_bt.cpp cellular/linux_cellular.cpp eeprom/eeprom.cpp eink_frontlight/eink_frontlight.cpp eink/ED028TC1.c headset/headset.cpp keyboard/keyboard.cpp keypad_backlight/keypad_backlight.cpp light_sensor/light_sensor.cpp lpm/LinuxLPM.cpp magnetometer/magnetometer.cpp rtc/rtc.cpp torch/torch.cpp usb_cdc/usb_cdc.cpp vibrator/vibrator.cpp watchdog/software_watchdog.cpp watchdog/watchdog.cpp hal/temperature_source/TemperatureSource.cpp hal/battery_charger/BatteryCharger.cpp ${CMAKE_CURRENT_BINARY_DIR}/eink-config.h ) target_include_directories( module-bsp PUBLIC $ ) set_source_files_properties(board.cpp PROPERTIES COMPILE_FLAGS -Wno-unused-function) target_compile_options(module-bsp PUBLIC "-Wno-unused-result")