-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
I had two compile and link errors during build, this is how I resolved:
-
'LMIC_UNUSED_PIN' was not declared in this scope:
add include for u1_t type in file src/hal/hal.h, after line 15 (see commit at [https://github.com/mcci-catena/arduino-lmic/commit/5bcd2469d3d2c1fae5659a3de249cb31e9121891]):#include "lmic/oslmic_types.h"
-
multiple definition of
hal_init
:
adding-D hal_init=LMICHAL_init
to the build_flags in the platformio.ini file (see issue #41 at [https://github.com/Failing build: multiple definition of `hal_init' lnlp/LMIC-node#41#issuecomment-1112346011])
Metadata
Metadata
Assignees
Labels
No labels