summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-22Add basic UAC2 structure - untestedReinhard Panhuber
2020-05-21Merge pull request #416 from hathach/fix-nrf-called-within-criticalHa Thach
fix nrf hanged (blocking wait) when called within critical section
2020-05-21fix nrf hanged (blocking wait) when called within critical sectionhathach
2020-05-20Merge pull request #414 from hathach/add-queue-is-emptyHa Thach
added tud_task_event_ready()
2020-05-20fix freeRTOS logichathach
2020-05-20remove queue lock/unlock per reviewhathach
2020-05-20remove osal_queue_t const qhdl from osal APIhathach
since it doesn't make any differences.
2020-05-20added tud_task_event_ready()hathach
to check if there is pending events in the tud task without executing it. Useful to check before entering low power mode with WFI/WFE
2020-05-20added osal_queue_empty() APIhathach
ported for osal none/freertos/mynewt
2020-05-18Merge pull request #411 from hathach/fix-cast-align-warningHa Thach
enable -Wcast-align
2020-05-18fix cast-align warning for nuc505hathach
2020-05-17temporariyly suppress cast-align warning for net_device and net examplehathach
2020-05-17enable -Wcast-alignhathach
suppress vendor sdk driver at board.mk
2020-05-15Merge pull request #406 from k0d/stm32f746nucleoHa Thach
Add support for stm32f746nucleo board
2020-05-15Add support for stm32f746nucleo boardMark Olsson
2020-05-14Merge pull request #405 from hathach/follow-pr404Ha Thach
Follow pr404
2020-05-14add test for fifo sizehathach
2020-05-14refactor copy to and from fifohathach
2020-05-14add unit test for fifo write_n and read_nhathach
2020-05-14Merge pull request #404 from HiFiPhile/tusb_fifoHa Thach
Optimize tusb_fifo transfer speed.
2020-05-13Optimize FIFO for byte transfer.Mengsk
Signed-off-by: Mengsk <[email protected]>
2020-05-12Merge pull request #390 from hathach/detect-nrf-softdeviceHa Thach
detect if SD is actually present on the flash using SD magic
2020-05-09Update bug_report.mdHa Thach
2020-05-08Merge pull request #398 from HiFiPhile/iarHa Thach
Add IAR EWARM compiler attribute and endian support.
2020-05-08Add IAR compiler attribute and endian support.Mengsk
2020-05-08Merge pull request #395 from hathach/define-log-printfHa Thach
add CFG_TUSB_DEBUG_PRINTF() for log retargeting
2020-05-08add CFG_TUSB_DEBUG_PRINTF() for log retargetinghathach
2020-05-08Merge pull request #393 from xobs/fix-debug-warningHa Thach
device: fix build warning when CFG_TUSB_DEBUG >= 2
2020-05-07device: fix build warning when CFG_TUSB_DEBUG >= 2Sean Cross
The function is defined inside of a function body which generates a warning. Circuit Python treats these warnings as errors, and so refuses to build with debugging enabled: ../../lib/tinyusb/src/device/usbd_control.c: In function 'usbd_control_xfer_cb': ../../lib/tinyusb/src/device/usbd_control.c:195:19: error: nested extern declaration of 'usbd_driver_print_control_complete_name' [-Werror=nested-externs] 195 | extern void usbd_driver_print_control_complete_name(bool (*control_complete) (uint8_t, tusb_control_request_t const *)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make: *** [../../py/mkrules.mk:55: build-simmel/lib/tinyusb/src/device/usbd_control.o] Error 1 Move the declaration to the top of the function to silence this warning. Signed-off-by: Sean Cross <[email protected]>
2020-05-07Merge pull request #391 from kasjer/kasjer/stm32l476disco-clock-configurationHa Thach
stm32l476disco clock configuration
2020-05-07Merge pull request #392 from kasjer/kasjer/change-package-type-to-sdkHa Thach
Change mynewt package type to sdk
2020-05-07Change mynewt package type to sdkJerzy Kasenberg
For normal mynewt packages newt tool wants to have specific folder structure. It wants to have src and include directories, and only include (and arch related) directory is added to compiler include search list. Since TinyUSB has different folder structure newt tool will not add anything to -I directives and those would need to be specified as pkg.cflags: "-I@tinyusb/src" Recent change to newt tool allowed to add specific include directories for external (sdk) packages so just including package will add necessary -I to build commands. This commit changes package type to sdk and specifies src as include root for TinyUSB. For older newt tool adding sdk and include_dirs does not break build.
2020-05-06stm32l476disco: Fix system clock setupJerzy Kasenberg
Code suggested that PLL with MSI is used resulting in 80MHz clock. When in fact PLL was not configured and system clock was left at MSI 48MHz. This happens because PLL configuration requires that SysTick interrupt has interrupt priority level configured correctly. As it seems ST code intentionally setups variable uwTickPrio to invalid value and later when it is not setup by user code configuration of oscillator will fail before PLL is configured. This simple changes systick priority to some valid value that allows clock to use PLL.
2020-05-06stm32l476disco: fix uninitialized filed usageJerzy Kasenberg
Field PLLState was not initialized in RCC_OscInitStruct.PLL in function SystemClock_Config(). Value is used in HAL_RCC_OscConfig() regardless of oscillator. In lucky case value would be 0 RCC_PLL_NONE and nothing would happen. If value was incorrect following line would end up in assert: assert_param(IS_RCC_PLL(RCC_OscInitStruct->PLL.PLLState)); If value was valid but no RCC_PLL_NONE pll could be configured with some other random values. Setting PLLState to RCC_PLL_NONE eliminates potential problem.
2020-05-05detect if SD is actually present on the flash using SD magichathach
even with SOFTDEVICE_PRESENT defined, SD may not be present on actual flash.
2020-05-04Merge pull request #387 from duempel/redesign_transmit_synopsysHa Thach
Redesign of Synopsys device transmission
2020-05-04clean upJan Dümpelmann
renaming function and variables changing indent size
2020-05-02Merge pull request #389 from hathach/fix-samgHa Thach
Fix SAMG
2020-05-02minor update net examplehathach
samg failed to run net example
2020-05-02abstract all UDP_CSRhathach
2020-05-02clean uphathach
2020-05-02fix EP0 data toggle issuehathach
2020-05-02remove toggle walkaround, fix control stall race conditionhathach
2020-04-30Merge pull request #388 from hathach/fix-samd-setup-raceHa Thach
fix dcd samd race condition with setup packet
2020-04-30fix dcd samd race condition with setup packethathach
setup packet can complete together with previous status (in & out). Always make sure to prepare valid buffer for holding setup packet when queuing control status.
2020-04-29Changed switch into if statementsJan Dümpelmann
2020-04-29Redesign of Synopsys device transmissionJan Dümpelmann
Changes: - checking if tx buffer empty interrupt is masked - process more than one packet in isr - mask tx buffer empty just after all bytes were written - use of transmit_fifo_packet instead of transmit_packet
2020-04-29Merge pull request #386 from hathach/follow-383Ha Thach
Follow 383
2020-04-29fix ci board test with esp32hathach
2020-04-29remove the use of TU_VERIFY_HDLRhathach