2023-11-18 08:12:34 -06:00
|
|
|
#pragma once
|
|
|
|
|
#include <map>
|
|
|
|
|
|
2023-12-12 20:27:31 -06:00
|
|
|
enum configNames {
|
|
|
|
|
use_sx1262,
|
|
|
|
|
cs,
|
|
|
|
|
irq,
|
|
|
|
|
busy,
|
|
|
|
|
reset,
|
2024-01-12 02:00:31 -06:00
|
|
|
txen,
|
|
|
|
|
rxen,
|
2023-12-12 20:27:31 -06:00
|
|
|
dio2_as_rf_switch,
|
2024-01-12 02:00:31 -06:00
|
|
|
dio3_tcxo_voltage,
|
2023-12-12 20:27:31 -06:00
|
|
|
use_rf95,
|
2023-12-18 02:05:04 +02:00
|
|
|
use_sx1280,
|
2023-12-12 20:27:31 -06:00
|
|
|
user,
|
|
|
|
|
gpiochip,
|
2024-01-12 02:00:31 -06:00
|
|
|
spidev,
|
2024-01-28 20:15:29 -06:00
|
|
|
i2cdev,
|
2023-12-12 20:27:31 -06:00
|
|
|
has_gps,
|
|
|
|
|
touchscreenModule,
|
|
|
|
|
touchscreenCS,
|
|
|
|
|
touchscreenIRQ,
|
|
|
|
|
displayPanel,
|
|
|
|
|
displayWidth,
|
|
|
|
|
displayHeight,
|
|
|
|
|
displayCS,
|
|
|
|
|
displayDC,
|
|
|
|
|
displayBacklight,
|
|
|
|
|
displayReset,
|
|
|
|
|
displayRotate,
|
2024-01-12 02:00:31 -06:00
|
|
|
displayOffsetX,
|
|
|
|
|
displayOffsetY,
|
|
|
|
|
displayInvert,
|
2024-01-22 01:27:06 -06:00
|
|
|
keyboardDevice,
|
Native Webserver (#3343)
* Added WebServer/WebServices for Native Linux Meshtastic and web gui
* Fix bug in login functionality
* Added customized config of portdunio.ini with LovyannGFX from marelab repro
* Compile Problem resolved with developer version of LovyanGFX.git
* Compile against dev version
* Fixes to fit into main branch
* Update variant.h, main.cpp, .gitignore, WebServer.cpp, esp32s2.ini, WebServer.h, ContentHandler.cpp, rp2040.ini, nrf52.ini, ContentHelper.cpp, Dockerfile, ContentHandler.h, esp32.ini, stm32wl5e.ini
* Added linux pi std /usr/include dir
* Adding /usr/innclude for Linux compile against native libs that are not hadled by platformio
* Review log level changes & translation
* Update Dockerfile
* Fix Typo & VFS ref. Part1
* Fix Typo & VFS ref.
* Dev Version for ulfius web lib
* Update platformio.ini
* Free VFS path string
* Remove unintended changes
* More unintentional changes
* Make the HTTP server optional on native
* Tune-up for Native web defaults
* Don't modify build system yet
* Remove more unneeded changes
---------
Co-authored-by: marc hammermann <marchammermann@googlemail.com>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
2024-03-06 16:23:04 -06:00
|
|
|
logoutputlevel,
|
|
|
|
|
webserver,
|
|
|
|
|
webserverport,
|
2024-03-21 09:06:37 -05:00
|
|
|
webserverrootpath,
|
|
|
|
|
maxnodes
|
2023-12-12 20:27:31 -06:00
|
|
|
};
|
2024-02-08 16:29:15 -06:00
|
|
|
enum { no_screen, st7789, st7735, st7735s, ili9341 };
|
|
|
|
|
enum { no_touchscreen, xpt2046, stmpe610 };
|
2024-01-30 16:38:31 -07:00
|
|
|
enum { level_error, level_warn, level_info, level_debug };
|
2023-11-18 08:12:34 -06:00
|
|
|
|
2023-12-12 20:27:31 -06:00
|
|
|
extern std::map<configNames, int> settingsMap;
|
|
|
|
|
extern std::map<configNames, std::string> settingsStrings;
|
2024-01-12 02:00:31 -06:00
|
|
|
int initGPIOPin(int pinNum, std::string gpioChipname);
|