1. 23 2月, 2022 1 次提交
    • T
      Update doc: Arduino as IDF component; fixes #5833 (#6299) · b5f3d6c8
      Tomáš Pilný 提交于
      Summary
      
      Updated documentation describing the usage of Arduino-esp32 core as ESP-IDF component.
      
      Impact
      
      Removed confusing mentions of advanced menuconfig options.
      Extended process of installation, setup, and usage.
      
      Related links
      
      Closes #5833
      b5f3d6c8
  2. 21 2月, 2022 6 次提交
  3. 17 2月, 2022 1 次提交
    • R
      Fixes UART pin setting + adds CTS/RTS HW Flow Control (#6272) · 50e9772e
      Rodrigo Garcia 提交于
      * fixes setPins and begin to keep rx/tx unmodified
      
      * adds Hardware Flow Control mode and CTS/RTS pin setting
      
      * adds Hardware Flow Control mode and CTS/RTS pin setting
      
      * adds Hardware Flow Control mode and CTS/RTS pin setting
      
      * adds Hardware Flow Control mode and CTS/RTS pin setting
      
      * Code Review
      50e9772e
  4. 16 2月, 2022 9 次提交
  5. 07 2月, 2022 2 次提交
  6. 05 2月, 2022 2 次提交
  7. 04 2月, 2022 6 次提交
    • P
      FIX ledc on ESP32C3 (#6229) · 9dbc9087
      P-R-O-C-H-Y 提交于
      9dbc9087
    • P
      Added dual antenna for WiFi (based on the ESP32-WROOM-DA module) (#6226) · 9b066ea6
      Pedro Minatel 提交于
      * Added dual antenna for WiFi (based on the ESP32-WROOM-DA module)
      
      * Fixed build error
      
      * Fixed indentation and renamed function to setDualAntennaConfig
      
      * Added the RX and TX selection modes as configuration
      
      * Mode code optimization
      9b066ea6
    • L
      add feather esp32 v2 and qtpy c3 board def (#6223) · bb4d9027
      Limor "Ladyada" Fried 提交于
      * add feather esp32 v2 and qtpy c3 board def
      update some pin names
      add variant.cpp's to auto-enable i2c, tft, neopixels on boot
      
      * add auto-enable for i2c!
      bb4d9027
    • D
      1046f59f
    • S
      Fix replace() failing (#6224) · 6591f5bd
      s-hadinger 提交于
      6591f5bd
    • R
      Touch Sensor IDF Refactoring (#6194) · 0ea485e5
      Rodrigo Garcia 提交于
      Summary
      
      Touch Sensor refactoring to be based on IDF 4.4.
      Adds support to ESP32S2 and future ESP32S3.
      
      Adds some new APIs:
      
      For all chips:
      
      void touchAttachInterruptArg(uint8_t pin, void (*userFunc)(void*), void *arg, uint32_t threshold);
      This function allows the user to add and pass a void* parameter to the ISR user callback.
      
      void touchDetachInterrupt(uint8_t pin);
      This function detaches ISR call back for the touch pad pin.
      
      Only ESP32 chip
      
      void touchInterruptSetThresholdDirection(bool mustbeLower);
      This function allows the user to set if the ISR callback will be activated when the touch sensor readings are lower or higher than the threshold defined. See example TouchButton.ino.
      
      Only ESP32-S2 and ESP32-S3 chips
      
      bool touchInterruptGetLastStatus(uint8_t pin);
      This function reports if the touch pad pin is touched or untouched. It can be used with ISR to identify when it is touched and untouched (released). See example TouchButtonV2.ino.
      
      Impact
      
      None. ll original APIs and examples now run on ESP32 and ESP32-S2.
      
      Related links
      
      Fix #6095
      Fix #6034
      Fix #5799
      Fix #5745
      Fix #5527
      Fix #5493
      Fix #4321
      Fix #4044
      Fix #2722
      Fix #2625
      0ea485e5
  8. 01 2月, 2022 3 次提交
    • R
      framebuffer location for no-psram boards (#6219) · 3a96fc0e
      René Bohne 提交于
      If board has no PSRAM, we need to set the framebuffer location to DRAM:
      config.fb_location = CAMERA_FB_IN_DRAM;
      3a96fc0e
    • I
      Unnecessary operation removed from map() in WMath.cpp (#6218) · 5be3ff74
      IanSC 提交于
      * Unneccesary Operation Removed
      
      (A) extra operation not needed and incorrect:
            wrong by 0.5 but happens to be thrown out
      
           ( delta * dividend + (divisor / 2) ) / divisor
      
              delta * dividend     divisor
          = ---------------- + -----------
              divisor                    2 * divisor
      
          = delta * dividend / divisor + 1/2
      
      (B) check first before doing other computations
      
      (C) changed to rise/run, easier for future maintainer
            since it's closer to equation of a line
      
      (D) before: mult, shift, add, div, add
            now: mult, div, add
      
      (E) error message easier to trace where thrown
      
      * Update WMath.cpp
      
      forgot to change variable name
      5be3ff74
    • P
      Docs cleanup and version updated to 2.0.2 (#6213) · dafdc052
      Pedro Minatel 提交于
      * Docs cleanup and version updated to 2.0.2
      
      * Removed issue template information
      
      * Removed issue template file
      
      * Added referecnces for the issue and feature request form
      dafdc052
  9. 31 1月, 2022 10 次提交
    • P
      Fix random CaptivePortal.ino crashes (#6206) · ef35baff
      Patrick Behal 提交于
      CaptivePortal.ino example did randomly crash for me ... so I start investigate ;-)
      
      Decoding stack results
      0x4016faea: WiFiUDP::write(unsigned char const*, unsigned int) at C:\Users\knoeb\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.5\libraries\WiFi\src\WiFiUdp.cpp line 201
      0x400d4a4a: DNSServer::replyWithIP() at C:\Users\knoeb\AppData\Local\Temp\arduino_build_486825\sketch\src\DNSServer\DNSServer.cpp line 187
      0x400d4d01: DNSServer::processNextRequest() at C:\Users\knoeb\AppData\Local\Temp\arduino_build_486825\sketch\src\DNSServer\DNSServer.cpp line 117
      0x400d3e81: loop() at D:\Drive\Dokumente\HTL_Lehrer\2021_22\Projekte\Stromzaehler_Patrick\arduino/arduino.ino line 1078
      0x400dd545: loopTask(void*) at C:\Users\knoeb\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.5\cores\esp32\main.cpp line 37
      0x4008a0de: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c line 143
      
      I found with wireshark a possibility to trigger the crash on demand is:
      nslookup 3.1o1osr0092ons87rp375p1pq8q066o8p56or1sqsps6rs17r4384q9748qr1r52.699p1r741q737393648s29917o45p16q50rn517rnsp73pp68p1q259s92693qp.s607408539s0p06p7559os0899866344r7qq7rpns960o9576q65.r5n94r5so9784pq1.i.03.s.sophosxl.net
      
      The problem was that QNameLength is a signed byte and therefore its not possible to count up to 255. Additionally we need 256 bytes for the QName string to accommodate for the zero termination.
      ef35baff
    • A
      Refactor the CI scripts (#6191) · 7a6dae02
      Abdelatif Guettouche 提交于
      The reason behind this refactoring is that all of the sketch related functions can (and will) be used for other purposes.
      
      Build in the sketch directory: This will make it easy to handle artifacts after the build.
      Separate sketch related functions from IDE installation script. This is the main commit.
      Create a separate job for the Cmake check. This check was part of one of the Linux build. I believe that it's not the best place for such a check.
      Checking for the skip landmarks and validity of the the sketch directory were already done by count_sketches.
      7a6dae02
    • M
      Update RequestHandlersImpl.h (#6179) · 9f08cf47
      Matthias Hertel 提交于
      With LittleFS the `fs.exists(path)` returns true also on folders. A `isDirectory()` call is required to set _isFile to false on directories.
      This enables serving all files from a folder like : `server->serveStatic("/", LittleFS, "/", cacheHeader.c_str());
              File f = fs.open(path);
              _isFile = (f && (! f.isDirectory()));
      9f08cf47
    • C
      Allow HTTPCLIENT_1_1_COMPATIBLE to be disabled (#6200) · 96a5ddcd
      Clemens Kirchgatterer 提交于
      Allow a user to disable the HTTPCLIENT_1_1_COMPATIBLE flag from the command line, or whichever means available.
      96a5ddcd
    • M
      Resolve WString TODO (#6190) · 9fe34f65
      mrengineer7777 提交于
      Resolve TODO (XXX) by logging warning message.
      9fe34f65
    • M
      Add conditional include to WiFiProv.h (#6192) · cbeb7c4d
      mrengineer7777 提交于
      Resolves issue #6171
      cbeb7c4d
    • E
      added explanatory comments to WebServer.h (#6204) · 754ceddf
      Enes Şimşek 提交于
      754ceddf
    • R
      Fixes onReceive deadlock (#6201) · 39a20809
      Rodrigo Garcia 提交于
      39a20809
    • J
      Use 8.4.0+2021r2-patch2 toolchains for CI (#6184) · 9555ed4b
      Jason2866 提交于
      with platformio
      9555ed4b
    • V
      fix: restoring handshake timeout (#6165) (#6166) · 0d665d7e
      Vlasta Hajek 提交于
      0d665d7e