Commit Graph

1060 Commits

Author SHA1 Message Date
Yunhao Tian 527036b1f5 Initialize MMU if we are executing from DDR 2021-12-08 13:39:27 +08:00
hathach cd76193f3c try updating clock configure for g4 nucleo (not work yet) 2021-12-08 10:37:46 +07:00
Yunhao Tian 43621ab9ed Update README 2021-12-07 22:58:19 +08:00
Yunhao Tian 75f7fb3d9d Add mksunxi tool to make flashable image 2021-12-07 22:53:52 +08:00
Ha Thach cde824f17f
Merge pull request #1222 from scoudreau/swo_logger
Remove unused-parameter errors when LOGGER=swo
2021-12-07 19:53:27 +07:00
hathach 8e0400d531 change uart baudrate for tm4c123 to 115200 2021-12-07 16:28:24 +07:00
hathach 03835c8183 move hcd_musb.c include to family.mk 2021-12-07 16:27:48 +07:00
Yunhao Tian 28fb51c180 Add TODO to README 2021-12-04 18:08:23 +08:00
Yunhao Tian 68ca62dfd7 Add BSP support for F1C100s 2021-12-04 18:02:07 +08:00
Ha Thach 6ecd93eb60
Merge branch 'master' into add_hcd_for_msp_exp432e401y 2021-12-03 00:30:09 +07:00
hathach 83dc3e25f0 more work to abstract chipidea driver 2021-12-01 23:30:09 +07:00
hathach 61a9e125db more ci abstract 2021-12-01 23:19:17 +07:00
Sebastien COUDREAU c9d9bfab92 Remove unused-parameter errors when LOGGER=SWO 2021-12-01 17:10:31 +01:00
hathach 0612433eef add chipidea highspeed controller
add warning to transdimension for the rename
2021-12-01 12:14:44 +07:00
kkitayam b3dddc77eb Add initialization sequence as a HOST 2021-11-29 00:40:23 +09:00
Gordon McNab edf3f35016 Update ft90x-sdk
Update submodule for FT90X SDK to point to the v2.5.0 release code currently in main.
2021-11-22 12:38:04 +00:00
Gordon McNab ba76b2e339 Add submodule for ft90x SDK
Add Bridgetek FT90x SDK as submodule.
2021-11-22 10:33:07 +00:00
hathach 8a18c22c2f
add BCM_VERSION 2021-11-22 10:59:22 +07:00
hathach 21787ecdd3
update bcm prph 2021-11-22 10:52:53 +07:00
hathach 17ef1503c8
move tm4c132 into bsp family, add it into ci 2021-11-08 17:37:21 +07:00
hathach f65917f51a
rename to simply OPT_MCU_MSP432E4, add msp432e to ci 2021-11-08 17:29:26 +07:00
hathach 6fea50f735 musb work well with tm4c123 2021-11-08 16:41:29 +07:00
hathach 91646d039c add flash-openocd target. correct ek-tm4c123 button state 2021-11-08 16:41:29 +07:00
hathach 23e6e0ef33 merge pull request 670 for tm4c123gxl bsp 2021-11-08 16:41:29 +07:00
kkitayam dd7eb36830 Remove unnecessary lines 2021-11-06 23:10:11 +09:00
kkitayam 30d3bf8bec Update TI driver 2021-11-06 23:05:27 +09:00
kkitayam 23ef8b2c64 Change the variables for a switch and a LED to symbols defined by the macros 2021-11-06 19:32:15 +09:00
kkitayam e4520e7aa7 Add statements for FreeRTOS 2021-11-06 00:06:27 +09:00
kkitayam 50ca0dda2c Add dcd_musb.c 2021-11-06 00:06:26 +09:00
kkitayam f183d0810b Add files for msp432e4 2021-11-06 00:06:26 +09:00
hathach 3fc3e400b0
add xmc4000 to ci build 2021-11-05 13:23:31 +07:00
hathach d87a897a7b
xmc4500 ported, cdc msc example run fine 2021-11-05 13:13:21 +07:00
hathach d9cf49cbfd
add xmclib as submodule 2021-11-05 12:00:27 +07:00
hathach a3fc107d94
xmc4500 led blinky, button ok 2021-11-05 11:57:36 +07:00
hathach 310f287f44 couldn't get g4 usb clock and pin setup just yet. Leave it as it is for now 2021-11-04 17:52:55 +07:00
hathach f90f5ea369 adding g4 family with g474nucleo, able to blink led and button 2021-11-04 16:16:51 +07:00
hathach 8b3708b44f rename l4 board to match other convention 2021-11-04 13:57:03 +07:00
Ha Thach fc59515bfd
Merge pull request #1163 from hathach/generalize-synopsys-dwc2
Generalize synopsys dwc2
2021-11-04 13:41:25 +07:00
hathach 4a8ac71711 Add timer1 on pi4 for blinky
this get usb irq triggered even without ISB() in previous commit
2021-11-04 12:31:16 +07:00
hathach 0faff5a859 update broadcom peripherals to latest 2021-11-03 13:13:08 +07:00
hathach e16506cb52 clean up 2021-11-03 12:24:10 +07:00
hathach 0e733ae14b
add pi4 to ci build in build_aarch64 2021-11-02 21:46:23 +07:00
hathach 1046786acf change broadcom submodule path from git to http 2021-11-02 18:17:59 +07:00
hathach 7e68894726 grouping stm32L4 family in bsp 2021-11-02 16:10:40 +07:00
hathach aa682d7301 add fix for stm32l4 (version 3.10a) which generate transfer complete when setup recieved and control out data complete 2021-11-02 13:52:30 +07:00
Jean Gressmann 5fb16a8f2c samd21: enable SysTick only if running w/o OS 2021-11-01 18:01:18 +01:00
Jean Gressmann ba34f420db Adds support for Adafruit Trinket M0 2021-10-31 12:34:53 +01:00
hathach 4ea8f1441d correct freertos port for efm32gg 2021-10-31 00:19:17 +07:00
hathach 215e0595ab change F207 to use new dwc2 2021-10-31 00:09:40 +07:00
hathach 9cd5a87c64 add support for EFM32GG
merge GG12 GG12 to simply OPT_MCU_EFM32GG
2021-10-30 20:42:55 +07:00
Matt Johnston 19a26729b0 Add Adafruit QT Py board
Straight copy of itsybitsy_m0/ with MCU changed to
ATSAMD21E18

