summaryrefslogtreecommitdiff
path: root/src/portable
AgeCommit message (Collapse)Author
2022-07-12RP@040: rework CMake for compiler warningsgraham sanderson
2022-07-11Merge pull request #1543 from robert-hh/1170_0.13.0Ha Thach
mimxrt: Change the definitions for MIMXRT boards.
2022-07-11bump up mcux-sdk for rt11xx, add back OPT_MCU_MIMXRT11XXhathach
2022-07-01mimxrt: Change OPT_MCU_MIMXRT1xXX to OPT_MCU_MIMXRT.robert-hh
Which fits both MIMXRT10XX and MIMXRT11XX.
2022-06-30mimxrt: Add/change definitions for MIMXRT11XX boards.robert-hh
These are mostly identical to the MIMXRT10XX, with one tiny difference.
2022-06-30rp2040 enable SOF as resumed signal when remote wakeuphathach
2022-06-29Merge pull request #1539 from hathach/improve-ciHa Thach
Improve ci
2022-06-29fix buid_board.py scripthathach
2022-06-27samd: Fix a lock-up situation at high traffic.robert-hh
This PR fixes a transmit lock-up, which happens, when data is received and sent at the sime time at moderate to high speeds, like code which just echoes incoming data. In my case, an issue was reported here: https://github.com/micropython/micropython/issues/8521
2022-06-27use forloop to avoid -Warray-bounds with host setup packethathach
2022-06-27fix all warnings with host rp2040hathach
2022-06-24add more warning option, also fix -Wconversion with rp2040hathach
-Wuninitialized, -Wunused, -Wredundant-decls
2022-06-21Merge pull request #1509 from liamfraser/rp2040_hcd_improvementsHa Thach
RP2040 HCD Improvements (Hub + Keyboard + Mouse working)
2022-06-18Merge pull request #1515 from maddyaby/dcd_edpt_closeHa Thach
Stub out dcd_edpt_close for samd
2022-06-18Merge pull request #1518 from mingpepe/masterHa Thach
Fix typo for log format
2022-06-17rp2040: use shared IRQ handlers, so user can also hook the USB IRQgraham sanderson
2022-06-17Fix typo for log formatmingpepe
2022-06-16Stub out dcd_edpt_close for samdmaddyaby
Not having this prevents the device from finishing the mounting process. Tested on a SAMD51 and didn't seem to need to actually do anything in the close function.
2022-06-16rp2040: make moving 1K of code into RAM optional - and off by defaultgraham sanderson
2022-06-13hcd_rp2040 improvements:Liam Fraser
- Stall now has priority over other interrupt responses - Delete eunused hcd_edpt_busy - Assert !ep->active when trying to start a new xfer - Assert !ep->active when handling buff_status bits - Set ep->xferred_len to 8 once a setup packet is finished so the data structure is accurate
2022-06-08make all hcd/dcd function used in isr into ram with ↵hathach
__no_inline_not_in_flash_func() for faster irq handling result is 1KB of code moved from rom -> ram
2022-06-08add tuh_configure() for port/dynamic host behavior confighathach
2022-06-07Merge pull request #1495 from hathach/enhance-tusb-configHa Thach
Better support multiple controllers configuration
2022-06-06Merge pull request #1481 from cr1901/msp430-misopt-fixHa Thach
msp430x5xx: Add fix for possible bug in msp430-elf-gcc 9.3.0.
2022-06-06more ci fixhathach
2022-06-06fix ci, remove use of CFG_TUSB_RHPORT0_MODE in bsphathach
2022-06-04update all dwc2 ports to support new dynamic controller supporthathach
2022-06-03make dwc2 stm32 rhport support dynamichathach
2022-06-01rename board specific macro for examplehathach
- BOARD_DEVICE/HOST_RHPORT_NUM to BOARD_TUD/H_RHPORT - BOARD_DEVICE/HOST_RHPORT_SPEED to BOARD_TUD/H_MAX_SPEED
2022-06-01Merge pull request #1454 from Iktek/bugfix_1453Ha Thach
overwrite grstctl on edpt_disable
2022-06-01grstctl set fifo + flush in one assignhathach
2022-06-01Merge pull request #1438 from Nikitarc/masterHa Thach
Update dwc2_stm32.h
2022-05-31Merge pull request #1381 from hathach/add-sof-isrHa Thach
Add SOF IRQ Handler
2022-05-30msp430x5xx: Add fix for possible bug in msp430-elf-gcc 9.3.0.William D. Jones
2022-05-26Merge pull request #1467 from kilograham/rp2040_cleanupHa Thach
Minor cleanup of RP2040 code post addition of Pico-PIO-USB
2022-05-24Merge pull request #1451 from kasjer/kasjer/pic32-sanity-fixesHa Thach
pic32 sanity fixes
2022-05-20Minor cleanup of RP2040 code post addition of Pico-PIO_USBgraham sanderson
* Removed some compiler warnings, and cleaned out unnecessary warning suppression from CMake suppress_tinyusb_warnings() * Made explicit family_configure_dual_usb_example() for DUAL mode examples as family_configure_target() may not generally be called multiple times for the same target * Renamed library pico_pio_usb to tinyusb_picio_pio_usb to be clearer and avoid conflict if someone already has a pico_pio_usb in their project * Added family_add_pico_pio_usb() method for adding Pico-PIO_SUB support to an existing example * Allowed tinyusb_pico_pio_usb to be added to regular apps using the Pico SDK
2022-05-10clean uphathach
2022-05-03overwrite grstctl on edpt_disablePascal Speck
2022-05-01dcd_pic32: Fix memory overwrite in incoming dataJerzy Kasenberg
When transfer was finished rx_fifo_read() read all that was to read RXPKTRDY was cleared allowing next packet to be received. Then xfer_complete was called. Interrupt for OUT endpoint was left enable, that would not be a problem if data was handled fast and new transfer was scheduled. For MSC when host sends a lot of data this interrupt that was enabled could cause epn_handle_rx_int() to be called after transfer was completed and next was not scheduled yet. Without TU_ASSERT that was added to detect this, incoming data was written past buffer provided by user code resulting in random memory corruption. This just blocks RX interrupt when transfer is finished, and also only unmasked rx interrupts are handled.
2022-05-01dcd_pic32: Add asserts transfer sanity checkJerzy Kasenberg
TU_ASSERTS added to detect transfer inconsistency.
2022-04-28more clean uphathach
2022-04-27clean uphathach
2022-04-26minor clean uphathach
2022-04-26improve pio usb endpoint handlerhathach
2022-04-26follow pio usb changeshathach
2022-04-22more with pio usbhathach
2022-04-22keep up with pio usbhathach
2022-04-21Merge branch 'master' into pio-hosthathach
2022-04-20Update dwc2_stm32.hNikitarc
Add missing #endif