How to Flash WLED to your WT32-ETH01 microcontroller

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024

Комментарии • 75

  • @jocimarsilva9425
    @jocimarsilva9425 2 года назад +4

    Bom dia, sou brasileiro, parabéns pela excelente aula,
    no Brasil quase não temos nada de informação a respeito
    do ESP32 ETH, seu ensinamento me foi muito útil.

    • @BytesOfPi
      @BytesOfPi  2 года назад +2

      Thanks Jocimar! I'm glad you were able to get something out of the video.

    • @luiz.acciari
      @luiz.acciari 11 месяцев назад

      Muito interessante!

  • @PaulFillmoreIII
    @PaulFillmoreIII Месяц назад +1

    Mine didn't work with TXD and RXD, but it did work with TX and RX.

  • @HauntedHows
    @HauntedHows 6 месяцев назад +1

    HI, Thanks for this video, It's very helpful. I do have a problem I hope you might be able to give some insight into. I bought both the WT32-ETH01 and the ttl-usb devices from your links and can't get the USB module to work. It comes up as a Verifone to printer bridge, and won't accept any drivers. I've been researching this for a while now and think the chip on the board has the wrong PID/VID. I've bought 4 different boards form different venders, plugged them into different computers and come up with the same problem. do you have any suggestions how to get past this issue?
    also I've been asking this similar question all over the internet, So I might have already asked it here, but I don't see that I have. If I did already I'm sorry for bugging you again. :)

    • @pixelkedjan
      @pixelkedjan 6 месяцев назад

      Did you download the correct driver for the USB UART? I think its called CP210x_Windows_Drivers if you are using Windows.

    • @HauntedHows
      @HauntedHows 6 месяцев назад

      @@pixelkedjan yes. Absolutely. Thinking that I was installing the driver wrong somehow is what started this frustration spiral I'm currently in.

    • @BytesOfPi
      @BytesOfPi  6 месяцев назад

      What program are you using to flash your board? I may be mistaken, but I don't believe I had to download drivers when using vscode with platform io. While running the app, the adapter was recognized and used
      I'll concede that I downloaded drivers for an esp32 wroom board years before but it didn't need the ttl converter. I'll try to use a clean PC to confirm

    • @HauntedHows
      @HauntedHows 6 месяцев назад

      @@BytesOfPi I'm using the WLED install website which should work if the USB module will be properly recognized by the computer.

    • @BytesOfPi
      @BytesOfPi  6 месяцев назад

      Gotcha. I guess that's another reason I prefer using PlatformIO plugin for VSCode to install WLED besides the ability to customize the build.

  • @luiz.acciari
    @luiz.acciari 11 месяцев назад

    My objective is to flash de WT32-ETH01 to be recognized by arduino IDDE for programming. I've studied and read de documentation about esp IDF flashing with Espressif ESP IDF program. But has issues.
    The point is. This method can be used to to flash in first moment the ESP32 for after program the esp32 in arduino scetck to other thinks like blink.

    • @BytesOfPi
      @BytesOfPi  11 месяцев назад

      I don't think I understood the question. I believe you are trying to flash a WT32-ETH01 board with a program from the Arduino IDE. You're trying with a simple blink program but are having trouble.
      I'm guessing you have a TTL programmer as in the video. It's been a while since I've used the Arduino IDE, but I believe you need to select a generic ESP32 board or if WT32-ETH01 is available. You also need to link IO pin0 to ground before connecting so it puts the board into a state ready to be programmed.
      As far as which pin controls the onboard LED for the intro blink program, I don't know.

  • @willmaxwell2184
    @willmaxwell2184 Год назад

    I just got my WT32-eth01. I hope it works out like your described. I am wanting to have a small battery operated travel router that I can simply connect to a network switch and them get on my phone (because there is no phone service out at work) if I need to make a phone or look up a part or something on wifi. I need to take my board to work and solder on the pins and bring it back here and do this tutorial. I am going to read all the other comments below and check out everyone else's.

    • @BytesOfPi
      @BytesOfPi  Год назад

      Hi Will, one thing to mention is that the reason I use the WT32-ETH01 for the lights on my house is because I need Ethernet high reliability for my home light show which sends a lot of DMX data over the network.
      However for mobile projects that I have and small standalone projects, I use cheaper ESP32 boards without Ethernet because WLED acts like it's own access point. You don't need a Wi-Fi network when your phone can connect directly to the board through its access point.
      If you are just using the canned WLED patterns, you won't need the battery powered router

    • @willmaxwell2184
      @willmaxwell2184 Год назад

      @@BytesOfPi I want to be able to connect the WT32-ETH01 to a network switch and broadcast a wifi signal for my laptop or my phone to pick it up. Where my work place doesn't have cell service. I won't be connecting any lights up to it. Maybe in a different project. Hootoo Titanmate used to have a battery wifi wap that was great but the company doesn't make it anymore for some reason.

    • @BytesOfPi
      @BytesOfPi  Год назад

      @@willmaxwell2184
      Gotcha, not a WLED project, but a wireless access point that can take a physical ethernet connection and make it available over WiFi.... Also battery powered because while there is a physical ethernet connection to the internet, there is no power outlet....

    • @willmaxwell2184
      @willmaxwell2184 Год назад

      @@BytesOfPi That is correct! Plus a few extra lines of goes to switch a led on once there is a connected. It would need to be able to be DHCP. I am still a little new but I been studying python, ESP32 and arduino and made small projects nothing this big yet.

  • @KevinKimmich44024
    @KevinKimmich44024 Год назад +2

    thanks for the tips on getting the board connected--saved me a lot of time. I'm actually using the arduino environment for a different project, but still very useful. thanks.

    • @BytesOfPi
      @BytesOfPi  Год назад

      Awesome! Glad it helped.
      For dev boards that don't have built in micro USB for programming, I couldn't find a lot of good videos out there explaining how to flash ESP32. Also I take for granted what the program/reset buttons on most dev boards are doing grounding IO0 putting the ESP32 into flashing mode

  • @이로이로-e8d
    @이로이로-e8d 9 месяцев назад

    12:38 Did you solve the problem? I'm having the same problem, but I haven't solved it yet If you know a solution, please let me know!!

    • @BytesOfPi
      @BytesOfPi  9 месяцев назад

      I think you're referring to the matrix video and unfortunately I've not looked at it yet... If I get some free time, I'll need to download the latest and check out the code

    • @이로이로-e8d
      @이로이로-e8d 9 месяцев назад

      @@BytesOfPi Thanks for your reply
      I'm not good at English, so I'm using a translator. Please understand even if the grammar is incorrect. I am following along step by step while watching RUclips videos. There are more things I don’t understand, but I’m always grateful.

  • @bishamsingh1490
    @bishamsingh1490 2 года назад

    I order 2 of these boards after watching your video, Great video and setup( the other video). could you tell me which 4 pins i should use for led. Right now I have few ESP 32 and 88. Ethernet sound good . I usually leave my boards running and only turn off the big powersupply. I think this would help with the boot problem other people are having (hoping). I would suggest you do another video showing how you do the wiring from relay to Wt32 to levelshifter to output. Thanks again love your shows.

    • @BytesOfPi
      @BytesOfPi  2 года назад +1

      Thanks Bisham! To answer your first question about ports, I think pin 2, 4, 12, and 14 maybe the best pins to go with. You can try pin 15 as well. Stay away from 35, 36, 39 as they are input only.
      The pinout diagram comes in really handy:
      m.media-amazon.com/images/I/71CYGN4D47L._AC_SL1200_.jpg
      As for keeping the board on the entire time, that would definitely help boot issues, but if you're board is in a small box like a CG1500 and is out in your yard, wiring up an additional 5 volt power supply just to power your board may take up more space than you have. If you have the space and you have an additional 5 volt power supply apart from your main power supply, great!
      Appreciate the advice about wiring from the WT32 ETH01 to the level shifter. Probably not enough content for a full video so maybe a fritzing diagram. In summary, there is a 3 volt side and a 5 volt side. Make sure the 5 volt has a reference voltage from the power supply as well as ground. Then wire up your 3 volt ports to your board pins, and then your output wires to the corresponding 5 volt side.

    • @bishamsingh1490
      @bishamsingh1490 2 года назад

      @@BytesOfPi Great info....thanks a million

  • @graphguy
    @graphguy Год назад

    This is good discussion, but needs to be updated as in development era things change fast.
    For example the command pio lib install is deprecated and should be pio pkg install instead.
    And the pin thing? for Noobs you really should re-record the video and not try and make addendum notes post.

    • @BytesOfPi
      @BytesOfPi  Год назад +1

      Being a developer for 23 years, I totally agree that technology changes quickly. As with most tech based how to videos out there, they get outdated easily. I take the pieces that are useful to me and extend grace for things outdated or mislabeled.
      TMK RUclips does not make it easy to update videos in place and penalizes re-recording. The bulk of the video is still valid and while the pinout diagram I'm using from JacobsParts is labeled wrong, (I.e. Tx0 instead of TxD), the physical connections shown in the video are correct and hasn't tripped up those I've talked to that followed it.
      It may not look like it, but even with the non professional video recording tools I have, it takes me a couple of days to plan, script, check, record, edit and publish a 4-8 min video.
      As it stands, I don't think the video is so outdated that it's worthless and needs to be brought down. Perhaps in the near future I can spend the time and get it up to speed with the latest Platform IO syntax and use a correctly labeled pinout.
      Right now I'm eager to fix my existing 26x32 matrix and see if WLED 0.14.0 matrix features can be easily tweaked

  • @kermets
    @kermets Год назад

    Hi, can this little board be set up as a wifi router ?
    we wanted to run a cat5 cable from main modem to the shed 200ft away then wifi in the shed for everyone, many thanks Brett

    • @BytesOfPi
      @BytesOfPi  Год назад

      It might be possible to make it an access point, but you'd have to program (or find existing code) to translate Wi-Fi traffic to Ethernet traffic, to broadcast an SSID so your devices would recognize it, etc...
      It would probably be more cost-effective to just buy a wired access point for around $25 that has that already set up.

  • @nathankeen219
    @nathankeen219 Год назад

    The error I get in vs when I type into the terminal pio lib install is that my wled-0.13.1 folder is not a platformio project. It does this with any version wled I try to use.

    • @nathankeen219
      @nathankeen219 Год назад +1

      Nevermind. I figured it out. User error. Thnx!

  • @cameronottosen8376
    @cameronottosen8376 Год назад

    wasn't able to start the upload using pins TxD/RxD ended up using Tx0 and Rx0

    • @BytesOfPi
      @BytesOfPi  Год назад +1

      You are correct... Looks like I labeled them incorrectly in the video, but set the correct positions

  • @furkancolak3702
    @furkancolak3702 Год назад

    ı coudnt find wifi pass where can ı find?:(

    • @BytesOfPi
      @BytesOfPi  Год назад +1

      Default WLED password is wled1234. You can find that info on the getting started page
      kno.wled.ge/basics/getting-started/

  • @ScottKaluczky
    @ScottKaluczky Год назад

    Thank you for such a comprehensive video.... 2022 was my jumping into the LED world with my first element a 20 string, 1000 pixel mega tree. I ran the tree using an Arduino Mega, with each string controlled by it's own pin. Also a rPi using fpp, which was problematic (separate rabbit hole). My questions for you are:. Could these wt32 boards replace the mega? How many output pins can be used and how many pixels can be driven (data wise...p.i. would be necessary obviously) from each pin?
    I've already ordered, received and started tinkering with a pair since first seeing your video.

    • @BytesOfPi
      @BytesOfPi  Год назад

      The WT32-ETH01 development board isn't as large as a Arduino mega, and doesn't map as many pins from the ESP32. Most of my props are chained together and I've only needed to use at most four output pins.
      For example, I have one WT32-ETH01 running all the pixels on the windows and door.
      GPIO2 - left door and windows (531 pixels)
      GPIO4 - 34 x 26 matrix (884 pixels)
      GPIO14 - right windows (499 pixels)
      At most I've used only 4 ports (GPIO 2, 4, 12, 14). However you can theoretically use the other mapped output ports of (15, 17, 5, 32, 33). Ports 35, 36, and 39 are input only so they can't be used. I suspect other pins are being used for the ethernet port.

    • @BytesOfPi
      @BytesOfPi  Год назад

      To answer the question about how many LEDs can be run, I think the WLED site answers it best in the ESP32 section:
      kno.wled.ge/features/multi-strip
      For perfect performance, it is recommeded to use 512 LEDs/pin with 4 outputs for a total of 2048 LEDs.
      For very good performance, it is recommended to use 800 LEDs/pin with 4 outputs for a total of 3200 LEDs.
      For good performance, you can use 1000 LEDs/pin with 4 outputs for a total of 4000 LEDs.
      For okay performance, you can use 1000 LEDs/pin with 5 outputs for a total of 5000 LEDs.
      For okay performance, you can use 800 LEDs/pin with 6 outputs for a total of 4800 LEDs.

  • @kn4yba80
    @kn4yba80 Год назад

    This was a really great video. I have struggled programming the WT32-ETH01 with WLED until finding this video. Thank you for taking the time in documenting this process.

    • @BytesOfPi
      @BytesOfPi  Год назад

      I'm glad it was helpful and thanks for taking the time to reply back! Having a board with Ethernet already built in is really handy for sure. WiFi is nice, but it is slower and (for the time being) except on a few boards limited to 2GHz.

    • @kn4yba80
      @kn4yba80 Год назад +1

      @@BytesOfPi Yes, the ethernet is the way to go for me. I have built a Christmas show for my Falcon controller, but during the other months I wanted to use something much cheaper to run my 7, 10 Watt garden lights, using two data ports off the microcontroller. I keep the WT32-ETH01 microcontroller in a small enclosure in my office. I ran ~ 150 feet of RGU6 coax to each two sides of my gardens for the signal to the 2 areas with RGBs. I inject power from my 2 power supplies mounted close to both gardens for my Christmas show. With your help I was successful in programming 2 of the WT32-ETH01 microcontrollers. I always keep one ready to go as a backup. I do the same with my Falcon controllers. I like the stability of Ethernet and assign static IPs which eliminates any network issues with other devices.
      Great channel!

  • @billj214
    @billj214 Год назад

    Got my WT32-ETH01 modules, also purchased a few 8 channel level shifters but I have not been able to get lights to work properly. Looking for some wiring diagram to help get things working. I assume LED output is "IO2, IO4, IO12, IO14, IO15"? I have 5v and GND to power WT32, 3.3 to VA, 0E and 5V to VB on TXB0108 level shifter, A1 signal in, B1 signal out, GND to GND. Thanks!

    • @BytesOfPi
      @BytesOfPi  Год назад +1

      Let's see... Lot of stats, little on details about what is happening with lights.
      I assume you were able to flash WLED using a serial adapter and power the board enough to access it on its wireless AP.
      You are correct that pins IO2, IO4, IO12, IO14 and IO15 are the digital output pins that can carry a digital signal, but unless you map them in WLED, they won't do anything at all.
      Before permanently setting up your lights, and before using a level shifter, it would be good to test but you set up your WLED correctly to the pins you're expecting by connecting it with jumper wires to your lights up close.
      You mentioned you purchased a surface mount level shifter TXB0108 which means you have access to fine detail tools. You probably are comfortable and have access to tools like an oscilloscope. You can use this to measure the reference 3.3v data signal coming from the pins and how it gets boosted to 5.
      In my other video about 9:56 in, I show the pin connections I use to a cheap 4 channel IIC I2C Level shifter.
      ruclips.net/video/GeJxolPpiE8/видео.html
      I show that I connect to a reference 5v and reference 3.3 v, but I've found that I only need (and works better) if I only connect the reference 5v.
      There are many different levels to triage connectivity issues. If you have more details on how far you got, that may offer a clue as to what step to try next.

    • @billj214
      @billj214 Год назад

      @@BytesOfPi Yes, programmed module using Wifi, then wired to network, WLED output to CH2 configured, (assuming CH2 is IO2) tested signal to lights directly but has random pattern and not controlling like WLED should be or like my Espixelstick works. If I run through level shifter the "0E pin" being high or low (3.3v or GND) will activate the output which may be different then the device your using and adds complexity. At this point I am likely having issues with WT32 module so my problems could not related to level shifter but just needed to ensure I was doing things correctly, yes I have an Oscope I might hook up to further troubleshoot with.

    • @BytesOfPi
      @BytesOfPi  Год назад

      @Bill J gotcha. You've successfully flashed the board and able to connect to it via Wi-Fi.
      You have the pixels really close to the board (around 30 cm or less)
      Assuming you have a pixel strip or bullet pixels with three connects (no clock pin) and you have a multimeter ensuring that you're getting 5 volts and ground to your lights.
      If you're struggling with IO2 (pin 2), go one more pin up to IO4 (pin 4 in WLED) and try that.
      If you also have a 330 ohm (or around that) resistor, put that between your data line and your lights
      Also there are different builds of WLED that work differently on different boards. Did you use platform IO and build it yourself or did you download the binary? If so which build did you put on the board and was it the esp32_eth build?

  • @houseeverything
    @houseeverything Год назад

    At 5:09 you use an item in the "Project Tasks" menu. This menu first appears at 4:18. The "Quick Access" menu that you reference at 4:18 is not up by default and is hard to follow along when you cut out and come back to the menus already up. I found the "Quick Access" menu, but have spent an hour trying to find the "Project Tasks" Menu. Can you help with where I need to click to make that pop up? ------- EDIT: This menu pops up after you do the "pio pkg install".... and close visual studio and then reload it. I guess I should have walked away earlier and come back!

    • @BytesOfPi
      @BytesOfPi  Год назад

      Sorry that it wasn't clear. Were you able to find what you were looking for?

    • @curtiscristwell1007
      @curtiscristwell1007 Год назад

      @@BytesOfPi I agree with pjp. You skipped multiple steps within the software that cause a lot of confusion. You also incorrectly said to attach to rxD on the WT32 when it should be rxO. In your image you are showing the proper location to place the jumper but it is labeled incorrectly.

    • @BytesOfPi
      @BytesOfPi  Год назад

      PJP, you make a great point. One of the things I dislike about similar walkthroughs is when the presenter stumbles around, uses filler words like "um" and "ah" and has a lot of pauses waiting for the software to catch up. In order to cut out the fluff, I must have accidentally cut out when the editor shifts.
      You can get to the project tasks by clicking on that little alien icon in the left hand bar. If you notice before and after 4:18 on the left hand side, there is an alien icon (PlatformIO) that lights up. I must have cut out the part where I click on that menu while cleaning up the video. My apologies.

  • @nathankeen219
    @nathankeen219 Год назад

    When I type in pio lib install it gives me an error as if it cannot find the library

    • @BytesOfPi
      @BytesOfPi  Год назад

      Make sure your computer can connect to the internet. I also discovered this past week away to only download the libraries specific to The ethernet build. Try...
      pio lib -e esp32_eth install

    • @nathankeen219
      @nathankeen219 Год назад

      Thank you. I will give that a try and yes my computer was connected to internet at the time I was trying.

  • @carlojongen
    @carlojongen Год назад

    It would be interesting to update the lib install part because this seems to be outdated. I can't seem to be able to flash my esp32-eth01 because of missing dependencies.

    • @BytesOfPi
      @BytesOfPi  Год назад

      Yeah, it's funny how fast tech gets outdated. Less than a year and Platform IO has different commands for package install.
      Good thing about it is the latest only downloads the libraries for the board you need and it's faster. If you check out the video description, I've already put the latest package install pio commands for the WT32-ETH01:
      pio pkg install -e esp32_eth

    • @carlojongen
      @carlojongen Год назад

      @@BytesOfPi Hi thanks for getting back to this.. I actually have red and tried the new install command but it gave me the next error message. Error: Unknown environment names 'esp32_eth'. Valid names are 'wt32-eth01' That's why I reached out. This is my very first time in VS so I still take into account that I did something wrong. I only don't know what I'm missing here... There is little to almost no clear information about how to get the code into the WT32-ETH01 either by VS or the Arduino ui.

    • @carlojongen
      @carlojongen Год назад

      OK, found it.. it was a driver issue with the USB TTL Serial Adapter

    • @BytesOfPi
      @BytesOfPi  Год назад

      @@carlojongen That's interesting... Are you using a flashing tool to upload to your WT32-ETH01 or flashing from a Mac? Before on other personal projects when I used the Arduino IDE or flashing tools with different boards I had to make sure I loaded the right windows board drivers.
      However, with the WLED / VS Platform IO and the TTL programmer (to my recollection) I was able to load without having to install board (or programmer) drivers. I am curious that you were forced to.
      Did you have to load drivers for your particular TTL or for the WT32-ETH01 itself?

    • @carlojongen
      @carlojongen Год назад

      @@BytesOfPi So here's the full story. First of all I was not intending to use WLed or that was not the goal for me to use the WT32. My attemption is to replicate an esp8266 system that I've build to a WT32-ETH01. Mainly because the esp8266 is build into a 19 inch server rack and the WiFi reception in the rack is very bad. I currently have the esp8266 hanging out of the rack with wires to be able to control and monitor some hardware in the rack. I now want to rebuild this system with a WT32 so I can use the wired lan connection on this board. Doing so with the Arduino UI I noticed I couldn't even load a simple "Hello World" code into the WT32. And because of the lack of info regarding flashing the WT32 I bumped into your video. I first tried to just follow along your instructions to see if I could upload or flash the WT32 but nothing seemed to work. I also tried the "pio pkg install -e esp32_eth" command but this still gives me the Error: Unknown environment names 'esp32_eth'. Valid names are 'nodemcu-32s'. Since this is my very first time using VS I don't have any idea on how to debug this. After some more time on Google I bumped into another video explaining how to install WLED onto an esp directly from the ( install.wled.me/ ) website with the "My board has Ethernet" enabled. Trying that also didn't work, it couldn't find my serial port ( UART-TTL USB Adaptador ). At that point I started to think it was a driver problem. And indeed the driver I've previously installed for the CH340G module was not the correct one. So then I tried to install another driver ( sparks.gogo.co.nz/ch340.html ). And after installing the driver from the previous link I could install WLED via the wled.me website. So now at least I know that the hardware and the drivers for the WT32 are correct. So now I can start re-building my monitor and control system for my rack.

  • @albertocavallini5009
    @albertocavallini5009 2 года назад

    Hi Kevin, can I use this software to create a WiFi access point to a wired network?

    • @BytesOfPi
      @BytesOfPi  2 года назад +1

      Not sure who Kevin is, but the WLED software isn't going to act like an access point to your wired network. If it's not connected to a network, it will broadcast as an AP, but when you connect with it, it won't route your traffic to other places. The only device you can access is a browser to that device.

    • @albertocavallini5009
      @albertocavallini5009 2 года назад +1

      @@BytesOfPi Thanks..!!

  • @DamyanHansen
    @DamyanHansen Год назад

    this board support OTA wired?

    • @BytesOfPi
      @BytesOfPi  Год назад

      Yes. I've been able to upgrade one board while wired to Ethernet from 0.12.0 to 0.13.1

  • @kevingreene2397
    @kevingreene2397 2 года назад

    Great video... However if you can just flash from the beta online wled install.
    Could you do a video with how to a custom compile for this board? I've been trying to add a thermal sensor

    • @BytesOfPi
      @BytesOfPi  2 года назад

      Hi Kevin. Good observation.
      I'm definitely doing it "the hard way" by downloading the source code, compiling it, and then installing. You can definitely install the precompiled binary and they have good instructions on how to do so.
      kno.wled.ge/basics/install-binary/
      However, you have to trust binary isn't tampered and you can't do customizations, like your thermal sensor. I'm not quite sure what you want to do with thermal sensor except for maybe shutting it off if it gets too hot or sending yourself a message. You can definitely make those modifications with the way that I'm doing it that by modifying the source code and overwriting some pins. There are already a couple mods that attach thermal sensors. www.reddit.com/r/WLED/comments/kzsp9i/can_i_add_a_temp_sensor/
      Before the 0.12.0 release I had to modify it so that my board could use multiple output pins and that customization was easy using platformio.ini file. If you need to modify some of the C files to write your own mod, it may get a little challenging.

    • @kevingreene2397
      @kevingreene2397 Год назад

      @@BytesOfPi Hello. Well got my head around Custom Mods :) But ive got a new problem, im finding the board is running hot. So hot its to hot to touch and then stops working. Did you find this board was running hot?

    • @BytesOfPi
      @BytesOfPi  Год назад

      @@kevingreene2397
      I've not seen any of my boards getting hot.
      How are you supplying power to your board? Does it have a dedicated line to your 5v pin or is it sharing a line to power your lights? Also make sure you are powering it with your 5v pin and not the 3.3 v pin.
      If you have a multimeter, check the voltage at the pin you are powering it from.

  • @WShelton
    @WShelton Год назад

    I can't get it to upload.
    A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
    *** [upload] Error 2
    ========================= [FAILED] Took 39.31 seconds =========================
    Environment Status Duration
    ------------- -------- ------------
    esp32_eth FAILED 00:00:39.309
    ==================== 1 failed, 0 succeeded in 00:00:39.309 ====================
    * The terminal process "C:\Users\wshelton\.platformio\penv\Scripts\platformio.exe 'run', '--target', 'upload', '--environment', 'esp32_eth'" terminated with exit code: 1.
    * Terminal will be reused by tasks, press any key to close it.
    What do I do?

    • @BytesOfPi
      @BytesOfPi  Год назад

      Did you try running it again? It's the weirdest behavior but sometimes the build randomly fails...(it even happens in the video)
      It usually works every other build. I've not dug in deep enough to figure out why but since it works the second time around it makes me think of a race condition where not all required pieces are compiled in the right order but are cached for the second go round

    • @WShelton
      @WShelton Год назад

      @@BytesOfPi I have it. Thanks.

    • @BytesOfPi
      @BytesOfPi  Год назад

      @@WShelton That's awesome. It sounds like it worked for you the second time.
      I'm a software developer by trade and the periodic failed builds don't sit right with me. I sift through so many other's code weekly that I haven't been motivated to find out why in this case 😁. Not bashing the guys who contributed to this code mind you, they've done a fantastic job and I love WLED.
      They have a good guide to go deeper with code compiles kno.wled.ge/advanced/compiling-wled/

    • @aidanfalchook4266
      @aidanfalchook4266 10 месяцев назад

      i am having this issue as well with no luck

    • @kuzmaniac7099
      @kuzmaniac7099 5 месяцев назад

      Unfortunately I also have the same problem. And even after 20 times without success