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

Error compiling for board T-Beam #47

Open
LevendSpacePeak opened this issue Mar 7, 2022 · 6 comments
Open

Error compiling for board T-Beam #47

LevendSpacePeak opened this issue Mar 7, 2022 · 6 comments

Comments

@LevendSpacePeak
Copy link

LevendSpacePeak commented Mar 7, 2022

I have this board : LILYGO TTGO Meshtastic T-Beam V1.1 CH9102F CHIP ESP32 915Mhz WiFi Bluetooth ESP32 GPS NEO-6M SMA 18650 Battery Holder with OLED (868Mhz OLED)

Currently latest firmware from meshtastic is installed (firmware-tbeam0.7-1.3.3.2fe124e). Device is working fine after firm install, sending messages to phone, can connect to wifi / sats, web server etc.

Went thru all steps for for second version board, US915 reg. Tried couple times, got errors deploying to board.
Tried to do again on a new installed system, with freshly installed arduino + libraries (from zip files) .
On Arduino board selection there is "T-Beam" (without TTGO at front) I select it. On menu I see MHZ and baudrate settings, i tried different matchings too.

Still getting this error even if I just compile or upload:

C:\Users\PC1\Documents\Arduino\libraries\arduino-lmic-master\src\hal\getpinmap_thisboard.cpp: In function 'const Arduino_LMIC::HalPinmap_t* Arduino_LMIC::GetPinmap_ThisBoard()':
C:\Users\PC1\Documents\Arduino\libraries\arduino-lmic-master\src\hal\getpinmap_thisboard.cpp:71:72: note: #pragma message: Board not supported -- use an explicit pinmap
         #pragma message("Board not supported -- use an explicit pinmap")
                                                                        ^
c:/users/pc1/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\PC1\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/lib\libpp.a(hal_mac.o): in function `hal_init':
(.text.hal_init+0xb4): multiple definition of `hal_init'; libraries\arduino-lmic-master\hal\hal.cpp.o:C:\Users\PC1\Documents\Arduino\libraries\arduino-lmic-master\src\hal/hal.cpp:416: first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board T-Beam.

I also have another question about the decoder, I do not see decoder to add on TTN console, I added TTN Mapper webhook integration but still don't see a section to paste the code. I have helium console integration, I added device with same credentials, there is a function section there where I can use decoder code.

I hope this to work. Thanks for all replies.

@wolfpcgn
Copy link

wolfpcgn commented Mar 7, 2022

Just ignore the first error message, it's just an information.
For the second error-massage: read the last thread #45.

@LevendSpacePeak
Copy link
Author

That worked thanks, btw the correct setting on board setup for me was 40Mhz + 115200 baud (did not work with default setting 80 + 921600baud )

@LevendSpacePeak
Copy link
Author

LevendSpacePeak commented Mar 8, 2022

seems like can not connect TTN also cant get gps lock after 24h outdoor. Credentials correct, I see few helium and TTN spot near my area on coverage maps. Will try 9Dbi lora and another active GPS antenna today.

Update :
I manage to lock and get 4 gps after trying this solution ( Reset GPS )
#20 (comment)

I see messages getting queued and discarded right away on OLED display.
Still no luck on getting any data to ttn or helium console.

@wolfpcgn
Copy link

wolfpcgn commented Mar 9, 2022

The best thing to do is to get your own gateway. Than you can be sure that you are not fooled by a single channel or other misconfigurated gateways.

@LevendSpacePeak
Copy link
Author

Yes but the problem is this unit will be traveling when operating, so should be able to connect any spot it finds.
I have up to 11 gps tracking but still no luck connecting ttn :(
Every thing seems correct on cloud side.

@wolfpcgn
Copy link

I would propose to discuss the problem here: https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297
because it's not related to kizniches code. I am sure I can help you because I have already 3 T-beam running ABP or OTAA with the code of kizniche.

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

2 participants