Skip to content

waveshare_rp2040_lora_companion_radio_usb build issue on firmware 1.14.1 (with SOLUTION!) #2098

@thomasgoehler

Description

@thomasgoehler

On firmware 1.14.1, building waveshare_rp2040_lora_companion_radio_usb failed because PlatformIO included unnecessary BLE and WiFi dependencies.

The issue was fixed by adding this to platformio.ini(add lib_ignore):

[env:waveshare_rp2040_lora_companion_radio_usb]
extends = waveshare_rp2040_lora
build_flags = ${waveshare_rp2040_lora.build_flags}
  -D MAX_CONTACTS=100
  -D MAX_GROUP_CHANNELS=8
; NOTE: DO NOT ENABLE -->  -D MESH_PACKET_LOGGING=1
; NOTE: DO NOT ENABLE -->  -D MESH_DEBUG=1
build_src_filter = ${waveshare_rp2040_lora.build_src_filter}
  +<../examples/companion_radio/*.cpp>
lib_deps = ${waveshare_rp2040_lora.lib_deps}
  densaugeo/base64 @ ~1.4.0
lib_ignore = 
  BLE
  WiFi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions