Files
trail-mate/apps/nrf52_node/src/nrf52_node_runtime_config.cpp
T
liu weikai aab37e7436 Add T-Echo Lite nRF52 target
Integrate the T-Echo Lite board, e-paper driver path, physical keypad input, mono UI refactor, and initial 192x176 layout adaptations.
2026-06-12 19:05:22 +08:00

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