Commit Graph

10 Commits

Author SHA1 Message Date
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 a2be6c1472 correct boot stage2 for itsybitsy and qt rp2040 2021-04-19 14:03:29 +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 c245305f72 update adafruit rp2040 board define 2021-02-19 10:50:50 +07:00
hathach 4fef2ddb4c rp2040 move uart id to board specific 2021-01-27 16:37:31 +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
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