2022-05-30 00:30:20 +00:00
|
|
|
[env:native]
|
2024-02-26 15:47:33 +00:00
|
|
|
extends = portduino_base
|
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 22:23:04 +00:00
|
|
|
; The pkg-config commands below optionally add link flags.
|
|
|
|
; the || : is just a "or run the null command" to avoid returning an error code
|
|
|
|
build_flags = ${portduino_base.build_flags} -O0 -I variants/portduino -I /usr/include
|
|
|
|
!pkg-config --libs libulfius --silence-errors || :
|
|
|
|
!pkg-config --libs openssl --silence-errors || :
|
2024-02-26 15:47:33 +00:00
|
|
|
board = cross_platform
|
|
|
|
lib_deps = ${portduino_base.lib_deps}
|
|
|
|
build_src_filter = ${portduino_base.build_src_filter}
|
|
|
|
|
2024-05-15 22:53:37 +00:00
|
|
|
[env:native-tft-debug]
|
2024-04-07 10:44:49 +00:00
|
|
|
extends = portduino_base
|
2024-04-18 14:16:09 +00:00
|
|
|
build_type = debug
|
2024-05-15 22:53:37 +00:00
|
|
|
build_flags = ${portduino_base.build_flags} -O0 -fsanitize=address -lX11
|
2024-05-16 12:49:03 +00:00
|
|
|
-D ARCH_PORTDUINO
|
2024-04-07 10:44:49 +00:00
|
|
|
-I variants/portduino
|
|
|
|
-I /usr/include
|
|
|
|
-D DEBUG_HEAP
|
|
|
|
-D RAM_SIZE=4096
|
2024-04-17 13:11:33 +00:00
|
|
|
-D USE_X11=1 ; enables usage of X11
|
2024-04-07 10:44:49 +00:00
|
|
|
-D HAS_TFT=1
|
|
|
|
-D HAS_SCREEN=0
|
|
|
|
-D LV_BUILD_TEST=0
|
2024-05-01 22:07:38 +00:00
|
|
|
; -D CALIBRATE_TOUCH=0
|
2024-04-18 14:16:09 +00:00
|
|
|
-D LV_USE_PERF_MONITOR=1
|
|
|
|
-D LV_USE_MEM_MONITOR=1
|
|
|
|
-D LV_LVGL_H_INCLUDE_SIMPLE
|
|
|
|
-D LV_CONF_INCLUDE_SIMPLE
|
|
|
|
-D LV_COMP_CONF_INCLUDE_SIMPLE
|
|
|
|
-D USE_LOG_DEBUG
|
|
|
|
-D LOG_DEBUG_INC=\"DebugConfiguration.h\"
|
|
|
|
-D USE_PACKET_API
|
|
|
|
-I lib/device-ui/generated/ui_320x240
|
|
|
|
; The pkg-config commands below optionally add link flags.
|
|
|
|
; the || : is just a "or run the null command" to avoid returning an error code
|
|
|
|
!pkg-config --libs libulfius --silence-errors || :
|
|
|
|
!pkg-config --libs openssl --silence-errors || :
|
|
|
|
board = cross_platform
|
|
|
|
build_src_filter = ${portduino_base.build_src_filter}
|
|
|
|
-<graphics/TFTDisplay.cpp>
|
|
|
|
+<../lib/device-ui/generated/ui_320x240>
|
|
|
|
+<../lib/device-ui/generated/ui_320x240/fonts>
|
|
|
|
+<../lib/device-ui/resources>
|
|
|
|
+<../lib/device-ui/portduino>
|
|
|
|
+<../lib/device-ui/source>
|
|
|
|
|
|
|
|
|
2024-05-15 22:53:37 +00:00
|
|
|
[env:native-tft-release]
|
2024-04-18 14:16:09 +00:00
|
|
|
extends = portduino_base
|
|
|
|
build_type = release
|
|
|
|
build_flags = ${portduino_base.build_flags} -Ofast -lX11
|
2024-05-16 12:49:03 +00:00
|
|
|
-D ARCH_PORTDUINO
|
2024-04-18 14:16:09 +00:00
|
|
|
-I variants/portduino
|
|
|
|
-I /usr/include
|
|
|
|
-D RAM_SIZE=4096
|
|
|
|
-D USE_X11=1 ; enables usage of X11
|
|
|
|
-D HAS_TFT=1
|
|
|
|
-D HAS_SCREEN=0
|
|
|
|
-D LV_BUILD_TEST=0
|
2024-05-01 22:07:38 +00:00
|
|
|
; -D CALIBRATE_TOUCH=0
|
2024-05-16 09:21:18 +00:00
|
|
|
-D LV_USE_LOG=0
|
2024-04-18 14:16:09 +00:00
|
|
|
-D LV_USE_PERF_MONITOR=0
|
|
|
|
-D LV_USE_MEM_MONITOR=0
|
2024-04-07 10:44:49 +00:00
|
|
|
-D LV_LVGL_H_INCLUDE_SIMPLE
|
|
|
|
-D LV_CONF_INCLUDE_SIMPLE
|
|
|
|
-D LV_COMP_CONF_INCLUDE_SIMPLE
|
|
|
|
-D USE_LOG_DEBUG
|
|
|
|
-D LOG_DEBUG_INC=\"DebugConfiguration.h\"
|
|
|
|
-D USE_PACKET_API
|
|
|
|
-I lib/device-ui/generated/ui_320x240
|
|
|
|
; The pkg-config commands below optionally add link flags.
|
|
|
|
; the || : is just a "or run the null command" to avoid returning an error code
|
|
|
|
!pkg-config --libs libulfius --silence-errors || :
|
|
|
|
!pkg-config --libs openssl --silence-errors || :
|
|
|
|
board = cross_platform
|
|
|
|
build_src_filter = ${portduino_base.build_src_filter}
|
|
|
|
-<graphics/TFTDisplay.cpp>
|
|
|
|
+<../lib/device-ui/generated/ui_320x240>
|
|
|
|
+<../lib/device-ui/generated/ui_320x240/fonts>
|
|
|
|
+<../lib/device-ui/resources>
|
2024-04-17 13:11:33 +00:00
|
|
|
+<../lib/device-ui/portduino>
|
2024-05-16 12:49:03 +00:00
|
|
|
+<../lib/device-ui/source>
|