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
59f0fa1e5e
cmake cleanup
2021-04-19 13:30:04 +07: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
hathach
c8bb0020ea
update rp2040 to use pico-sdk externally
...
also try to update ci
2021-04-11 13:37:07 +07:00
hathach
567c6d437a
remove ses project since it is all broken and occupies space
2021-03-23 15:19:53 +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
2882390c82
clean up some examples
2021-03-18 15:23:08 +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
hathach
c34b6b2324
remove lib/CMSIS_4 submodule, move nrf to lib/CMSIS_5
2021-03-02 01:18:34 +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
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
Kamil Tomaszewski
40e0e7e35f
Define Spresense EP numbers for cdc_msc example
2021-01-25 11:13:56 +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
c58c8c4229
rp2040 cdc_msc work well
2021-01-23 00:59:50 +07:00
hathach
494e125432
more ci
2020-11-24 00:47:06 +07:00
hathach
7860469661
comment out and add note for tud_cdc_connected() in cdc_msc examples
2020-11-24 00:06:59 +07:00
hathach
4b4f880785
add tud_ready() check in tud_cdc_n_write_flush()
...
other clean up
2020-11-23 23:40:13 +07:00
Ha Thach
308028e17c
Merge branch 'master' into cdc_without_dtr
2020-11-23 23:25:55 +07:00
Jan Dümpelmann
6a72cc5d48
Changes to CDC example code:
...
- auto flush welcome message at connection event
- provide information to the user if the terminal did not set DTR
2020-11-18 10:16:32 +01:00
Jan Dümpelmann
e7069da7eb
Reset CDC examples to original state
2020-11-18 09:47:39 +01:00
hathach
5456afa8ee
update microchipo driver submodule
2020-11-08 18:09:53 +07:00
hathach
1b1e205a30
clean up
2020-11-08 12:40:20 +07:00
Ha Thach
ef99d37c97
Merge pull request #551 from dobairoland/master
...
Make the disk disappear on Windows after it was ejected
2020-11-08 12:37:53 +07:00
Roland Dobai
4c99c5ff5c
Make the disk disappear on Windows after it was ejected
...
Make the disk disappear on Windows after it was ejected. The device
need to be re-inserted or reseted to re-appear again.
This doesn't affect Linux where the device can be mounted and unmounted
repeatedly.
Closes https://github.com/hathach/tinyusb/issues/549
2020-11-05 15:35:26 +01:00
Jan Dümpelmann
e09ebea7b9
Remove tud_cdc_connected check from examples
2020-09-04 17:25:32 +02: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
hathach
787c891702
add note for MS OS 1.0 Descriptor at 0xEE
2020-07-21 21:00:11 +07:00
hathach
8e1290e51e
minor clean up
2020-07-19 13:13:21 +07:00
hathach
5ca748a68e
rename CFG_TUD_MSC_BUFSIZE to CFG_TUD_MSC_EP_BUFSIZE
...
rename CFG_TUD_HID_BUFSIZE to CFG_TUD_HID_EP_BUFSIZE
2020-07-16 15:34:16 +07:00
hathach
706413f751
add tud_speed_get()
...
- define both fs and hs configuration descriptor
- rename CFG_TUD_CDC_EPSIZE to CFG_TUD_CDC_EP_BUFSIZE with default size of 64 for FS, and 512 for HS
2020-07-16 00:44:09 +07:00
Uwe Bonnes
62239bb576
cdc-acm: Use 512 bytes when in HS mode.
...
Removes error:
config 1 interface 2 altsetting 0 bulk endpoint 0x3 has invalid maxpacket 64
while enumerationg.
2020-06-30 11:02:41 +02: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
hathach
710c54f8cb
allow hs ep open with 512 bytes
2020-06-01 01:36:09 +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
ff9994116e
fix nrf hanged (blocking wait) when called within critical section
2020-05-21 21:22:12 +07:00
hathach
3f8b9c59dd
update example to include CXD56 for highspeed mode
2020-04-17 11:40:33 +07:00
Peter Lawrence
794212d44e
revise argument order for TUD_CONFIG_DESCRIPTOR macro
2020-03-31 10:53:47 -05:00
Peter Lawrence
87f313da48
add provision for multiple configurations
2020-03-30 13:47:17 -05:00
hathach
61d256c2e1
drop hid for freertos demo to match none os example
2020-03-10 14:42:24 +07:00
Ha Thach
5f5ee465a6
Merge pull request #291 from hathach/port-samg55
...
Port samg55
2020-03-07 16:38:59 +07:00
Ha Thach
048f5e34dc
Merge pull request #280 from majbthrd/nuc505
...
add Nuvoton NUC505
2020-03-03 21:35:06 +07:00
Chang Feng
75afeb1266
Add langid to example cdc_msc.
...
Signed-off-by: Chang Feng <chang_196700@hotmail.com>
2020-02-26 13:14:04 +08:00
Peter Lawrence
7d8ecc63a6
add Nuvoton NUC505
2020-02-07 20:11:00 -06:00
hathach
46f22860fb
correct waklaround with only status IN
...
correct usb descriptor msc dual example to work with samg
2020-02-07 22:13:38 +07:00
hathach
94e70f9b01
Merge branch 'master' into port-samg55
2019-12-21 23:53:48 +07:00