1. 04 Sep, 2024 5 commits
  2. 03 Sep, 2024 2 commits
    • Angus Gratton's avatar
      esp32: Add MICROPY_HW_USB_CDC macro for native USB-CDC serial. · 5e692d04
      Angus Gratton authored
      This fixes issue of ESP32-S3 switching its config over to USB serial/JTAG
      instead of native USB.
      
      The the existing logic was hard to follow, adding this config macro makes
      it easier to see which USB is in use and to have board definitions that
      enable/disable different USB levels.
      
      This commit also drops (nominal) support for manually setting
      CONFIG_ESP_CONSOLE_USB_CDC in sdkconfig. No included board configs use this
      and it didn't seem to work (if secondary console was set to the default USB
      Serial/JTAG then there is no serial output on any port, and if secondary
      console was set to None then linking fails.) Can be re-added if there's a
      use case for it.
      
      This work was funded through GitHub Sponsors.
      Signed-off-by: default avatarAngus Gratton <angus@redyak.com.au>
      5e692d04
    • Angus Gratton's avatar
      esp32: Fix ESP32-C3 USB serial/jtag peripheral pre-IDF 5.1. · 6ad6297e
      Angus Gratton authored
      Regression in 0a11832c in IDF 5.0.x where macro
      CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG_ENABLED is not defined.
      
      With this patch, ESP32-S3 still USB Serial/JTAG incorrectly (now on all
      ESP-IDF versions).
      
      Closes #15701
      
      This work was funded through GitHub Sponsors.
      Signed-off-by: default avatarAngus Gratton <angus@redyak.com.au>
      6ad6297e
  3. 02 Sep, 2024 6 commits
  4. 29 Aug, 2024 26 commits
  5. 28 Aug, 2024 1 commit