Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 12 20:44
  • Dec 12 20:18
    dok-net synchronize #6804
  • Dec 12 19:55
    dok-net synchronize #6047
  • Dec 12 19:51
    dok-net synchronize #6902
  • Dec 12 19:50
    dok-net synchronize #6782
  • Dec 12 19:47
    dok-net synchronize #6857
  • Dec 12 17:56
    devyte labeled #6898
  • Dec 12 17:56
    devyte labeled #6898
  • Dec 12 17:56
    devyte milestoned #6898
  • Dec 12 17:53
    devyte synchronize #6898
  • Dec 12 17:53
    devyte closed #6894
  • Dec 12 17:52

    devyte on master

    fix for #6904: NodeMCU v1.0 boa… (compare)

  • Dec 12 17:51
    devyte closed #6904
  • Dec 12 17:51
    devyte closed #6905
  • Dec 12 17:51
    devyte edited #6905
  • Dec 12 17:50
    devyte edited #6905
  • Dec 12 17:09
    d-a-v closed #6901
  • Dec 12 15:57
    erdemuncuoglu review_requested #6905
  • Dec 12 15:31
  • Dec 12 15:09
    erdemuncuoglu opened #6905
Me No Dev
@me-no-dev
how did you run it though?
Helio Machado
@0x2b3bfa0
I built a empty sketch, seen the build folder, and replaced the elf and the bin of the empty sketch with the ones from the platformio build.
Me No Dev
@me-no-dev
funny it does not show the line numbers
but yes that should be the correct output
Helio Machado
@0x2b3bfa0
Maybe @ivankravets should think how to implement the stack trace decoder. If he does the interface, I'll do the backend.
Me No Dev
@me-no-dev
exception seem to be in spiffs itself
Helio Machado
@0x2b3bfa0
Maybe my bad, adding a conditional to see if file "exists" (even if I upload it).
Helio Machado
@0x2b3bfa0
Spiffy said that the file exists.
@me-no-dev: Maybe you could try to reproduce the problem?
webServer.on("/memory.txt", [](AsyncWebServerRequest *request) {
    Serial.println("Requesssssssssssssst");
    if(SPIFFS.exists("/codes.txt")) {Serial.println("Existssssssssssss");}
    request->send(SPIFFS, "/codes.txt", String(), true);
  });
Me No Dev
@me-no-dev
request->send(SPIFFS, "/codes.txt", String(), true); checks if the file exists also
maybe something is wrong with the file or spiffs itself
ystrem
@ystrem
@skorokithakis looks good thx
bidyutper
@bidyutper
This message was deleted
This message was deleted
This message was deleted
need smd of magnetic relay anyone
5V DC SPDT Relay
any info?
bidyutper
@bidyutper
switchin current 230V AC
well, that s 3v..
bidyutper
@bidyutper
thts DPDT...only need SPDT ratin currents 3v k @tzapu
xbary
@xbary
Hello I have a question.
on ESP12F function spi flash write (. I use the address space of 0x0fc000 to 0x3fbfff. The question which addresses to use for ESP01 (1MB) if it works in the variant 64kb SPIFFS. ?? (I'm not using the application SPIFFS)
Me No Dev
@me-no-dev
1MB - 16KB(system settings) - 64KB = start of the space you are asking for
xbary
@xbary
that is beginning SPIFFS in this case will be at 0x14000
xbary
@xbary
I mean functions spi_flash_write
Stavros Korokithakis
@skorokithakis
@tzapu I'm a bit hazy as to what the wifimanager does, i thought it was some sort of web AP but that doesn't appear to be the case
Martin Ayotte
@martinayotte
For those who wish Internet Radio using ESP-VS1053 : http://www.esp8266.com/viewtopic.php?f=6&t=2688&p=46092#p46092
Michael Miller
@Makuna
@martinayotte That would imply they are accessing the buffer as a 32bit type wouldn't it? Maybe the buffer should be declared as uint32_t [8]?
Martin Ayotte
@martinayotte
@Makuna , Unfortunately, the Radio code handles uint8_t, not uint32_t. It is the SPI.writesBytes() that requires alignment enforcement.
Baruch Even
@baruch
I'm trying to use the coroutine code that is already written for my system by creating a cooperative threading mini-system to simplify my code. For that it would be extra nice to be able to override the delay function when running inside a coroutine from the normal delay to the coroutine switching out. For this I need to make the delay function a weak symbol. Will such a change be acceptable for the project?
Obviously, I'd be happy to contribute the cooperative threading as well
andig
@andig
@helio check if you're using any function that yields. E.g. file->readstring is not possible inside async handler.
OT: does anyone have experience with using LoRa radio, e.g. on Adafruit Feather? What is a good starting point for hw and sw?
Lars Englund
@larsenglund
Can I use the ESP RX pin for GPIO while still using the TX pin with Serial.println etc?
Jan Chrillesen
@janchrillesen
larsenglund: If you just need to transmit you can use GPIO 2 for TX. Search for Serial1 on https://github.com/adafruit/ESP8266-Arduino
Lars Englund
@larsenglund
@janchrillesen All other pins are taken in my design :) But I just tried using gpio3 after running Serial.begin and it seems to be working just fine!
Jan Chrillesen
@janchrillesen
larsenglund: OK - for for applications where you need the UART on GPIO1/3 and also needs serial debug using Serial1 is a good solution
torntrousers
@torntrousers
Hi. How hard would it be to update a local build of the trunk code to use the latest sdk, 1.5.3? Could i just do something like overlay the 1.5.3 zip over the trunk checkout somewhere or is it more complicated that that?
Me No Dev
@me-no-dev
no, it's a bit more complicated than that
torntrousers
@torntrousers
any hints or pointers?
Me No Dev
@me-no-dev
you need to replace li libs, weaken libmain for umm_malloc to work and update the relevant headers in the SDK folder of the core with whatever they have added between 1.5.2 and 1.5.3
you can not replace the headers in the SDK folder, just add what's new to them
torntrousers
@torntrousers
mmm, ok, thanks. sounds a bit hard
Michael Miller
@Makuna
@larsenglund Yes it does work, just make sure to init the pin after the Serial.begin() and it will override the pin feature.
geman220
@geman220
@skorokithakis you happen to be around?
geman220
@geman220
Or if anyone can help me, when I try to upload my code I get the following:
warning: espcomm_send_command: wrong direction/command: 0x03 0x03, expected 0x01 0x03
warning: espcomm_send_command(FLASH_DOWNLOAD_DATA) failed
error: espcomm_upload_mem failed
Baruch Even
@baruch
@igrr, I would like to hear your thoughts on the change I'm proposing to the delay function to simplify integration of coroutines usage.
I'm trying to use the coroutine code that is already written for my system by creating a cooperative threading mini-system to simplify my code. For that it would be extra nice to be able to override the delay function when running inside a coroutine from the normal delay to the coroutine switching out. For this I need to make the delay function a weak symbol. Will such a change be acceptable for the project?
Obviously, I'd be happy to contribute the cooperative threading as well
Michael Miller
@Makuna
@geman220 I get this same thing once in a while, did you just try again?
geman220
@geman220
Now I'm getting an error when building. error: redefinition of 'void setup()'