Commit Graph

1116 Commits

Author SHA1 Message Date
hathach 71a1f57ccd generalize lpc54 family 2021-04-28 21:34:26 +07:00
hathach 9a6552c4b3 fix build with lpc54 2021-04-28 20:02:17 +07:00
hathach fcedb2eecb fix lpc55 build 2021-04-28 19:53:31 +07:00
hathach 810057bdb2 fix build with imxrt 2021-04-28 19:30:23 +07:00
hathach af0db342df update lpc mcu sdk path 2021-04-28 18:30:19 +07:00
hathach aaa8c9928c add official nxp mcux-sdk submodule 2021-04-28 18:26:04 +07:00
hathach e115e08728 add nxp_lpcopen as submodule 2021-04-28 18:11:49 +07:00
hathach 62c5fa1056 remove submodule hw/mcu/nxp 2021-04-28 18:07:26 +07:00
hathach 3da76ae449 making new family lpc54 2021-04-28 16:13:43 +07:00
hathach c1c4b2f6bf complete lpc15 family 2021-04-28 15:16:36 +07:00
hathach bbc6d4f9e8 create new lpc15 family 2021-04-28 15:10:31 +07:00
hathach 6882a7af3b lpc1549 work well now 2021-04-28 14:53:46 +07:00
hathach b5339caa17 clean up lpc55 boards 2021-04-26 21:40:58 +07:00
hathach f4475ea85b change lpc55s28 default port to 1 2021-04-26 21:26:13 +07:00
Ha Thach 7abafbb1bd
Merge pull request #807 from UweBonnes/lpc55-port1-hs
mcu-link: Board support for MCU-LINK with LPC55S69JBD64
2021-04-26 20:28:47 +07:00
hathach ba90a8cb79 use correct NBYTES_MAX for full and high speed 2021-04-26 20:22:40 +07:00
Uwe Bonnes fd7337fe04 mcu_link: Board support for MCU_LINK with LPC55S69JBD64 2021-04-26 10:26:46 +02:00
hathach 8ebdf2b097 ip3511 correct buffer offset, nbytes layout for highspeed port1
able to get passed enumeration and up to READ10
2021-04-26 14:43:58 +07:00
hathach b15d126d59 lpc55 improve multiple controller support
port1 highspeed requires USB_RAM
2021-04-24 13:36:05 +07:00
hathach 7089df2088 lpc55 correct bus_reset with highspeed on support controller
correct hsphy init for family
2021-04-24 12:19:13 +07:00
hathach 8642c2045c update dcd ip3511 for better multiple rhport support 2021-04-24 10:44:14 +07:00
hathach 5c5d4b189f add lpc55 uart write 2021-04-22 19:24:19 +07:00
hathach a2be6c1472 correct boot stage2 for itsybitsy and qt rp2040 2021-04-19 14:03:29 +07:00
Ha Thach 01801c881b
Merge pull request #783 from alisitsyn/esp-based_on_334e95f
WIP: Add new Espressif target esp32s3 for tinyUSB
2021-04-19 13:01:50 +07:00
hathach faae19f560 update ci build 2021-04-18 15:44:50 +07:00
hathach 0517377dcb add stm32f072eval to group 2021-04-18 15:44:34 +07:00
hathach 4c8750badb add f070 nucleo to group 2021-04-18 14:26:07 +07:00
hathach a5b406da51 create stm32f0 group 2021-04-18 13:24:34 +07:00
Dima Barsky 9fceed39fc When used with FreeRTOS, lower the interrupt priority for OTG_FS_IRQn 2021-04-17 23:43:03 +01:00
hathach 38cc459c93 Merge branch 'master' into alisitsyn-esp-based_on_334e95f 2021-04-18 01:30:19 +07:00
Dima Barsky 70c89da7ba Change LED_STATE_ON to 0 for f401 and f411 blackpill boards 2021-04-16 15:51:19 +01:00
Alex Lisitsyn f5e02e72ed espressif: group boards using target name as a family
`hw\bsp` separate one family folder to esp32s2, esp32s3
add board specific board.cmake file to override board specific options(features)
fix examples and test scripts to use new family approach
2021-04-16 15:41:42 +02:00
Alex Lisitsyn 2f0cb8b5f1 tinyusb: add support of esp32s3 target
add support of new esp32s3 target and the board
update the roles.mk wrapper to allow dfu flashing of espressif chip
update examples to allow compilation for esp32s3_addax_1 board
once the code is tested the PR to original tinyusb repo will be submitted
2021-04-16 13:38:00 +02:00
Dima Barsky 62a0d5b42d Changed LED_PIN to 17, LED_STATE_ON to 0 2021-04-15 16:12:19 +01:00
hathach c8bb0020ea update rp2040 to use pico-sdk externally
also try to update ci
2021-04-11 13:37:07 +07:00
hathach bebc910447 remove pico-sdk as submodule 2021-04-11 13:19:51 +07:00
Joey Castillo 7c8b4991f1 Add support for SAM L22 family 2021-04-09 17:33:14 -04:00
Rafael Silva 65a04f02b6 add sltb009a bsp
Signed-off-by: Rafael Silva <silvagracarafael@gmail.com>
2021-03-31 23:45:33 +01:00
kkitayam ff2978d95f added comments for JLink connection work. 2021-03-31 22:15:03 +09:00
kkitayam 25057022e3 add a submodule of Renesas RX family to `hw/mcu/renesas/rx` 2021-03-31 21:53:15 +09:00
kkitayam 74c8887c8e removed a submodule for Renesas 2021-03-31 21:50:53 +09:00
hathach 5a0c594c71 move rx63n into its own family 2021-03-29 23:54:44 +07:00
kkitayam 30687daf9b added a submodule dependency 2021-03-28 16:45:53 +09:00
kkitayam 0e0f9a8da3 added a submodule for RX63N 2021-03-28 00:46:08 +09:00
kkitayam 0b76a2da88 added a setting for RX63X 2021-03-28 00:34:29 +09:00
kkitayam 5f4e6dafc5 added short-enums into CFLAGS 2021-03-28 00:10:53 +09:00
kkitayam 4c832a9195 Set newlib as the default library 2021-03-27 22:21:47 +09:00
kkitayam eab214e07c added settings for LWIP and FreeRTOS 2021-03-27 19:12:34 +09:00
kkitayam e48b2c681e fixed definitions for stack areas 2021-03-27 16:00:56 +09:00
kkitayam f8cf88f918 update for gr_citurs 2021-03-26 19:32:39 +09:00
kkitayam 18be454011 added board files 2021-03-26 19:30:53 +09:00
Rafael Silva fb661a99bd added efm32gg12 family cmsis
Signed-off-by: Rafael Silva <silvagracarafael@gmail.com>
2021-03-23 19:00:50 +00:00
Rafael Silva 143582870c add efm32gg12 family
Signed-off-by: Rafael Silva <silvagracarafael@gmail.com>
2021-03-23 18:59:21 +00:00
Jean Gressmann 8e6f298aa1 Merge upstream TinyUSB master 2021-03-21 09:53:57 +01:00
Jean Gressmann 1f9b7b0c48 SAM54 Xplained Pro: update board setup documentation 2021-03-21 09:48:49 +01:00
Jean Gressmann 1a5a113655 SAM54 Xplained Pro: reduce board setup code for maintenance
The board now runs off the internal oscillator at 48 MHz.
This is sufficient to run the TinyUSB examples.

