mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-07-21 19:11:03 +00:00
Integrate the T-Echo Lite board, e-paper driver path, physical keypad input, mono UI refactor, and initial 192x176 layout adaptations.
34 lines
694 B
C++
34 lines
694 B
C++
#include "nrf52_node_runtime_config.h"
|
|
|
|
namespace trailmate::apps::nrf52_node
|
|
{
|
|
namespace
|
|
{
|
|
|
|
#ifndef TRAILMATE_TARGET_ID
|
|
#define TRAILMATE_TARGET_ID "gat562_mesh_evb_pro"
|
|
#endif
|
|
|
|
#if defined(TRAIL_MATE_LORA_TX_POWER_MAX_DBM)
|
|
constexpr std::int8_t kTargetLoraTxPowerMaxDbm =
|
|
TRAIL_MATE_LORA_TX_POWER_MAX_DBM;
|
|
#else
|
|
constexpr std::int8_t kTargetLoraTxPowerMaxDbm = 0;
|
|
#endif
|
|
|
|
const Nrf52NodeRuntimeConfig kRuntimeConfig{
|
|
TRAILMATE_TARGET_ID,
|
|
product_composition::findTargetProfile(TRAILMATE_TARGET_ID),
|
|
kTargetLoraTxPowerMaxDbm,
|
|
true,
|
|
};
|
|
|
|
} // namespace
|
|
|
|
const Nrf52NodeRuntimeConfig& runtimeConfig()
|
|
{
|
|
return kRuntimeConfig;
|
|
}
|
|
|
|
} // namespace trailmate::apps::nrf52_node
|