An open source ecosystem for IoT development. Cross-platform code builder and library manager. Continuous and IDE integration. Arduino and MBED compatible. Ready for Cloud compiling.
i thought it does, there's a sticky post pop-up everytime you login
upload_port = 192.168.0.3 // for OTA
Rui Azevedo
@neu-rah
i'm always logged in, so i must have missed, thanks
Victor Tseng
@Palatis
@Datseris probably nonsense... turn your screen portrait?
this is super cool\
Mikk Kiilaspää
@Mikk36
Hey
Slightly unrelated to the software itself, but maybe someone is still willing to help
I got this ESP32 board here with an onboard LED, that's working (well, was blinking with factory firmware), but there's no docs about what GPIO pin it's using
Probing with continuity didn't seem to help either
How do I find out what GPIO it's using?
Just blindly start incrementing GPIO pins for a blink example?
Ash
@ashthespy
@Mikk36 Depends on the board, but generally it isn't advised to blindly start toggling GPIO pins..
Mikk Kiilaspää
@Mikk36
Well, not completely randomly, I guess, because ESP32 datasheet specifies some pins as reserved for the SPI flash
Only the ones available and specced as IO
Ash
@ashthespy
What board do you have? If it's one of the usual suspects, some google foo should get you the pins as well ;-)
Mikk Kiilaspää
@Mikk36
Similar board to Espressif ESP32 devkitc v4 (same pin layout) but it has an extra LED on it (espressif one only has power LED)
Started secondguessing if it's a direct pin number or just a gpio number and then skipped right before that number
Ash
@ashthespy
Haha, happens to the best of us!
_
Mikk Kiilaspää
@Mikk36
Thanks :)
Main program file is just the one that has a function app_main() in it?
Ie it looks for it automatically?
Ash
@ashthespy
umm - no idea I don't use LUA..
Mikk Kiilaspää
@Mikk36
I mean in platform.io
Ash
@ashthespy
Yes, I'd guess so
Mikk Kiilaspää
@Mikk36
It's a generic ESP32 board, that LuaNode link is just as one option for using that board
Ash
@ashthespy
Yes!
I'd recommend you use the platformIO board manager, and set up a blinky test with the framework of your choice
Mikk Kiilaspää
@Mikk36
That's what I did
Ash
@ashthespy
What framework did you pick?
Mikk Kiilaspää
@Mikk36
esp-idf
Since it's the official one for ESP
Ash
@ashthespy
but, you are having issues?
Mikk Kiilaspää
@Mikk36
Not any more, because we figured the pin number out
Ash
@ashthespy
Good luck then!
Ghost
@ghost~58924f23d73408ce4f47802b
Is there a way to only upload 1 [env] when you've got multiple [env]s defined in platformio.ini?
Aldrin Leal
@aldrinleal
@bertmelis use '-e <env>' on it
Ghost
@ghost~58924f23d73408ce4f47802b
aha. thanks!
Mikk Kiilaspää
@Mikk36
Why am I getting this include error?
The rest of the header files from lib dir are correctly included, but not this one
Mikk Kiilaspää
@Mikk36
Hmm, ok, static stuff is for classes
ACBIAS
@pak-man
hi all, I am on my very satisfying journey with platformio. So far so good. I am using the buildfs target to transform a data folder containing all CSS/HTML/JS files for my embedded ESP8266 platform into a SPIFFS image. I´d like to use a custom shell script to prepare those files (including, mergning, minifying, compressing), how could i tell platformio to execute this script before building the SPIFFS image ?