mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-20 09:43:03 +00:00
YAML based config for PI / Portduino (#2943)
* Add configuration via /etc/meshtastic/config.yaml * Move example config, support more locations * Fix config check * Use access() to check for config file presence * Throw an error and exit on radio init fail * Adds error check for reading Bluetooth MAC * Settle on meshtasticd, add install script * Shell fixes * Fine. I'll put it back and then disable you * Get wrekt, shellchekt * Firat attempt at adding raspbian CI build * Tickle the workflow * Beatings will continue til morale improves * Permissions are overrated --------- Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz>
This commit is contained in:
21
src/platform/portduino/PortduinoGlue.h
Normal file
21
src/platform/portduino/PortduinoGlue.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
#ifdef ARCH_RASPBERRY_PI
|
||||
#include <map>
|
||||
|
||||
extern std::map<int, int> settingsMap;
|
||||
|
||||
enum {
|
||||
use_sx1262,
|
||||
sx126x_cs,
|
||||
sx126x_dio1,
|
||||
sx126x_busy,
|
||||
sx126x_reset,
|
||||
sx126x_dio2_as_rf_switch,
|
||||
use_rf95,
|
||||
rf95_nss,
|
||||
rf95_irq,
|
||||
rf95_reset,
|
||||
rf95_dio1
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user