Commit Graph

743 Commits

Author SHA1 Message Date
graham sanderson 90d7483d92 guard stdio_uart_init_full with LIB_PICO_STDUI_UART as the function doesn't exist otherwise 2021-05-31 11:18:26 -05:00
graham sanderson 13951b43c2 set PICO_TINYUSB_PATH for when building from within tinyusb without pico-sdk/tinyusb submodule 2021-05-31 10:58:14 -05:00
graham sanderson 5d161b79bb Fix up build_family style builds:
- added back pre-existing board directories which now just select PICO_BOARD
 - added boards/pico_sdk which just uses the pre-existing PICO_BOARD setting
 - fixed rp2040/family.cmake to include the magic string "CFG_TUSB_MCU=OPT_MCU_RP2040" expected by build_family.py
2021-05-31 10:06:12 -05:00
graham sanderson 95f2478146 Rework rp2040 examples and CMake build:
- Examples should be CMake buildable from their own subdirectory; such a build will error out based on
	  matching .skip.MCU_xxx or a mismatched .only.MCU_
	- It should be possible to build from a higher level and use .skip.MCU_ and .only.MCU_ to filter which
          examples get built
	- The intention is for the CMakeLists.txts in the examples to be non family specific and without MCU based IFs. I have
          started this work, but am not really sure the state of the esp32 stuff; in any case the plan is to have
          everything encapsulated in the FAMILY/family.cmake
	- pico_examples now just includes examples/device/CMakeLists.txt and examples/host/CMakeLists.txt directly, as they
	  also build correctly when included from there.
Note that .skip.MCU_ for esp32 in the directories it wasn't previously avaiable has not been added, as the .skip is common to the regular Makefile builds also. It isn't clear whether these examples should build for esp32, but if not .skip should be added.
2021-05-30 20:13:47 -05:00
hathach f9c542aa52
fix dfu example build 2021-05-26 18:16:56 +07:00
hathach 689d74a595
fix board test example build with nrf 2021-05-26 16:41:17 +07:00
hathach 954056da0c
fix warnings cast function type for nrf, fix pico osal warning
add TODO for overflow in tusb_fifo.c
2021-05-25 21:02:40 +07:00
hathach e70fb7fd41 fix mkl25z ci 2021-04-29 00:33:03 +07:00
hathach cf64b2214b fix build with mkl25z 2021-04-29 00:22:28 +07:00
hathach d70af332c0 fixed build with lpc51 2021-04-28 23:44:04 +07:00
hathach fdda9f75db add lpc54628 but usb clock;phy doesn't seem to be right 2021-04-28 23:25:07 +07:00
hathach 8a9f412788 fix lpc54 button 2021-04-28 22:34:56 +07:00
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 e115e08728 add nxp_lpcopen as submodule 2021-04-28 18:11:49 +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
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
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 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 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
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