65 Commits

Author SHA1 Message Date
hathach
83840041a8
update esp32 to also be supported by hil test
test run locally well
2023-11-29 17:09:52 +07:00
hathach
26ca48e7a7
move make.mk and rules.mk to build_system/make 2023-11-23 20:20:01 +07:00
hathach
6ab7875aab
uart working on u5a5 2023-10-31 11:39:20 +07:00
hathach
cf91660cee
rename hw/bsp/board.h to board_api.h 2023-08-03 15:44:05 +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
f15f79df5d cmake work well with imxrt 2023-05-06 15:14:54 +07:00
hathach
0afe1b3684 example run well with cmake for imxrt 2023-04-21 18:10:28 +07:00
hathach
2ac289685a clean up 2023-04-20 16:55:48 +07:00
hathach
b42d3e431c board test running with cmake 2023-04-20 16:43:00 +07:00
hathach
fab48e5bcc adding cmake build for imxrt1010 2023-04-20 14:09:38 +07:00
hathach
cf7aad790c more esp32 cmake clean up 2023-03-30 11:37:36 +07:00
hathach
641613c428 update all cmake for esp32 build 2023-03-30 10:41:11 +07:00
hathach
bdfcd50b1b
Merge branch 'master' into portability 2023-03-17 23:53:38 +07:00
hathach
3623ba1884
fix trailing space and new line
temporarily disable codespell
2023-03-17 16:12:49 +07:00
hathach
e62d1a03ac
integrate top.mk into make.mk 2023-03-06 13:25:56 +07:00
hathach
84be70baf5 fix iar build with board_test 2023-01-18 13:17:53 +07:00
hathach
460bef9dbb
host msc example work well with rp2040 pio-usb 2022-11-21 15:49:38 +07:00
hathach
a6001fc8f2
update uart read for lpc18/43 for testing 2022-11-18 21:50:00 +07:00
Ben Avison
65ba15c37d Remove unreachable code
IAR generates warning Pe111 'statement is unreachable'. In a couple of
cases, replace return statements with TU_ATTR_FALLTHROUGH; because some
compilers apparently can't figure out that the return statements are
unreachable but do whinge about an imagined fall-through without them!
2022-09-13 18:00:50 +01:00
graham sanderson
fc1a27b6c9 RP@040: rework CMake for compiler warnings 2022-07-12 12:58:30 -05:00
hathach
b9dc9dbd78
fix most warnings with rp2040 -wconversion 2022-06-27 11:50:17 +07:00
hathach
f4c80dd218 clean up example to use CFG_TUD_ENABLED + CFG_TUD_MAX_SPEED instead of CFG_TUSB_RHPORT0_MODE 2022-06-06 17:35:17 +07:00
hathach
a3fc107d94
xmc4500 led blinky, button ok 2021-11-05 11:57:36 +07:00
graham sanderson
fd7b18a4f6 Make examples standalone buildable via CMake 2021-06-10 10:11:20 -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
59f0fa1e5e cmake cleanup 2021-04-19 13:30:04 +07:00
hathach
803b755554 update per review 2021-04-18 01:50:16 +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
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
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
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
4fef2ddb4c rp2040 move uart id to board specific 2021-01-27 16:37:31 +07:00
hathach
4a0f5cbd63 change output filename to BOARD-Directory 2021-01-26 12:46:24 +07: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
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
2b3008f9a8 fix esp32s2 ci build 2021-01-22 09:41:41 +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
50b569ad1b added esp32s2 kaluga bsp 2020-06-29 16:52:08 +07:00
hathach
449b337467 fix ci board test with esp32 2020-04-29 13:03:39 +07:00
hathach
50be9d7c3a
mass rename tud/dcd_irq_handler to tud/dcd_init_handler 2020-04-17 12:27:53 +07:00
Ha Thach
04a06ec401
Merge branch 'master' into refactor-irqhandler 2020-04-11 15:49:34 +07:00
hathach
16dbbb2b4f make saola as cmake component, easier to add more esp32 board 2020-04-09 11:19:08 +07:00