firmware/variants/portduino/platformio.ini

78 lines
2.6 KiB
INI
Raw Normal View History

[env:native]
2024-02-26 15:47:33 +00:00
extends = portduino_base
; 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}
lovyan03/LovyanGFX@^1.1.12
build_src_filter = ${portduino_base.build_src_filter}
2024-04-07 10:44:49 +00:00
[env:native-tft-320x240]
extends = portduino_base
build_flags = ${portduino_base.build_flags} -O0 -fno-omit-frame-pointer -fsanitize=address
-I variants/portduino
-I /usr/include
-D DEBUG_HEAP
-D RAM_SIZE=4096
-D HAS_TFT=1
-D HAS_SCREEN=0
-D LV_BUILD_TEST=0
-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
lib_deps = ${portduino_base.lib_deps}
lovyan03/LovyanGFX@^1.1.12
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/source>
+<mesh/sharedMem/>
2024-02-26 15:47:33 +00:00
[env:native-x11-320x240]
2022-11-15 06:59:01 +00:00
extends = portduino_base
2024-03-05 08:10:13 +00:00
build_flags = ${portduino_base.build_flags} -O0 -fno-omit-frame-pointer -fsanitize=address -lX11
2024-02-26 12:34:56 +00:00
-I variants/portduino
-D DEBUG_HEAP
2024-03-27 06:35:43 +00:00
-D RAM_SIZE=4096
2024-02-26 15:47:33 +00:00
-D USE_X11=1
2024-02-26 12:34:56 +00:00
-D HAS_TFT=1
-D HAS_SCREEN=0
-D VIEW_320x240
-D VIEW_CLASS=TFTView_320x240
-D VIEW_CLASS_INC=\"TFTView_320x240.h\"
-D DISP_HOR_RES=320
-D DISP_VER_RES=240
2024-02-26 15:47:33 +00:00
-D LV_BUILD_TEST=0
-D LV_LVGL_H_INCLUDE_SIMPLE
-D LV_CONF_INCLUDE_SIMPLE
-D LV_COMP_CONF_INCLUDE_SIMPLE
2024-03-19 20:10:24 +00:00
-D USE_LOG_DEBUG
-D LOG_DEBUG_INC=\"DebugConfiguration.h\"
2024-04-07 10:44:49 +00:00
-D USE_PACKET_API
2024-02-26 12:34:56 +00:00
-I lib/device-ui/generated/ui_320x240
board = cross_platform
lib_deps = ${portduino_base.lib_deps}
2024-04-07 10:44:49 +00:00
; x11 is currently only supported in master branch, not in 6.1.1
https://github.com/lvgl/lv_drivers.git#110089d7f4be4df34aa7efc17c8cdd911e562846
2024-02-26 12:34:56 +00:00
build_src_filter = ${portduino_base.build_src_filter}
-<graphics/TFTDisplay.cpp>
+<../lib/device-ui/generated/ui_320x240>
2024-03-14 20:13:16 +00:00
+<../lib/device-ui/generated/ui_320x240/fonts>
2024-02-26 12:34:56 +00:00
+<../lib/device-ui/resources>
2024-03-05 15:14:52 +00:00
+<../lib/device-ui/source>
2024-02-26 12:34:56 +00:00
+<mesh/sharedMem/>