Commit Graph

145 Commits

Author SHA1 Message Date
hathach
52f0427096 remove make wrapper for rp2040/espressif 2025-07-02 16:34:17 +07:00
hathach
a8b5e2bfc0 update example 2025-07-02 15:38:14 +07:00
hathach
a42184b6fe remove legacy DEPS_SUBMODULES in make 2025-07-02 11:03:50 +07:00
hathach
3851c7c97a - run arm-iar using github action
- add skip_ci.txt to family folder to skip boards in ci run
2025-04-17 16:07:10 +07:00
hathach
f479b02ea6 ci add pico_w for native host test 2025-04-17 11:22:38 +07:00
hathach
8c0c21189c Merge branch 'master' into fork/atoktoto/midihost
# Conflicts:
#	src/host/usbh.c
2025-03-05 18:25:31 +07:00
hathach
7dbad0a23e add adafruit metro rp2350 2025-03-04 22:42:27 +07:00
hathach
c1df796a7c add missing board.h for BOARD=pico_sdk 2025-02-28 12:04:54 +07:00
hathach
6ebd362cfd Merge branch 'master' into fork/atoktoto/midihost
# Conflicts:
#	src/host/usbh.c
2025-02-21 10:59:40 +07:00
hathach
61aab7a86a pio-usb now only need sysclk to be multiple of 12Mhz 2025-02-20 22:18:33 +07:00
hathach
cafc788508 change pio-usb to wip fork for testing 2025-02-20 16:16:07 +07:00
hathach
6572c1da0d add fruitjam bsp 2025-02-20 15:47:29 +07:00
hathach
86d371fb79 more ci fix 2025-02-12 13:58:01 +07:00
hathach
85247e50dd clean up 2025-02-12 11:34:32 +07:00
hathach
87adc63226 Merge branch 'master' into fork/atoktoto/midihost
# Conflicts:
#	hw/bsp/rp2040/family.cmake
#	src/class/midi/midi.h
#	src/class/midi/midi_device.c
#	src/device/usbd_control.c
#	src/host/hcd.h
#	src/host/usbh.c
#	src/host/usbh.h
2025-02-12 11:28:16 +07:00
hathach
6a36c74b10 embed metadata to family.c and board.h to generate supported boards doc 2024-12-27 09:11:09 +07:00
hathach
453d69517b fix multiple flag on compiling 2024-11-27 11:10:06 +07:00
hathach
3a89442dba use arm arch to detect rp2040 2024-11-11 21:55:30 +07:00
subsonicpulse
8174ab0640 Fix Usage of Bootsel Button for Pico 2
see code from 
https://github.com/raspberrypi/pico-examples/blob/master/picoboard/button/button.c
2024-11-07 12:16:42 +01:00
hathach
57aac432b5 add new tusb_int_handler(rhport, in_isr) as common irq handler
update tusb_init() to take rhport and role, defined as macro with optional argument for backward compatible
2024-10-10 16:28:36 +07:00
hathach
c419b1e7c5 add pico2 rp2350 (arm) board
add pico2 to hil ci
2024-09-13 19:12:26 +07:00
hathach
ccf886ca80 add pio-usb host test to hil. fix build as well 2024-08-22 18:51:32 +07:00
hathach
2871bb0da6 fix spi_set_format() -Wnull-dereference when compiling with -Os 2024-08-11 00:51:51 +07:00
hathach
c07928e1b3 fix build with rp2040 PICO_DEFAULT_SPI rename 2024-08-10 22:07:10 +07:00
graham sanderson
0ebe81f4c3 add explcit dependency 2024-07-29 12:34:25 -05:00
graham sanderson
cfb44a3892 add clocks.h as set_sys_clock_khz is moving there from stdlib.h 2024-07-29 12:29:27 -05:00
hathach
4396ecd22c change COMPILE_DEFINE to CFLAGS_CLI for cmake/make 2024-06-25 11:31:19 +07:00
hathach
ac3ec59845 add optional COMPILE_DEFINE from cmake cli 2024-06-18 16:18:58 +07:00
hathach
d79c71abf5 update flash openocd 2024-05-06 10:52:52 +07:00
hathach
4a183d2e3f try to add clang for rp2040 but pico-sdk does not support that. (got assert.h file not found) 2024-04-19 23:17:01 +07:00
hathach
7910cc2981 fix build with rp2040 + max3421
- forward MAX3421_HOST=1 from makefile to cmake
- add feather_rp2040_max3421 board to run with ci for rp2040 + max3421
2024-04-04 10:55:14 +07:00
hathach
baffadca91 remove pca10095 suppport for max3421
also remove pico_bootsel_via_double_reset from rp2040
2024-03-22 17:54:08 +07:00
hathach
551e47a464 allow rp2040 to use max3421e as host controller
- fix warnings build hcd max3421 with rp2040
- add tinyusb_host_max3421 target for rp2040 cmake, -DMAX3421_HOST=1
will enable this
- add max3421 driver implementation for rp2040 family
- update tusb_config for host to allow easy enable host selection for
rp2040 (default/pio-usb/max3421)
2023-12-26 22:50:01 +07:00
hathach
b67855468d fix build 2023-12-11 17:56:10 +07:00
hathach
ea885d5c83 reduce s3 baudrate to prevent usb isssue, reset rp2040 usb for board test example 2023-12-11 17:48:27 +07:00
hathach
0a4d92a71e update hil for pi4 to use new hil_test.py 2023-11-28 18:28:45 +07:00
Ha Thach
accc3fd737 Merge pull request #2151 from kilograham/rp2040_build_fixes
Fix build issues when building for RP2040 from pico-examples/pico-sdk.
2023-08-07 11:14:04 +07:00
hathach
041f510f90 add board_get_unique_id() for serial number
implemented board_get_unique_id() for rp2040 and L4
2023-08-03 20:42:34 +07:00
hathach
cf91660cee rename hw/bsp/board.h to board_api.h 2023-08-03 15:44:05 +07:00
0xCCF4
8226b046a9 Fixed typo in rp2040 hw bspw family.c 2023-07-28 11:19:08 +02:00
hathach
f295aaf185 add hcd abort xfer for rp2040 pio usb 2023-07-24 20:58:50 +07:00
graham sanderson
08a1892801 add is_compiler_supported_by_pico_pio_usb()
previosuly users of TinyUSB (e.g. pico-examples) would have to decide this for themselves. This function couples
the check closer with the actual version of Pico-PIO-USB used (since TinyUSB picks)
2023-07-18 11:04:46 -05:00
graham sanderson
3678a25baa Fix build issues when building for RP2040 from pico-examples/pico-sdk.
* include_guard requires GLOBAL as family.cmake is included in multiple non child places
* the following recently added check is suprfluous (family_configure_host_example for rp2040 should do this already),
  and breaks if pico_pio_usb is not avaialble, so i have removed
   # Add pico-pio-usb for rp2040 since user can choose to run on bit-banging host
   if(FAMILY STREQUAL "rp2040")
      family_add_pico_pio_usb(${PROJECT})
   endif()
* added new familt_example_missing_dependency functino to print missing dependency warning, so
  pico-examples can override it to be less in your face, and also more contextual to pico-examples
2023-07-18 09:03:01 -05:00
hathach
6284f2d722 add hcd_frame_number() for pio-usb host 2023-06-29 18:58:33 +07:00
hathach
e43387abac rework cmake with rtos support add RTOS to family_configure_device/host/dual_example() 2023-06-27 15:45:38 +07:00
hathach
a61d0f074f more rp2040 family clean up 2023-06-26 23:08:59 +07:00
hathach
8aa28e63fb minor clean up with include_guard() 2023-06-26 17:54:31 +07:00
hathach
3cfb838ba7 fix warnings when enable rtt with rp2040 2023-06-26 17:03:45 +07:00
hathach
c0ecf8b50f move set TOP to family_support.cmake 2023-05-26 14:56:22 +07:00
hathach
4c9605910f update cmake with freertos 2023-05-25 21:27:26 +07:00