13 Commits

Author SHA1 Message Date
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
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
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
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
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
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
b6e9c42b02 update cmake build to work with esp32s2 and rp2040 2021-01-22 14:58:32 +07:00