summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-04-28add aligned(4) for cdc_line_coding_thathach
2023-04-27cdc: fix line_coding aligmentJean-Baptiste Theou
While calling tud_cdc_n_get_line_coding, the structure is copied into the destination. Dump of assembler code for function tud_cdc_n_get_line_coding: 0x000193f4 <+0>: mov.w r2, #2112 @ 0x840 0x000193f8 <+4>: ldr r3, [pc, #20] @ (0x19410 <tud_cdc_n_get_line_coding+28>) 0x000193fa <+6>: mla r0, r2, r0, r3 => 0x000193fe <+10>: ldr.w r3, [r0, #6] 0x00019402 <+14>: str r3, [r1, #0] On some platform (tested on LPC55S28), the address needs to be 4-bytes aligned. Without this, the address is (gdb) p &_cdcd_itf.line_coding $3 = (cdc_line_coding_t *) 0x40100006 <_cdcd_itf+6> which leads to a HardFault. With this fix (gdb) p &_cdcd_itf.line_coding $5 = (cdc_line_coding_t *) 0x40100008 <_cdcd_itf+8> and the function can be called properly Signed-off-by: Jean-Baptiste Theou <[email protected]>
2023-04-28Merge pull request #2046 from hathach/add-usb2uart-host-driverHa Thach
Add usb2uart serial host driver
2023-04-27add tuh_cdc_set_baudrate()hathach
2023-04-27add code to calculate divisor from baudrate for ftdihathach
2023-04-27clean uphathach
2023-04-27forgot to add cp210x headerhathach
2023-04-27more refactorhathach
2023-04-27cp210x seems to work wellhathach
2023-04-27more host serial refactorhathach
2023-04-27refactor acm functionhathach
2023-04-27refactor ftdi driverhathach
2023-04-27rename ftdi_host to ftdi_siohathach
2023-04-26enable CDC FTDIhathach
2023-04-26hacky, but ftdi work with hard code baudrate = 9600hathach
2023-04-26fix pio vbus typohathach
2023-04-26Merge pull request #2043 from hathach/fix-nxp-buildHa Thach
fix build with nxp since mcux-sdk from 2.13.0 remove CMSIS folder
2023-04-26fix build with nxp since mcux-sdk from 2.13.0 remove CMSIS folderhathach
2023-04-24Merge pull request #2040 from hathach/update-imxrt-depsHa Thach
bump up imxrt mcux-sdk to 2.13.1
2023-04-24bump up imxrt mcux-sdk to 2.13.1 commit f357a1150f6cf6c6b844f53f2d426bfb3e649850hathach
2023-04-24Merge pull request #2013 from tannewt/imx_1042Ha Thach
Handle iMX RT 1042 usb naming
2023-04-24Merge pull request #2039 from hathach/add-cmake-buildHa Thach
Add cmake build
2023-04-24add wip notehathach
2023-04-24minor updatehathach
2023-04-21build all freertos, not able to build net lwip due to lack of sio_open()hathach
2023-04-21update freeRTOS kernel to latest for library cmakehathach
add per family freeRTOSConfig.h also make changes to build with freertos_kernel cmake - hard coded configPRIO_BITS based on family - change configSUPPORT_STATIC_ALLOCATION to 0, configSUPPORT_DYNAMIC_ALLOCATION to 1 - enable configRECORD_STACK_HIGH_ADDRESS for tracing - enable INCLUDE_xTaskGetCurrentTaskHandle which is required to compile stream_buffer (although we don't use it).
2023-04-21update most examples cmake to build with imxrthathach
2023-04-21example run well with cmake for imxrthathach
2023-04-21Merge pull request #2024 from jfedor2/sie_ctrl_fixHa Thach
[rp2040] Make writes to SIE_CTRL aware of concurrent access
2023-04-20[rp2040] Make writes to SIE_CTRL aware of concurrent accessJacek Fedorynski
This commit makes it so that when setting the START_TRANS bit in the SIE_CTRL register, along with some other bits, we first set all the other bits, then wait some cycles, and then set the START_TRANS bit. Doing so protects against a situation where the USB controller is reading the register at the same time and gets an incorrect value. This mirrors the procedure already applied to buffer control registers.
2023-04-20clean uphathach
2023-04-20board test running with cmakehathach
2023-04-20adding cmake build for imxrt1010hathach
2023-04-19Merge pull request #2033 from ReimuNotMoe/masterHa Thach
Fix compatibility with the latest Microchip XC16 compiler
2023-04-18Merge branch 'hathach:master' into masterReimu NotMoe
2023-04-18Use __GNUC__ macro to determine if __has_attribute is supportedReimu NotMoe
2023-04-18Merge pull request #1920 from mikee47/fix/midi-definitionHa Thach
MIDI_CIN_NOTE_ON definition transposed with MIDI_CIN_NOTE_OFF
2023-04-17Cleanup unnecessary code for 16bit access.Mengsk
2023-04-17Implement TU_BSWAP{16,32} correctly for Microchip XC16Reimu NotMoe
2023-04-17Fix compatibility with the latest Microchip XC16 compilerReimu NotMoe
2023-04-14Update porting.rstslc-tl
Adds more in depth documentation of how tud_task does not need to be polled in implementations that use an RTOS / scheduler.
2023-04-14Fix FIFO transfer and buffer alignment.HiFiPhile
2023-04-14Fix GCC build.HiFiPhile
2023-04-14Merge pull request #2025 from dauc/masterHiFiPhile
Fix spelling configuraiton->configuration
2023-04-14Fix CIHiFiPhile
2023-04-14Use PLL clock.HiFiPhile
2023-04-14Add stm32g0b1nucleo BSP.HiFiPhile
2023-04-14Update lib & template.HiFiPhile
2023-04-14Fix spelling configuraiton->configurationDevin Auclair
2023-04-14Merge branch 'master' of https://github.com/hathach/tinyusb into pr1942HiFiPhile