Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 17 2019 02:06
    boxofrox opened #3309
  • Dec 16 2019 20:35
    Bascy opened #3308
  • Dec 16 2019 18:56
    irukard commented #3078
  • Dec 16 2019 15:53
    cychai1995 edited #3307
  • Dec 16 2019 15:53
    cychai1995 opened #3307
  • Dec 16 2019 04:57
    lackdaz commented #3286
  • Dec 16 2019 04:55
    lackdaz commented #3286
  • Dec 16 2019 04:55
    lackdaz commented #3286
  • Dec 16 2019 04:49
    lackdaz commented #3286
  • Dec 16 2019 04:48
    lackdaz commented #3286
  • Dec 16 2019 04:47
    lackdaz commented #3286
  • Dec 15 2019 21:21
    mlewand opened #3306
  • Dec 14 2019 15:23
    hmaarrfk opened #3305
  • Dec 14 2019 15:16
    hmaarrfk commented #3296
  • Dec 13 2019 19:41
    Misterion96 edited #3303
  • Dec 13 2019 19:41
    Misterion96 edited #3303
  • Dec 13 2019 19:41
    Misterion96 edited #3303
  • Dec 13 2019 19:41
    Misterion96 edited #3303
  • Dec 13 2019 19:28
    HeathPetersen opened #3304
  • Dec 13 2019 17:53
    burnsed commented #3120
Your link --> https://github.com/Nicholas3388/LuaNode --> the dropbox link. But it looks like standard nodemcu board
Mikk Kiilaspää
@Mikk36
Bleh, why did I skip that :)
That GPIO number, that is
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
image.png
Why am I getting this include error?
The rest of the header files from lib dir are correctly included, but not this one
image.png
image.png
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 ?
ACBIAS
@pak-man

SOLVED. here is how i did:
I added extra_scripts = prepost.py to my [env:####] in platformio.ini under my project directory.
Then I wrote this simple Python script that calls up my shell script for the target uploadfs, prior to the upload:
``
Import("env")
import subprocess

def before_upload(source, target, env):
subprocess.call("./prep_spiffs.sh")

env.AddPreAction("uploadfs", before_upload)
``

Dmitry Kireev
@AutomationD
hey all. Does anyone know if there is any obvious issue with WiFiClientSecure and esp32 platform on platformio? Thanks
[E][WiFiClient.cpp:121] setSocketOption(): 1006 : 9
[V][ssl_client.cpp:48] start_ssl_client(): Free heap before TLS 151368
[V][ssl_client.cpp:50] start_ssl_client(): Starting socket
[V][ssl_client.cpp:86] start_ssl_client(): Seeding the random number generator
[V][ssl_client.cpp:95] start_ssl_client(): Setting up the SSL/TLS structure...
[V][ssl_client.cpp:108] start_ssl_client(): Loading CA cert
[V][ssl_client.cpp:126] start_ssl_client(): Loading CRT cert
[V][ssl_client.cpp:133] start_ssl_client(): Loading private key
[V][ssl_client.cpp:143] start_ssl_client(): Setting hostname for TLS session...
[V][ssl_client.cpp:158] start_ssl_client(): Performing the SSL/TLS handshake...
[E][ssl_client.cpp:28] handle_error(): X509 - Certificate verification failed, e.g. CRL, CA or signature check failed
[E][ssl_client.cpp:30] handle_error(): MbedTLS message code: -9984
[E][WiFiClientSecure.cpp:108] connect(): lwip_connect_r: 11
[V][ssl_client.cpp:209] stop_ssl_socket(): Cleaning SSL connection.
checked certs, they all seem to match, in right places, etc.
Dmitry Kireev
@AutomationD
also, how do i know which esp32 sdk is used on the platform side?
Dmitry Kireev
@AutomationD
(IE what is the revision/release of this repo https://github.com/espressif/arduino-esp32, so i can track bugs/regressions)
ah, according to the doc it’s always latest version
Robert Ely
@robertely
This isn't super on topic but i thought this may be a good place to ask. Does anyone know of a good community to chat about stm32 development? I'm just getting started with arm development in general.
Platformio was insanely easy to setup for this. It's my first experience with it.
Stavros Korokithakis
@skorokithakis
hey everyone
does anyone have a .travis.yml file for a library?
i have a library (the files are in the root of the git repo) and the examples are farther down, in subdirectories, and i can't get the command for platformio ci to build this
oh never mind, got it, it needed -l .
Redferne Bellini
@Redferne
@ivankravets Who do I need to kiss to get Debug access in PIO :smirk:
Walter E. Gunter, Jr.
@wegunterjr_gitlab
i was pointed in the direction of using custom partition tables (arduino espressif32), but i am still getting the check saying the program size is smaller than the allocated.... i
i think i only need to add the partition file to platformio project, right? don't need to mess with the boards json file?
Ghost
@ghost~58924f23d73408ce4f47802b
Is it possible to use a fork of the esp32 arduino framework instead of the original repo?
or use a locally installed platform? (I've cloned the esp32 arduino platform to my user directory)