Commit Graph

783 Commits

Author SHA1 Message Date
hathach 4b2714acb2 clean up 2021-01-13 16:50:28 +07:00
hathach 75c58e08e5 add f746nucleo to group f7 2021-01-13 16:41:00 +07:00
hathach 6eba383009 add f746disco into f7 group 2021-01-13 16:34:42 +07:00
hathach 39d2c219b5 add stlinkv3mini to f7 group 2021-01-13 15:52:54 +07:00
hathach fecad9bab4 add stm32f769disco into f7 family 2021-01-13 14:17:15 +07:00
hathach e252fade2c add f767nucleo to stm32f7 group 2021-01-13 13:46:21 +07:00
hathach 55566bb188 adding stm32f7 family 2021-01-13 13:20:09 +07:00
kkitayam fc69dd70cf Changed some source file paths for SRC_C to relative paths.
Added statements to validate GCCVERSION on Windows Command Prompt.
2021-01-12 01:02:17 +09:00
Greg Steiert f4300afb1c moving sct neopixel driver to shared library 2021-01-10 18:31:40 +00:00
Greg Steiert 5ca7c285f5 moved neopixel to its own files with additional features 2021-01-10 05:17:49 +00:00
Greg Steiert 0f11858b0e working neopixel minor refactor 2021-01-03 23:26:54 +00:00
Greg Steiert 33f0d4b314 working neopixel 2021-01-03 23:01:18 +00:00
Greg Steiert f44c588dd7 8 state implementation, still not working 2021-01-03 18:53:55 +00:00
Greg Steiert 7f98d11454 24 state implementation, only upsdates first LED 2021-01-03 18:31:45 +00:00
Greg Steiert 06642910f4 neopixel driver one byte at a time non-func 2021-01-03 18:11:13 +00:00
Greg Steiert 56acdf67ba adding double_m33_express board 2021-01-02 22:53:15 +00:00
hathach 3951a940fd update readme, contributor and doc for new port KL25
update nxp_driver
2020-12-25 23:10:57 +07:00
kkitayam 2bbfc56bd8 added support for frdm_kl25z 2020-12-18 00:07:50 +09:00
hathach e9e3000ff9 clean up 2020-11-30 09:41:01 +07:00
hathach 0dd78aa916 group all stm32f4 boards 2020-11-29 22:48:21 +07:00
hathach daf9d06c0e move teensy 4.0 to imxrt 2020-11-29 20:44:35 +07:00
hathach 2dec21f81b complete grouping imxrt boards 2020-11-29 20:41:30 +07:00
hathach 89205438c2 move xiao to samd21 group 2020-11-29 17:09:53 +07:00
hathach a6c7467fd3 grouping samd51 boards 2020-11-28 12:10:29 +07:00
hathach a3fff24fbc group more nrf board 2020-11-28 11:54:53 +07:00
hathach 50977eef0e grouping more samd21 boards 2020-11-28 11:45:24 +07:00
hathach fac9151c73 grouping samd21 2020-11-28 11:11:55 +07:00
hathach 630692d81b move all nrf boards into its family group 2020-11-28 10:48:44 +07:00
hathach f0ffe7b984 group more nrf52840 boards 2020-11-28 01:06:10 +07:00
hathach 658194ccc4 group more nrf boards 2020-11-28 00:45:44 +07:00
hathach 4130c50b01 grouping nrf boards 2020-11-28 00:16:28 +07:00
hathach b572983cc8 group esp32s2 board into its group 2020-11-27 22:31:47 +07:00
hathach 496c7c701a fix ci 2020-11-09 01:23:19 +07:00
hathach 7ab3da1e03 same70 xplained uart via edbg work with board_test 2020-11-09 01:01:05 +07:00
hathach 89b92b54a7 same70 xplained led and button works wiht board_test example 2020-11-09 00:13:56 +07:00
hathach 5456afa8ee update microchipo driver submodule 2020-11-08 18:09:53 +07:00
Ha Thach a708ab6254
Merge pull request #553 from hathach/host-async-control
Host async control
2020-11-07 10:52:14 +07:00
hathach 958a4e1b5d use same51 driver to adafruit asf4 submodule 2020-11-02 15:44:12 +07:00
hathach 1e7af854c2 remove st_driver submodule 2020-10-30 14:21:29 +07:00
hathach a6efe475e7 use cmsis 5 for all stm32 2020-10-30 14:14:28 +07:00
hathach 6e7f2064cf add more stm mcu 2020-10-30 14:05:01 +07:00
hathach 3b890d2391 l4 use offical st driver repo 2020-10-30 14:01:05 +07:00
hathach ac231d7b2d l0 use offical st driver repo 2020-10-30 13:40:20 +07:00
hathach 3659d8e89a h7 use offical st driver repo 2020-10-30 13:28:14 +07:00
hathach b9ca7e91df f7 use offical st driver repo 2020-10-30 13:20:09 +07:00
hathach 1e02f6e066 f3 use offical st driver repo 2020-10-30 13:11:23 +07:00
hathach bbcf2d7e01 f2 use offical st driver repo 2020-10-30 13:01:01 +07:00
hathach 8850ea90b4 f1 use offical st driver repo 2020-10-30 12:55:54 +07:00
hathach 092f7baec0 random clean up 2020-10-30 12:49:43 +07:00
hathach 41a36b1256 f0 use offical st driver repo 2020-10-30 12:48:34 +07:00
hathach e4eb2de401 f4 use offical st driver repo 2020-10-30 12:15:04 +07:00
Peter Lawrence 042ca2375e bsp: atsamd21_xpro: removed no longer needed workaround 2020-10-14 09:15:26 -05:00
Peter Lawrence e10358bfab bsp: add ATSAMD21-XPRO eval board 2020-10-11 12:06:15 -05:00
hathach b5d4c8185d Merge branch 'master' into host-async-control 2020-10-11 16:22:12 +07:00
Ha Thach 80c509a0f3
Merge pull request #520 from salkinium/feature/misc_enhancements
STM32F3 IRQ remap option and some minor improvements
2020-10-11 14:55:06 +07:00
Niklas Hauser 7fda95f508 Remap USB IRQs on STM32F303 BSP 2020-10-11 09:27:43 +02:00
hathach b8e7e2b7c9 update microchip driver
also skip audio_test for same5x for now due to assert() macro conflict
2020-10-11 13:33:06 +07:00
hathach 89bf4fa04c Merge branch 'master' into house-keeping 2020-10-09 13:49:05 +07:00
hathach 344d589a35 use pyocd for iMXRT boards 2020-10-09 13:48:08 +07:00
Ha Thach 6f8d0d2c34
Merge pull request #531 from majbthrd/mimxrt1010stack
mimxrt1010_evk: double stack size to allow net_lwip_webserver to run
2020-10-09 00:48:08 +07:00
hathach e8b3af038e add flash-pyocd support 2020-10-08 17:19:48 +07:00
hathach ec018fbf4e clean up jlink default interface 2020-10-08 17:17:37 +07:00
Ha Thach 30c23719f6
Merge pull request #528 from jgressmann/port-atsame51-to-tinyusb
Adds files for the open source D5035-01 hardware
2020-10-08 13:46:41 +07:00
Peter Lawrence ed94e944c9 mimxrt1010_evk: double stack size to allow net_lwip_webserver to run 2020-10-07 13:15:58 -05:00
Jean Gressmann 3295b5692b D5035-01 bsp: fix typo 2020-10-07 19:27:55 +02:00
Jean Gressmann f02b5bfdfa Address various issues raised by TinyUSB maintainers
- remove OPT_MCU_SAME51 in favor of OPT_MCU_SAME5X and working around
  differences in the Atmel bsp locally in the D5035-01 bsp.