A better performing clock setup is keep in the file as init_clock_xtal()
as an example.
2021-03-21 09:43:29 +01:00
Jean Gressmann a2006ce214 SAM 54 Xplained Pro: remove board specific define 2021-03-21 09:38:02 +01:00
Ned Konz 5e74a7b548 Fixed case in linker script name 2021-03-19 12:27:44 -07:00
Ned Konz 2f6f931553 Removed asserts 2021-03-19 12:12:09 -07:00
Ned Konz aa54135087 Initial commit; copied from stmf072-disco and modified for -EVAL board 2021-03-19 10:57:58 -07:00
hathach 249852d25c use boot2_generic_03h for adafruit feather rp2040
- also use boot2_generic_03h for now for itsy bitsy and qt rp2040
- change default flash target for rp2040 to flash-pyocd
2021-03-18 19:53:39 +07:00
hathach 253430a765 add example specific DEPS_SUBMODULES 2021-03-18 16:28:44 +07:00
hathach b221cedf80 spaces 2021-03-17 21:36:52 +07:00
hathach 2307fc3023 move esp32s2 and rp2040 target rule to its family.mk 2021-03-17 20:13:22 +07:00
hathach ed8f117dd1 explicitly add dcd source file without vendor/family 2021-03-17 16:52:07 +07:00
Jean Gressmann 01ec0d49ca SAM E54 XPlained Pro: use proper defines SPI->USART for board init 2021-03-13 14:51:16 +01:00
Jean Gressmann bcf9c8cb27 SAM E54 XPlained Pro: free up DPLL1 for application 2021-03-13 14:50:55 +01:00
Ha Thach 1cdd1b0209
Update pico sdk 1.1.0 (#712)
* update pico-sdk to 1.1.0
also correct fetch_submodule_if_empty behavior
2021-03-10 13:26:14 +07:00
hathach 7afe1d9e16 clean up
some how lpc55 ci cannot build without pre-checkout lib/sct_neopixel
2021-03-05 22:49:29 +07:00
hathach ca6abea97d nrf add lib/CMSIS_5 to DEPS_SUBMODULES 2021-03-05 22:30:03 +07:00
hathach 7d877e286a update DEPS_SUBMODULES to optimize ci 2021-03-05 22:24:03 +07:00
hathach 590d8d4d5c rename FAMILY_SUBMODULES to DEPS_SUBMODULES 2021-03-04 22:53:02 +07:00
hathach b846ded487 merge no-family example build
specify FAMILY_SUBMODULES for all boards
2021-03-04 22:50:45 +07:00
hathach 8cabbb28df fix enum walkaround forever check for SE0 when pull up is disabled 2021-03-04 18:36:18 +07:00
hathach 16f501a14e clean up 2021-03-03 20:25:44 +07:00
hathach 5d226ee733 add h745disco to family group 2021-03-03 20:22:55 +07:00
hathach 5799c471f1 group h743eval and h743nucleo into stm32h7
tested and work well
2021-03-03 20:07:17 +07:00
hathach e1966f8d91 mcb1800 and lpc18s37 work well with both device and host demo 2021-03-03 17:29:30 +07:00
hathach 0dc1a3d3af add lpc18 family 2021-03-03 16:03:21 +07:00
hathach d91979cfef rp2040 able to get log with rtt
add note for segger rtt block search range
2021-03-02 23:18:44 +07:00
hathach ce942baad2 update pico-sdk to more recent commit
- move target_link_libraries() to family.cmake
- enable pico_bootsel_via_double_reset
2021-03-02 22:57:33 +07:00
Ha Thach 559ff80643
Merge pull request #684 from hathach/rp2040-host-example
add rp2040 to host example build
2021-03-02 13:03:52 +07:00
hathach b066fdc2c6 move fomu to its own family, update ci with build risv 2021-03-02 12:24:12 +07:00
hathach 71313d934d update ci for msp430 family 2021-03-02 11:50:57 +07:00
hathach a2366fce53 move msp430 into family 2021-03-02 11:08:44 +07:00
hathach c34b6b2324 remove lib/CMSIS_4 submodule, move nrf to lib/CMSIS_5 2021-03-02 01:18:34 +07:00
hathach 76b4b3f827 fix ci build for same board 2021-03-01 21:54:57 +07:00
hathach 26d9897551 update microchip_driver 2021-03-01 21:24:11 +07:00
hathach 9bc921b342 update family submodule
temporarily disable other orphaned and esp32s2 build
2021-03-01 20:48:30 +07:00
hathach c222f6f111 try to fetch needed mcu submodule while running make 2021-03-01 20:25:55 +07:00
hathach e9059b5d84 added lpcxpresso 55s28 2021-03-01 12:31:31 +07:00
hathach 2e42858537 move lpc55 into its own family 2021-03-01 00:39:48 +07:00
Jean Gressmann 7d9cddccd2 SAM E54 Xplained Pro: applies reviewer feedback 2021-02-28 08:14:17 +01:00
Jean Gressmann d2575009a1 SAM 54 Xplained Pro: fix inverted logic for board led 2021-02-28 06:19:25 +01:00
hathach fa8c7bc334
fix indent 2021-02-26 14:08:57 +07:00
hathach f6b48c07fc
add rp2040 to host example build 2021-02-26 14:05:08 +07:00
hathach 1dbbfdfe45 clean up 2021-02-24 12:34:23 +07:00
hathach ebc6253bd4 rt1011 msc host work 2021-02-23 10:20:11 +07:00
hathach de95585258 nxp tdi: hcd_init() reset and set host mode 2021-02-23 01:27:52 +07:00
Jean Gressmann 16c8f75637 Adds support for Microchip SAM E54 Xplained Pro 2021-02-20 16:00:27 +01:00
Ha Thach be9f86ca9e
Merge pull request #660 from hathach/fix-typo-midi-write24
Fix typo midi write24
2021-02-19 11:22:21 +07:00
hathach c245305f72 update adafruit rp2040 board define 2021-02-19 10:50:50 +07:00
Andrew Scheller 2145ab7664
rp2040/family.c: allow LED_PIN to be undefined 2021-02-18 11:53:18 +00:00
tfx2001 1b678eccf5 add basic support for rt-thread 2021-02-08 20:46:49 +08:00
Katherine Temkin 2997e78da3 bsp: rename SAMD21 LUNA variant to luna_d21
We now have SAMD21 and SAMD11 variants of LUNA; so we'll rename the
existing LUNA BSP to be more specific / reflect its version.
2021-02-03 13:35:07 -07:00
Katherine Temkin 6f02e5f1f8 add BSP for SAMD11 variant of Great Scott Gadgets' LUNA boards (SAMD11) 2021-02-03 13:33:40 -07:00
hathach b739c5a837 added pyportal 2021-02-03 13:19:34 +07:00
hathach d24c702b63 add pybadge
also correct other samd51 tx,rx pin (not used yet)
2021-02-03 13:12:02 +07:00
hathach 4153d9e1b6 update pico-sdk to 1.0.1 2021-02-03 12:39:30 +07:00
hathach 8d973a36ed add adafruit esp32s2 boards
- metro esp32s2
- feather esp32s2
- magtag 29" gray
2021-02-01 15:16:38 +07:00
hathach 8e954a4391 added enumerate walkaround for RP2040-E5
- PICO_RP2040_USB_DEVICE_ENUMERATION_FIX=1
- target linke pico_fix_rp2040_usb_device_enumeration
2021-02-01 13:37:37 +07:00
hathach ba69da1d8f add support for LOG=2
LOGGER=rtt is not tested since jlink doesn't support rp2040 just yet
2021-01-29 11:24:05 +07:00
hathach 4fef2ddb4c rp2040 move uart id to board specific 2021-01-27 16:37:31 +07:00
hathach e230d683ca add copy-artifact target, and add uf2 for all family board 2021-01-26 21:19:14 +07:00
hathach 4a0f5cbd63 change output filename to BOARD-Directory 2021-01-26 12:46:24 +07:00
Ha Thach 045674745a
Merge pull request #604 from kamtom480/spresense-sdk-2.0.2
Update Spresense SDK and fix dcd issues
2021-01-25 22:55:46 +07:00
hathach aabf02fe29 add adafruit feather, itsy bitsy and qt rp2040
not tested, purely based on schematic
2021-01-25 17:23:33 +07:00
Kamil Tomaszewski 36064e3d7d Update Spresense SDK to 2.0.2 2021-01-25 10:54:39 +01:00
hathach 83614418b5 get all device example build with rp2040 (except freeRTOS) 2021-01-25 13:28:23 +07:00
hathach 959a94b98d rp2040 audio_test compile 2021-01-24 00:44:17 +07:00
hathach ffad6eaf80 cmake esp32s2 and rp2040 getting along 2021-01-24 00:22:23 +07:00
hathach cdd1c45306 improve ci for esp32s2 2021-01-23 18:09:57 +07:00
hathach 50e0b81713 add pico-sdk as submodule 2021-01-23 01:05:09 +07:00
hathach c58c8c4229 rp2040 cdc_msc work well 2021-01-23 00:59:50 +07:00
hathach a780a8762b rp2040 better support multiple boards 2021-01-23 00:32:14 +07:00
hathach b8847de802 get board_test running with pico on both led and button 2021-01-23 00:12:10 +07:00
hathach b6e9c42b02 update cmake build to work with esp32s2 and rp2040 2021-01-22 14:58:32 +07:00
hathach 0cf2b02791 Merge branch 'master' into group-boards-into-family 2021-01-22 11:17:10 +07:00
hathach 755d4180c9 revert submodules changes 2021-01-21 16:57:10 +07:00
Ha Thach 1e134cbb31
Merge branch 'master' into pico 2021-01-21 16:35:13 +07:00
graham sanderson e0aa405d19 RP2040 support 2021-01-19 19:52:07 -06:00
kkitayam d7cfd8b91d replaced variable name to CMDEXE from UNAME.
removed the rule that .d files are converted to .P files.
2021-01-14 01:19:43 +09:00
hathach 4f41501fc7 move luna into samd21 group 2021-01-13 16:59:55 +07:00
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
hathach a009775745
dcd disconnect/connect for transdimension ip 2020-04-16 16:56:16 +07:00
Ha Thach 04a06ec401
Merge branch 'master' into refactor-irqhandler 2020-04-11 15:49:34 +07:00
hathach d8d5902ccb change saola-1 led to pin 18 by default 2020-04-10 15:44:50 +07:00
hathach cefbd9579c add neopixel led strip driver for saola, make saola as an component 2020-04-09 11:02:16 +07:00
hathach 40e23672ff rename hal_dcd_isr to dcd_irq_handler for fomu 2020-04-08 16:47:20 +07:00
hathach e879ad1e6f move irq from msp430 2020-04-08 16:42:36 +07:00
hathach 8f17945b67 move irq for stm32 synopsys 2020-04-08 16:37:09 +07:00
hathach 9014ca5528 move irq for stm32 fsdev 2020-04-08 16:26:14 +07:00
hathach fc9170b2c1 clean up 2020-04-08 15:15:52 +07:00
hathach 70df1aff13 add TODO for saola on-board neopixel 2020-04-08 15:00:16 +07:00
hathach a2dee7fb50 rename saola to saola_1 2020-04-07 23:07:25 +07:00
hathach 6a9f971882 add saola button pin support, esp32 build with board_test 2020-04-07 13:42:48 +07:00
hathach a344427e3f fix CROSS_COMPILE for esp32s2 2020-04-06 20:39:20 +07:00
hathach 06377a341b add tud_irq_handler() for all lpc ip3511 (13, 15, 11) 2020-04-06 18:00:37 +07:00
hathach 138965d1d1 add tud_irq_handler() to all NUC board 2020-04-06 17:43:56 +07:00
hathach 4179334aca call tud_irq_handler() for all nrf5x board 2020-04-06 17:35:11 +07:00
hathach dc4bf02dcb mass rename tud_isr to tud_irq_handler 2020-04-06 17:04:49 +07:00
hathach 2d6d298302 move irqhandler to application
tud_isr() must be called by application to forward the irqhandle to the
stack
2020-04-06 14:11:45 +07:00
hathach 748cc88769 add saola board.mk 2020-04-03 12:20:06 +07:00
hathach 19f977a274 add esp32s2 saola bsp
update cdc_msc_freertos main.c to work with esp32s2
add CMake file
2020-04-01 20:24:46 +07:00
Ha Thach a582674b91
Merge pull request #312 from hathach/develop
house keeping work
2020-03-29 00:40:36 +07:00
Nathan Conrad 3926b28faa Update UARTs for stm32f4xx discovery boards. Other minor cleanups. 2020-03-28 12:05:30 -04:00
hathach ad2824df8b add ENTRY(Reset_Handler) to linker of samd21 and samd51 board
fix #303
2020-03-28 22:25:07 +07:00
Nathan Conrad 4191363c55 Update F4 BSP with new HAL config 2020-03-28 10:58:36 -04:00
Nathan Conrad 07c1ce76b8 Update F3 BSP for new HAL 2020-03-28 10:58:36 -04:00
Nathan Conrad 62a68034d9 Update F0 BSP for new HAL 2020-03-28 10:58:36 -04:00
hathach 1712b61ab6 added Arduino Nano 33 BLE with/without Sense 2020-03-28 21:34:42 +07:00
hathach 69698ed2e0 Merge branch 'master' into develop 2020-03-28 15:31:39 +07:00
Nathan Conrad 705d43cda7 Modify include of HAL, and remove CMSIS clock configuration code, and implement UART for STM32F407Disco 2020-03-26 10:10:06 -04:00
hathach d74a92bf45 makefile clean up
allow board to define CROSS_COMPILE (default to arm gcc)
2020-03-25 14:06:51 +07:00
Ha Thach 435485b524
Merge pull request #304 from pigrew/stm32_xfer_rewrite
STM32FSDEV: Rewrite transfer ISR
2020-03-25 10:19:07 +07:00
Ha Thach f2b761fee9
Merge pull request #306 from jeremyherbert/master
add support for seeeduino xiao
2020-03-24 14:37:38 +07:00
Jeremy Herbert 01820061b2 add support for seeeduino xiao 2020-03-23 23:39:53 -07:00
Ha Thach 95009a9e79
Merge pull request #194 from cr1901/msp430f5529
[WIP] MSP430 Support
2020-03-24 11:57:20 +07:00
William D. Jones 7e78e47444 msp_exp430f5529lp: Fix board.mk, remove .travis.yml.bck. 2020-03-24 00:40:25 -04:00
William D. Jones 27efedc9e6 msp_exp430f5529lp: Allow user to choose mspdebug as alternate programmer. 2020-03-23 23:45:22 -04:00
hathach 905c4b71d1 nrf use new cmsis_4 submodule for core header 2020-03-24 08:51:11 +07:00
hathach 056d0bb4bf remove -Wnested-externs since many driver does this including CMSIS_5 2020-03-23 22:52:59 +07:00
hathach 9e0ffbe30f house keeping 2020-03-23 22:51:17 +07:00
hathach c47d9c3c68 upgrade nrfx from 2.0.0 to 2.1.0 2020-03-23 19:21:44 +07:00
Nathan Conrad eaf767b0db STM32FSDEV: Rewrite transfer ISR 2020-03-22 14:26:48 -04:00
hathach acbb535668 change msp430 flash tool from mspdebug to TI MSP430Flasher 2020-03-22 19:11:24 +07:00
hathach 4f871063fd Merge branch 'master' into cr1901-msp430f5529 2020-03-22 17:19:57 +07:00
hathach 45e32a787b clean up 2020-03-11 14:13:34 +07:00
hathach 5fa1e6e242 hack to undef LITTLE_ENDIAN for samg55 2020-03-11 12:32:29 +07:00
hathach ba74223c2e fix more build 2020-03-11 00:58:28 +07:00
hathach 6a1416d18a fix cortex M7, M23, M33 freertos build 2020-03-11 00:47:13 +07:00
hathach 487b887f80 freertos demo use static only for most optmized sram 2020-03-11 00:09:37 +07:00
hathach 65578dec44 update freertos example
work with samd21 samd51 and nrf
2020-03-10 23:16:09 +07:00
Ha Thach 41d9ab5056
Merge pull request #295 from hathach/develop
add webserver into ci build
2020-03-10 14:33:26 +07:00
hathach 71fb3985ba Merge branch 'nuc120' of https://github.com/majbthrd/tinyusb into majbthrd-nuc120 2020-03-10 11:53:11 +07:00
hathach 85a3315a99 Adding lwip_webserver to ci
- buil_al.py skip specific MCU if .skip.MCU_ exists
- reduce stm32f070 heap & stack size to compile webserver
2020-03-09 15:51:29 +07:00
hathach b638aabad8 add uart for feather nrf52840 2020-03-08 13:25:14 +07:00
hathach 659fc4f29e added itsybitsy m0, m4 2020-03-07 18:26:39 +07:00
hathach bdc5e3d3bc added feather sense and CLUE 2020-03-07 18:02:54 +07:00
hathach 3ea95c2ab6 clean up LD_FILE using $(BOARD)
make it easier to duplicate bsp
2020-03-07 17:49:30 +07:00
hathach 800330cdf0 added feather nrf52840 sense 2020-03-07 17:27:59 +07:00
Peter Lawrence 6ab799c7eb atomic GPIO operation in BSP 2020-02-11 14:34:07 -06:00
Peter Lawrence 7d8ecc63a6 add Nuvoton NUC505 2020-02-07 20:11:00 -06:00
Peter Lawrence a8e66f0111 added CFG_EXAMPLE_MSC_READONLY to NuTuny-SDK-NUC120 board.mk 2020-01-25 13:32:31 -06:00
Peter Lawrence cd8eb2a06b added support for Nuvoton NUC120 2020-01-25 13:10:32 -06:00
hathach 0c1fff735d skip nuc flash verify 2020-01-14 18:19:33 +07:00
hathach 4de9439fb1 more nuvoton support
- add LED for nutiny nuc 121, 125s, 126v
- flash target to use nuvoton's openocd fork
2020-01-14 18:13:42 +07:00
Peter Lawrence 64b435cf6e correct apparent Adafruit typo in SAMD21 board.mk 2020-01-11 18:25:38 -06:00
hathach 43eff66d40 add raytac mdbt50q rx dongle 2020-01-10 16:51:24 +07:00
hathach 82c2674b19 clean up 2020-01-10 15:22:45 +07:00
hathach 287d45155d added stm32f401 blackpill 2020-01-10 15:19:33 +07:00