1. 13 Aug, 2024 8 commits
    • per1234's avatar
      fix(ota): Wrap espota --auth flag in quotes (#10126) · d3f5b9b6
      per1234 authored
      When performing an "OTA" upload via a network port, the user may configure the sketch to require
      an authentication password.
      
      Arduino IDE presents a "Configure and Upload" dialog when the user triggers an upload to a network
      port. The user can provide the authentication password via the field in that dialog. The
      `upload.field.password` platform property is then set to the value provided by the user.
      
      The platform uses the `tools.esp_ota.upload.pattern` command template to pass this value to the
      espota upload tool via the tool's `--auth` flag.
      
      Since the value of the `upload.field.password` platform property is set by the user via a free text
      field, it might contain any characters. Since some characters (e.g., spaces) can be problematic in
      a command line, it is essential to wrap it in quotes. This was done for the Arduino IDE 1.x variant
      of the command template, but that was not ported when the pluggable discovery variant of the
      command pattern was defined. This causes a spurious failure of the OTA upload process if the user
      provides an authentication password that contains problematic characters.
      
      For example:
      
      ```
      "C:\Users\per\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.4\tools\espota.exe" \
      -r -i 192.168.254.145 \
      -p 3232 --auth=foo bar \
      -f "C:\Users\per\AppData\Local\Temp\arduino\sketches\E2D807FABB134A2A60A1B9C7D14FE02B/11973.ino.bin"
      usage: espota.exe [-h] [-i ESP_IP] [-I HOST_IP] [-p ESP_PORT] [-P HOST_PORT]
                        [-a AUTH] [-f FILE] [-s] [-d] [-r] [-t TIMEOUT]
      espota.exe: error: unrecognized arguments: bar
      Failed uploading: uploading error: exit status 2
      ```
      
      This is prevented by wrapping the `--auth` flag in quotes:
      
      ```
      "C:\Users\per\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.4\tools\espota.exe" \
      a-r -i 192.168.254.145 \
      -p 3232 "--auth=foo bar" \
      -f "C:\Users\per\AppData\Local\Temp\arduino\sketches\E2D807FABB134A2A60A1B9C7D14FE02B/11973.ino.bin"
      Sending invitation to 192.168.254.145
      Authenticating...OK
      
      Uploading: [                                                            ] 0%
      ```
      d3f5b9b6
    • Rodrigo Garcia's avatar
      fix(doc): analogReadMilliVolts (#10125) · da13c038
      Rodrigo Garcia authored
      Fixes the documentation. typo. volts->Volts
      da13c038
    • Rodrigo Garcia's avatar
      fix(USB): OTG S2 and S3 debug print (#10123) · 384cc27b
      Rodrigo Garcia authored
      * fix(USB): OTG S2 and S3 debug print
      
      ESP32-S2 and S3 using USB CDC OTG (TinyUSB) won't print any log information. This commit fixes that.
      
      * fix(cdc): trying macos
      
      changed Macro testing
      
      * ci(pre-commit): Apply automatic fixes
      
      ---------
      Co-authored-by: default avatarpre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
      384cc27b
    • Patrik Andersson's avatar
      Fix use after free in SD library (#10122) · 7f1ab630
      Patrik Andersson authored
      * fix(sd): Fix use after free
      
      * ci(pre-commit): Apply automatic fixes
      
      ---------
      Co-authored-by: default avatarpre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
      7f1ab630
    • Y_hsiao_ch'un's avatar
      Added variant for Waveshare ESP32-S3-Touch-LCD-1.69 & ESP32-S3-LCD-1.69 board (#10118) · 8792145c
      Y_hsiao_ch'un authored
      * Added Waveshare ESP32-S3-Touch-LCD-1.69 & ESP32-S3-LCD-1.69 board
      
      * Added Waveshare ESP32-S3-Touch-LCD-1.69 & ESP32-S3-LCD-1.69 board
      
      * Change the default PSRAM OPI mode to disabled
      
      * Change the default PSRAM OPI mode to Enabled
      
      * ci(pre-commit): Apply automatic fixes
      
      ---------
      Co-authored-by: default avatarpre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
      8792145c
    • Xylopyrographer's avatar
      docs: correct Float type size in Preferences API and Tutorial documentation (#10113) · f1df0887
      Xylopyrographer authored
      * Correct Float type size
      
      Correct in the data type table and the API call the size of the Preferences `Float` type and returned value for `putFloat()`.
      
      * Update Float call prototype
      
      * Correct Float type size
      
      Correct Float type size in the Preferences Types table.
      Revise text to use `float_t` in place of `float`.
      
      * Correct doc build error
      
      Correct the `Explicit markup ends without a blank line; unexpected unindent.`
      f1df0887
    • Matthias Hertel's avatar
      Improving WebServer Example (#10111) · 5b05a34d
      Matthias Hertel authored
      * Update WebServer.ino
      
      * Enable FAT and LittleFS filesystems as configured.
      * use new versions of RequestHandler::canHandle and RequestHandler::canUpload
      
      * Update Documentation
      
      * Documentation changed accoring review comments.
      
      * README.md changed accoring to review comments.
      5b05a34d
    • CircuitART's avatar
      feat(board): Add CircuitART Zero S3 board (#10108) · c4cbc3e6
      CircuitART authored
      * new board esp32s3
      
      * Update boards.txt
      
      add circuitart_zero_s3 details
      
      * Update pins_arduino.h
      
       removed unnecessary pin definitions pins_arduino.h as suggested by P-R-O-C-H-Y
      
      * ci(pre-commit): Apply automatic fixes
      
      ---------
      Co-authored-by: default avatarpre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
      c4cbc3e6
  2. 02 Aug, 2024 9 commits
  3. 01 Aug, 2024 4 commits
  4. 31 Jul, 2024 6 commits
  5. 29 Jul, 2024 6 commits
  6. 22 Jul, 2024 2 commits
  7. 17 Jul, 2024 3 commits
  8. 16 Jul, 2024 2 commits