Home › Forums › The libraries hosted on the site › EByte LoRa e220 UART devices LLCC68 › Problems including library
Tagged: ESP32c3 LLCC68
- This topic has 9 replies, 2 voices, and was last updated 2 years, 4 months ago by
pallasch.
-
AuthorPosts
-
-
27 January 2023 at 21:22 #24062
Moin,
the documentation of your library reads perfect and plausible.
Sadly, as soon as I include “LoRa_E220.h” or “EByte_LoRa_E220_library.h” from within Arduino IDE, not even using any parts of it, I get a hell of errors.
Is there anything I might have missed?
Most errors read like this:
`In file included from /home/chris/snap/arduino/85/.arduino15/packages/esp32/hardware/esp32/2.0.6/tools/sdk/esp32c3/include/soc/esp32c3/include/soc/dport_access.h:23,
from /home/chris/snap/arduino/85/.arduino15/packages/esp32/hardware/esp32/2.0.6/tools/sdk/esp32c3/include/hal/esp32c3/include/hal/cpu_ll.h:11,
from /home/chris/snap/arduino/85/.arduino15/packages/esp32/hardware/esp32/2.0.6/tools/sdk/esp32c3/include/hal/include/hal/cpu_hal.h:16,
from /home/chris/snap/arduino/85/.arduino15/packages/esp32/hardware/esp32/2.0.6/tools/sdk/esp32c3/include/esp_hw_support/include/esp_cpu.h:14,
from /home/chris/snap/arduino/85/.arduino15/packages/esp32/hardware/esp32/2.0.6/tools/sdk/esp32c3/include/esp_hw_support/include/soc/cpu.h:14,
from /home/chris/snap/arduino/85/.arduino15/packages/esp32/hardware/esp32/2.0.6/tools/sdk/esp32c3/include/esp_hw_support/include/soc/spinlock.h:11,
from /home/chris/snap/arduino/85/.arduino15/packages/esp32/hardware/esp32/2.0.6/tools/sdk/esp32c3/include/freertos/port/riscv/include/freertos/portmacro.h:38,
from /home/chris/snap/arduino/85/.arduino15/packages/esp32/hardware/esp32/2.0.6/tools/sdk/esp32c3/include/freertos/include/freertos/portable.h:51,
from /home/chris/snap/arduino/85/.arduino15/packages/esp32/hardware/esp32/2.0.6/tools/sdk/esp32c3/include/freertos/include/freertos/FreeRTOS.h:63,
from /home/chris/snap/arduino/85/.arduino15/packages/esp32/hardware/esp32/2.0.6/cores/esp32/Arduino.h:33,
from /home/chris/snap/arduino/current/Arduino/mca2_gate/mca2_gate.ino:6:
/home/chris/snap/arduino/85/.arduino15/packages/esp32/hardware/esp32/2.0.6/tools/sdk/esp32c3/include/soc/esp32c3/include/soc/uart_reg.h:794:22: error: expected identifier before ‘(‘ token
#define UART_PARITY (BIT(0))
^ -
27 January 2023 at 22:42 #24063
Hi,
can you explain what board you use and the version of the framework.
Thanks Renzo -
27 January 2023 at 22:53 #24064
ESP32c3 DevKit (Revision C)
Arduino 1.8.19 -
27 January 2023 at 22:54 #24065
No deed to hurry, 22:54 local, I go to bed
-
28 January 2023 at 17:46 #24068
Hi pallasch,
I fixed It. In the C3 version, Espressif now includes a new definition named UART_PARITY, which is the same name as my internal define.Thanks for the issue.
Bye Renzo -
4 February 2023 at 17:29 #24115
Many-Many-Thanks!
Returning from hospital after surgery (stends in arteria) I was realy existed to test it and after some re-wiring the code does compile and since today I get feedback from the LLCC68 using the 2nd UART 🙂
What I yet couldn’t figure out is, how to correctly set the correct frequency.
defining FREQUENCY_868 doesnt seam to change a lot and I’ve tried pretty high “chan” values.I’m using the EU/USA version (868MHz, E220-900T22D)
Might it be, that
printParameters(configuration)
alway shows 433+channel?
Where is my error?Thank you for your outstanding work!
Chris
-
4 February 2023 at 18:42 #24116
My actual pins (at Esp32-c3) are
rxPin 4 txPin 5 Aux 8 M0 18 M1 19
using
LoRa_E220 e220ttl(4,5,&Serial1,8,18,19,UART_BPS_RATE_9600,SERIAL_8N1 );
Chris
Attachments:
You must be logged in to view attached files.-
5 February 2023 at 10:25 #24121
moved reply
-
-
-
AuthorPosts
- You must be logged in to reply to this topic.