Boboter
Loading...
Searching...
No Matches
flags.h
Go to the documentation of this file.
1
7
8#pragma once
9
10#include <esp_log_level.h>
11#include "include/log_sources.h"
12
16namespace Flags {
25 constexpr bool ENABLE_TEST_MODE = false;
26
27
29
33 constexpr bool ENABLE_COLOR_LOGGING = true;
34
39 constexpr esp_log_level_t LOWEST_LOG_LEVEL = ESP_LOG_VERBOSE;
40
46
47
48
50
54 constexpr bool ENABLE_DISPLAY = true;
55
60 constexpr bool ENABLE_BUZZER = true;
61
66 constexpr bool ENABLE_IMU = true;
67}
@ LOG_SOURCE_DEVICE_IMU
Definition log_sources.h:28
A namespace containing flags for configuring the firmware.
Definition flags.h:16
constexpr uint32_t ENABLED_VERBOSE_LOG_SOURCES
Enable specific modules to output verbose logs.
Definition flags.h:45
constexpr bool ENABLE_DISPLAY
Enables the SSD1306 OLED display.
Definition flags.h:54
constexpr bool ENABLE_IMU
Enables the MPU6050 IMU and DMP.
Definition flags.h:66
constexpr esp_log_level_t LOWEST_LOG_LEVEL
Enable logging of debug messages.
Definition flags.h:39
constexpr bool ENABLE_BUZZER
Enables the buzzer.
Definition flags.h:60
constexpr bool ENABLE_TEST_MODE
Enable the robot's test mode.
Definition flags.h:25
constexpr bool ENABLE_COLOR_LOGGING
Enable logging in color over the serial console.
Definition flags.h:33