-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DevKit board profile has not be committed due to gitignore.
- Loading branch information
Abász
committed
Dec 16, 2024
1 parent
916cc92
commit b63f930
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#pragma once | ||
|
||
#include "../utils/enums.h" | ||
|
||
// NOLINTBEGIN(cppcoreguidelines-macro-usage, cppcoreguidelines-macro-to-enum) | ||
|
||
// General settings | ||
#define BAUD_RATE BaudRates::Baud1500000 | ||
#define BLE_SIGNAL_STRENGTH BleSignalStrength::MaxPower | ||
#define SUPPORT_SD_CARD_LOGGING true | ||
|
||
// LED settings | ||
#define LED_BLINK_FREQUENCY 1'000 | ||
#define LED_PIN LED_BUILTIN // Use GPIO_NUM_NC if no led is available | ||
#define IS_RGB false | ||
|
||
// Hardware settings | ||
#define SENSOR_PIN_NUMBER GPIO_NUM_13 | ||
#define SENSOR_ON_SWITCH_PIN_NUMBER GPIO_NUM_NC // Use GPIO_NUM_NC if no sensor switch is available | ||
#define WAKEUP_SENSOR_PIN_NUMBER GPIO_NUM_NC // Use GPIO_NUM_NC if no separate wakeup pin is available | ||
#define SD_CARD_CHIP_SELECT_PIN GPIO_NUM_5 | ||
|
||
// Device power management settings | ||
#define BATTERY_PIN_NUMBER GPIO_NUM_NC | ||
#define VOLTAGE_DIVIDER_RATIO 2 | ||
#define BATTERY_VOLTAGE_MIN 3.3 | ||
#define BATTERY_VOLTAGE_MAX 4.00 | ||
#define BATTERY_LEVEL_ARRAY_LENGTH 5 | ||
#define INITIAL_BATTERY_LEVEL_MEASUREMENT_COUNT 10 | ||
#define BATTERY_MEASUREMENT_FREQUENCY 10 | ||
#define DEEP_SLEEP_TIMEOUT 4 | ||
|
||
// NOLINTEND(cppcoreguidelines-macro-usage, cppcoreguidelines-macro-to-enum) |