mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-09-02 02:08:25 +00:00
The GAT562 30S Mesh Kit is an nRF52840 + SX1262 board built on the RAK4631 WisBlock core module with a 30 dBm (1 W) external PA, so it reuses the proven rak4631 LoRa path. Deltas vs rak4631: 1.8 V TCXO (per the MeshCore variant), battery multiplier 6232, buzzer on P1.01, an AT6558R UART GPS, active-high LEDs, and a 5-way joystick that selects the joystick companion menu UI. A single board serves both the full kit and the screenless solar repeater pod; absent peripherals (OLED, GPS, joystick, buzzer) are optional in devicetree and skipped at runtime. Board-specific notes: - GPS: AT6558R NMEA on UART0 @ 9600 (P0.15 RX / P0.16 TX), powered by a WB_IO2/P1.02 gpio-hog and parsed by gnss-nmea-generic. Uses CONFIG_UART_ASYNC_API (DMA receive); nRF UARTE interrupt-driven RX did not feed the modem backend. - The 6 button/joystick inputs are routed to GPIO SENSE (sense-edge-mask on &gpio0) so they don't consume the GPIOTE channel the SX1262 DIO1 "done" IRQ needs. Registration: board definition, CMakeLists.txt platform-conf match, build.sh (nRF_boards), supported_boards.md, the top-level README board table, and the porting-guide board table. Hardware-tested on the kit, companion and repeater: LoRa TX/RX with BLE active (no CAD errors), BLE pairing (PIN 123456) and two-way messaging, joystick menu UI, SSD1306 OLED, buzzer, battery %, UF2 + DFU-zip flashing, and a 14-satellite GPS fix.