LED and button are disabled.
LED is a neopixel so could be added later.
2021-10-29 18:00:23 +08:00
Matt Johnston 8e95b807f7 samd21: Make LED_PIN and BUTTON_PIN optional
Some boards don't have them, just ignore
2021-10-29 13:49:15 +08:00
hathach 7def380058 support bcm2711 on pi4, enhance dcd init with utmi and ulpi hs phy 2021-10-28 12:52:18 +07:00
Gordon McNab 6a658007a5 Changes to use ft90x-sdk as submodule or installed SDK from toolchain. 2021-10-27 12:30:51 +01:00
hathach 07829510e7 Merge branch 'tannewt-rpi' into generalize-synopsys-dwc2 2021-10-26 23:43:35 +07:00
hathach bb5dab5c2e add hw config struct 2021-10-26 22:48:01 +07:00
hathach 4ccf60954d
moving esp32s2 to dwc2, abstract dwc2_set_turnaround() 2021-10-25 15:51:41 +07:00
hathach 32742571da
switch gd32 and stm32f4 to use new dwc2 driver 2021-10-25 00:06:57 +07:00
hathach 06de6b725c
adding generalized dwc2 driver 2021-10-24 23:24:46 +07:00
Ha Thach 311c05b401
Merge branch 'master' into fix-warnings 2021-10-23 21:23:56 +07:00
Scott Shawcroft 2ef200003d
Update broadcom library 2021-10-22 09:31:24 -07:00
Scott Shawcroft 35b62810c3
Update submodule 2021-10-22 09:00:42 -07:00
hathach 826b34a8ac enable -Wnull-dereference 2021-10-18 00:13:40 +07:00
hathach 31cd366935 more -Wcast-qual 2021-10-17 17:32:03 +07:00
hathach a5f516893b more with -Wcast-qual 2021-10-17 16:36:53 +07:00
hathach 0b249618b0 fix -Wcast-qual 2021-10-15 23:54:31 +07:00
hathach 7596cb3079 update some sense warning from -Wconversion 2021-10-15 15:54:32 +07:00
graham sanderson 06d9555389 More warning cleanup
- physically suppress warnings in TinyUSB headers using pragmas so they don't break -Werror compilation of external files that include them
 - fix compiler warnings in rp2040 port
 - add cmake method to rp2040 port to allow an external project to suppress warnings in TinyUSB itself
