Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esp32_lora: build errors #27

Open
c64emulator opened this issue Apr 19, 2023 · 0 comments
Open

esp32_lora: build errors #27

c64emulator opened this issue Apr 19, 2023 · 0 comments

Comments

@c64emulator
Copy link

c64emulator commented Apr 19, 2023

I had two compile and link errors during build, this is how I resolved:

  1. '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"

  2. 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])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant