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

Macro Errors #7

Open
jacintomart333 opened this issue Feb 3, 2023 · 2 comments
Open

Macro Errors #7

jacintomart333 opened this issue Feb 3, 2023 · 2 comments

Comments

@jacintomart333
Copy link

jacintomart333 commented Feb 3, 2023

I'm trying to run the simple uplink example on my STM32WLE5JC Lora E5 Mini board but I get compiling errors relating to some of the macros (screenshots attached). The only changes I made to the original example code were inserting my deveui, appeui, and appkey. I also attached screenshots of the board and library configurations I'm using.

For reference, I followed this guide https://github.com/stm32duino/wiki/wiki/Getting-Started when setting up the STM32 board support for the Arduino IDE and then added the Disk91_LoRaE5-1.1.2.zip file to my library manager successfully.

Am I missing some other step which might be resulting in these errors? Any kind of help would be greatly appreciated. Thanks!

Best,
Jacinto

Errors:
Screen Shot 2023-02-03 at 4 52 10 PM

Screen Shot 2023-02-03 at 4 52 35 PM

Configurations (Board Selection):
Screen Shot 2023-02-03 at 5 01 07 PM

Library Include
Screen Shot 2023-02-03 at 5 02 27 PM

Boards Manager
Screen Shot 2023-02-03 at 5 03 48 PM

@disk91
Copy link
Owner

disk91 commented Feb 17, 2023

Thank for reporting this,

This is basically related to the Serial port definitions or potential inclusion missing related to your board.
As I don't have this kind of board available for reproducing and fixing this, I would be happy if you find what's missing and propose a pull request supporting this board on top of the others.

@nemccarthy
Copy link

nemccarthy commented Oct 16, 2023

+1 getting the same errors with the standard esp32 dev board, trying to use this library is impossible.

In file included from /private/var/folders/1v/_kql9jss7hxb5h3wp7b06x8h0000gn/T/.arduinoIDE-unsaved2023916-16503-154mukz.1nh4j/sketch_oct16b/sketch_oct16b.ino:2:
/Users/nem/Documents/Arduino/libraries/Disk91_LoRa-E5_library/src/disk91_LoRaE5.h:73:39: error: 'Uart' has not been declared
 #define __HWSERIAL_T                  Uart         // type to be used for hardware serial, apprantly different are existing
                                       ^~~~
/Users/nem/Documents/Arduino/libraries/Disk91_LoRa-E5_library/src/disk91_LoRaE5.h:201:9: note: in expansion of macro '__HWSERIAL_T'
         __HWSERIAL_T * hwSerial = NULL,           // for HWSERIAL_CUSTOM, link the associated Serial

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

3 participants