mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-26 22:33:24 +00:00

* Very hacky first attempt at usermod ech341 * Fixes and debug printfs * Move to library version of libpinedio-usb * Add spidev: ch341 option in meshtasticd config.yaml * Only check settingsStrings on native * Use new CH341 code * Bump ch341 lib * Cleanup USBHal * Add ch341 config.d files * Remove ch341quirk * Bump to most recent spi-userspace driver * Add handling for ch341 serial, pid, and vid * Minor fixes from pio check * Trunk * Add include for musl compliance * Point to upstream libch341
40 lines
1.1 KiB
INI
40 lines
1.1 KiB
INI
; The Portduino based 'native' environment. Currently supported on Linux targets with real LoRa hardware (or simulated).
|
|
[portduino_base]
|
|
platform = https://github.com/meshtastic/platform-native.git#73bd1a21183ca8b00c4ea58bb21315df31a50dff
|
|
framework = arduino
|
|
|
|
build_src_filter =
|
|
${env.build_src_filter}
|
|
-<platform/esp32/>
|
|
-<nimble/>
|
|
-<platform/nrf52/>
|
|
-<platform/stm32wl/>
|
|
-<platform/rp2xx0>
|
|
-<mesh/wifi/>
|
|
-<mesh/http/>
|
|
+<mesh/raspihttp/>
|
|
-<mesh/eth/>
|
|
-<modules/esp32>
|
|
-<modules/Telemetry/EnvironmentTelemetry.cpp>
|
|
-<modules/Telemetry/AirQualityTelemetry.cpp>
|
|
-<modules/Telemetry/Sensor>
|
|
+<../variants/portduino>
|
|
|
|
lib_deps =
|
|
${env.lib_deps}
|
|
${networking_base.lib_deps}
|
|
${radiolib_base.lib_deps}
|
|
rweather/Crypto@^0.4.0
|
|
https://github.com/lovyan03/LovyanGFX.git#1401c28a47646fe00538d487adcb2eb3c72de805
|
|
https://github.com/pine64/libch341-spi-userspace#8695637adeabf5abf5601d8e82cb0ba19ce9ec46
|
|
|
|
build_flags =
|
|
${arduino_base.build_flags}
|
|
-fPIC
|
|
-Isrc/platform/portduino
|
|
-DRADIOLIB_EEPROM_UNSUPPORTED
|
|
-DPORTDUINO_LINUX_HARDWARE
|
|
-lstdc++fs
|
|
-lbluetooth
|
|
-lgpiod
|
|
-lyaml-cpp |