Commit Graph

11 Commits

Author SHA1 Message Date
Scott Penrose a77023a6b5 cleanup to do multiple test builds 2026-06-08 16:08:09 +10:00
Scott Penrose 1c3d7b094d working end to end transmit, receive and code example using companion mode 2026-06-08 15:27:37 +10:00
Scott Penrose c12d0ac70a Further imrpovements to protocol suport 2026-06-08 14:34:40 +10:00
Scott Penrose c2c2646e3d more complete radio support 2026-06-08 13:37:27 +10:00
Scott Penrose 372c177479 New info example, overall testing helpers. Improved readme 2026-06-08 13:20:25 +10:00
Scott Penrose ce3e5cad3f Better examples 2026-06-08 03:00:03 +10:00
Scott Penrose 824b9e392b local example 2026-06-08 02:42:43 +10:00
Scott Penrose 6a6b9dd567 native runner 2026-06-08 02:38:50 +10:00
Scott Penrose d64a59fd98 Review what is missing compared to python version getting ready to implement 2026-06-08 02:29:53 +10:00
Scott Penrose b54e1c22e7 Add ESP-IDF and STM32 C examples; document platform examples
Both compile the same portable core (src/meshcore_companion.c) and differ only
in the UART transport:
- examples-esp-idf/tty_bridge: full ESP-IDF project (UART driver), core
  compiled directly via the component CMakeLists (no copy)
- examples-stm32/uart_bridge: HAL drop-in (meshcore_setup/meshcore_poll) for a
  CubeMX/CubeIDE project, with integration README

README updated: new examples in layout + an 'Other platform examples' section.
Verified host build/test still pass and both new examples pass -Wall -Wextra
syntax checks against stubbed platform headers.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 02:21:22 +10:00
Scott Penrose cdfceba34d Restructure into dual-purpose meshcore_c library
Remove stale byte-identical root duplicates and promote the canonical
library to the repo root: one source of truth (src/meshcore_companion.{c,h})
serving both a portable C library and a publishable C++ Arduino/PlatformIO
library.

- Portable C99 core + C++ Arduino wrapper in src/
- Arduino sketch in examples/, new Linux tty example in examples-linux/
- CMakeLists.txt for the Linux/native host build (core + example + test)
- Host codec unit test in test/
- README rewritten around the two purposes

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 02:06:32 +10:00