2021-10-14 15:23:26 -05:00
Scott Shawcroft 4ab14867da
Trying to get USB init 2021-10-12 16:47:53 -07:00
Ha Thach b26cc2cc46
Add linkermap for size analysis (#1136)
* add NO_LTO option to make
* add linkermap submodule and linkermap target
* add linkermap to ci build
* linkermap doesn't work with esp32sx map file yet
* add note for linkermap target
2021-10-13 00:57:45 +07:00
Ha Thach 379537cb6d
Merge branch 'master' into add_uvc 2021-10-12 22:01:02 +07:00
kkitayam b6d09ca761 Add compile option to allocate video data into flash in video_capture example 2021-10-09 23:02:18 +09:00
kkitayam a3a18c9ed3 Change the video image to scrolling color bars. 2021-10-09 19:51:51 +09:00
Gordon McNab 5e6edecaa3 Streamline settings for board. 2021-10-07 17:00:28 +01:00
Gordon McNab 8c40a74f29 Sort out board settings. 2021-10-06 17:13:44 +01:00
Gordon McNab 9966b8a5d6 Change author in header to Bridgetek Pte Ltd. 2021-10-06 16:54:52 +01:00
Gordon McNab 37c5eeb51d Rename directories to indicate that FT930 and FT900 devices are both covered by the same SDK and src/portable code. Board makefile includes __FT900__ macro for FT90x and __FT930__ macro for boards with FT93x. 2021-10-06 16:50:55 +01:00
Scott Shawcroft 98ab8117d6
USB seems to init ok 2021-10-05 18:20:44 -07:00
Gordon McNab 62c613f6d2 Add initial port for FT9xx series from Bridgetek.
Add FT90X and FT93X to the list of devices in tusb_option.h. 1700 for FT90x and 1701 for FT93x.
Set endpoint attributes for FT90x and FT93x in dcd_attr.h.
Add FT90x routines for USB device in src/portable/bridgetek/ft90x/dcd_ft90x.c
The location for hardware header files and libraries is hw/mcu/bridgetek/ft90x/hardware. There are no files in the repository, but files will be linked as a submodule in the future. The required files can be copied from or linked to the location "C:/Program Files(x86)/Bridgetek/FT9xx Toolchain/Toolchain/hardware" once the toolchain is installed.
Makefile for the MM900EV1B board for developing with an FT900 device is present. Use "BOARD=mm900ev1b".
2021-10-05 13:54:47 +01:00
hathach a867d87072
rename CFG_TUD_NET to CFG_TUD_ECM_RNDIS 2021-10-05 16:00:07 +07:00
hathach 31cfd5a684 Merge branch 'add_ncm' of https://github.com/majbthrd/tinyusb into majbthrd-add_ncm 2021-10-05 11:39:32 +07:00
Scott Shawcroft 0932d502c7
remove bcm files 2021-09-30 14:50:38 -07:00
kkitayam a1788da410 Add video class entry to rp2040 building scripts 2021-09-30 22:14:29 +09:00
hathach 103309b88b
Merge branch 'master' of github.com:hathach/tinyusb into zhangslice-master
examples/device/hid_composite_freertos/src/FreeRTOSConfig/FreeRTOSConfig.h
2021-09-29 15:27:41 +07:00
hathach 3eeb79be4f
update mm32sdk submodule 2021-09-29 15:20:14 +07:00
hathach 7af57e41b5
add submodule hathach/mm32sdk 2021-09-29 14:58:47 +07:00
hathach bbb68ffefb
remove official mm32sdk submodule 2021-09-29 14:55:20 +07:00
Hans Baier 196a0da813 add support for the QMTech ATMSAME70N19A board 2021-09-27 06:13:07 +07:00
Peter Lawrence 03d7988df3 add NCM driver in a compatible manner : hathach/tinyusb#550 2021-09-25 17:05:58 -05:00
hathach 73872a5df0 add CFG_TUSB_OS_INC_PATH for os include path
useful for freertos/ prefix with esp IDF
2021-09-25 16:16:55 +07:00
Scott Shawcroft 0a6ca65e3f
MMU works 2021-09-24 16:14:01 -07:00
Jerzy Kasenberg 417677aae4 da14695_dk_usb: Fix button configuration
Unlike da1469x_dk_pro, K1 pin (6) is connected to VCC when
active.
This adds required pull down and reverses active logic state.
2021-09-23 12:52:32 +02:00
Jerzy Kasenberg dd2a518881 da1469x_dk_pro: Fix button setup
Button on board has 1k resistor to ground when pressed.
When not pressed pin 6 is floating.

This forces MCU pull-up for this pin for correct behavior.
2021-09-23 12:00:28 +02:00
Scott Shawcroft 829f92d00f
Trying to setup the mmu 2021-09-22 15:19:02 -07:00
Ha Thach 3e569f8e79
Merge pull request #1094 from kasjer/kasjer/da146xx-vbus-handling
dcd_da146xx: Add VBUS handling
2021-09-18 23:12:40 +07:00
hathach 3333703d25 Merge branch 'master' into zhangslice-master 2021-09-18 13:35:26 +07:00
Scott Shawcroft 2499c9382d
rpi start. doesn't work 2021-09-17 16:51:34 -07:00
Jerzy Kasenberg a71ac71d7f da1469x_dk_xxx: Add VBUS handling
Two BSPs with DA146xx MCUs are now adopted to
VBUS handling changed introduced to dcd_da146xx driver.

da14695_dk_usb as bus-powered devices informs driver that
VBUS is present at startup.

da1469x-dk-pro has VBUS change interrupt handler that
informs driver about VBUS changes.
2021-09-17 12:20:57 +02:00
kkitayam 46bb821753 Add J1-19 pin setting as a button 2021-09-15 21:32:53 +09:00
kkitayam ecbe8c3376 Change default LED state to off 2021-09-15 21:32:53 +09:00