-
Notifications
You must be signed in to change notification settings - Fork 47
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
Platform IO, esp12e compilation fails. #27
Comments
Hello Giacomo In the config.h Find these lines:
Now for NodeMCU ESP-12F change these two lines like this:
|
Thanks for the reply! I tried this and:
And I am getting this now:
|
Ok, there are a few things you need to do.
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/#step-2-get-esp-idf |
Hi.
I still get the same errors are it wasn't there:
Cannot we drop every of those dependencies for the ESP8266? |
Just to keep you updated, i've tried your last commit and still I am not able to build the project. |
Hi Giacomo, I compiled a long reply when I posted the fix on GitHub, but I see it is missing from this thread. Strange. Anyway... I have tightened up on the exclusions on SD functionality. The issue is that other people need the libraries, and PIO always compiles all libraries in the lib folder. So please use the latest version (2.58.5), but remove these libraries My_Patched_ESP32_SD_Library - remove for esp8266 on PIO The ESP8266 uses "Updater.h", and it is on the PIO path for the ESP8266 boards. Hope this helps. |
Hi! Thanks!
The board doesn't boot and I don't get any WiFi AP. |
The binary image was completely flashed. Looks like a serial issue. Try reducing upload speed. On the Tools pulldown. |
was NOT completely flashed. |
Thanks. Still no way I can finish the flash and I'm pretty sure this ESP works fine. |
I should have said: In the platformio.ini Try changing "upload_speed = 115200" to 57600 |
Also make sure you are designating the correct COM upload_port = COM(40) Use Device Manager in Windows to check. (Excuse me if you know this already :) ) |
Picked another ESP from a box... and voilà it works! |
It's the same as the 12F
|
I might be giving you the wrong information. Are you using a NodeMCU board? Can you post a picture. |
I don't know much about QLRS. Check to see that RSSI is coming through, otherwise the LUA script will not connect. |
Thanks for offering to update the wiki with this info :) |
Those the messages sent out by the QRLS transmitter on the serial port: MAVLINK_MSG_ID_RC_CHANNELS_RAW I guess I can get the RSSI from a channel. Have I to configure which channel to use? |
Yes, in Mission Planner parameters, rssi parameter |
All good then, it is already set. Working fine on the OSD :) |
Cool |
IO4 If you look at the code, your board will be the same as this variant.:
|
Oh. So for ESP12F I have to build the firmware using variant 2 :) |
You can select it in the config.h here:
Then the LED and everything will work. Or copy this variant, call it ESP8266_Variant 3, and name it Giacomo's 12-E blah blah |
:) Just compiled the variant 2 and flashed it via OTA. |
glad to help |
I got it working. I can use QGC on the desktop and YAAPU on the radio. |
I don't have write access to wiki. can you amend that so I can add a little bit of guide? |
Ok, I have amended the edit restriction on the WiKi for you. Thanks. Is your rssi coming out at 69% See this patch by Hasi123. It basically inserts a fixed rssi if no other rssi is received.
Most long-range radios use the SiK firmware and insert a Mavlink message type #109 into the telemetry stream. However, there are two other RSSI message types, #35 and #65. Look them up here. Use Ctl/F and search for #35 etc. You can debug RSSI by enabling #define Debug_Rssi in config.h, however your 12E barebones needs a trick to view serial debug messages. Select the debug port before compiling. and connect a USB/TTL bridge RX to IO2 / TxD1 on the 12E, and also ground, obviously. Then use Putty or any other serial terminal to view the debug output. |
I've sorted it out. Check the PR i've made and if you want you can integrate those changes in the next version. |
Hey looks good! See my comment, if you want to tag your lines? |
https://github.com/zs6buj/MavlinkToPassthru/wiki/ESP12F-and-PlatformIO |
Eccellente amico mio |
With your permission I will make a small change to your PR and publish to v2.57. I must include your changes in the Arduino code and I also want to publish some style and functional improvements to the web interface. Probably tomorrow. |
You are the project owner :) Do whatever it takes to make this firmware even better! Thanks for your support and I guess we can close the issue now. |
Plaftormio.ini :
config.h:
Trying the build the project (2.58.4) gives this result:
If you need more infos, I'm here.
Thanks for taking a look
The text was updated successfully, but these errors were encountered: