1. 11 Jan, 2024 1 commit
  2. 08 Jan, 2024 1 commit
  3. 20 Dec, 2023 1 commit
  4. 15 Dec, 2023 1 commit
    • Benjamin Karic's avatar
      fix(adc): Always use default read resolution in __analogReadMilliVolts to... · b87d5257
      Benjamin Karic authored
      fix(adc): Always use default read resolution in __analogReadMilliVolts to obtain correct milliVolts value. (#9006)
      
      Add new __analogReadRaw function and move code from __analogRead without mapResolution part to __analogReadRaw.
      
      Refactor __anlogRead to use analogReadRaw (and mapResolution).
      
      Refactor __analogReadMilliVolts to always use default read resolution when reading adc value, as expected input by esp_adc_cal_raw_to_voltage is in default resolution (means replacing all calls of __analogRead with __analogReadRaw).
      b87d5257
  5. 29 Nov, 2023 1 commit
  6. 17 Nov, 2023 1 commit
  7. 05 Oct, 2023 1 commit
  8. 04 Oct, 2023 13 commits
  9. 15 Sep, 2023 6 commits
  10. 13 Sep, 2023 5 commits
  11. 05 Sep, 2023 2 commits
  12. 04 Sep, 2023 7 commits
    • Luca Burelli's avatar
      Nano ESP32: fix digital, analog and GPIO pin counts (#8586) · 8e2af4b9
      Luca Burelli authored
      * Nano ESP32: fix previous merge issues
      
      * platform: remove previous build options if file is missing
      
      "touch" would create the file if not present, but not delete its
      contents if a previous run left the file in the build dir.
      
      * platform: make debug_custom.json file customizable by board
      
      * platform: fix default debug prefix
      
      "debug.toolchain.prefix" must end with a dash, since only the tool name is
      appended to this string.
      
      The reason this is not a major issue is that the "debug_custom.json" file
      (copied in the sketch directory when debugging is enabled) forces its own
      prefix. And to make things more interesting, the "toolchainPrefix" entry
      in that file should _not_ end with a dash.
      
      * Nano ESP32: add debugging support
      
      * Nano ESP32: fix digital, analog and GPIO pin counts
      8e2af4b9
    • Luca Burelli's avatar
      Nano ESP32: add debug support (#8567) · 7d1dd858
      Luca Burelli authored
      * Nano ESP32: fix previous merge issues
      
      * platform: remove previous build options if file is missing
      
      "touch" would create the file if not present, but not delete its
      contents if a previous run left the file in the build dir.
      
      * platform: make debug_custom.json file customizable by board
      
      * platform: fix default debug prefix
      
      "debug.toolchain.prefix" must end with a dash, since only the tool name is
      appended to this string.
      
      The reason this is not a major issue is that the "debug_custom.json" file
      (copied in the sketch directory when debugging is enabled) forces its own
      prefix. And to make things more interesting, the "toolchainPrefix" entry
      in that file should _not_ end with a dash.
      
      * Nano ESP32: add debugging support
      7d1dd858
    • Luca Burelli's avatar
      Nano ESP32 file system option (#8566) · 58761beb
      Luca Burelli authored
      * io_pin_remap: additional bugfixes
      
      - FunctionalInterrupt.h: prevent macro expansion in declaration
      - io_pin_remap.h: fix remaining pin-remapped functions whose API
        allow a variable number of parameters
      
      * Nano ESP32: make GPIO matrix reset robust to pin mode choice
      
      * Nano ESP32: add backwards-compatible pin definitions
      
      * Nano ESP32: erase flash when running "Burn Bootloader"
      
      * Nano ESP32: add filesystem type selection
      58761beb
    • Luca Burelli's avatar
      Nano ESP32: add pin numbering option (#8565) · fd309493
      Luca Burelli authored
      * io_pin_remap: additional bugfixes
      
      - FunctionalInterrupt.h: prevent macro expansion in declaration
      - io_pin_remap.h: fix remaining pin-remapped functions whose API
        allow a variable number of parameters
      
      * Nano ESP32: make GPIO matrix reset robust to pin mode choice
      
      * Nano ESP32: add backwards-compatible pin definitions
      fd309493
    • Lucas Saavedra Vaz's avatar
    • Jan Prochazka's avatar
      fix attach pin for S3 · 1a209a0c
      Jan Prochazka authored
      1a209a0c
    • Luca Burelli's avatar
      io_pin_remap fixes for the Arduino Nano ESP32 (#8489) · d0635d00
      Luca Burelli authored
      * io_pin_remap: fix tone() function mapping declaration
      
      Since tone() can have either 2 or 3 parameters, pass any argument after the
      first to the actual function implementation.
      
      * io_pin_remap: add sanity checks to the core build
      
      Building with BOARD_HAS_PIN_REMAP but without setting ARDUINO_CORE_BUILD
      on core files is absolutely forbidden, as this would lead to multiple
      pin remappings being silently applied on the same numbers.
      
      Also advise the user when, on a board that has a custom pin mapping,
      - the core is being built without pin mapping support, or
      - the user explictly asked to use GPIO pin numbers.
      d0635d00