1. 27 Mar, 2024 1 commit
  2. 26 Mar, 2024 5 commits
    • Me No Dev's avatar
      3.0.0 Network Refactoring (#8760) · f2026f1e
      Me No Dev authored
      * Create ESP_NetworkInterface class and have Ethernet extending it
      
      * Update CMakeLists.txt
      
      * Split networking from WiFi (H2 can now use Ethernet)
      
      Now all libs have been checked yet. More to do on WiFi side
      
      * Fix build errors
      
      * Guard WiFi classes and fix RMII ETH examples
      
      * Decouple network related libraries from WiFi
      
      * Fix examples and WiFiUpdate
      
      * Guard WiFiProv lib to compile only on WiFi chips
      
      * Add periman string for network and "fix" mdns on the first ETH
      
      * Revert back location of Client/Server/Udp in order to accept some PRs
      
      * Fix periman
      
      * Some fixes from merging master
      
      * Fix web server missing fs.h
      
      * Move Client, Server and Udp out of WiFi
      
      * More fixes
      
      * more fixes
      
      * Fix CMakekLists and rework lib menu dependencies
      
      * Fix CMake issues
      
      * move back WiFiClient to rebase with master
      
      * Update ETH_TLK110.ino
      
      * Move back WiFiClient
      
      * Update progress
      
      * Update WiFiGeneric.cpp
      
      * More fixes
      
      * Switch AP to the new interface
      
      * Cleanup
      
      * Rename AP methods
      
      * Add extra interface info for Printable
      
      * Rename IPv6 getters to clarify that they are returning LinkLocal address
      
      cc @sgryphon
      
      * Rename network classes
      
      cc @sgryphon
      
      * Update NetworkManager.h
      
      * Rename WiFi Server and UDP
      
      * Rename WiFiClient and WiFiClientSecure
      
      * Update CMakeLists.txt
      
      * Update on-push.sh
      
      * Rename Network library
      
      * Remove unnecessary guard
      
      * Get the correct interface MAC address for mDND Workstation service
      
      * Apply suggestions from code review
      Co-authored-by: default avatarLucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
      
      ---------
      Co-authored-by: default avatarLucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
      f2026f1e
    • Holger Lembke's avatar
      Add: make digitalRead() for RGB_BUILTIN work (#9419) · e92b4ca6
      Holger Lembke authored
      * make digitalRead() for RGB_BUILTIN work
      
      Standard Arduino-Way of blinking a LED can be the shortest with:
      
      void loop() {
        static uint32_t ledticker = 0;
        if (millis() - ledticker > 1000) {
          ledticker = millis();
          digitalWrite(RGB_BUILTIN, !digitalRead(RGB_BUILTIN));
        }
      }
      
      Worked with the old LED_BUILTIN on Pin 2, now even works with Pin 48/neopixel.
      
      * Add: make digitalRead() for RGB_BUILTIN work
      
      Standard Arduino-Way of blinking a LED can be the shortest with:
      
      void loop() {
        static uint32_t ledticker = 0;
        if (millis() - ledticker > 1000) {
          ledticker = millis();
          digitalWrite(RGB_BUILTIN, !digitalRead(RGB_BUILTIN));
        }
      }
      
      Worked with the old LED_BUILTIN on Pin 2, now even works with Pin 48/neopixel.
      
      (Retry. Didn't sync my local sources. Sorry.)
      e92b4ca6
    • Rodrigo Garcia's avatar
      Adds a new example: onReceiveExample.ino (#9415) · 63453505
      Rodrigo Garcia authored
      * feat: onReceiveExample.ino
      
      Adds a new example that uses HardwareSerial::onReceive(). The example demosntrates how to read all the data sent to UART0, considering that the end of transmission is defined by a period of time with UART in idle state.
      
      * fix: onReceiveExample.ino
      
      Fixes typos
      
      * feat: add explanation header
      
      * fix: mutex release
      
      * fix: add Mutex verification
      
      * feat: Mutex error message
      
      * feat: Mutex NULL testing
      63453505
    • Lucas Saavedra Vaz's avatar
      Add method to set the WiFi radio channel (#9405) · 9c0d59f9
      Lucas Saavedra Vaz authored
      * Add method to set the WiFi radio channel
      
      * Fix Tab
      
      * Add check
      
      * Change name
      
      * Fix description
      
      * Add check
      
      * Add error return
      
      * Improve error message
      9c0d59f9
    • Daniel Eisterhold's avatar
      Add variant for Waveshare ESP32-S3-Touch-LCD-1.28 (#9386) · 75f7b330
      Daniel Eisterhold authored
      * feat(esp32): Add variant for Waveshare ESP32 board
      
      Variant for https://www.waveshare.com/wiki/ESP32-S3-Touch-LCD-1.28
      
      * feat(esp32): Add Waveshare ESP32 board variant to boards.txt
      
      * fix(esp32): Update bootloader address and remove PSRAM flags
      
      * fix(esp32): Updated boards.txt for Waveshare based on suggestions
      
      * fix(esp32): Specify PSRAM type and remove unused board options
      
      ---------
      Co-authored-by: default avatarJan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
      Co-authored-by: default avatarme-no-dev <hristo@espressif.com>
      75f7b330
  3. 22 Mar, 2024 1 commit
  4. 21 Mar, 2024 1 commit
  5. 20 Mar, 2024 2 commits
  6. 18 Mar, 2024 3 commits
  7. 14 Mar, 2024 1 commit
    • Rodrigo Garcia's avatar
      Fixes HW Serial attaching pins, PHY initialization, crash after end() (#9365) · 0a26a8c4
      Rodrigo Garcia authored
      * fix: HWCDC pin number
      
      Fixes HW Serial pin setup.
      
      The pins were set up to the wrong value and it could not be correctly configured and used.
      
      * fix: PHY initialization
      
      Fixes the PHY initialization.
      
      After detaching the pin and ending the HW Serial, a new begin() wouldn't start the CDC because it lacked the proper PHY initialization.
      
      * fix: crashing end()
      
      Fixes a crash when calling end()
      
      end() treminanates the `tx_ring_buf` but it was not tested for NULL in the ISR and in the cdc0_write_char() causing a crash if those are used. This depends on events and happens eventually.
      
      * reduces number of debug messages
      
      * fix git stash/commit added lines
      
      * fixes usb_phy_ll include and call
      
      * roll back
      
      * solves HWSerial initialization
      
      * fixes C6|H2 issue
      
      issue with `if(Serial)` not working always
      
      * github commit problem
      
      * fixes
      0a26a8c4
  8. 11 Mar, 2024 3 commits
  9. 05 Mar, 2024 11 commits
  10. 01 Mar, 2024 1 commit
  11. 29 Feb, 2024 2 commits
    • SooDragon's avatar
      fix: Geekble mini board pin fix (#9309) · ebca505f
      SooDragon authored
      * fix: LED Pin Modified
      
      fix: LED Pin Modified
      
      * Revert "fix: LED Pin Modified"
      
      This reverts commit 36bdbdbe0cdf40da82fae84acfca01da93999180.
      
      * fix: LED Pin Modified to support Hardware update
      
      fix: LED Pin Modified to support Hardware update
      ebca505f
    • Rodrigo Garcia's avatar
      fixes default 100ms delay with HWCDC write() is CDC is not connected (#9307) · 2fdd9016
      Rodrigo Garcia authored
      * feat(hwcdc): fix delay
      
      Fixes delay when CDC is disconnected. At this time is only fixes it when USB cable is unplugged.
      
      * feat(hwcdc): fix delay
      
      fixes delay when CDC is not connected. It was only considering when the USB cable was not plugged.
      
      * feat(hwcdc): add 2 methods
      
      Adds 2 new methods:
      - isPlugged() will return true when USB cable is plugged, false otherwise.
      - isConnected() will return true when USB CDC is connected to a application in the USB Host side and communication is stablished.
      
      * feat(hwcdc): adjusts APIs
      
      Fixes the example to use the new added APIs for checking if USB cable is plugged and for checking if CDC is connected.
      
      * fixes api declaration
      
      * fixes API declaration
      2fdd9016
  12. 28 Feb, 2024 1 commit
    • Rodrigo Garcia's avatar
      Fixes the hardware cdc jtag plugged/unplugged status and related timeout/delay (#9275) · b7af090f
      Rodrigo Garcia authored
      * feat(hw_cdc):fixes the hardware cdc jtag plugged/unplugged status
      
      This will use a new IDF 5.1 feature to detect if the USB HW CDC is plugged or not. This can be checked testing HWCDCSerial.
      It also fixes issues related to timeout or delays while writing to the HW Serial when USB is unplugged.
      
      * feat(usb): Creates HWSerial_Events.ino example
      
      * feat: adds .skip.esp32
      
      Skips the ESP32 SoC test given that it has no USB
      
      * feat: adds .skip.esp32s2
      
      Skips the ESP32S2 because it has no HW CDC JTAG interface
      
      * fix: fixes issues with Ubuntu CI 
      
      Only compiles the example in case it is using Hardware CD and JTAG mode.
      
      * feat(serialcdc): non block functions
      
      modifies write and flush to do not clock in case CDC host is not connected to the CDC client from the C3/S3/C6/H2
      
      * fix(HWCDC): changes made demands testing for CDC ON BOOT
      
      * feat(hwcdc): Improves HWSerial_Events.ino
      
      Improves the example by adding more information about USB being plugged and CDC being connected.
      
      * feat(hwcdc): solves CDC connection issue
      
      Detects correctly when CDC is or not connected. 
      Deals with USB unplugged while the sketch is printing to CDD.
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Apply suggestions from code review
      
      ---------
      Co-authored-by: default avatarLucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
      b7af090f
  13. 27 Feb, 2024 3 commits
  14. 23 Feb, 2024 1 commit
    • SooDragon's avatar
      Add Board support for Geekble ESP32-C3 Custom Module (#9260) · ccacb7e3
      SooDragon authored
      * Add Board support for Geekble ESP32-C3 Custom Module
      
      feat: Add Board support for Geekble ESP32-C3 Custom Module
      
      * fix: remove globally defined variables in pins_arduino.h
      
      fix: remove globally defined variables in pins_arduino.h
      ccacb7e3
  15. 22 Feb, 2024 2 commits
  16. 21 Feb, 2024 2 commits