Browse Source

Merge pull request #634 from hathach/release-0.8.0

Release 0.8.0
Ha Thach 5 years ago
parent
commit
7b62c71dd5
4 changed files with 83 additions and 1 deletions
  1. 17 0
      .github/workflows/build.yml
  2. 64 0
      changelog.md
  3. 1 0
      src/device/usbd.h
  4. 1 1
      src/tusb_option.h

+ 17 - 0
.github/workflows/build.yml

@@ -77,6 +77,23 @@ jobs:
         name: ${{ matrix.family }}-tinyusb-examples
         name: ${{ matrix.family }}-tinyusb-examples
         path: _bin/
         path: _bin/
 
 
+    - name: Create Release Asset
+      if: ${{ github.event_name == 'release' }}
+      run: |
+        cd _bin/
+        zip -r ../${{ matrix.family }}-tinyusb-${{ github.event.release.tag_name }}-examples.zip *
+
+    - name: Upload Release Asset
+      uses: actions/upload-release-asset@v1
+      env:
+        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+      if: ${{ github.event_name == 'release' }}
+      with:
+        upload_url: ${{ github.event.release.upload_url }}
+        asset_path: ${{ matrix.family }}-tinyusb-${{ github.event.release.tag_name }}-examples.zip
+        asset_name: ${{ matrix.family }}-tinyusb-${{ github.event.release.tag_name }}-examples.zip
+        asset_content_type: application/zip
+
   # Build all no-family (opharned) boards
   # Build all no-family (opharned) boards
   build-board:
   build-board:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest

+ 64 - 0
changelog.md

@@ -1,5 +1,69 @@
 # TinyUSB Changelog
 # TinyUSB Changelog
 
 
+## 0.8.0 - 2021.02.05
+
+### Device Controller Driver
+
+- Added new device support for Raspberry Pi RP2040
+- Added new device support for NXP Kinetis KL25ZXX
+- Use dcd_event_bus_reset() with link speed to replace bus_signal
+- ESP32-S2:
+  - Add bus suspend and wakeup support
+- SAMD21:
+  - Fix (walkaround) samd21 setup_packet overflow by USB DMA
+- STM32 Synopsys:
+  - Rework USB FIFO allocation scheme and allow RX FIFO size reduction
+- Sony CXD56
+  - Update Update Spresense SDK to 2.0.2
+  - Fix dcd issues with setup packets
+  - Correct EP number for cdc_msc example
+
+### USB Device 
+
+**UBSD**
+
+- Rework usbd control transfer to have additional stage parameter for setup, data, status
+- Fix tusb_init() return true instead of TUSB_ERROR_NONE
+- Added new API tud_connected() that return true after device got out of bus reset and received the very first setup packet
+
+**Class Driver**
+
+- CDC
+  - Allow to transmit data, even if the host does not support control line states i.e set DTR
+- HID
+  - change default CFG_TUD_HID_EP_BUFSIZE from 16 to 64
+- MIDI
+  - Fix midi sysex sending bug
+- MSC
+  - Invoke only scsi complete callback after status transaction is complete.
+  - Fix scsi_mode_sense6_t padding, which cause IAR compiler internal error.
+- USBTMC
+  - Change interrupt endpoint example size to 8 instead of 2 for better compatibility with mcu 
+
+**Example**
+
+- Support make from windows cmd.exe 
+- Add HID Consumer Control (media keys) to hid_composite & hid_composite_freertos examples
+
+### USB Host
+
+No noticeable changes to host stack
+
+### New Boards
+
+- NXP/Freescale Freedom FRDM-KL25Z
+- Feather Double M33 express
+- Raspberry Pi Pico
+- Adafruit Feather RP2040
+- Adafruit Itsy Bitsy RP2040
+- Adafruit QT RP2040
+- Adfruit Feather ESP32-S2
+- Adafruit Magtag 29" Eink
+- Adafruit Metro ESP32-S2
+- Adafruit PyBadge
+- Adafruit PyPortal
+- Great Scott Gadgets' LUNA D11 & D21
+
 ## 0.7.0 - 2020.11.08
 ## 0.7.0 - 2020.11.08
 
 
 ### Device Controller Driver
 ### Device Controller Driver

+ 1 - 0
src/device/usbd.h

@@ -57,6 +57,7 @@ extern void dcd_int_handler(uint8_t rhport);
 tusb_speed_t tud_speed_get(void);
 tusb_speed_t tud_speed_get(void);
 
 
 // Check if device is connected (may not mounted/configured yet)
 // Check if device is connected (may not mounted/configured yet)
+// True if just got out of Bus Reset and received the very first data from host
 bool tud_connected(void);
 bool tud_connected(void);
 
 
 // Check if device is connected and configured
 // Check if device is connected and configured

+ 1 - 1
src/tusb_option.h

@@ -28,7 +28,7 @@
 #define _TUSB_OPTION_H_
 #define _TUSB_OPTION_H_
 
 
 #define TUSB_VERSION_MAJOR     0
 #define TUSB_VERSION_MAJOR     0
-#define TUSB_VERSION_MINOR     7
+#define TUSB_VERSION_MINOR     8
 #define TUSB_VERSION_REVISION  0
 #define TUSB_VERSION_REVISION  0
 #define TUSB_VERSION_STRING    TU_STRING(TUSB_VERSION_MAJOR) "." TU_STRING(TUSB_VERSION_MINOR) "." TU_STRING(TUSB_VERSION_REVISION)
 #define TUSB_VERSION_STRING    TU_STRING(TUSB_VERSION_MAJOR) "." TU_STRING(TUSB_VERSION_MINOR) "." TU_STRING(TUSB_VERSION_REVISION)