summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-16fix esp ci build with IDF version 5hathach
2022-01-16Merge pull request #1235 from vmilea/feature/feedback_formatHa Thach
Support disabling feedback format correction #1234
2022-01-16update format correction with actual bus speedhathach
2022-01-14nrf5x: Fix EP OUT race conditionsJerzy Kasenberg
When dcd_edpt_xfer() starts new transfer two separate problems were observed. For both problems stream of OUT packets was pouring from host. First problem was that total_len and actual_len were not atomic. In case where incoming OUT packets are less (63) than MPS (64), actual_len and total_len are set 63. Then transfer complete from USBD is called that will schedule next 64 bytes transfer. At that point incoming packet would start DMA if there is place in RAM, normally it does not happen since actual_len == total_len. If packets arrives and interrupt is raised after total_len is set (64) but actual_len is still 63 from previous transfer, interrupt code sees that there is place in ram (1 byte) and transfer this 1 byte to buffer that was already filled with previous packet. To remedy this USB interrupt is blocked during transfer setup. Second problem can happen when dcd_edpt_xfer setups xfer->total_len and actual_len correctly but then context switch happens before xfer->data_received is checked. If during this time two packets arrive one will be copied to RAM second will stay in endpoint with data_received set to 1. Then when xfer_edpt_xfer() checks data_receive flag it starts DMA again overwriting data. To remedy this, data_received is checked together with check if data was already transferred. If transfer was complete, there is no need to start DMA yet. In such case data_received will be handled in same place by next xfer_edpt_xfer() correctly.
2022-01-13Fix family_support.cmake to use new skip.txt and only.txt files for skipping ↵Liam Fraser
mcus
2022-01-13Fix dwFrameIntervalStep and dwMaxFrameIntervalkkitayam
dwMaxFrameInterval minus dwMinFrameInterval should be evenly divisible by dwFrameIntervalStep.
2022-01-07Add BSPs for Microchip PIC32MZ MCUsJerzy Kasenberg
Two boards from Olimex are added: olimex_hmz144 with PIC32MZ2048EFM144 olimex_emz64.c with PIC32MZ2048EFH064 Both can be programmed with Segger JLINK probe using ICSP interface. (JTAG not tested but could also work but header is not mounted).
2022-01-07Add driver for PIC32MZ MCUsJerzy Kasenberg
Device-only driver for PIC32MZ MCUs.
2022-01-07Merge branch 'master' into feature/feedback_formatValentin Milea
2022-01-07Disable feedback format correction by default #1234Valentin Milea
2022-01-06Update README.rstMan, Jianting (Meco)
2022-01-06Merge pull request #1272 from EmergReanimator/cortex-m33Ha Thach
Enable breakpoints for ARM8M (e.g. cortex-m33)
2022-01-06Enable breakpoints for ARM8M (e.g. cortex-m33)EmergReanimator
2022-01-06Merge pull request #1271 from tannewt/rpi_zeroHa Thach
Add Raspberry Pi Zero W and Zero 2 W
2022-01-05Skip dfu and usbtmc on pi zeroScott Shawcroft
2022-01-05No exceptions on broadcom. Add parens to ifScott Shawcroft
2022-01-05Unify skip and only logic for build scriptsScott Shawcroft
And switch to a single file that can include mcu, family or board.
2022-01-05Skip net and freertos examplesScott Shawcroft
2022-01-05Split by compiler for testingScott Shawcroft
2022-01-05Add Raspberry Pi Zero W and Zero 2 WScott Shawcroft
These are different Broadcom chips. The peripherals are essentially the same. The main differences are: * The CPU(s) * The interrupt controller * The peripheral base address (but not the peripherals that we use)
2022-01-02[rt-thread] add rt-thread os in readmeMeco Man
2021-12-31Add register file for Microchip PIC32MZJerzy Kasenberg
2021-12-31Merge pull request #1264 from kasjer/kasjer/make-files-for-xc32Ha Thach
build system: Changes for xc32 compiler
2021-12-30Merge pull request #1263 from kasjer/kasjer/mynewt-eptriHa Thach
Fix Mynewt build for Microchip PIC32MZ devices.
2021-12-30fix unreachable warnings with keilhathach
2021-12-29update docshathach
2021-12-29add license to dcd file, slightly update readmehathach
2021-12-29skip freertos example for f1c100shathach
2021-12-29update allwinner submodulehathach
2021-12-29add allwinnner driver as submodulehathach
2021-12-29Merge branch 'master' of https://github.com/t123yh/tinyusb into t123yh-masterhathach
2021-12-27Fix hcd_edpt_clear_stallkkitayam
2021-12-27Update Renesas RX statuskkitayam
2021-12-27Add statements for control VBUSkkitayam
2021-12-27Increase stack sizekkitayam
2021-12-27Add hcd for Renesas RXkkitayam
2021-12-27Fix Mynewt build for Microchip PIC32MZ devices.Jerzy Kasenberg
definition of DEBUG breaks Microchip pic32 builds for Mynewt. When MCU is not VALENTYUSB_EPTRI there is no need to have any preprocessor definitions. It may not look like a big deal but for xc32 builds, compiler automatically force-includes some file that have structure with field name DEBUG that result in build error in dcd_eptri.c when this file is not really needed. Moving DEBUG and LOG_USB few lines down should not break eptri builds.
2021-12-27build system: Changes for xc32 compilerJerzy Kasenberg
Three changes are needed to accommodate xc32 compiler build: - optimized build flag other than -Os added CFLAGS_OPTIMIZED that defaults to -Os but can be overridden in boards - build without -lnosys added LIBS_GCC with default libraries that can be changed in boards - build without LD_FILE specification if LD_FILE is empty -Wl,-T options is not added to LDFLAGS
2021-12-23Merge pull request #1260 from leptun/patch-1Ha Thach
Fix typo
2021-12-22Fix typoAlex Voinea
Oops. Made a typo in 6de423606fc9d512efb830b198c76f095a182a1c
2021-12-22Merge pull request #1258 from leptun/nucleo-f439ziHa Thach
nucleo-f439zi support
2021-12-21nucleo-f439zi supportAlex Voinea
2021-12-21Merge pull request #1255 from hathach/add-s3-devkitmHa Thach
Add s3 devkitm & devkitc
2021-12-21add s3 devkitchathach
2021-12-21skip ci for s3hathach
2021-12-20change ci to s3 to espressif_s3_devkitmhathach
2021-12-20add s3 devkitmhathach
2021-12-20Merge pull request #1252 from mkj/staticuartHa Thach
samd21: make uart_init() static
2021-12-20samd21: make uart_init() staticMatt Johnston
Avoids a linker conflict if programs are using the same function name.
2021-12-16Merge pull request #1244 from nxf58843/feature-kuiicHa Thach
Feature kuiic