summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2021-02-05 23:00:02 +0700
committerGitHub <[email protected]>2021-02-05 23:00:02 +0700
commit7b62c71dd5ec42e61499d2d83902df9484842670 (patch)
treeead300f2f7e43df8c295eb5ebc2ceb4357198d9a
parent42dad78dbc9e906eddc560f9584ed4551f145240 (diff)
parent465ea7a66e35725d1b5ec7443d86afe27762b586 (diff)
Merge pull request #634 from hathach/release-0.8.00.8.0
Release 0.8.0
-rw-r--r--.github/workflows/build.yml17
-rw-r--r--changelog.md64
-rw-r--r--src/device/usbd.h1
-rw-r--r--src/tusb_option.h2
4 files changed, 83 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 74c48405c..567f31d54 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -77,6 +77,23 @@ jobs:
name: ${{ matrix.family }}-tinyusb-examples
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-board:
runs-on: ubuntu-latest
diff --git a/changelog.md b/changelog.md
index 6b17e1666..393ca24ca 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,69 @@
# 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
### Device Controller Driver
diff --git a/src/device/usbd.h b/src/device/usbd.h
index 360567743..b5f7dceba 100644
--- a/src/device/usbd.h
+++ b/src/device/usbd.h
@@ -57,6 +57,7 @@ extern void dcd_int_handler(uint8_t rhport);
tusb_speed_t tud_speed_get(void);
// 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);
// Check if device is connected and configured
diff --git a/src/tusb_option.h b/src/tusb_option.h
index a89c6db9d..5d5e50412 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -28,7 +28,7 @@
#define _TUSB_OPTION_H_
#define TUSB_VERSION_MAJOR 0
-#define TUSB_VERSION_MINOR 7
+#define TUSB_VERSION_MINOR 8
#define TUSB_VERSION_REVISION 0
#define TUSB_VERSION_STRING TU_STRING(TUSB_VERSION_MAJOR) "." TU_STRING(TUSB_VERSION_MINOR) "." TU_STRING(TUSB_VERSION_REVISION)