mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-07-03 10:31:39 +00:00
bf7068b02b
* refactor: render chat rows from presentation state * Fix Meshtastic channel sync and add MeshCore CN preset * Add granular chat notification settings * Add SD settings backup and restore * Prepare 0.1.26-alpha release --------- Co-authored-by: vicliu624 <vicliu@outlook.com>
29 lines
1.2 KiB
C++
29 lines
1.2 KiB
C++
#include "nrf52_node_app_shell.h"
|
|
|
|
#include <cassert>
|
|
#include <cstring>
|
|
|
|
int main()
|
|
{
|
|
trailmate::apps::nrf52_node::Nrf52NodeAppShell shell;
|
|
assert(shell.validate());
|
|
|
|
const auto& config = shell.config();
|
|
assert(std::strcmp(config.target_id, "gat562_mesh_evb_pro") == 0);
|
|
assert(std::strcmp(shell.targetId(), "gat562_mesh_evb_pro") == 0);
|
|
assert(std::strcmp(config.target_family, "nrf52_node") == 0);
|
|
assert(std::strcmp(config.default_ux_pack_id, "tiny_node_status") == 0);
|
|
assert(std::strcmp(shell.activeUxPackId(), "tiny_node_status") == 0);
|
|
assert(shell.targetProfile() != nullptr);
|
|
assert(shell.targetProfile()->renderer == product_composition::TargetRenderer::Headless);
|
|
assert(std::strcmp(config.historical_generic_root_name,
|
|
"removed root esp_pio") == 0);
|
|
assert(std::strcmp(config.historical_board_root_name,
|
|
"removed root gat562_mesh_evb_pro") == 0);
|
|
assert(std::strcmp(config.historical_role,
|
|
"pre-refactor PlatformIO/nRF52 implementation roots") == 0);
|
|
assert(std::strcmp(config.replacement_owner,
|
|
"apps/nrf52_node + builds/pio_nrf52 + boards/gat562_mesh_evb_pro") == 0);
|
|
return 0;
|
|
}
|