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

issue compiling for Heltec Wifi LoRa (ESP32) (non AVR) #140

Closed
EtoTen opened this issue Oct 8, 2018 · 6 comments
Closed

issue compiling for Heltec Wifi LoRa (ESP32) (non AVR) #140

EtoTen opened this issue Oct 8, 2018 · 6 comments
Assignees
Labels

Comments

@EtoTen
Copy link

EtoTen commented Oct 8, 2018

Arduino: 1.8.7 (Windows 10), Board: "Heltec_WIFI_LoRa_32, 80MHz, 921600"

....

C:\Users\xxxx\Documents\Arduino\libraries\arduino-lmic-2.2.0\src\hal\hal.cpp: In function 'void hal_printf_init()':

C:\Users\xxxx\Documents\Arduino\libraries\arduino-lmic-2.2.0\src\hal\hal.cpp:286:54: error: '_FDEV_SETUP_WRITE' was not declared in this scope

     fdev_setup_stream (&uartout, uart_putchar, NULL, _FDEV_SETUP_WRITE);

                                                      ^

C:\Users\xxxx\Documents\Arduino\libraries\arduino-lmic-2.2.0\src\hal\hal.cpp:286:71: error: 'fdev_setup_stream' was not declared in this scope

     fdev_setup_stream (&uartout, uart_putchar, NULL, _FDEV_SETUP_WRITE);

                                                                       ^

Using library ESP32 at version 1.0 in folder: C:\Users\xxxx\Documents\Arduino\hardware\espressif\esp32\libraries\ESP32 
Using library TinyGPSPlus-master at version 1.0.0 in folder: C:\Users\xxxx\Documents\Arduino\libraries\TinyGPSPlus-master 
Using library arduino-lmic-2.2.0 at version 2.2.0 in folder: C:\Users\xxxx\Documents\Arduino\libraries\arduino-lmic-2.2.0 
Using library SPI at version 1.0 in folder: C:\Users\xxxx\Documents\Arduino\hardware\espressif\esp32\libraries\SPI 
Using library cppsrc in folder: C:\Users\xxxx\Documents\Arduino\libraries\cppsrc (legacy)
Using library csrc in folder: C:\Users\xxxx\Documents\Arduino\libraries\csrc (legacy)
Using library Wire at version 1.0 in folder: C:\Users\xxxx\Documents\Arduino\hardware\espressif\esp32\libraries\Wire 
exit status 1
Error compiling for board Heltec_WIFI_LoRa_32.
@EtoTen EtoTen changed the title issue compiling for Heltec Wifi LoRa (ESP32) issue compiling for Heltec Wifi LoRa (ESP32) (non AVR) Oct 8, 2018
@terrillmoore
Copy link
Member

Hi, will address this later today. Thanks for the report.

@EtoTen
Copy link
Author

EtoTen commented Oct 8, 2018

I think this may actually be a fix for it: #8

@terrillmoore
Copy link
Member

Are you up for testing #8 to confirm it is the fix, and submitting a pull request?

@terrillmoore terrillmoore self-assigned this Oct 8, 2018
@EtoTen
Copy link
Author

EtoTen commented Oct 8, 2018

Are you up for testing #8 to confirm it is the fix, and submitting a pull request?

Sure, I can do that tonight.

@EtoTen
Copy link
Author

EtoTen commented Oct 9, 2018

Okay submitted a pull request. First one I did I accidentally tried to do it against things-nyc/arduino-lmic whoops, closed.

@terrillmoore
Copy link
Member

Closed by #146

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

No branches or pull requests

2 participants