Skip to content

Commit

Permalink
Merge pull request #634 from hathach/release-0.8.0
Browse files Browse the repository at this point in the history
Release 0.8.0
  • Loading branch information
hathach committed Feb 5, 2021
2 parents 42dad78 + 465ea7a commit 7b62c71
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/workflows/build.yml
Expand Up @@ -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
Expand Down
64 changes: 64 additions & 0 deletions 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
Expand Down
1 change: 1 addition & 0 deletions src/device/usbd.h
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/tusb_option.h
Expand Up @@ -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)

Expand Down

0 comments on commit 7b62c71

Please sign in to comment.