graham sanderson
109d02531e
remove TINYUSB_FAMILT_PROJECT_NAME_INCLUDES_BOARD setting
2021-06-01 11:21:19 -05:00
graham sanderson
ebf6461c42
damn submodules!
2021-06-01 10:58:44 -05:00
graham sanderson
6e29bf6e54
rename family.cmake to family_common.cmake
2021-06-01 09:09:25 -05:00
graham sanderson
8782d0b8df
fix rp2040 examples build from local tinyusb tree
2021-06-01 09:04:08 -05:00
graham sanderson
f5572e24b2
restore unintentionally modified submodules
2021-05-31 11:49:15 -05:00
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
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