- rename board folder to d5035_01 for consistency with other boards
2020-10-07 19:19:30 +02:00
hathach d407341d1e fix usb pin config with idf latest 2020-10-07 19:15:53 +07:00
Jean Gressmann f92fe1e23e D5035-01: more natural Makefile variable use 2020-10-06 17:39:36 +02:00
Jean Gressmann 1730a5dcba D5035-01 bsp: fix paths, default to hw rev 1 (automated build) 2020-10-05 20:30:04 +02:00
Jean Gressmann 862f6ac81e Update Microchip submodule commit 2020-10-05 20:17:27 +02:00
Jean Gressmann 61aacf07d6 Adds files for the open source D5035-01 hardware
The board's files are here:

	https://github.com/RudolphRiedel/USB_CAN-FD
2020-10-05 18:35:35 +02:00
hathach 15ad585e67 replacing hcd_pipe_xfer by usbh_edpt_xfer 2020-09-06 11:49:00 +07:00
hathach 10d5dac913 update doc 2020-09-04 11:20:09 +07:00
hathach 4ecedc70c8 fix vector assign 2020-09-03 23:48:56 +07:00
hathach 1d83ad0ebb rename tuh_isr/hcd_isr to tuh_int_handler/hcd_int_handler 2020-09-03 13:12:25 +07:00
hathach 1cee2da7b9 revert to use __USE_LPCOPEN
properly init fpu on LPC M4
2020-09-03 12:58:09 +07:00
hathach c7d2d0ae29 ohci work, tested with lpc1769 2020-09-02 01:40:04 +07:00
hathach 52b5748e8d fix ci build 2020-09-02 00:56:43 +07:00
hathach c492aef4c7 revert to use float-abi
define __USE_CMSIS instead of __USE_LPCOPEN will have startup enable FPU
on startup properly. Although it is only relevant to lpx43/40 series,
change all to __USE_CMSIS for consistency
2020-09-02 00:46:08 +07:00
hathach 84425c50b3 add more logging to host stack
tested host with lpc4357, don't use fpu with lpc m4 since it seems to
cause hardfault (stack does not make use of fpu anyway).
2020-09-01 19:16:50 +07:00
hathach f4e3c6fd8e clean up 2020-09-01 17:12:31 +07:00
hathach be708bb8a4 Merge branch 'master' into update-host 2020-09-01 12:02:25 +07:00
hathach 7a443d6bea add itsybitsy nrf52840 board support 2020-08-27 16:40:24 +07:00
hathach 9d3a9cf546 add OPT_MCU_SAMD11
skip ci build for example that need more ROM/RAM could fit into SAMD11
2020-08-22 18:46:19 +07:00
Katherine Temkin 91f7ce9769 add support for SAMD11 devices / add samd11_xplained board 2020-08-21 13:15:07 -06:00
hathach 76fe8ac612 fix samg55 ci build 2020-08-21 12:19:38 +07:00
hathach 0407cfe16c fix samd21 race condition with setup packet
reproduced with Adafruit_TinyUSB_ArduinoCore port commit 11d669b4d2a40eb2fc5e51b2a9707a6de9d42363 and SAMD BSP 1.6.1
2020-07-23 01:39:15 +07:00
Ha Thach 798fad397a
Merge pull request #464 from hathach/improve-highspeed
Better support highspeed mode
2020-07-19 13:24:57 +07:00
hathach dc00f0cae1
update link speed detection for nuc505 2020-07-16 20:44:06 +07:00
Kate Temkin 9181ce55fb add BSP for Great Scott Gadgets' LUNA boards (SAMD21) 2020-07-14 21:51:31 -06:00
hathach 0fd074afd8
change REDUCE_SPEED=0/1 to explicitly SPEED=high/full
update readme, boards.md to add link to new stm boards
2020-07-08 16:29:48 +07:00
Uwe Bonnes 8f433e67ac Add stm32l4r5nucleo. USB and UARTwork.
USB runs from LSE stabilized MSI48
LPUART on PORTG needs VDDIO2 enabled.
2020-07-03 16:34:08 +02:00
Uwe Bonnes 11c6d4cdae stlinkv3mini: Only OTG_HS has connector. 2020-07-03 10:59:02 +02:00
Uwe Bonnes 5c24d5ca72 stm32h745disco: HAL_PWREx_EnableUSBVoltageDetector() is needed for hot replug. 2020-07-03 10:53:51 +02:00
Uwe Bonnes 4b7539bd63 stm32h745disco: Only OTG_FS is available. Does not enumerate on replug yet. 2020-07-03 10:53:51 +02:00
Uwe Bonnes fd38178189 STM32/OTG_HS: Allow OTG_HS port to run at FS speed.
Add "REDUCE_SPEED=1" to the compile options.
2020-07-03 10:52:57 +02:00
hathach 4cec866994
correct HSE_VALUE in hal_conf
- although it is define in CFLAGS, it is worth to correct to be
consistent with other build
- extract set_speed()
2020-07-02 14:57:00 +07:00
hathach 9a290febcd
change default port some stm bsp
- f769disco default port is highspeed port1
- remove PORT0 on stlink since the board only populated HS connector
2020-07-02 11:58:40 +07:00
hathach c2289777f7 Merge branch 'add-stm-hs' of github.com:hathach/tinyusb into add-stm-hs 2020-07-01 23:53:33 +07:00
Uwe Bonnes 5b3a67a1e2 Add bsp for stlinkv3mini. 2020-07-01 15:42:53 +02:00
hathach 77315ba7ce added uart for h743 2020-07-01 18:27:48 +07:00
hathach a512a31c9d Merge branch 'master' into add-stm-hs 2020-07-01 17:58:02 +07:00
Ha Thach 530b0099a5
Merge pull request #439 from UweBonnes/add-stm-hs
Add stm hs
2020-07-01 13:09:07 +07:00
hathach 463e978134 added DA14695 DK USB bsp 2020-07-01 12:47:14 +07:00
hathach 2f946e765d rename file 2020-07-01 12:42:12 +07:00
hathach 0477446224 more clean up 2020-06-30 16:31:59 +07:00
hathach f3a88477dc revert rhport config in nxp mcus 2020-06-30 16:18:43 +07:00
Uwe Bonnes 30a18e2605 stm32f723disco: USB HS enumerates. 2020-06-30 11:07:53 +02:00
Uwe Bonnes f6660c39a1 Add Stm32F7xxdisco board support files
Status with examples/device/cdc_msc:
- make BOARD=stm32f723disco        => OK
- make BOARD=stm32f723disco PORT=1 => No Reaction
- make BOARD=stm32f746disco        => OK
- make BOARD=stm32f746disco PORT=1 => Hangs during enumeration
- make BOARD=stm32f769disco        => Hangs during enumeration
2020-06-30 11:02:38 +02:00
Uwe Bonnes 4b7f848e1f stm32h743nucleo: Enable Log via STLINK-VCP. 2020-06-30 11:01:44 +02:00
hathach ab75998316 Merge branch 'master' into add-stm-hs 2020-06-30 01:55:57 +07:00
Ha Thach 05996aee64
Merge pull request #427 from kasjer/kasjer/add-da1469x-support
Support for DA1469x MCU from Dialog Semiconductor
2020-06-30 01:20:56 +07:00
Ha Thach 2b9466dbc0
Merge pull request #445 from hathach/add-kaluga-bsp
added esp32s2 kaluga bsp
2020-06-29 19:16:09 +07:00
hathach 2dff40236c add kaluga files 2020-06-29 18:40:23 +07:00
hathach 50b569ad1b added esp32s2 kaluga bsp 2020-06-29 16:52:08 +07:00
Jerzy Kasenberg 8e143fc962 Add board support for Dialog DA1469x-dk-pro
This adds source files that allow to run TinyUSB stack on DA1469x-dk-pro board.
Source files .c .S and .ld are taken from Apache Mynewt repository.
Those files were stripped to allow starting board without Mynewt os.
2020-06-29 11:02:32 +02:00
Czeslaw Makarski 7c94176b4b Update NRFX to v2.2.0 2020-06-24 15:07:28 +02:00
hathach 667eaa6dd6 fix stm32h743 priority with freeRTOS 2020-06-16 00:03:52 +07:00
hathach 0bfa839ac0 clean up, update other example config 2020-06-15 23:06:17 +07:00
hathach a347de6e50 revert CFG_TUSB_RHPORT0_MODE to previous way 2020-06-14 18:28:45 +07:00
Jerzy Kasenberg 56f3898ced Add Dialog DA1469x register definition file
Register definition file along with some MCU headers was taken
from Dialog SDK for DA1469x MCUs.
Those files are needed for USB port.
2020-06-09 12:55:28 +02:00
hathach e92118635c adding speed detect on bus reset 2020-06-01 13:40:18 +07:00
hathach 5ffba8536d able to detect as hs 2020-05-31 19:41:22 +07:00
hathach e0490ae786 fix idf usb pin init changes 2020-05-29 13:06:33 +07:00
hathach 227bffe04b adding h743 uart, but not enabled yet since it conflict with OTG_FS2 2020-05-27 01:14:52 +07:00
hathach 0482f0d686 update h743eval with rhport=1 highspeed 2020-05-26 22:15:00 +07:00
hathach fad088719e merge CFG_TUSB_RHPORT1_MODE into CFG_TUSB_RHPORT0_MODE
each port is 1 byte for easy maintenance
2020-05-26 15:21:23 +07:00
hathach 62a746bdc7 wip 2020-05-26 12:18:36 +07:00
hathach ba9c774a2a board test work fine 2020-05-23 13:29:30 +07:00
hathach 4c01099a3d update makefile to build with ohci host
update ses project for lpc1769 with rtt
2020-05-22 20:57:52 +07:00
hathach f308990ab5 Merge branch 'master' into update-host 2020-05-22 15:28:22 +07:00
hathach 58cedf4c06 usb0 host on mcb1800 work with fullspeed mode.
use usbh_edpt_open() to correctly map ep2drv[]
2020-05-19 00:55:43 +07:00
hathach 550746097b fix cast-align warning for nuc505 2020-05-18 13:03:41 +07:00
hathach 1a8ce043ed enable -Wcast-align
suppress vendor sdk driver at board.mk
2020-05-17 14:24:15 +07:00
Mark Olsson 3c43009278 Add support for stm32f746nucleo board 2020-05-15 10:23:01 +02:00
Jerzy Kasenberg 615369a6eb stm32l476disco: Fix system clock setup
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-06 15:13:55 +02:00
Jerzy Kasenberg d9e534f6f2 stm32l476disco: fix uninitialized filed usage
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-06 14:25:46 +02:00
hathach 905a80d1b2 temporarily remove osal_task_delay() from osal
- add hcd_uframe_number() API, update EHCI to return uframe number
- get host running on ea4357
2020-05-04 14:11:58 +07:00
hathach 4a3a448340 clean up things, add makefile for host example 2020-05-04 00:29:52 +07:00
hathach 9538ca7d74 add uart for mcb1800 2020-05-03 14:50:12 +07:00
hathach 94fed7db0e fix esp32 ci adding FREERTOS STATIC to sdkconfig default 2020-04-29 11:31:04 +07:00
hathach 7acdcc2ebc Merge branch 'master' into add-more-example 2020-04-22 19:50:23 +07:00
hathach 1fc7f54a8a
added swo as logger
tested with feather nrf52840 + jlink
2020-04-22 19:18:03 +07:00
hathach afc4042375 add LOGGER option to use rtt
update example readme for debug log. Update bug template to ask for LOG
as well.
2020-04-22 17:08:41 +07:00
hathach e4570c35f7 add uart for ea4357 2020-04-20 00:27:35 +07:00
Ha Thach 1f69807621
Merge pull request #354 from hathach/cxd56-disconnect-connect
Cxd56 disconnect connect
2020-04-17 13:12:47 +07:00
hathach 50be9d7c3a
mass rename tud/dcd_irq_handler to tud/dcd_init_handler 2020-04-17 12:27:53 +07:00
hathach 89f99426fc
add code for disconnect/connect (not tested) 2020-04-17 11:48:49 +07:00
hathach 989cca5b1a
update per review 2020-04-17 09:29:02 +07:00
hathach bb2669fbc0
add dfu generate target for fomu 2020-04-16 22:24:48 +07:00