├── .circleci ├── config.yml └── config2.yml ├── .clang-format ├── .codespellrc ├── .gitattributes ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ ├── config.yml │ └── feature_request.yml ├── actions │ ├── get_deps │ │ └── action.yml │ └── setup_toolchain │ │ ├── action.yml │ │ ├── download │ │ └── action.yml │ │ ├── espressif │ │ └── action.yml │ │ └── toolchain.json ├── pull_request_template.md └── workflows │ ├── build.yml │ ├── build_util.yml │ ├── ci_set_matrix.py │ ├── cifuzz.yml │ ├── codeql-buildscript.sh │ ├── codeql.yml │ ├── fail_on_error.py │ ├── labeler.yml │ ├── pre-commit.yml │ └── trigger.yml ├── .gitignore ├── .idea ├── .gitignore ├── cmake.xml ├── debugServers │ ├── esp32s2.xml │ ├── rp2040.xml │ ├── rp2350.xml │ ├── rt1060.xml │ ├── rt1064.xml │ ├── sam21.xml │ ├── sam51.xml │ ├── stm32f769.xml │ ├── stm32h563.xml │ └── stm32h743.xml ├── runConfigurations │ ├── k64f.xml │ ├── kl25.xml │ ├── lpc1857.xml │ ├── lpc4088.xml │ ├── lpc54628.xml │ ├── lpc55s69.xml │ ├── mcx947.xml │ ├── nrf52840.xml │ ├── nrf5340.xml │ ├── ra2a1.xml │ ├── ra4m1.xml │ ├── ra6m1.xml │ ├── ra6m5.xml │ ├── rp2040.xml │ ├── rt1010.xml │ ├── rt1060.xml │ ├── samd21g18.xml │ ├── samd51j19.xml │ ├── stlink.xml │ ├── stm32g474.xml │ ├── stm32h563.xml │ ├── stm32h743.xml │ ├── stm32u5a5.xml │ └── uno_r4.xml └── vcs.xml ├── .pre-commit-config.yaml ├── .readthedocs.yaml ├── CODE_OF_CONDUCT.rst ├── CONTRIBUTORS.rst ├── LICENSE ├── README.rst ├── SConscript ├── docs ├── assets │ ├── adafruit_logo.svg │ ├── logo.svg │ └── stack.svg ├── conf.py ├── contributing │ ├── code_of_conduct.rst │ ├── index.rst │ └── porting.rst ├── index.rst ├── info │ ├── changelog.rst │ ├── contributors.rst │ └── index.rst ├── reference │ ├── boards.rst │ ├── concurrency.rst │ ├── dependencies.rst │ ├── getting_started.rst │ └── index.rst └── requirements.txt ├── examples ├── CMakeLists.txt ├── CMakePresets.json ├── build_system │ ├── cmake │ │ ├── cpu │ │ │ ├── arm1176jzf-s.cmake │ │ │ ├── arm926ej-s.cmake │ │ │ ├── cortex-a53.cmake │ │ │ ├── cortex-a72.cmake │ │ │ ├── cortex-m0.cmake │ │ │ ├── cortex-m0plus.cmake │ │ │ ├── cortex-m23.cmake │ │ │ ├── cortex-m3.cmake │ │ │ ├── cortex-m33-nodsp-nofp.cmake │ │ │ ├── cortex-m33-nodsp.cmake │ │ │ ├── cortex-m33.cmake │ │ │ ├── cortex-m4.cmake │ │ │ ├── cortex-m7-fpsp.cmake │ │ │ ├── cortex-m7.cmake │ │ │ ├── cortex-m85.cmake │ │ │ ├── msp430.cmake │ │ │ ├── rv32i-ilp32.cmake │ │ │ └── rv32imac-ilp32.cmake │ │ └── toolchain │ │ │ ├── aarch64_gcc.cmake │ │ │ ├── arm_clang.cmake │ │ │ ├── arm_gcc.cmake │ │ │ ├── arm_iar.cmake │ │ │ ├── common.cmake │ │ │ ├── msp430_gcc.cmake │ │ │ └── riscv_gcc.cmake │ └── make │ │ ├── cpu │ │ ├── arm1176jzf-s.mk │ │ ├── arm926ej-s.mk │ │ ├── cortex-a53.mk │ │ ├── cortex-a72.mk │ │ ├── cortex-m0.mk │ │ ├── cortex-m0plus.mk │ │ ├── cortex-m23.mk │ │ ├── cortex-m3.mk │ │ ├── cortex-m33-nodsp-nofp.mk │ │ ├── cortex-m33.mk │ │ ├── cortex-m4.mk │ │ ├── cortex-m7-fpsp.mk │ │ ├── cortex-m7.mk │ │ ├── cortex-m85.mk │ │ ├── msp430.mk │ │ ├── rv32i-ilp32.mk │ │ └── rv32imac-ilp32.mk │ │ ├── make.mk │ │ ├── rules.mk │ │ └── toolchain │ │ ├── arm_clang.mk │ │ ├── arm_gcc.mk │ │ ├── arm_iar.mk │ │ ├── clang_rules.mk │ │ ├── gcc_common.mk │ │ ├── gcc_rules.mk │ │ ├── iar_rules.mk │ │ └── riscv_gcc.mk ├── device │ ├── 99-tinyusb.rules │ ├── CMakeLists.txt │ ├── CMakePresets.json │ ├── audio_4_channel_mic │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── skip.txt │ │ └── src │ │ │ ├── main.c │ │ │ ├── plot_audio_samples.py │ │ │ ├── tusb_config.h │ │ │ └── usb_descriptors.c │ ├── audio_4_channel_mic_freertos │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── README.md │ │ ├── sdkconfig.defaults │ │ ├── skip.txt │ │ └── src │ │ │ ├── CMakeLists.txt │ │ │ ├── main.c │ │ │ ├── plot_audio_samples.py │ │ │ ├── tusb_config.h │ │ │ └── usb_descriptors.c │ ├── audio_test │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── skip.txt │ │ └── src │ │ │ ├── main.c │ │ │ ├── plot_audio_samples.py │ │ │ ├── tusb_config.h │ │ │ └── usb_descriptors.c │ ├── audio_test_freertos │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── README.md │ │ ├── sdkconfig.defaults │ │ ├── skip.txt │ │ └── src │ │ │ ├── CMakeLists.txt │ │ │ ├── main.c │ │ │ ├── plot_audio_samples.py │ │ │ ├── tusb_config.h │ │ │ └── usb_descriptors.c │ ├── audio_test_multi_rate │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── skip.txt │ │ └── src │ │ │ ├── main.c │ │ │ ├── plot_audio_samples.py │ │ │ ├── tusb_config.h │ │ │ ├── usb_descriptors.c │ │ │ └── usb_descriptors.h │ ├── board_test │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── sdkconfig.defaults │ │ └── src │ │ │ ├── CMakeLists.txt │ │ │ ├── main.c │ │ │ └── tusb_config.h │ ├── cdc_dual_ports │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── skip.txt │ │ └── src │ │ │ ├── main.c │ │ │ ├── tusb_config.h │ │ │ └── usb_descriptors.c │ ├── cdc_msc │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── prj.conf │ │ ├── skip.txt │ │ └── src │ │ │ ├── main.c │ │ │ ├── msc_disk.c │ │ │ ├── tusb_config.h │ │ │ └── usb_descriptors.c │ ├── cdc_msc_freertos │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── sdkconfig.defaults │ │ ├── skip.txt │ │ └── src │ │ │ ├── CMakeLists.txt │ │ │ ├── main.c │ │ │ ├── msc_disk.c │ │ │ ├── tusb_config.h │ │ │ └── usb_descriptors.c │ ├── cdc_uac2 │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── README.md │ │ └── src │ │ │ ├── cdc_app.c │ │ │ ├── common.h │ │ │ ├── main.c │ │ │ ├── tusb_config.h │ │ │ ├── uac2_app.c │ │ │ ├── usb_descriptors.c │ │ │ └── usb_descriptors.h │ ├── dfu │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── skip.txt │ │ └── src │ │ │ ├── main.c │ │ │ ├── tusb_config.h │ │ │ └── usb_descriptors.c │ ├── dfu_runtime │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ └── src │ │ │ ├── main.c │ │ │ ├── tusb_config.h │ │ │ └── usb_descriptors.c │ ├── dynamic_configuration │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── skip.txt │ │ └── src │ │ │ ├── main.c │ │ │ ├── msc_disk.c │ │ │ ├── tusb_config.h │ │ │ └── usb_descriptors.c │ ├── hid_boot_interface │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ └── src │ │ │ ├── main.c │ │ │ ├── tusb_config.h │ │ │ ├── usb_descriptors.c │ │ │ └── usb_descriptors.h │ ├── hid_composite │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ └── src │ │ │ ├── main.c │ │ │ ├── tusb_config.h │ │ │ ├── usb_descriptors.c │ │ │ └── usb_descriptors.h │ ├── hid_composite_freertos │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── sdkconfig.defaults │ │ ├── skip.txt │ │ └── src │ │ │ ├── CMakeLists.txt │ │ │ ├── main.c │ │ │ ├── tusb_config.h │ │ │ ├── usb_descriptors.c │ │ │ └── usb_descriptors.h │ ├── hid_generic_inout │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── boards.js │ │ ├── hid_test.js │ │ ├── hid_test.py │ │ └── src │ │ │ ├── main.c │ │ │ ├── tusb_config.h │ │ │ └── usb_descriptors.c │ ├── hid_multiple_interface │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ └── src │ │ │ ├── main.c │ │ │ ├── tusb_config.h │ │ │ └── usb_descriptors.c │ ├── midi_test │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ └── src │ │ │ ├── main.c │ │ │ ├── tusb_config.h │ │ │ └── usb_descriptors.c │ ├── midi_test_freertos │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── skip.txt │ │ └── src │ │ │ ├── CMakeLists.txt │ │ │ ├── main.c │ │ │ ├── tusb_config.h │ │ │ └── usb_descriptors.c │ ├── msc_dual_lun │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── prj.conf │ │ ├── skip.txt │ │ └── src │ │ │ ├── main.c │ │ │ ├── msc_disk_dual.c │ │ │ ├── tusb_config.h │ │ │ └── usb_descriptors.c │ ├── net_lwip_webserver │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── skip.txt │ │ └── src │ │ │ ├── arch │ │ │ ├── bpstruct.h │ │ │ ├── cc.h │ │ │ └── epstruct.h │ │ │ ├── lwipopts.h │ │ │ ├── main.c │ │ │ ├── tusb_config.h │ │ │ └── usb_descriptors.c │ ├── uac2_headset │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── skip.txt │ │ └── src │ │ │ ├── main.c │ │ │ ├── tusb_config.h │ │ │ ├── usb_descriptors.c │ │ │ └── usb_descriptors.h │ ├── uac2_speaker_fb │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── skip.txt │ │ └── src │ │ │ ├── audio_debug.py │ │ │ ├── common_types.h │ │ │ ├── main.c │ │ │ ├── quirk_os_guessing.c │ │ │ ├── quirk_os_guessing.h │ │ │ ├── tusb_config.h │ │ │ ├── usb_descriptors.c │ │ │ └── usb_descriptors.h │ ├── usbtmc │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── skip.txt │ │ ├── src │ │ │ ├── main.c │ │ │ ├── main.h │ │ │ ├── tusb_config.h │ │ │ ├── usb_descriptors.c │ │ │ ├── usbtmc_app.c │ │ │ └── usbtmc_app.h │ │ └── visaQuery.py │ ├── video_capture │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── skip.txt │ │ └── src │ │ │ ├── CMakeLists.txt │ │ │ ├── images.h │ │ │ ├── main.c │ │ │ ├── tusb_config.h │ │ │ ├── usb_descriptors.c │ │ │ └── usb_descriptors.h │ ├── video_capture_2ch │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── skip.txt │ │ └── src │ │ │ ├── CMakeLists.txt │ │ │ ├── images.h │ │ │ ├── main.c │ │ │ ├── tusb_config.h │ │ │ ├── usb_descriptors.c │ │ │ └── usb_descriptors.h │ └── webusb_serial │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ └── src │ │ ├── main.c │ │ ├── tusb_config.h │ │ ├── usb_descriptors.c │ │ └── usb_descriptors.h ├── dual │ ├── CMakeLists.txt │ ├── CMakePresets.json │ ├── host_hid_to_device_cdc │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── only.txt │ │ └── src │ │ │ ├── main.c │ │ │ ├── tusb_config.h │ │ │ └── usb_descriptors.c │ └── host_info_to_device_cdc │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── only.txt │ │ └── src │ │ ├── main.c │ │ ├── tusb_config.h │ │ └── usb_descriptors.c ├── host │ ├── CMakeLists.txt │ ├── CMakePresets.json │ ├── bare_api │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── only.txt │ │ └── src │ │ │ ├── main.c │ │ │ └── tusb_config.h │ ├── cdc_msc_hid │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── only.txt │ │ └── src │ │ │ ├── cdc_app.c │ │ │ ├── hid_app.c │ │ │ ├── main.c │ │ │ ├── msc_app.c │ │ │ └── tusb_config.h │ ├── cdc_msc_hid_freertos │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── only.txt │ │ ├── skip.txt │ │ └── src │ │ │ ├── CMakeLists.txt │ │ │ ├── cdc_app.c │ │ │ ├── hid_app.c │ │ │ ├── main.c │ │ │ ├── msc_app.c │ │ │ └── tusb_config.h │ ├── device_info │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── only.txt │ │ └── src │ │ │ ├── CMakeLists.txt │ │ │ ├── main.c │ │ │ └── tusb_config.h │ ├── hid_controller │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── only.txt │ │ └── src │ │ │ ├── hid_app.c │ │ │ ├── main.c │ │ │ └── tusb_config.h │ ├── midi_rx │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── only.txt │ │ └── src │ │ │ ├── main.c │ │ │ └── tusb_config.h │ └── msc_file_explorer │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── only.txt │ │ └── src │ │ ├── main.c │ │ ├── msc_app.c │ │ ├── msc_app.h │ │ └── tusb_config.h ├── typec │ ├── CMakeLists.txt │ ├── CMakePresets.json │ └── power_delivery │ │ ├── CMakeLists.txt │ │ ├── CMakePresets.json │ │ ├── Makefile │ │ ├── only.txt │ │ └── src │ │ ├── main.c │ │ └── tusb_config.h └── west.yml ├── hw ├── bsp │ ├── BoardPresets.json │ ├── ansi_escape.h │ ├── board.c │ ├── board_api.h │ ├── broadcom_32bit │ │ ├── boards │ │ │ └── raspberrypi_zero │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── family.c │ │ ├── family.cmake │ │ └── family.mk │ ├── broadcom_64bit │ │ ├── boards │ │ │ ├── raspberrypi_cm4 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ └── raspberrypi_zero2 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── family.c │ │ ├── family.cmake │ │ └── family.mk │ ├── brtmm90x │ │ ├── boards │ │ │ └── mm900evxb │ │ │ │ └── board.h │ │ ├── family.c │ │ └── family.mk │ ├── ch32f20x │ │ ├── boards │ │ │ └── ch32f205r-r0 │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── ch32f205.ld │ │ ├── ch32f20x_conf.h │ │ ├── ch32f20x_it.c │ │ ├── ch32f20x_it.h │ │ ├── core_cm3.h │ │ ├── debug_uart.c │ │ ├── debug_uart.h │ │ ├── family.c │ │ ├── family.mk │ │ ├── startup_gcc_ch32f20x_d8c.s │ │ ├── system_ch32f20x.c │ │ └── system_ch32f20x.h │ ├── ch32v10x │ │ ├── boards │ │ │ └── ch32v103r_r1_1v0 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── ch32v10x_conf.h │ │ ├── ch32v10x_it.h │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ ├── linker │ │ │ └── ch32v10x.ld │ │ ├── system_ch32v10x.c │ │ ├── system_ch32v10x.h │ │ └── wch-riscv.cfg │ ├── ch32v20x │ │ ├── boards │ │ │ ├── ch32v203c_r0_1v0 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── ch32v203g_r0_1v0 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ └── nanoch32v203 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── ch32v20x_conf.h │ │ ├── ch32v20x_it.h │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ ├── linker │ │ │ └── ch32v20x.ld │ │ ├── system_ch32v20x.c │ │ ├── system_ch32v20x.h │ │ └── wch-riscv.cfg │ ├── ch32v307 │ │ ├── boards │ │ │ └── ch32v307v_r1_1v0 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── ch32v307.ld │ │ ├── ch32v30x_conf.h │ │ ├── ch32v30x_it.c │ │ ├── ch32v30x_it.h │ │ ├── debug_uart.c │ │ ├── debug_uart.h │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ ├── system_ch32v30x.c │ │ ├── system_ch32v30x.h │ │ └── wch-riscv.cfg │ ├── da1469x │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── da14695_dk_usb │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── syscfg │ │ │ │ │ └── syscfg.h │ │ │ └── da1469x_dk_pro │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── syscfg │ │ │ │ └── syscfg.h │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ ├── gcc_startup_da1469x.S │ │ ├── linker │ │ │ └── da1469x.ld │ │ └── product_header.dump │ ├── espressif │ │ ├── boards │ │ │ ├── CMakeLists.txt │ │ │ ├── adafruit_feather_esp32_v2 │ │ │ │ ├── board.cmake │ │ │ │ └── board.h │ │ │ ├── adafruit_feather_esp32c6 │ │ │ │ ├── board.cmake │ │ │ │ └── board.h │ │ │ ├── adafruit_feather_esp32s2 │ │ │ │ ├── board.cmake │ │ │ │ └── board.h │ │ │ ├── adafruit_feather_esp32s3 │ │ │ │ ├── board.cmake │ │ │ │ └── board.h │ │ │ ├── adafruit_magtag_29gray │ │ │ │ ├── board.cmake │ │ │ │ └── board.h │ │ │ ├── adafruit_metro_esp32s2 │ │ │ │ ├── board.cmake │ │ │ │ └── board.h │ │ │ ├── espressif_addax_1 │ │ │ │ ├── board.cmake │ │ │ │ └── board.h │ │ │ ├── espressif_c3_devkitc │ │ │ │ ├── board.cmake │ │ │ │ └── board.h │ │ │ ├── espressif_c6_devkitc │ │ │ │ ├── board.cmake │ │ │ │ └── board.h │ │ │ ├── espressif_kaluga_1 │ │ │ │ ├── board.cmake │ │ │ │ └── board.h │ │ │ ├── espressif_p4_function_ev │ │ │ │ ├── board.cmake │ │ │ │ └── board.h │ │ │ ├── espressif_s2_devkitc │ │ │ │ ├── board.cmake │ │ │ │ └── board.h │ │ │ ├── espressif_s3_devkitc │ │ │ │ ├── board.cmake │ │ │ │ └── board.h │ │ │ ├── espressif_s3_devkitm │ │ │ │ ├── board.cmake │ │ │ │ └── board.h │ │ │ ├── espressif_saola_1 │ │ │ │ ├── board.cmake │ │ │ │ └── board.h │ │ │ └── family.c │ │ ├── components │ │ │ ├── led_strip │ │ │ │ ├── CHANGELOG.md │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── api.md │ │ │ │ ├── examples │ │ │ │ │ └── led_strip_rmt_ws2812 │ │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ └── main │ │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ │ ├── idf_component.yml │ │ │ │ │ │ └── led_strip_rmt_ws2812_main.c │ │ │ │ ├── idf_component.yml │ │ │ │ ├── include │ │ │ │ │ ├── led_strip.h │ │ │ │ │ ├── led_strip_rmt.h │ │ │ │ │ ├── led_strip_spi.h │ │ │ │ │ └── led_strip_types.h │ │ │ │ ├── interface │ │ │ │ │ └── led_strip_interface.h │ │ │ │ └── src │ │ │ │ │ ├── led_strip_api.c │ │ │ │ │ ├── led_strip_rmt_dev.c │ │ │ │ │ ├── led_strip_rmt_dev_idf4.c │ │ │ │ │ ├── led_strip_rmt_encoder.c │ │ │ │ │ ├── led_strip_rmt_encoder.h │ │ │ │ │ └── led_strip_spi_dev.c │ │ │ └── tinyusb_src │ │ │ │ └── CMakeLists.txt │ │ ├── family.cmake │ │ └── family.mk │ ├── f1c100s │ │ ├── README.md │ │ ├── boards │ │ │ └── f1c100s │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── family.c │ │ ├── family.cmake │ │ └── family.mk │ ├── family_support.cmake │ ├── fomu │ │ ├── boards │ │ │ └── fomu │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── crt0-vexriscv.S │ │ ├── dfu.py │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ ├── fomu.ld │ │ ├── include │ │ │ ├── csr.h │ │ │ ├── hw │ │ │ │ └── common.h │ │ │ └── irq.h │ │ ├── output_format.ld │ │ └── regions.ld │ ├── gd32vf103 │ │ ├── boards │ │ │ └── sipeed_longan_nano │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ └── system_gd32vf103.c │ ├── imxrt │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── metro_m7_1011 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── board │ │ │ │ │ ├── clock_config.c │ │ │ │ │ ├── clock_config.h │ │ │ │ │ ├── pin_mux.c │ │ │ │ │ └── pin_mux.h │ │ │ │ ├── evkmimxrt1010_flexspi_nor_config.c │ │ │ │ ├── evkmimxrt1010_flexspi_nor_config.h │ │ │ │ ├── metro_m7_1011.ld │ │ │ │ └── metro_m7_1011.mex │ │ │ ├── metro_m7_1011_sd │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── board │ │ │ │ │ ├── clock_config.c │ │ │ │ │ ├── clock_config.h │ │ │ │ │ ├── pin_mux.c │ │ │ │ │ └── pin_mux.h │ │ │ │ ├── evkmimxrt1010_flexspi_nor_config.c │ │ │ │ ├── evkmimxrt1010_flexspi_nor_config.h │ │ │ │ ├── metro_m7_1011_sd.ld │ │ │ │ ├── metro_m7_1011_sd.mex │ │ │ │ └── ozone │ │ │ │ │ └── metro_m7_1011_sd.jdebug │ │ │ ├── mimxrt1010_evk │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── board │ │ │ │ │ ├── clock_config.c │ │ │ │ │ ├── clock_config.h │ │ │ │ │ ├── pin_mux.c │ │ │ │ │ └── pin_mux.h │ │ │ │ ├── evkmimxrt1010_flexspi_nor_config.c │ │ │ │ ├── evkmimxrt1010_flexspi_nor_config.h │ │ │ │ └── mimxrt1010_evk.mex │ │ │ ├── mimxrt1015_evk │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── board │ │ │ │ │ ├── clock_config.c │ │ │ │ │ ├── clock_config.h │ │ │ │ │ ├── pin_mux.c │ │ │ │ │ └── pin_mux.h │ │ │ │ ├── evkmimxrt1015_flexspi_nor_config.c │ │ │ │ ├── evkmimxrt1015_flexspi_nor_config.h │ │ │ │ └── mimxrt1015_evk.mex │ │ │ ├── mimxrt1020_evk │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── board │ │ │ │ │ ├── clock_config.c │ │ │ │ │ ├── clock_config.h │ │ │ │ │ ├── pin_mux.c │ │ │ │ │ └── pin_mux.h │ │ │ │ ├── evkmimxrt1020_flexspi_nor_config.c │ │ │ │ ├── evkmimxrt1020_flexspi_nor_config.h │ │ │ │ └── mimxrt1020_evk.mex │ │ │ ├── mimxrt1024_evk │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── board │ │ │ │ │ ├── clock_config.c │ │ │ │ │ ├── clock_config.h │ │ │ │ │ ├── pin_mux.c │ │ │ │ │ └── pin_mux.h │ │ │ │ ├── evkmimxrt1024_flexspi_nor_config.c │ │ │ │ ├── evkmimxrt1024_flexspi_nor_config.h │ │ │ │ └── mimxrt1024_evk.mex │ │ │ ├── mimxrt1050_evkb │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── board │ │ │ │ │ ├── clock_config.c │ │ │ │ │ ├── clock_config.h │ │ │ │ │ ├── pin_mux.c │ │ │ │ │ └── pin_mux.h │ │ │ │ ├── evkbimxrt1050_flexspi_nor_config.c │ │ │ │ ├── evkbimxrt1050_flexspi_nor_config.h │ │ │ │ └── mimxrt1050_evkb.mex │ │ │ ├── mimxrt1060_evk │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── board │ │ │ │ │ ├── clock_config.c │ │ │ │ │ ├── clock_config.h │ │ │ │ │ ├── pin_mux.c │ │ │ │ │ └── pin_mux.h │ │ │ │ ├── evkmimxrt1060_flexspi_nor_config.c │ │ │ │ ├── evkmimxrt1060_flexspi_nor_config.h │ │ │ │ └── mimxrt1060_evk.mex │ │ │ ├── mimxrt1064_evk │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── board │ │ │ │ │ ├── clock_config.c │ │ │ │ │ ├── clock_config.h │ │ │ │ │ ├── pin_mux.c │ │ │ │ │ └── pin_mux.h │ │ │ │ ├── evkmimxrt1064_flexspi_nor_config.c │ │ │ │ ├── evkmimxrt1064_flexspi_nor_config.h │ │ │ │ └── mimxrt1064_evk.mex │ │ │ ├── mimxrt1170_evkb │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── board │ │ │ │ │ ├── clock_config.c │ │ │ │ │ ├── clock_config.h │ │ │ │ │ ├── pin_mux.c │ │ │ │ │ └── pin_mux.h │ │ │ │ ├── evkbmimxrt1170_flexspi_nor_config.c │ │ │ │ ├── evkbmimxrt1170_flexspi_nor_config.h │ │ │ │ └── mimxrt1170_evkb.mex │ │ │ ├── teensy_40 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── board │ │ │ │ │ ├── clock_config.c │ │ │ │ │ ├── clock_config.h │ │ │ │ │ ├── pin_mux.c │ │ │ │ │ └── pin_mux.h │ │ │ │ ├── teensy40.mex │ │ │ │ ├── teensy40_flexspi_nor_config.c │ │ │ │ └── teensy40_flexspi_nor_config.h │ │ │ └── teensy_41 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── board │ │ │ │ ├── clock_config.c │ │ │ │ ├── clock_config.h │ │ │ │ ├── pin_mux.c │ │ │ │ └── pin_mux.h │ │ │ │ ├── teensy41.mex │ │ │ │ ├── teensy41_flexspi_nor_config.c │ │ │ │ └── teensy41_flexspi_nor_config.h │ │ ├── debug.jlinkscript │ │ ├── family.c │ │ ├── family.cmake │ │ └── family.mk │ ├── kinetis_k │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── frdm_k64f │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── board │ │ │ │ │ ├── clock_config.c │ │ │ │ │ ├── clock_config.h │ │ │ │ │ ├── pin_mux.c │ │ │ │ │ └── pin_mux.h │ │ │ │ └── frdm_k64f.mex │ │ │ └── teensy_35 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── board │ │ │ │ ├── clock_config.c │ │ │ │ ├── clock_config.h │ │ │ │ ├── pin_mux.c │ │ │ │ └── pin_mux.h │ │ │ │ └── teensy_35.mex │ │ ├── family.c │ │ ├── family.cmake │ │ └── family.mk │ ├── kinetis_k32l2 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── frdm_k32l2a4s │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── clock_config.c │ │ │ │ └── clock_config.h │ │ │ ├── frdm_k32l2b │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── clock_config.c │ │ │ │ └── clock_config.h │ │ │ └── kuiic │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── clock_config.c │ │ │ │ ├── clock_config.h │ │ │ │ └── kuiic.ld │ │ ├── family.c │ │ ├── family.cmake │ │ └── family.mk │ ├── kinetis_kl │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ └── frdm_kl25z │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── clock_config.c │ │ │ │ └── clock_config.h │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ └── gcc │ │ │ ├── MKL25Z128xxx4_flash.ld │ │ │ └── startup_MKL25Z4.S │ ├── lpc11 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── lpcxpresso11u37 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── lpc11u37.ld │ │ │ └── lpcxpresso11u68 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── lpc11u68.ld │ │ ├── family.c │ │ ├── family.cmake │ │ └── family.mk │ ├── lpc13 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ └── lpcxpresso1347 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── lpc1347.ld │ │ ├── family.c │ │ ├── family.cmake │ │ └── family.mk │ ├── lpc15 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ └── lpcxpresso1549 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── lpc1549.ld │ │ ├── family.c │ │ ├── family.cmake │ │ └── family.mk │ ├── lpc17 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── lpcxpresso1769 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── lpc1769.ld │ │ │ └── mbed1768 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── lpc1768.ld │ │ ├── family.c │ │ ├── family.cmake │ │ └── family.mk │ ├── lpc18 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── lpcxpresso18s37 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── lpc1837.ld │ │ │ └── mcb1800 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── lpc1857.ld │ │ │ │ └── ozone │ │ │ │ └── lpc1857.jdebug │ │ ├── family.c │ │ ├── family.cmake │ │ └── family.mk │ ├── lpc40 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ └── ea4088_quickstart │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── lpc4088.ld │ │ │ │ └── ozone │ │ │ │ └── ea4088_quickstart.jdebug │ │ ├── family.c │ │ ├── family.cmake │ │ └── family.mk │ ├── lpc43 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── ea4357 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── lpc4357.ld │ │ │ │ ├── pca9532.c │ │ │ │ └── pca9532.h │ │ │ └── lpcxpresso43s67 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── lpc4367.ld │ │ ├── family.c │ │ ├── family.cmake │ │ └── family.mk │ ├── lpc51 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ └── lpcxpresso51u68 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── family.c │ │ ├── family.cmake │ │ └── family.mk │ ├── lpc54 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── lpcxpresso54114 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── lpcxpresso54608 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ └── lpcxpresso54628 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── family.c │ │ ├── family.cmake │ │ └── family.mk │ ├── lpc55 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── double_m33_express │ │ │ │ ├── LPC55S69_cm33_core0_uf2.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── lpcxpresso55s28 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── lpcxpresso55s69 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ └── mcu_link │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── family.c │ │ ├── family.cmake │ │ └── family.mk │ ├── max32650 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── README.md │ │ ├── boards │ │ │ ├── max32650evkit │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── max32650.ld │ │ │ ├── max32650fthr │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── max32650.ld │ │ │ └── max32651evkit │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── max32651.ld │ │ ├── family.c │ │ ├── family.cmake │ │ └── family.mk │ ├── max32666 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── README.md │ │ ├── boards │ │ │ ├── max32666evkit │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ └── max32666fthr │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ └── max32666.ld │ ├── max32690 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── README.md │ │ ├── boards │ │ │ ├── apard32690 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ └── max32690evkit │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ └── max32690.ld │ ├── max78002 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── README.md │ │ ├── boards │ │ │ └── max78002evkit │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ └── max78002.ld │ ├── mcx │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── frdm_mcxa153 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── clock_config.c │ │ │ │ ├── clock_config.h │ │ │ │ ├── pin_mux.c │ │ │ │ └── pin_mux.h │ │ │ ├── frdm_mcxa156 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── clock_config.c │ │ │ │ ├── clock_config.h │ │ │ │ ├── pin_mux.c │ │ │ │ └── pin_mux.h │ │ │ ├── frdm_mcxn947 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── clock_config.c │ │ │ │ ├── clock_config.h │ │ │ │ ├── pin_mux.c │ │ │ │ └── pin_mux.h │ │ │ └── mcxn947brk │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── clock_config.c │ │ │ │ ├── clock_config.h │ │ │ │ ├── pin_mux.c │ │ │ │ └── pin_mux.h │ │ ├── debug.jlinkscript │ │ ├── drivers │ │ │ └── spc │ │ │ │ ├── fsl_spc.c │ │ │ │ └── fsl_spc.h │ │ ├── family.c │ │ ├── family.cmake │ │ └── family.mk │ ├── mm32 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── mm32f327x_mb39 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── flash.ld │ │ │ └── mm32f327x_pitaya_lite │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── flash.ld │ │ ├── family.c │ │ ├── family.cmake │ │ └── family.mk │ ├── msp430 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ └── msp_exp430f5529lp │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── family.c │ │ ├── family.cmake │ │ └── family.mk │ ├── msp432e4 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ └── msp_exp432e401y │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── family.c │ │ ├── family.cmake │ │ └── family.mk │ ├── nrf │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── adafruit_clue │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── arduino_nano33_ble │ │ │ │ ├── arduino_nano33_ble.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── circuitplayground_bluefruit │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── feather_nrf52840_express │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── feather_nrf52840_sense │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── itsybitsy_nrf52840 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── pca10056 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── ozone │ │ │ │ │ └── nrf52840.jdebug │ │ │ ├── pca10059 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── pca10059.ld │ │ │ ├── pca10095 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── ozone │ │ │ │ │ └── nrf5340.jdebug │ │ │ └── pca10100 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ ├── linker │ │ │ ├── nrf52833_xxaa.ld │ │ │ ├── nrf52840_s140_v6.ld │ │ │ ├── nrf52840_xxaa.ld │ │ │ └── nrf5340_xxaa_application.ld │ │ └── nrfx_config │ │ │ ├── nrfx_config.h │ │ │ ├── nrfx_glue.h │ │ │ └── nrfx_log.h │ ├── nutiny_nuc121s │ │ ├── board.mk │ │ ├── nuc121_flash.ld │ │ └── nutiny_nuc121.c │ ├── nutiny_nuc125s │ │ ├── board.mk │ │ ├── nuc125_flash.ld │ │ └── nutiny_nuc125.c │ ├── nutiny_nuc126v │ │ ├── board.mk │ │ ├── nuc126_flash.ld │ │ └── nutiny_nuc126.c │ ├── nutiny_sdk_nuc120 │ │ ├── board.mk │ │ ├── nuc120_flash.ld │ │ └── nutiny_sdk_nuc120.c │ ├── nutiny_sdk_nuc505 │ │ ├── board.mk │ │ ├── nuc505_flashtoram.ld │ │ └── nutiny_sdk_nuc505.c │ ├── pic32mz │ │ ├── boards │ │ │ ├── olimex_emz64 │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── olimex_emz64.c │ │ │ └── olimex_hmz144 │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── olimex_hmz144.c │ │ ├── family.c │ │ └── family.mk │ ├── ra │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── board_cfg.h │ │ ├── boards │ │ │ ├── portenta_c33 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── ra_cfg │ │ │ │ │ └── fsp_cfg │ │ │ │ │ │ ├── bsp │ │ │ │ │ │ ├── bsp_cfg.h │ │ │ │ │ │ ├── bsp_mcu_device_cfg.h │ │ │ │ │ │ ├── bsp_mcu_device_pn_cfg.h │ │ │ │ │ │ ├── bsp_mcu_family_cfg.h │ │ │ │ │ │ └── bsp_pin_cfg.h │ │ │ │ │ │ └── r_ioport_cfg.h │ │ │ │ ├── ra_gen │ │ │ │ │ ├── bsp_clock_cfg.h │ │ │ │ │ ├── common_data.c │ │ │ │ │ ├── common_data.h │ │ │ │ │ └── pin_data.c │ │ │ │ ├── script │ │ │ │ │ ├── fsp.ld │ │ │ │ │ └── memory_regions.ld │ │ │ │ └── smart_configurator │ │ │ │ │ └── configuration.xml │ │ │ ├── ra2a1_ek │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── ra_cfg │ │ │ │ │ └── fsp_cfg │ │ │ │ │ │ ├── bsp │ │ │ │ │ │ ├── bsp_cfg.h │ │ │ │ │ │ ├── bsp_mcu_device_cfg.h │ │ │ │ │ │ ├── bsp_mcu_device_pn_cfg.h │ │ │ │ │ │ ├── bsp_mcu_family_cfg.h │ │ │ │ │ │ └── bsp_pin_cfg.h │ │ │ │ │ │ └── r_ioport_cfg.h │ │ │ │ ├── ra_gen │ │ │ │ │ ├── bsp_clock_cfg.h │ │ │ │ │ ├── common_data.c │ │ │ │ │ ├── common_data.h │ │ │ │ │ └── pin_data.c │ │ │ │ ├── script │ │ │ │ │ ├── fsp.ld │ │ │ │ │ └── memory_regions.ld │ │ │ │ └── smart_configurator │ │ │ │ │ └── configuration.xml │ │ │ ├── ra4m1_ek │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── ra_cfg │ │ │ │ │ └── fsp_cfg │ │ │ │ │ │ ├── bsp │ │ │ │ │ │ ├── bsp_cfg.h │ │ │ │ │ │ ├── bsp_mcu_device_cfg.h │ │ │ │ │ │ ├── bsp_mcu_device_pn_cfg.h │ │ │ │ │ │ ├── bsp_mcu_family_cfg.h │ │ │ │ │ │ └── bsp_pin_cfg.h │ │ │ │ │ │ └── r_ioport_cfg.h │ │ │ │ ├── ra_gen │ │ │ │ │ ├── bsp_clock_cfg.h │ │ │ │ │ ├── common_data.c │ │ │ │ │ ├── common_data.h │ │ │ │ │ └── pin_data.c │ │ │ │ ├── script │ │ │ │ │ ├── fsp.ld │ │ │ │ │ └── memory_regions.ld │ │ │ │ └── smart_configurator │ │ │ │ │ └── configuration.xml │ │ │ ├── ra4m3_ek │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── ra_cfg │ │ │ │ │ └── fsp_cfg │ │ │ │ │ │ ├── bsp │ │ │ │ │ │ ├── bsp_cfg.h │ │ │ │ │ │ ├── bsp_mcu_device_cfg.h │ │ │ │ │ │ ├── bsp_mcu_device_pn_cfg.h │ │ │ │ │ │ ├── bsp_mcu_family_cfg.h │ │ │ │ │ │ └── bsp_pin_cfg.h │ │ │ │ │ │ └── r_ioport_cfg.h │ │ │ │ ├── ra_gen │ │ │ │ │ ├── bsp_clock_cfg.h │ │ │ │ │ ├── common_data.c │ │ │ │ │ ├── common_data.h │ │ │ │ │ └── pin_data.c │ │ │ │ ├── script │ │ │ │ │ ├── fsp.ld │ │ │ │ │ └── memory_regions.ld │ │ │ │ └── smart_configurator │ │ │ │ │ └── configuration.xml │ │ │ ├── ra6m1_ek │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── ra_cfg │ │ │ │ │ └── fsp_cfg │ │ │ │ │ │ ├── bsp │ │ │ │ │ │ ├── bsp_cfg.h │ │ │ │ │ │ ├── bsp_mcu_device_cfg.h │ │ │ │ │ │ ├── bsp_mcu_device_pn_cfg.h │ │ │ │ │ │ ├── bsp_mcu_family_cfg.h │ │ │ │ │ │ └── bsp_pin_cfg.h │ │ │ │ │ │ └── r_ioport_cfg.h │ │ │ │ ├── ra_gen │ │ │ │ │ ├── bsp_clock_cfg.h │ │ │ │ │ ├── common_data.c │ │ │ │ │ ├── common_data.h │ │ │ │ │ └── pin_data.c │ │ │ │ ├── script │ │ │ │ │ ├── fsp.ld │ │ │ │ │ └── memory_regions.ld │ │ │ │ └── smart_configurator │ │ │ │ │ └── configuration.xml │ │ │ ├── ra6m5_ek │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── ozone │ │ │ │ │ └── ra6m5.jdebug │ │ │ │ ├── ra_cfg │ │ │ │ │ └── fsp_cfg │ │ │ │ │ │ ├── bsp │ │ │ │ │ │ ├── bsp_cfg.h │ │ │ │ │ │ ├── bsp_mcu_device_cfg.h │ │ │ │ │ │ ├── bsp_mcu_device_pn_cfg.h │ │ │ │ │ │ ├── bsp_mcu_family_cfg.h │ │ │ │ │ │ └── bsp_pin_cfg.h │ │ │ │ │ │ └── r_ioport_cfg.h │ │ │ │ ├── ra_gen │ │ │ │ │ ├── bsp_clock_cfg.h │ │ │ │ │ ├── common_data.c │ │ │ │ │ ├── common_data.h │ │ │ │ │ └── pin_data.c │ │ │ │ ├── script │ │ │ │ │ ├── fsp.ld │ │ │ │ │ └── memory_regions.ld │ │ │ │ └── smart_configurator │ │ │ │ │ └── configuration.xml │ │ │ ├── ra8m1_ek │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── ozone │ │ │ │ │ ├── Renesas_RA8_TracePins.pex │ │ │ │ │ └── ra8m1.jdebug │ │ │ │ ├── ra_cfg │ │ │ │ │ └── fsp_cfg │ │ │ │ │ │ ├── bsp │ │ │ │ │ │ ├── bsp_cfg.h │ │ │ │ │ │ ├── bsp_mcu_device_cfg.h │ │ │ │ │ │ ├── bsp_mcu_device_pn_cfg.h │ │ │ │ │ │ ├── bsp_mcu_family_cfg.h │ │ │ │ │ │ └── bsp_pin_cfg.h │ │ │ │ │ │ └── r_ioport_cfg.h │ │ │ │ ├── ra_gen │ │ │ │ │ ├── bsp_clock_cfg.h │ │ │ │ │ ├── common_data.c │ │ │ │ │ ├── common_data.h │ │ │ │ │ └── pin_data.c │ │ │ │ ├── script │ │ │ │ │ ├── fsp.ld │ │ │ │ │ └── memory_regions.ld │ │ │ │ └── smart_configurator │ │ │ │ │ └── configuration.xml │ │ │ └── uno_r4 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── ra_cfg │ │ │ │ └── fsp_cfg │ │ │ │ │ ├── bsp │ │ │ │ │ ├── bsp_cfg.h │ │ │ │ │ ├── bsp_mcu_device_cfg.h │ │ │ │ │ ├── bsp_mcu_device_pn_cfg.h │ │ │ │ │ ├── bsp_mcu_family_cfg.h │ │ │ │ │ └── bsp_pin_cfg.h │ │ │ │ │ └── r_ioport_cfg.h │ │ │ │ ├── ra_gen │ │ │ │ ├── bsp_clock_cfg.h │ │ │ │ ├── common_data.c │ │ │ │ ├── common_data.h │ │ │ │ └── pin_data.c │ │ │ │ ├── script │ │ │ │ ├── fsp.ld │ │ │ │ └── memory_regions.ld │ │ │ │ └── smart_configurator │ │ │ │ └── configuration.xml │ │ ├── debug.jlinkscript │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ └── vector_data.h │ ├── rp2040 │ │ ├── boards │ │ │ ├── adafruit_feather_rp2040_usb_host │ │ │ │ ├── board.cmake │ │ │ │ └── board.h │ │ │ ├── adafruit_fruit_jam │ │ │ │ ├── adafruit_fruit_jam.h │ │ │ │ ├── board.cmake │ │ │ │ └── board.h │ │ │ ├── adafruit_metro_rp2350 │ │ │ │ ├── adafruit_metro_rp2350.h │ │ │ │ ├── board.cmake │ │ │ │ └── board.h │ │ │ ├── feather_rp2040_max3421 │ │ │ │ ├── board.cmake │ │ │ │ └── board.h │ │ │ ├── pico_sdk │ │ │ │ ├── board.cmake │ │ │ │ └── board.h │ │ │ ├── raspberry_pi_pico │ │ │ │ ├── board.cmake │ │ │ │ └── board.h │ │ │ ├── raspberry_pi_pico2 │ │ │ │ ├── board.cmake │ │ │ │ └── board.h │ │ │ └── raspberry_pi_pico_w │ │ │ │ ├── board.cmake │ │ │ │ └── board.h │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ ├── pico_sdk_import.cmake │ │ ├── rp2040-openocd.cfg │ │ ├── rp2350-openocd.cfg │ │ └── skip_ci.txt │ ├── rx │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── gr_citrus │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── gr_citrus.c │ │ │ │ ├── hwinit.c │ │ │ │ └── r5f5631fd.ld │ │ │ └── rx65n_target │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── r5f565ne.ld │ │ │ │ └── rx65n_target.c │ │ └── family.mk │ ├── samd11 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── cynthion_d11 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cynthion_d11.ld │ │ │ └── samd11_xplained │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── samd11d14am_flash.ld │ │ ├── family.c │ │ ├── family.cmake │ │ └── family.mk │ ├── samd21 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── atsamd21_xpro │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── samd21j18a_flash.ld │ │ │ ├── circuitplayground_express │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── circuitplayground_express.ld │ │ │ ├── curiosity_nano │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── samd21g17a_flash.ld │ │ │ ├── cynthion_d21 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── samd21g18a_flash.ld │ │ │ ├── feather_m0_express │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── feather_m0_express.ld │ │ │ ├── itsybitsy_m0 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── itsybitsy_m0.ld │ │ │ ├── metro_m0_express │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── metro_m0_express.ld │ │ │ ├── qtpy │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── qtpy.ld │ │ │ ├── seeeduino_xiao │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── seeeduino_xiao.ld │ │ │ ├── sparkfun_samd21_mini_usb │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── sparkfun_samd21_mini_usb.ld │ │ │ └── trinket_m0 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── trinket_m0.ld │ │ ├── family.c │ │ ├── family.cmake │ │ └── family.mk │ ├── samd5x_e5x │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── d5035_01 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── same51j19a_flash.ld │ │ │ ├── feather_m4_express │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── feather_m4_express.ld │ │ │ ├── itsybitsy_m4 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── itsybitsy_m4.ld │ │ │ ├── metro_m4_express │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── metro_m4_express.ld │ │ │ ├── pybadge │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── pybadge.ld │ │ │ ├── pyportal │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── pyportal.ld │ │ │ └── same54_xplained │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── same54p20a_flash.ld │ │ │ │ └── same54p20a_sram.ld │ │ ├── family.c │ │ ├── family.cmake │ │ └── family.mk │ ├── same70_qmtech │ │ ├── board.mk │ │ ├── hpl_pmc_config.h │ │ ├── hpl_usart_config.h │ │ ├── hpl_xdmac_config.h │ │ ├── peripheral_clk_config.h │ │ └── same70_qmtech.c │ ├── same70_xplained │ │ ├── board.mk │ │ ├── hpl_pmc_config.h │ │ ├── hpl_usart_config.h │ │ ├── hpl_xdmac_config.h │ │ ├── peripheral_clk_config.h │ │ └── same70_xplained.c │ ├── samg │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ └── samg55_xplained │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── samg55j19_flash.ld │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ ├── hpl_usart_config.h │ │ └── peripheral_clk_config.h │ ├── saml2x │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── atsaml21_xpro │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── saml21j18b_flash.ld │ │ │ ├── saml22_feather │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── saml22_feather.ld │ │ │ └── sensorwatch_m0 │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── sensorwatch_m0.ld │ │ ├── family.c │ │ ├── family.cmake │ │ └── family.mk │ ├── sltb009a │ │ ├── board.mk │ │ └── sltb009a.c │ ├── spresense │ │ ├── board.mk │ │ └── board_spresense.c │ ├── stm32c0 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ └── stm32c071nucleo │ │ │ │ ├── STM32C071RBTx_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ └── stm32c0xx_hal_conf.h │ ├── stm32f0 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── stm32f070rbnucleo │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── stm32F070rbtx_flash.ld │ │ │ ├── stm32f072disco │ │ │ │ ├── STM32F072RBTx_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ └── stm32f072eval │ │ │ │ ├── STM32F072VBTx_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ └── stm32f0xx_hal_conf.h │ ├── stm32f1 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── stm32f103_bluepill │ │ │ │ ├── STM32F103X8_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── stm32f103x8_flash.icf │ │ │ ├── stm32f103_mini_2 │ │ │ │ ├── STM32F103XC_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── stm32f103xc_flash.icf │ │ │ └── stm32f103ze_iar │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ └── stm32f1xx_hal_conf.h │ ├── stm32f2 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ └── stm32f207nucleo │ │ │ │ ├── STM32F207ZGTx_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ └── stm32f2xx_hal_conf.h │ ├── stm32f3 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ └── stm32f303disco │ │ │ │ ├── STM32F303VCTx_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ └── stm32f3xx_hal_conf.h │ ├── stm32f4 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── feather_stm32f405 │ │ │ │ ├── STM32F405RGTx_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── stm32f4xx_hal_conf.h │ │ │ ├── pyboardv11 │ │ │ │ ├── STM32F405RGTx_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── stm32f4xx_hal_conf.h │ │ │ ├── stm32f401blackpill │ │ │ │ ├── STM32F401VCTx_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── stm32f4xx_hal_conf.h │ │ │ ├── stm32f407blackvet │ │ │ │ ├── STM32F407VETx_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── stm32f4xx_hal_conf.h │ │ │ ├── stm32f407disco │ │ │ │ ├── STM32F407VGTx_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── stm32f4xx_hal_conf.h │ │ │ ├── stm32f411blackpill │ │ │ │ ├── STM32F411CEUx_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── stm32f4xx_hal_conf.h │ │ │ ├── stm32f411disco │ │ │ │ ├── STM32F411VETx_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── stm32f4xx_hal_conf.h │ │ │ ├── stm32f412disco │ │ │ │ ├── STM32F412ZGTx_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── stm32f4xx_hal_conf.h │ │ │ ├── stm32f412nucleo │ │ │ │ ├── STM32F412ZGTx_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── stm32f4xx_hal_conf.h │ │ │ └── stm32f439nucleo │ │ │ │ ├── STM32F439ZITX_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── stm32f4xx_hal_conf.h │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ └── stm32f4xx_hal_conf.h │ ├── stm32f7 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── stlinkv3mini │ │ │ │ ├── STM32F723xE_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── stm32f723disco │ │ │ │ ├── STM32F723xE_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── stm32f746disco │ │ │ │ ├── STM32F746ZGTx_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── stm32f746nucleo │ │ │ │ ├── STM32F746ZGTx_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── stm32f767nucleo │ │ │ │ ├── STM32F767ZITx_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ └── stm32f769disco │ │ │ │ ├── STM32F769ZITx_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ └── stm32f7xx_hal_conf.h │ ├── stm32g0 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ └── stm32g0b1nucleo │ │ │ │ ├── STM32G0B1RETx_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ └── stm32g0xx_hal_conf.h │ ├── stm32g4 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── b_g474e_dpow1 │ │ │ │ ├── STM32G474RETx_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cubemx │ │ │ │ │ └── b_g474e_dpow1.ioc │ │ │ ├── stm32g474nucleo │ │ │ │ ├── STM32G474RETx_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ └── stm32g491nucleo │ │ │ │ ├── STM32G491RETX_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ └── stm32g4xx_hal_conf.h │ ├── stm32h5 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── stm32h503nucleo │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── stm32h563nucleo │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cubemx │ │ │ │ │ └── stm32h563nucleo.ioc │ │ │ └── stm32h573i_dk │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ ├── linker │ │ │ ├── STM32H503xx_FLASH.ld │ │ │ ├── STM32H523xx_FLASH.ld │ │ │ ├── STM32H533xx_FLASH.ld │ │ │ ├── STM32H562xx_FLASH.ld │ │ │ ├── STM32H563xx_FLASH.ld │ │ │ └── STM32H573xx_FLASH.ld │ │ └── stm32h5xx_hal_conf.h │ ├── stm32h7 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── daisyseed │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── stm32h750ibkx_flash.ld │ │ │ │ └── stm32h750ibkx_ram.ld │ │ │ ├── stm32h723nucleo │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── stm32h743eval │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── cubemx │ │ │ │ │ └── stm32h743eval.ioc │ │ │ │ └── ozone │ │ │ │ │ └── stm32h743.jdebug │ │ │ ├── stm32h743nucleo │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cubemx │ │ │ │ │ └── stm32h743nucleo.ioc │ │ │ ├── stm32h745disco │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── stm32h750_weact │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── stm32h750xx_flash_CM7.ld │ │ │ ├── stm32h750bdk │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── stm32h750xx_flash_CM7.ld │ │ │ └── waveshare_openh743i │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ ├── linker │ │ │ ├── stm32h723xx_flash.ld │ │ │ └── stm32h743xx_flash.ld │ │ └── stm32h7xx_hal_conf.h │ ├── stm32l0 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── stm32l052dap52 │ │ │ │ ├── STM32L052K8Ux_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ └── stm32l0538disco │ │ │ │ ├── STM32L053C8Tx_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ └── stm32l0xx_hal_conf.h │ ├── stm32l4 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── stm32l412nucleo │ │ │ │ ├── STM32L412KBUx_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── stm32l476disco │ │ │ │ ├── STM32L476VGTx_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── stm32l4p5nucleo │ │ │ │ ├── STM32L4P5ZGTX_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ └── stm32l4r5nucleo │ │ │ │ ├── STM32L4RXxI_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ └── stm32l4xx_hal_conf.h │ ├── stm32u5 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── b_u585i_iot2a │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── stm32u545nucleo │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── stm32u575eval │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── stm32u575nucleo │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ └── stm32u5a5nucleo │ │ │ │ ├── STM32U5A5ZJTXQ_FLASH.ld │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cubemx │ │ │ │ └── stm32u5a5nucleo.ioc │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ ├── linker │ │ │ ├── STM32U535xx_FLASH.ld │ │ │ ├── STM32U545xx_FLASH.ld │ │ │ ├── STM32U575xx_FLASH.ld │ │ │ ├── STM32U585xx_FLASH.ld │ │ │ ├── STM32U595xx_FLASH.ld │ │ │ ├── STM32U599xx_FLASH.ld │ │ │ ├── STM32U5A9xx_FLASH.ld │ │ │ ├── STM32U5F7xx_FLASH.ld │ │ │ ├── STM32U5F9xx_FLASH.ld │ │ │ ├── STM32U5G7xx_FLASH.ld │ │ │ └── STM32U5G9xx_FLASH.ld │ │ └── stm32u5xx_hal_conf.h │ ├── stm32wb │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ └── stm32wb55nucleo │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── stm32wb55xx_flash_cm4.ld │ │ ├── family.c │ │ ├── family.cmake │ │ ├── family.mk │ │ └── stm32wbxx_hal_conf.h │ ├── tm4c │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ └── ek_tm4c123gxl │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── ek_tm4c123gxl.ccxml │ │ │ │ └── tm4c123.ld │ │ ├── family.c │ │ ├── family.cmake │ │ └── family.mk │ ├── xmc4000 │ │ ├── FreeRTOSConfig │ │ │ └── FreeRTOSConfig.h │ │ ├── boards │ │ │ ├── xmc4500_relax │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ └── xmc4700_relax │ │ │ │ ├── board.cmake │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── family.c │ │ ├── family.cmake │ │ └── family.mk │ └── zephyr_board_aliases.cmake └── mcu │ ├── bridgetek │ └── ft9xx │ │ ├── Readme.md │ │ └── scripts │ │ ├── crt0.S │ │ └── ldscript.ld │ ├── dialog │ ├── README.md │ └── da1469x │ │ ├── SDK_10.0.8.105 │ │ └── sdk │ │ │ └── bsp │ │ │ ├── arm_license.txt │ │ │ └── include │ │ │ ├── DA1469xAB.h │ │ │ ├── cmsis_compiler.h │ │ │ ├── cmsis_gcc.h │ │ │ ├── cmsis_version.h │ │ │ ├── core_cm0.h │ │ │ ├── core_cm33.h │ │ │ ├── mpu_armv8.h │ │ │ ├── system_ARMCM0.h │ │ │ └── system_DA1469x.h │ │ ├── da1469x.ld │ │ ├── include │ │ ├── hal │ │ │ └── hal_gpio.h │ │ └── mcu │ │ │ ├── da1469x_clock.h │ │ │ ├── da1469x_hal.h │ │ │ └── mcu.h │ │ └── src │ │ ├── da1469x_clock.c │ │ ├── hal_gpio.c │ │ ├── hal_system.c │ │ ├── hal_system_start.c │ │ └── system_da1469x.c │ ├── nordic │ └── nrf5x │ │ └── s140_nrf52_6.1.1_API │ │ └── include │ │ ├── ble.h │ │ ├── ble_err.h │ │ ├── ble_gap.h │ │ ├── ble_gatt.h │ │ ├── ble_gattc.h │ │ ├── ble_gatts.h │ │ ├── ble_hci.h │ │ ├── ble_l2cap.h │ │ ├── ble_ranges.h │ │ ├── ble_types.h │ │ ├── nrf52 │ │ └── nrf_mbr.h │ │ ├── nrf_error.h │ │ ├── nrf_error_sdm.h │ │ ├── nrf_error_soc.h │ │ ├── nrf_nvic.h │ │ ├── nrf_sdm.h │ │ ├── nrf_soc.h │ │ └── nrf_svc.h │ └── sony │ └── cxd56 │ ├── mkspk │ ├── .gitignore │ ├── Makefile │ ├── clefia.c │ ├── clefia.h │ ├── elf32.h │ ├── mkspk.c │ └── mkspk.h │ └── tools │ ├── flash_writer.py │ └── xmodem.py ├── lib ├── SEGGER_RTT │ ├── Config │ │ └── SEGGER_RTT_Conf.h │ ├── LICENSE.md │ ├── README.md │ └── RTT │ │ ├── SEGGER_RTT.c │ │ ├── SEGGER_RTT.h │ │ ├── SEGGER_RTT_ASM_ARMv7M.S │ │ └── SEGGER_RTT_printf.c ├── embedded-cli │ └── embedded_cli.h ├── fatfs │ ├── LICENSE.txt │ └── source │ │ ├── 00history.txt │ │ ├── 00readme.txt │ │ ├── diskio.c │ │ ├── diskio.h │ │ ├── ff.c │ │ ├── ff.h │ │ ├── ffconf.h │ │ ├── ffsystem.c │ │ └── ffunicode.c ├── networking │ ├── dhserver.c │ ├── dhserver.h │ ├── dnserver.c │ ├── dnserver.h │ ├── ndis.h │ ├── rndis_protocol.h │ └── rndis_reports.c └── rt-thread │ ├── SConscript │ ├── port │ └── msc_device_port.c │ ├── tusb_config.h │ └── tusb_rt_thread_port.c ├── library.json ├── pkg.yml ├── repository.yml ├── src ├── CMakeLists.txt ├── class │ ├── audio │ │ ├── audio.h │ │ ├── audio_device.c │ │ └── audio_device.h │ ├── bth │ │ ├── bth_device.c │ │ └── bth_device.h │ ├── cdc │ │ ├── cdc.h │ │ ├── cdc_device.c │ │ ├── cdc_device.h │ │ ├── cdc_host.c │ │ ├── cdc_host.h │ │ ├── cdc_rndis.h │ │ ├── cdc_rndis_host.c │ │ ├── cdc_rndis_host.h │ │ └── serial │ │ │ ├── ch34x.h │ │ │ ├── cp210x.h │ │ │ └── ftdi_sio.h │ ├── dfu │ │ ├── dfu.h │ │ ├── dfu_device.c │ │ ├── dfu_device.h │ │ ├── dfu_rt_device.c │ │ └── dfu_rt_device.h │ ├── hid │ │ ├── hid.h │ │ ├── hid_device.c │ │ ├── hid_device.h │ │ ├── hid_host.c │ │ └── hid_host.h │ ├── midi │ │ ├── README_midi_host.md │ │ ├── midi.h │ │ ├── midi_device.c │ │ ├── midi_device.h │ │ ├── midi_host.c │ │ └── midi_host.h │ ├── msc │ │ ├── msc.h │ │ ├── msc_device.c │ │ ├── msc_device.h │ │ ├── msc_host.c │ │ └── msc_host.h │ ├── net │ │ ├── ecm_rndis_device.c │ │ ├── ncm.h │ │ ├── ncm_device.c │ │ └── net_device.h │ ├── usbtmc │ │ ├── usbtmc.h │ │ ├── usbtmc_device.c │ │ └── usbtmc_device.h │ ├── vendor │ │ ├── vendor_device.c │ │ ├── vendor_device.h │ │ ├── vendor_host.c │ │ └── vendor_host.h │ └── video │ │ ├── video.h │ │ ├── video_device.c │ │ └── video_device.h ├── common │ ├── tusb_common.h │ ├── tusb_compiler.h │ ├── tusb_debug.h │ ├── tusb_fifo.c │ ├── tusb_fifo.h │ ├── tusb_mcu.h │ ├── tusb_private.h │ ├── tusb_types.h │ └── tusb_verify.h ├── device │ ├── dcd.h │ ├── usbd.c │ ├── usbd.h │ ├── usbd_control.c │ └── usbd_pvt.h ├── host │ ├── hcd.h │ ├── hub.c │ ├── hub.h │ ├── usbh.c │ ├── usbh.h │ └── usbh_pvt.h ├── osal │ ├── osal.h │ ├── osal_freertos.h │ ├── osal_mynewt.h │ ├── osal_none.h │ ├── osal_pico.h │ ├── osal_rtthread.h │ ├── osal_rtx4.h │ └── osal_zephyr.h ├── portable │ ├── analog │ │ └── max3421 │ │ │ ├── hcd_max3421.c │ │ │ └── hcd_max3421.h │ ├── bridgetek │ │ └── ft9xx │ │ │ └── dcd_ft9xx.c │ ├── chipidea │ │ ├── ci_fs │ │ │ ├── ci_fs_kinetis.h │ │ │ ├── ci_fs_mcx.h │ │ │ ├── ci_fs_type.h │ │ │ └── dcd_ci_fs.c │ │ └── ci_hs │ │ │ ├── ci_hs_imxrt.h │ │ │ ├── ci_hs_lpc18_43.h │ │ │ ├── ci_hs_mcx.h │ │ │ ├── ci_hs_type.h │ │ │ ├── dcd_ci_hs.c │ │ │ └── hcd_ci_hs.c │ ├── dialog │ │ └── da146xx │ │ │ └── dcd_da146xx.c │ ├── ehci │ │ ├── ehci.c │ │ ├── ehci.h │ │ └── ehci_api.h │ ├── espressif │ │ └── esp32sx │ │ │ └── dcd_esp32sx.c │ ├── mentor │ │ └── musb │ │ │ ├── dcd_musb.c │ │ │ ├── hcd_musb.c │ │ │ ├── musb_max32.h │ │ │ ├── musb_ti.h │ │ │ └── musb_type.h │ ├── microchip │ │ ├── pic │ │ │ ├── README.md │ │ │ └── dcd_pic.c │ │ ├── pic32mz │ │ │ ├── dcd_pic32mz.c │ │ │ └── usbhs_registers.h │ │ ├── samd │ │ │ └── dcd_samd.c │ │ ├── samg │ │ │ └── dcd_samg.c │ │ └── samx7x │ │ │ ├── common_usb_regs.h │ │ │ └── dcd_samx7x.c │ ├── mindmotion │ │ └── mm32 │ │ │ └── dcd_mm32f327x_otg.c │ ├── nordic │ │ └── nrf5x │ │ │ └── dcd_nrf5x.c │ ├── nuvoton │ │ ├── nuc120 │ │ │ └── dcd_nuc120.c │ │ ├── nuc121 │ │ │ └── dcd_nuc121.c │ │ └── nuc505 │ │ │ └── dcd_nuc505.c │ ├── nxp │ │ ├── khci │ │ │ ├── dcd_khci.c │ │ │ └── hcd_khci.c │ │ ├── lpc17_40 │ │ │ ├── dcd_lpc17_40.c │ │ │ ├── dcd_lpc17_40.h │ │ │ └── hcd_lpc17_40.c │ │ └── lpc_ip3511 │ │ │ └── dcd_lpc_ip3511.c │ ├── ohci │ │ ├── ohci.c │ │ └── ohci.h │ ├── raspberrypi │ │ ├── pio_usb │ │ │ ├── dcd_pio_usb.c │ │ │ └── hcd_pio_usb.c │ │ └── rp2040 │ │ │ ├── dcd_rp2040.c │ │ │ ├── hcd_rp2040.c │ │ │ ├── rp2040_usb.c │ │ │ └── rp2040_usb.h │ ├── renesas │ │ └── rusb2 │ │ │ ├── dcd_rusb2.c │ │ │ ├── hcd_rusb2.c │ │ │ ├── rusb2_common.c │ │ │ ├── rusb2_ra.h │ │ │ ├── rusb2_rx.h │ │ │ └── rusb2_type.h │ ├── sony │ │ └── cxd56 │ │ │ └── dcd_cxd56.c │ ├── st │ │ ├── stm32_fsdev │ │ │ ├── dcd_stm32_fsdev.c │ │ │ ├── fsdev_ch32.h │ │ │ ├── fsdev_stm32.h │ │ │ └── fsdev_type.h │ │ └── typec │ │ │ └── typec_stm32.c │ ├── sunxi │ │ ├── dcd_sunxi_musb.c │ │ └── musb_def.h │ ├── synopsys │ │ └── dwc2 │ │ │ ├── dcd_dwc2.c │ │ │ ├── dwc2_bcm.h │ │ │ ├── dwc2_common.c │ │ │ ├── dwc2_common.h │ │ │ ├── dwc2_efm32.h │ │ │ ├── dwc2_esp32.h │ │ │ ├── dwc2_gd32.h │ │ │ ├── dwc2_info.md │ │ │ ├── dwc2_info.py │ │ │ ├── dwc2_stm32.h │ │ │ ├── dwc2_type.h │ │ │ ├── dwc2_xmc.h │ │ │ └── hcd_dwc2.c │ ├── template │ │ ├── dcd_template.c │ │ └── hcd_template.c │ ├── ti │ │ └── msp430x5xx │ │ │ └── dcd_msp430x5xx.c │ ├── valentyusb │ │ └── eptri │ │ │ ├── dcd_eptri.c │ │ │ └── dcd_eptri.h │ └── wch │ │ ├── ch32_usbfs_reg.h │ │ ├── ch32_usbhs_reg.h │ │ ├── dcd_ch32_usbfs.c │ │ └── dcd_ch32_usbhs.c ├── tinyusb.mk ├── tusb.c ├── tusb.h ├── tusb_option.h └── typec │ ├── pd_types.h │ ├── tcd.h │ ├── usbc.c │ └── usbc.h ├── test ├── fuzz │ ├── dcd_fuzz.cc │ ├── device │ │ ├── cdc │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── cdc_seed_corpus.zip │ │ │ └── src │ │ │ │ ├── fuzz.cc │ │ │ │ ├── tusb_config.h │ │ │ │ └── usb_descriptors.cc │ │ ├── msc │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── msc_seed_corpus.zip │ │ │ └── src │ │ │ │ ├── fuzz.cc │ │ │ │ ├── tusb_config.h │ │ │ │ └── usb_descriptors.cc │ │ └── net │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ └── src │ │ │ ├── arch │ │ │ └── cc.h │ │ │ ├── fuzz.cc │ │ │ ├── lwipopts.h │ │ │ ├── tusb_config.h │ │ │ └── usb_descriptors.cc │ ├── dicts │ │ └── cdc.dict │ ├── fuzz.cc │ ├── fuzz.h │ ├── fuzz_private.h │ ├── make.mk │ ├── msc_fuzz.cc │ ├── net_fuzz.cc │ ├── rules.mk │ └── usbd_fuzz.cc ├── hil │ ├── hfp.json │ ├── hil_ci_set_matrix.py │ ├── hil_test.py │ ├── requirements.txt │ └── tinyusb.json └── unit-test │ ├── ceedling │ ├── project.yml │ └── test │ ├── device │ ├── msc │ │ └── test_msc_device.c │ └── usbd │ │ └── test_usbd.c │ ├── support │ └── tusb_config.h │ ├── test_common_func.c │ └── test_fifo.c ├── tools ├── build.py ├── build_utils.py ├── codespell │ ├── exclude-file.txt │ └── ignore-words.txt ├── gen_doc.py ├── gen_presets.py ├── get_deps.py ├── iar_gen.py ├── iar_template.ipcf ├── make_release.py ├── mksunxi.py ├── pcapng_to_corpus.py └── usb_drivers │ └── tinyusb_win_usbser.inf └── version.yml /.gitattributes: -------------------------------------------------------------------------------- 1 | # Set the default behavior, in case people don't have core.autocrlf set. 2 | * text=auto 3 | 4 | *.c text 5 | *.cpp text 6 | *.h text 7 | *.icf text 8 | *.js text 9 | *.json text 10 | *.ld text 11 | *.md text 12 | *.mk text 13 | *.py text 14 | *.rst text 15 | *.s text 16 | *.txt text 17 | *.xml text 18 | *.yml text 19 | 20 | Makefile text 21 | 22 | # Windows-only Visual Studio things 23 | 24 | *.sln text eol=crlf 25 | *.csproj text eol=crlf 26 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: 3 | - name: TinyUSB Discussion 4 | url: https://github.com/hathach/tinyusb/discussions 5 | about: If you have other questions or need help, post it here. 6 | - name: TinyUSB Docs 7 | url: https://docs.tinyusb.org/ 8 | about: Online documentation 9 | -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- 1 | **Describe the PR** 2 | A clear and concise description of what this PR solve. 3 | 4 | **Additional context** 5 | If applicable, add any other context about the PR and/or screenshots here. 6 | -------------------------------------------------------------------------------- /.github/workflows/codeql-buildscript.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | FAMILY=stm32l4 4 | pip install click 5 | python3 tools/get_deps.py $FAMILY 6 | python3 tools/build.py -s make $FAMILY 7 | -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | # Datasource local storage ignored files 5 | /dataSources/ 6 | /dataSources.local.xml 7 | # Editor-based HTTP Client requests 8 | /httpRequests/ 9 | # GitHub Copilot persisted chat sessions 10 | /copilot/chatSessions 11 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for bridge 2 | 3 | import os 4 | from building import * 5 | 6 | objs = [] 7 | cwd = GetCurrentDir() 8 | 9 | objs = objs + SConscript(cwd + '/lib/rt-thread/SConscript') 10 | 11 | Return('objs') 12 | -------------------------------------------------------------------------------- /docs/contributing/code_of_conduct.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../../CODE_OF_CONDUCT.rst -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- 1 | :hide-toc: 2 | 3 | .. include:: ../README_processed.rst 4 | 5 | .. toctree:: 6 | :caption: Index 7 | :hidden: 8 | 9 | Info 10 | Reference 11 | Contributing 12 | 13 | .. toctree:: 14 | :caption: External Links 15 | :hidden: 16 | 17 | Source Code 18 | Issue Tracker 19 | Discussions 20 | -------------------------------------------------------------------------------- /docs/info/contributors.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../../CONTRIBUTORS.rst -------------------------------------------------------------------------------- /docs/info/index.rst: -------------------------------------------------------------------------------- 1 | **** 2 | Info 3 | **** 4 | 5 | Index 6 | ===== 7 | 8 | .. toctree:: 9 | :maxdepth: 2 10 | 11 | changelog 12 | contributors 13 | -------------------------------------------------------------------------------- /docs/reference/index.rst: -------------------------------------------------------------------------------- 1 | Index 2 | ===== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | getting_started 8 | boards 9 | dependencies 10 | concurrency 11 | -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- 1 | sphinx>=5.0 2 | furo>=2020.12.30.b24 3 | sphinx-autodoc-typehints>=1.10 4 | jinja2>=3.0.3 5 | -------------------------------------------------------------------------------- /examples/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.20) 2 | 3 | #set(CMAKE_EXPORT_COMPILE_COMMANDS ON) 4 | include(${CMAKE_CURRENT_SOURCE_DIR}/../hw/bsp/family_support.cmake) 5 | 6 | project(tinyusb_examples C CXX ASM) 7 | 8 | add_subdirectory(device) 9 | add_subdirectory(dual) 10 | add_subdirectory(host) 11 | add_subdirectory(typec) 12 | -------------------------------------------------------------------------------- /examples/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/build_system/cmake/cpu/cortex-a53.cmake: -------------------------------------------------------------------------------- 1 | if (TOOLCHAIN STREQUAL "gcc") 2 | set(TOOLCHAIN_COMMON_FLAGS 3 | -mcpu=cortex-a53 4 | ) 5 | # set(FREERTOS_PORT GCC_ARM_CM0 CACHE INTERNAL "") 6 | 7 | elseif (TOOLCHAIN STREQUAL "clang") 8 | set(TOOLCHAIN_COMMON_FLAGS 9 | --target=arm-none-eabi 10 | -mcpu=cortex-a53 11 | ) 12 | #set(FREERTOS_PORT GCC_ARM_CM0 CACHE INTERNAL "") 13 | 14 | elseif (TOOLCHAIN STREQUAL "iar") 15 | message(FATAL_ERROR "IAR not supported") 16 | 17 | endif () 18 | -------------------------------------------------------------------------------- /examples/build_system/cmake/cpu/cortex-a72.cmake: -------------------------------------------------------------------------------- 1 | if (TOOLCHAIN STREQUAL "gcc") 2 | set(TOOLCHAIN_COMMON_FLAGS 3 | -mcpu=cortex-a72 4 | ) 5 | # set(FREERTOS_PORT GCC_ARM_CM0 CACHE INTERNAL "") 6 | 7 | elseif (TOOLCHAIN STREQUAL "clang") 8 | set(TOOLCHAIN_COMMON_FLAGS 9 | --target=arm-none-eabi 10 | -mcpu=cortex-a72 11 | ) 12 | #set(FREERTOS_PORT GCC_ARM_CM0 CACHE INTERNAL "") 13 | 14 | elseif (TOOLCHAIN STREQUAL "iar") 15 | message(FATAL_ERROR "IAR not supported") 16 | 17 | endif () 18 | -------------------------------------------------------------------------------- /examples/build_system/cmake/cpu/msp430.cmake: -------------------------------------------------------------------------------- 1 | if (TOOLCHAIN STREQUAL "gcc") 2 | set(FREERTOS_PORT GCC_MSP430F449 CACHE INTERNAL "") 3 | 4 | elseif (TOOLCHAIN STREQUAL "clang") 5 | message(FATAL_ERROR "Clang is not supported for this target") 6 | 7 | elseif (TOOLCHAIN STREQUAL "iar") 8 | set(FREERTOS_PORT IAR_MSP430 CACHE INTERNAL "") 9 | 10 | endif () 11 | -------------------------------------------------------------------------------- /examples/build_system/cmake/toolchain/arm_iar.cmake: -------------------------------------------------------------------------------- 1 | if (NOT DEFINED CMAKE_C_COMPILER) 2 | set(CMAKE_C_COMPILER "iccarm") 3 | endif() 4 | 5 | if (NOT DEFINED CMAKE_CXX_COMPILER) 6 | set(CMAKE_CXX_COMPILER "iccarm") 7 | endif() 8 | 9 | if (NOT DEFINED CMAKE_ASM_COMPILER) 10 | set(CMAKE_ASM_COMPILER "iasmarm") 11 | endif() 12 | 13 | find_program(CMAKE_SIZE size) 14 | find_program(CMAKE_OBJCOPY ielftool) 15 | find_program(CMAKE_OBJDUMP iefdumparm) 16 | 17 | include(${CMAKE_CURRENT_LIST_DIR}/common.cmake) 18 | -------------------------------------------------------------------------------- /examples/build_system/cmake/toolchain/msp430_gcc.cmake: -------------------------------------------------------------------------------- 1 | if (NOT DEFINED CMAKE_C_COMPILER) 2 | set(CMAKE_C_COMPILER "msp430-elf-gcc") 3 | endif () 4 | 5 | if (NOT DEFINED CMAKE_CXX_COMPILER) 6 | set(CMAKE_CXX_COMPILER "msp430-elf-g++") 7 | endif () 8 | 9 | set(CMAKE_ASM_COMPILER ${CMAKE_C_COMPILER}) 10 | 11 | find_program(CMAKE_SIZE msp430-elf-size) 12 | find_program(CMAKE_OBJCOPY msp430-elf-objcopy) 13 | find_program(CMAKE_OBJDUMP msp430-elf-objdump) 14 | 15 | include(${CMAKE_CURRENT_LIST_DIR}/common.cmake) 16 | -------------------------------------------------------------------------------- /examples/build_system/make/cpu/arm1176jzf-s.mk: -------------------------------------------------------------------------------- 1 | ifeq ($(TOOLCHAIN),gcc) 2 | CFLAGS += \ 3 | -mcpu=arm1176jzf-s \ 4 | 5 | else ifeq ($(TOOLCHAIN),iar) 6 | #CFLAGS += --cpu cortex-a53 7 | #ASFLAGS += --cpu cortex-a53 8 | 9 | endif 10 | -------------------------------------------------------------------------------- /examples/build_system/make/cpu/arm926ej-s.mk: -------------------------------------------------------------------------------- 1 | ifeq ($(TOOLCHAIN),gcc) 2 | CFLAGS += \ 3 | -mcpu=arm926ej-s \ 4 | 5 | else ifeq ($(TOOLCHAIN),iar) 6 | #CFLAGS += --cpu cortex-a53 7 | #ASFLAGS += --cpu cortex-a53 8 | 9 | endif 10 | -------------------------------------------------------------------------------- /examples/build_system/make/cpu/cortex-a53.mk: -------------------------------------------------------------------------------- 1 | ifeq ($(TOOLCHAIN),gcc) 2 | CFLAGS += \ 3 | -mcpu=cortex-a53 \ 4 | 5 | else ifeq ($(TOOLCHAIN),iar) 6 | CFLAGS += \ 7 | --cpu cortex-a53 \ 8 | 9 | ASFLAGS += \ 10 | --cpu cortex-a53 \ 11 | 12 | endif 13 | -------------------------------------------------------------------------------- /examples/build_system/make/cpu/cortex-a72.mk: -------------------------------------------------------------------------------- 1 | ifeq ($(TOOLCHAIN),gcc) 2 | CFLAGS += \ 3 | -mcpu=cortex-a72 \ 4 | 5 | else ifeq ($(TOOLCHAIN),iar) 6 | CFLAGS += \ 7 | --cpu cortex-a72 \ 8 | 9 | ASFLAGS += \ 10 | --cpu cortex-a72 \ 11 | 12 | endif 13 | -------------------------------------------------------------------------------- /examples/build_system/make/cpu/msp430.mk: -------------------------------------------------------------------------------- 1 | ifeq ($(TOOLCHAIN),gcc) 2 | # nothing to add 3 | else ifeq ($(TOOLCHAIN),clang) 4 | # nothing to add 5 | else ifeq ($(TOOLCHAIN),iar) 6 | # nothing to add 7 | else 8 | $(error "TOOLCHAIN is not supported") 9 | endif 10 | 11 | # For freeRTOS port source 12 | FREERTOS_PORTABLE_SRC ?= $(FREERTOS_PORTABLE_PATH)/GCC_MSP430F449 13 | -------------------------------------------------------------------------------- /examples/build_system/make/cpu/rv32i-ilp32.mk: -------------------------------------------------------------------------------- 1 | ifeq ($(TOOLCHAIN),gcc) 2 | CFLAGS += \ 3 | -march=rv32i_zicsr \ 4 | -mabi=ilp32 \ 5 | 6 | else ifeq ($(TOOLCHAIN),clang) 7 | CFLAGS += \ 8 | -march=rv32i_zicsr \ 9 | -mabi=ilp32 \ 10 | 11 | else ifeq ($(TOOLCHAIN),iar) 12 | $(error not support) 13 | endif 14 | 15 | # For freeRTOS port source 16 | FREERTOS_PORTABLE_SRC = $(FREERTOS_PORTABLE_PATH)/RISC-V 17 | -------------------------------------------------------------------------------- /examples/build_system/make/cpu/rv32imac-ilp32.mk: -------------------------------------------------------------------------------- 1 | ifeq ($(TOOLCHAIN),gcc) 2 | CFLAGS += \ 3 | -march=rv32imac_zicsr \ 4 | -mabi=ilp32 \ 5 | 6 | else ifeq ($(TOOLCHAIN),clang) 7 | CFLAGS += \ 8 | -march=rv32imac_zicsr \ 9 | -mabi=ilp32 \ 10 | 11 | else ifeq ($(TOOLCHAIN),iar) 12 | $(error not support) 13 | 14 | endif 15 | 16 | # For freeRTOS port source 17 | FREERTOS_PORTABLE_SRC = $(FREERTOS_PORTABLE_PATH)/RISC-V 18 | -------------------------------------------------------------------------------- /examples/build_system/make/toolchain/arm_clang.mk: -------------------------------------------------------------------------------- 1 | CC = clang 2 | CXX = clang++ 3 | AS = $(CC) -x assembler-with-cpp 4 | LD = $(CC) 5 | 6 | GDB = $(CROSS_COMPILE)gdb 7 | OBJCOPY = llvm-objcopy 8 | SIZE = llvm-size 9 | 10 | include ${TOP}/examples/build_system/make/toolchain/gcc_common.mk 11 | -------------------------------------------------------------------------------- /examples/build_system/make/toolchain/arm_iar.mk: -------------------------------------------------------------------------------- 1 | # makefile for arm iar toolchain 2 | 3 | CC = iccarm 4 | AS = iasmarm 5 | LD = ilinkarm 6 | OBJCOPY = ielftool --silent 7 | SIZE = size 8 | 9 | # Enable extension mode (gcc compatible) 10 | CFLAGS += -e --debug --silent 11 | 12 | # silent mode 13 | ASFLAGS += -S $(addprefix -I,$(INC)) 14 | -------------------------------------------------------------------------------- /examples/build_system/make/toolchain/clang_rules.mk: -------------------------------------------------------------------------------- 1 | include ${TOP}/examples/build_system/make/toolchain/gcc_rules.mk 2 | -------------------------------------------------------------------------------- /examples/device/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/audio_4_channel_mic/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/audio_4_channel_mic/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | EXAMPLE_SOURCE += \ 9 | src/main.c \ 10 | src/usb_descriptors.c \ 11 | 12 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 13 | 14 | include ../../build_system/make/rules.mk 15 | -------------------------------------------------------------------------------- /examples/device/audio_4_channel_mic/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:SAMD11 2 | mcu:SAME5X 3 | mcu:SAMG 4 | family:broadcom_64bit 5 | family:espressif 6 | -------------------------------------------------------------------------------- /examples/device/audio_4_channel_mic_freertos/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/audio_4_channel_mic_freertos/Makefile: -------------------------------------------------------------------------------- 1 | RTOS = freertos 2 | include ../../build_system/make/make.mk 3 | 4 | INC += \ 5 | src \ 6 | $(TOP)/hw \ 7 | 8 | # Example source 9 | EXAMPLE_SOURCE = \ 10 | src/main.c \ 11 | src/usb_descriptors.c 12 | 13 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 14 | 15 | include ../../build_system/make/rules.mk 16 | -------------------------------------------------------------------------------- /examples/device/audio_4_channel_mic_freertos/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_IDF_CMAKE=y 2 | CONFIG_FREERTOS_HZ=1000 3 | CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=y 4 | CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION=y 5 | -------------------------------------------------------------------------------- /examples/device/audio_4_channel_mic_freertos/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:CH32V103 2 | mcu:CH32V20X 3 | mcu:CH32V307 4 | mcu:CXD56 5 | mcu:F1C100S 6 | mcu:GD32VF103 7 | mcu:MCXA15 8 | mcu:MKL25ZXX 9 | mcu:MSP430x5xx 10 | mcu:RP2040 11 | mcu:SAMD11 12 | mcu:SAMX7X 13 | mcu:VALENTYUSB_EPTRI 14 | mcu:RAXXX 15 | mcu:STM32L0 16 | board:lpcxpresso11u37 17 | board:lpcxpresso1347 18 | family:broadcom_32bit 19 | family:broadcom_64bit 20 | -------------------------------------------------------------------------------- /examples/device/audio_4_channel_mic_freertos/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # This file is for ESP-IDF only 2 | idf_component_register(SRCS "main.c" "usb_descriptors.c" 3 | INCLUDE_DIRS "." 4 | REQUIRES boards tinyusb_src) 5 | -------------------------------------------------------------------------------- /examples/device/audio_test/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/audio_test/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | EXAMPLE_SOURCE += $(wildcard src/*.c) 9 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 10 | 11 | include ../../build_system/make/rules.mk 12 | -------------------------------------------------------------------------------- /examples/device/audio_test/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:SAMD11 2 | mcu:SAME5X 3 | mcu:SAMG 4 | family:espressif 5 | -------------------------------------------------------------------------------- /examples/device/audio_test_freertos/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/audio_test_freertos/Makefile: -------------------------------------------------------------------------------- 1 | RTOS = freertos 2 | include ../../build_system/make/make.mk 3 | 4 | INC += \ 5 | src \ 6 | $(TOP)/hw \ 7 | 8 | # Example source 9 | EXAMPLE_SOURCE = \ 10 | src/main.c \ 11 | src/usb_descriptors.c 12 | 13 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 14 | 15 | include ../../build_system/make/rules.mk 16 | -------------------------------------------------------------------------------- /examples/device/audio_test_freertos/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_IDF_CMAKE=y 2 | CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=y 3 | CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION=y 4 | -------------------------------------------------------------------------------- /examples/device/audio_test_freertos/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:CH32V103 2 | mcu:CH32V20X 3 | mcu:CH32V307 4 | mcu:CXD56 5 | mcu:F1C100S 6 | mcu:GD32VF103 7 | mcu:MCXA15 8 | mcu:MKL25ZXX 9 | mcu:MSP430x5xx 10 | mcu:RP2040 11 | mcu:SAMD11 12 | mcu:SAMX7X 13 | mcu:VALENTYUSB_EPTRI 14 | mcu:RAXXX 15 | family:broadcom_32bit 16 | family:broadcom_64bit 17 | -------------------------------------------------------------------------------- /examples/device/audio_test_freertos/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # This file is for ESP-IDF only 2 | idf_component_register(SRCS "main.c" "usb_descriptors.c" 3 | INCLUDE_DIRS "." 4 | REQUIRES boards tinyusb_src) 5 | -------------------------------------------------------------------------------- /examples/device/audio_test_multi_rate/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/audio_test_multi_rate/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | EXAMPLE_SOURCE += $(wildcard src/*.c) 9 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 10 | 11 | include ../../build_system/make/rules.mk 12 | -------------------------------------------------------------------------------- /examples/device/audio_test_multi_rate/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:SAMD11 2 | mcu:SAME5X 3 | mcu:SAMG 4 | family:espressif 5 | -------------------------------------------------------------------------------- /examples/device/board_test/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/board_test/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | EXAMPLE_SOURCE += $(wildcard src/*.c) 9 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 10 | 11 | include ../../build_system/make/rules.mk 12 | -------------------------------------------------------------------------------- /examples/device/board_test/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_IDF_CMAKE=y 2 | CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=y 3 | CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION=y 4 | -------------------------------------------------------------------------------- /examples/device/board_test/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "main.c" 2 | INCLUDE_DIRS "." 3 | REQUIRES boards tinyusb_src) 4 | -------------------------------------------------------------------------------- /examples/device/cdc_dual_ports/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/cdc_dual_ports/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | EXAMPLE_SOURCE += $(wildcard src/*.c) 9 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 10 | 11 | include ../../build_system/make/rules.mk 12 | -------------------------------------------------------------------------------- /examples/device/cdc_dual_ports/skip.txt: -------------------------------------------------------------------------------- 1 | board:stm32f407disco 2 | board:stm32f411disco 3 | -------------------------------------------------------------------------------- /examples/device/cdc_msc/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/cdc_msc/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | EXAMPLE_SOURCE += \ 9 | src/main.c \ 10 | src/msc_disk.c \ 11 | src/usb_descriptors.c \ 12 | 13 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 14 | 15 | include ../../build_system/make/rules.mk 16 | -------------------------------------------------------------------------------- /examples/device/cdc_msc/prj.conf: -------------------------------------------------------------------------------- 1 | CONFIG_GPIO=y 2 | CONFIG_FPU=y 3 | CONFIG_NO_OPTIMIZATIONS=y 4 | CONFIG_UART_INTERRUPT_DRIVEN=y 5 | CONFIG_NRFX_POWER=y 6 | CONFIG_NRFX_UARTE0=y 7 | -------------------------------------------------------------------------------- /examples/device/cdc_msc/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:SAMD11 2 | family:espressif 3 | board:ch32v203g_r0_1v0 4 | -------------------------------------------------------------------------------- /examples/device/cdc_msc_freertos/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/cdc_msc_freertos/Makefile: -------------------------------------------------------------------------------- 1 | RTOS = freertos 2 | include ../../build_system/make/make.mk 3 | 4 | INC += \ 5 | src \ 6 | $(TOP)/hw \ 7 | 8 | # Example source 9 | EXAMPLE_SOURCE = \ 10 | src/main.c \ 11 | src/msc_disk.c \ 12 | src/usb_descriptors.c 13 | 14 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 15 | 16 | include ../../build_system/make/rules.mk 17 | -------------------------------------------------------------------------------- /examples/device/cdc_msc_freertos/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_IDF_CMAKE=y 2 | CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=y 3 | CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION=y 4 | -------------------------------------------------------------------------------- /examples/device/cdc_msc_freertos/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:CH32V103 2 | mcu:CH32V20X 3 | mcu:CH32V307 4 | mcu:CXD56 5 | mcu:F1C100S 6 | mcu:GD32VF103 7 | mcu:MCXA15 8 | mcu:MKL25ZXX 9 | mcu:MSP430x5xx 10 | mcu:RP2040 11 | mcu:SAMD11 12 | mcu:SAMX7X 13 | mcu:VALENTYUSB_EPTRI 14 | mcu:RAXXX 15 | mcu:STM32L0 16 | family:broadcom_32bit 17 | family:broadcom_64bit 18 | -------------------------------------------------------------------------------- /examples/device/cdc_msc_freertos/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # This file is for ESP-IDF only 2 | idf_component_register(SRCS "main.c" "usb_descriptors.c" "msc_disk.c" 3 | INCLUDE_DIRS "." 4 | REQUIRES boards tinyusb_src) 5 | -------------------------------------------------------------------------------- /examples/device/cdc_uac2/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/cdc_uac2/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | EXAMPLE_SOURCE += \ 9 | src/cdc_app.c \ 10 | src/main.c \ 11 | src/uac2_app.c \ 12 | src/usb_descriptors.c \ 13 | 14 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 15 | 16 | include ../../build_system/make/rules.mk 17 | -------------------------------------------------------------------------------- /examples/device/dfu/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/dfu/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | EXAMPLE_SOURCE = \ 9 | src/main.c \ 10 | src/usb_descriptors.c 11 | 12 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 13 | 14 | include ../../build_system/make/rules.mk 15 | -------------------------------------------------------------------------------- /examples/device/dfu/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:TM4C123 2 | mcu:BCM2835 3 | family:espressif 4 | -------------------------------------------------------------------------------- /examples/device/dfu_runtime/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/dfu_runtime/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | EXAMPLE_SOURCE += $(wildcard src/*.c) 9 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 10 | 11 | include ../../build_system/make/rules.mk 12 | -------------------------------------------------------------------------------- /examples/device/dynamic_configuration/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/dynamic_configuration/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | EXAMPLE_SOURCE += $(wildcard src/*.c) 9 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 10 | 11 | include ../../build_system/make/rules.mk 12 | -------------------------------------------------------------------------------- /examples/device/dynamic_configuration/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:SAMD11 2 | family:espressif 3 | board:ch32v203g_r0_1v0 4 | -------------------------------------------------------------------------------- /examples/device/hid_boot_interface/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/hid_boot_interface/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | EXAMPLE_SOURCE = \ 9 | src/main.c \ 10 | src/usb_descriptors.c 11 | 12 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 13 | 14 | include ../../build_system/make/rules.mk 15 | -------------------------------------------------------------------------------- /examples/device/hid_composite/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/hid_composite/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | EXAMPLE_SOURCE += $(wildcard src/*.c) 9 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 10 | 11 | include ../../build_system/make/rules.mk 12 | -------------------------------------------------------------------------------- /examples/device/hid_composite_freertos/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/hid_composite_freertos/Makefile: -------------------------------------------------------------------------------- 1 | RTOS = freertos 2 | include ../../build_system/make/make.mk 3 | 4 | INC += \ 5 | src \ 6 | $(TOP)/hw \ 7 | 8 | # Example source 9 | EXAMPLE_SOURCE = \ 10 | src/main.c \ 11 | src/usb_descriptors.c 12 | 13 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 14 | 15 | include ../../build_system/make/rules.mk 16 | -------------------------------------------------------------------------------- /examples/device/hid_composite_freertos/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_IDF_CMAKE=y 2 | CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=y 3 | CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION=y 4 | -------------------------------------------------------------------------------- /examples/device/hid_composite_freertos/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:CH32V103 2 | mcu:CH32V20X 3 | mcu:CH32V307 4 | mcu:CXD56 5 | mcu:F1C100S 6 | mcu:GD32VF103 7 | mcu:MCXA15 8 | mcu:MKL25ZXX 9 | mcu:MSP430x5xx 10 | mcu:RP2040 11 | mcu:SAMD11 12 | mcu:SAMX7X 13 | mcu:VALENTYUSB_EPTRI 14 | mcu:RAXXX 15 | family:broadcom_32bit 16 | family:broadcom_64bit 17 | -------------------------------------------------------------------------------- /examples/device/hid_composite_freertos/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "main.c" "usb_descriptors.c" 2 | INCLUDE_DIRS "." 3 | REQUIRES boards tinyusb_src) 4 | -------------------------------------------------------------------------------- /examples/device/hid_generic_inout/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/hid_generic_inout/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | EXAMPLE_SOURCE += $(wildcard src/*.c) 9 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 10 | 11 | include ../../build_system/make/rules.mk 12 | -------------------------------------------------------------------------------- /examples/device/hid_generic_inout/boards.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | "Adafruit Boards":[0x239A,0xFFFF], 3 | "TinyUSB example":[0xCAFE,0xFFFF] 4 | } 5 | -------------------------------------------------------------------------------- /examples/device/hid_multiple_interface/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/hid_multiple_interface/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | EXAMPLE_SOURCE += $(wildcard src/*.c) 9 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 10 | 11 | include ../../build_system/make/rules.mk 12 | -------------------------------------------------------------------------------- /examples/device/midi_test/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/midi_test/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | EXAMPLE_SOURCE += $(wildcard src/*.c) 9 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 10 | 11 | include ../../build_system/make/rules.mk 12 | -------------------------------------------------------------------------------- /examples/device/midi_test_freertos/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/midi_test_freertos/Makefile: -------------------------------------------------------------------------------- 1 | RTOS = freertos 2 | include ../../build_system/make/make.mk 3 | 4 | INC += \ 5 | src \ 6 | $(TOP)/hw \ 7 | 8 | # Example source 9 | EXAMPLE_SOURCE += \ 10 | src/main.c \ 11 | src/usb_descriptors.c \ 12 | 13 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 14 | 15 | include ../../build_system/make/rules.mk 16 | -------------------------------------------------------------------------------- /examples/device/midi_test_freertos/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:CH32V103 2 | mcu:CH32V20X 3 | mcu:CH32V307 4 | mcu:CXD56 5 | mcu:F1C100S 6 | mcu:GD32VF103 7 | mcu:MCXA15 8 | mcu:MKL25ZXX 9 | mcu:MSP430x5xx 10 | mcu:RP2040 11 | mcu:SAMD11 12 | mcu:SAMX7X 13 | mcu:VALENTYUSB_EPTRI 14 | mcu:RAXXX 15 | family:broadcom_32bit 16 | family:broadcom_64bit 17 | -------------------------------------------------------------------------------- /examples/device/midi_test_freertos/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # This file is for ESP-IDF only 2 | idf_component_register(SRCS main.c usb_descriptors.c 3 | INCLUDE_DIRS "." 4 | REQUIRES boards tinyusb_src) 5 | -------------------------------------------------------------------------------- /examples/device/msc_dual_lun/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/msc_dual_lun/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | EXAMPLE_SOURCE += $(wildcard src/*.c) 9 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 10 | 11 | include ../../build_system/make/rules.mk 12 | -------------------------------------------------------------------------------- /examples/device/msc_dual_lun/prj.conf: -------------------------------------------------------------------------------- 1 | CONFIG_GPIO=y 2 | CONFIG_FPU=y 3 | CONFIG_NO_OPTIMIZATIONS=y 4 | CONFIG_UART_INTERRUPT_DRIVEN=y 5 | CONFIG_NRFX_POWER=y 6 | CONFIG_NRFX_UARTE0=y 7 | -------------------------------------------------------------------------------- /examples/device/msc_dual_lun/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:SAMD11 2 | mcu:MKL25ZXX 3 | family:espressif 4 | -------------------------------------------------------------------------------- /examples/device/net_lwip_webserver/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/net_lwip_webserver/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:CH32V103 2 | mcu:CH32V20X 3 | mcu:LPC11UXX 4 | mcu:LPC13XX 5 | mcu:LPC15XX 6 | mcu:MCXA15 7 | mcu:MSP430x5xx 8 | mcu:NUC121 9 | mcu:SAMD11 10 | mcu:STM32L0 11 | mcu:STM32F0 12 | mcu:KINETIS_KL 13 | family:broadcom_64bit 14 | family:broadcom_32bit 15 | family:espressif 16 | board:curiosity_nano 17 | board:frdm_kl25z 18 | # lpc55 has weird error 'ncm_interface' causes a section type conflict with 'ntb_parameters' 19 | family:lpc55 20 | -------------------------------------------------------------------------------- /examples/device/uac2_headset/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/uac2_headset/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | EXAMPLE_SOURCE += $(wildcard src/*.c) 9 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 10 | 11 | include ../../build_system/make/rules.mk 12 | -------------------------------------------------------------------------------- /examples/device/uac2_headset/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:LPC11UXX 2 | mcu:LPC13XX 3 | mcu:NUC121 4 | mcu:SAMD11 5 | mcu:SAME5X 6 | mcu:SAMG 7 | board:stm32l052dap52 8 | family:espressif 9 | -------------------------------------------------------------------------------- /examples/device/uac2_speaker_fb/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/uac2_speaker_fb/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | EXAMPLE_SOURCE += $(wildcard src/*.c) 9 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 10 | 11 | include ../../build_system/make/rules.mk 12 | -------------------------------------------------------------------------------- /examples/device/uac2_speaker_fb/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:LPC11UXX 2 | mcu:LPC13XX 3 | mcu:NUC121 4 | mcu:SAMD11 5 | mcu:SAME5X 6 | mcu:SAMG 7 | board:stm32l052dap52 8 | family:broadcom_64bit 9 | -------------------------------------------------------------------------------- /examples/device/usbtmc/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/usbtmc/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | EXAMPLE_SOURCE += $(wildcard src/*.c) 9 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 10 | 11 | include ../../build_system/make/rules.mk 12 | -------------------------------------------------------------------------------- /examples/device/usbtmc/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:BCM2835 2 | family:espressif 3 | -------------------------------------------------------------------------------- /examples/device/usbtmc/src/main.h: -------------------------------------------------------------------------------- 1 | #ifndef MAIN_H 2 | #define MAIN_H 3 | void led_indicator_pulse(void); 4 | 5 | #endif 6 | -------------------------------------------------------------------------------- /examples/device/usbtmc/src/usbtmc_app.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef USBTMC_APP_H 3 | #define USBTMC_APP_H 4 | 5 | void usbtmc_app_task_iter(void); 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /examples/device/video_capture/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/video_capture/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | ifeq ($(DISABLE_MJPEG),1) 4 | CFLAGS += -DCFG_EXAMPLE_VIDEO_DISABLE_MJPEG 5 | endif 6 | ifeq ($(FORCE_READONLY),1) 7 | CFLAGS += -DCFG_EXAMPLE_VIDEO_READONLY 8 | endif 9 | 10 | INC += \ 11 | src \ 12 | $(TOP)/hw \ 13 | 14 | # Example source 15 | EXAMPLE_SOURCE += $(wildcard src/*.c) 16 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 17 | 18 | include ../../build_system/make/rules.mk 19 | -------------------------------------------------------------------------------- /examples/device/video_capture/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:CH32V103 2 | mcu:CH32V20X 3 | mcu:MCXA15 4 | mcu:MSP430x5xx 5 | mcu:NUC121 6 | mcu:SAMD11 7 | -------------------------------------------------------------------------------- /examples/device/video_capture/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # This file is for ESP-IDF only 2 | idf_component_register(SRCS "main.c" "usb_descriptors.c" 3 | INCLUDE_DIRS "." 4 | REQUIRES boards tinyusb_src) 5 | -------------------------------------------------------------------------------- /examples/device/video_capture_2ch/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/video_capture_2ch/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | ifeq ($(DISABLE_MJPEG),1) 4 | CFLAGS += -DCFG_EXAMPLE_VIDEO_DISABLE_MJPEG 5 | endif 6 | ifeq ($(FORCE_READONLY),1) 7 | CFLAGS += -DCFG_EXAMPLE_VIDEO_READONLY 8 | endif 9 | 10 | INC += \ 11 | src \ 12 | $(TOP)/hw \ 13 | 14 | # Example source 15 | EXAMPLE_SOURCE += $(wildcard src/*.c) 16 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 17 | 18 | include ../../build_system/make/rules.mk 19 | -------------------------------------------------------------------------------- /examples/device/video_capture_2ch/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:MSP430x5xx 2 | mcu:NUC121 3 | mcu:SAMD11 4 | mcu:GD32VF103 5 | mcu:CH32V103 6 | mcu:CH32V20X 7 | mcu:CH32V307 8 | mcu:STM32L0 9 | mcu:MCXA15 10 | family:espressif 11 | board:curiosity_nano 12 | board:kuiic 13 | board:frdm_k32l2b 14 | board:lpcxpresso11u68 15 | board:stm32f303disco 16 | board:stm32l412nucleo 17 | board:ek_tm4c123gxl 18 | board:uno_r4 19 | board:ra4m1_ek 20 | -------------------------------------------------------------------------------- /examples/device/video_capture_2ch/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # This file is for ESP-IDF only 2 | idf_component_register(SRCS "main.c" "usb_descriptors.c" 3 | INCLUDE_DIRS "." 4 | REQUIRES boards tinyusb_src) 5 | -------------------------------------------------------------------------------- /examples/device/webusb_serial/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/device/webusb_serial/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | EXAMPLE_SOURCE += $(wildcard src/*.c) 9 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 10 | 11 | include ../../build_system/make/rules.mk 12 | -------------------------------------------------------------------------------- /examples/dual/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/dual/host_hid_to_device_cdc/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/dual/host_hid_to_device_cdc/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | EXAMPLE_SOURCE += $(wildcard src/*.c) 9 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 10 | 11 | CFLAGS_GCC += -Wno-error=cast-align -Wno-error=null-dereference 12 | 13 | SRC_C += \ 14 | src/class/hid/hid_host.c \ 15 | src/host/hub.c \ 16 | src/host/usbh.c 17 | 18 | include ../../build_system/make/rules.mk 19 | -------------------------------------------------------------------------------- /examples/dual/host_hid_to_device_cdc/only.txt: -------------------------------------------------------------------------------- 1 | board:mimxrt1060_evk 2 | board:mimxrt1064_evk 3 | board:mcb1800 4 | mcu:RP2040 5 | mcu:ra6m5 6 | mcu:MAX3421 7 | mcu:STM32F4 8 | mcu:STM32F7 9 | mcu:STM32H7 10 | -------------------------------------------------------------------------------- /examples/dual/host_info_to_device_cdc/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/dual/host_info_to_device_cdc/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | EXAMPLE_SOURCE += $(wildcard src/*.c) 9 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 10 | 11 | CFLAGS_GCC += -Wno-error=cast-align -Wno-error=null-dereference 12 | 13 | SRC_C += \ 14 | src/host/hub.c \ 15 | src/host/usbh.c 16 | 17 | include ../../build_system/make/rules.mk 18 | -------------------------------------------------------------------------------- /examples/dual/host_info_to_device_cdc/only.txt: -------------------------------------------------------------------------------- 1 | board:mimxrt1060_evk 2 | board:mimxrt1064_evk 3 | board:mcb1800 4 | mcu:RP2040 5 | mcu:ra6m5 6 | mcu:MAX3421 7 | mcu:STM32F4 8 | mcu:STM32F7 9 | mcu:STM32H7 10 | -------------------------------------------------------------------------------- /examples/host/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/host/bare_api/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/host/bare_api/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | EXAMPLE_SOURCE += \ 9 | src/main.c 10 | 11 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 12 | 13 | include ../../build_system/make/rules.mk 14 | -------------------------------------------------------------------------------- /examples/host/bare_api/only.txt: -------------------------------------------------------------------------------- 1 | mcu:KINETIS_KL 2 | mcu:LPC175X_6X 3 | mcu:LPC177X_8X 4 | mcu:LPC18XX 5 | mcu:LPC40XX 6 | mcu:LPC43XX 7 | mcu:MIMXRT1XXX 8 | mcu:MIMXRT10XX 9 | mcu:MIMXRT11XX 10 | mcu:RP2040 11 | mcu:MSP432E4 12 | mcu:RX65X 13 | mcu:RAXXX 14 | mcu:MAX3421 15 | mcu:STM32F4 16 | mcu:STM32F7 17 | mcu:STM32H7 18 | -------------------------------------------------------------------------------- /examples/host/cdc_msc_hid/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/host/cdc_msc_hid/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | EXAMPLE_SOURCE = \ 9 | src/cdc_app.c \ 10 | src/hid_app.c \ 11 | src/main.c \ 12 | src/msc_app.c \ 13 | 14 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 15 | 16 | include ../../build_system/make/rules.mk 17 | -------------------------------------------------------------------------------- /examples/host/cdc_msc_hid/only.txt: -------------------------------------------------------------------------------- 1 | mcu:KINETIS_KL 2 | mcu:LPC175X_6X 3 | mcu:LPC177X_8X 4 | mcu:LPC18XX 5 | mcu:LPC40XX 6 | mcu:LPC43XX 7 | mcu:MIMXRT1XXX 8 | mcu:MIMXRT10XX 9 | mcu:MIMXRT11XX 10 | mcu:RP2040 11 | mcu:MSP432E4 12 | mcu:RX65X 13 | mcu:RAXXX 14 | mcu:MAX3421 15 | mcu:STM32F4 16 | mcu:STM32F7 17 | mcu:STM32H7 18 | -------------------------------------------------------------------------------- /examples/host/cdc_msc_hid_freertos/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/host/cdc_msc_hid_freertos/Makefile: -------------------------------------------------------------------------------- 1 | RTOS = freertos 2 | include ../../build_system/make/make.mk 3 | 4 | INC += \ 5 | src \ 6 | $(TOP)/hw \ 7 | 8 | # Example source 9 | EXAMPLE_SOURCE = \ 10 | src/cdc_app.c \ 11 | src/hid_app.c \ 12 | src/main.c \ 13 | src/msc_app.c \ 14 | 15 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 16 | 17 | include ../../build_system/make/rules.mk 18 | -------------------------------------------------------------------------------- /examples/host/cdc_msc_hid_freertos/only.txt: -------------------------------------------------------------------------------- 1 | mcu:ESP32P4 2 | mcu:LPC175X_6X 3 | mcu:LPC177X_8X 4 | mcu:LPC18XX 5 | mcu:LPC40XX 6 | mcu:LPC43XX 7 | mcu:MIMXRT1XXX 8 | mcu:MIMXRT10XX 9 | mcu:MIMXRT11XX 10 | mcu:MSP432E4 11 | mcu:RX65X 12 | mcu:MAX3421 13 | mcu:STM32F4 14 | mcu:STM32F7 15 | mcu:STM32H7 16 | -------------------------------------------------------------------------------- /examples/host/cdc_msc_hid_freertos/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:RP2040 2 | -------------------------------------------------------------------------------- /examples/host/cdc_msc_hid_freertos/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # This file is for ESP-IDF only 2 | idf_component_register(SRCS "cdc_app.c" "hid_app.c" "main.c" "msc_app.c" 3 | INCLUDE_DIRS "." 4 | REQUIRES boards tinyusb_src) 5 | 6 | target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-error=format) 7 | -------------------------------------------------------------------------------- /examples/host/device_info/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/host/device_info/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | EXAMPLE_SOURCE += \ 9 | src/main.c 10 | 11 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 12 | 13 | include ../../build_system/make/rules.mk 14 | -------------------------------------------------------------------------------- /examples/host/device_info/only.txt: -------------------------------------------------------------------------------- 1 | mcu:ESP32S2 2 | mcu:ESP32S3 3 | mcu:ESP32P4 4 | mcu:KINETIS_KL 5 | mcu:LPC175X_6X 6 | mcu:LPC177X_8X 7 | mcu:LPC18XX 8 | mcu:LPC40XX 9 | mcu:LPC43XX 10 | mcu:MAX3421 11 | mcu:MIMXRT1XXX 12 | mcu:MIMXRT10XX 13 | mcu:MIMXRT11XX 14 | mcu:MSP432E4 15 | mcu:RP2040 16 | mcu:RX65X 17 | mcu:RAXXX 18 | mcu:STM32F4 19 | mcu:STM32F7 20 | mcu:STM32H7 21 | -------------------------------------------------------------------------------- /examples/host/device_info/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # This file is for ESP-IDF only 2 | idf_component_register(SRCS "main.c" 3 | INCLUDE_DIRS "." 4 | REQUIRES boards tinyusb_src) 5 | -------------------------------------------------------------------------------- /examples/host/hid_controller/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/host/hid_controller/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | EXAMPLE_SOURCE += \ 9 | src/hid_app.c \ 10 | src/main.c 11 | 12 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 13 | 14 | include ../../build_system/make/rules.mk 15 | -------------------------------------------------------------------------------- /examples/host/hid_controller/only.txt: -------------------------------------------------------------------------------- 1 | mcu:KINETIS_KL 2 | mcu:LPC175X_6X 3 | mcu:LPC177X_8X 4 | mcu:LPC18XX 5 | mcu:LPC40XX 6 | mcu:LPC43XX 7 | mcu:MIMXRT1XXX 8 | mcu:MIMXRT10XX 9 | mcu:MIMXRT11XX 10 | mcu:RP2040 11 | mcu:MSP432E4 12 | mcu:RX65X 13 | mcu:RAXXX 14 | mcu:MAX3421 15 | mcu:STM32F4 16 | mcu:STM32F7 17 | mcu:STM32H7 18 | -------------------------------------------------------------------------------- /examples/host/midi_rx/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | EXAMPLE_SOURCE += \ 9 | src/main.c 10 | 11 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 12 | 13 | include ../../build_system/make/rules.mk 14 | -------------------------------------------------------------------------------- /examples/host/midi_rx/only.txt: -------------------------------------------------------------------------------- 1 | mcu:ESP32S2 2 | mcu:ESP32S3 3 | mcu:ESP32P4 4 | mcu:KINETIS_KL 5 | mcu:LPC175X_6X 6 | mcu:LPC177X_8X 7 | mcu:LPC18XX 8 | mcu:LPC40XX 9 | mcu:LPC43XX 10 | mcu:MAX3421 11 | mcu:MIMXRT1XXX 12 | mcu:MIMXRT10XX 13 | mcu:MIMXRT11XX 14 | mcu:MSP432E4 15 | mcu:RP2040 16 | mcu:RX65X 17 | mcu:RAXXX 18 | mcu:STM32F4 19 | mcu:STM32F7 20 | mcu:STM32H7 21 | -------------------------------------------------------------------------------- /examples/host/msc_file_explorer/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/host/msc_file_explorer/only.txt: -------------------------------------------------------------------------------- 1 | mcu:KINETIS_KL 2 | mcu:LPC175X_6X 3 | mcu:LPC177X_8X 4 | mcu:LPC18XX 5 | mcu:LPC40XX 6 | mcu:LPC43XX 7 | mcu:MIMXRT1XXX 8 | mcu:MIMXRT10XX 9 | mcu:MIMXRT11XX 10 | mcu:RP2040 11 | mcu:MSP432E4 12 | mcu:RX65X 13 | mcu:RAXXX 14 | mcu:MAX3421 15 | mcu:STM32F4 16 | mcu:STM32F7 17 | mcu:STM32H7 18 | -------------------------------------------------------------------------------- /examples/typec/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.20) 2 | 3 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../hw/bsp/family_support.cmake) 4 | 5 | project(tinyusb_host_examples C CXX ASM) 6 | family_initialize_project(tinyusb_host_examples ${CMAKE_CURRENT_LIST_DIR}) 7 | 8 | # family_add_subdirectory will filter what to actually add based on selected FAMILY 9 | family_add_subdirectory(power_delivery) 10 | -------------------------------------------------------------------------------- /examples/typec/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/typec/power_delivery/CMakePresets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 6, 3 | "include": [ 4 | "../../../hw/bsp/BoardPresets.json" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /examples/typec/power_delivery/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build_system/make/make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | EXAMPLE_SOURCE += $(wildcard src/*.c) 9 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 10 | 11 | include ../../build_system/make/rules.mk 12 | -------------------------------------------------------------------------------- /examples/typec/power_delivery/only.txt: -------------------------------------------------------------------------------- 1 | mcu:STM32G4 2 | -------------------------------------------------------------------------------- /examples/west.yml: -------------------------------------------------------------------------------- 1 | manifest: 2 | remotes: 3 | - name: zephyrproject-rtos 4 | url-base: https://github.com/zephyrproject-rtos 5 | projects: 6 | - name: zephyr 7 | remote: zephyrproject-rtos 8 | revision: main 9 | path: zephyr 10 | import: true 11 | self: 12 | path: . 13 | -------------------------------------------------------------------------------- /hw/bsp/broadcom_32bit/boards/raspberrypi_zero/board.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_SYSTEM_CPU arm1176jzf-s CACHE INTERNAL "System Processor") 2 | #set(SUFFIX "") 3 | 4 | function(update_board TARGET) 5 | target_compile_definitions(${TARGET} PUBLIC 6 | BCM_VERSION=2835 7 | ) 8 | endfunction() 9 | -------------------------------------------------------------------------------- /hw/bsp/broadcom_32bit/boards/raspberrypi_zero/board.mk: -------------------------------------------------------------------------------- 1 | CPU_CORE = arm1176jzf-s 2 | CFLAGS += -DBCM_VERSION=2835 \ 3 | -DCFG_TUSB_MCU=OPT_MCU_BCM2835 4 | 5 | SUFFIX = 6 | -------------------------------------------------------------------------------- /hw/bsp/broadcom_64bit/boards/raspberrypi_cm4/board.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_SYSTEM_CPU cortex-a72 CACHE INTERNAL "System Processor") 2 | set(BCM_VERSION 2711) 3 | 4 | function(update_board TARGET) 5 | endfunction() 6 | -------------------------------------------------------------------------------- /hw/bsp/broadcom_64bit/boards/raspberrypi_cm4/board.mk: -------------------------------------------------------------------------------- 1 | CPU_CORE = cortex-a72 2 | CFLAGS += -DBCM_VERSION=2711 \ 3 | -DCFG_TUSB_MCU=OPT_MCU_BCM2711 4 | -------------------------------------------------------------------------------- /hw/bsp/broadcom_64bit/boards/raspberrypi_zero2/board.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_SYSTEM_CPU cortex-a53 CACHE INTERNAL "System Processor") 2 | set(BCM_VERSION 2837) 3 | 4 | function(update_board TARGET) 5 | endfunction() 6 | -------------------------------------------------------------------------------- /hw/bsp/broadcom_64bit/boards/raspberrypi_zero2/board.mk: -------------------------------------------------------------------------------- 1 | CPU_CORE = cortex-a53 2 | CFLAGS += -DBCM_VERSION=2837 \ 3 | -DCFG_TUSB_MCU=OPT_MCU_BCM2837 4 | -------------------------------------------------------------------------------- /hw/bsp/ch32f20x/boards/ch32f205r-r0/board.mk: -------------------------------------------------------------------------------- 1 | LD_FILE = $(FAMILY_PATH)/ch32f205.ld 2 | 3 | SRC_S += \ 4 | $(FAMILY_PATH)/startup_gcc_ch32f20x_d8c.s 5 | 6 | CFLAGS += \ 7 | -DCH32F20x_D8C 8 | -------------------------------------------------------------------------------- /hw/bsp/ch32f20x/core_cm3.h: -------------------------------------------------------------------------------- 1 | /* There is core_cm3.h wrapper just to avoid warnings from CMSIS headers */ 2 | /* if you want use original file add to make file: 3 | INC += \ 4 | $(TOP)/$(CH32F20X_SDK_SRC)/CMSIS 5 | */ 6 | #pragma GCC diagnostic push 7 | #pragma GCC diagnostic ignored "-Wstrict-prototypes" 8 | 9 | #include <../../CMSIS/core_cm3.h> 10 | 11 | #pragma GCC diagnostic pop 12 | -------------------------------------------------------------------------------- /hw/bsp/ch32v10x/boards/ch32v103r_r1_1v0/board.cmake: -------------------------------------------------------------------------------- 1 | set(LD_FLASH_SIZE 64K) 2 | set(LD_RAM_SIZE 20K) 3 | 4 | function(update_board TARGET) 5 | target_compile_definitions(${TARGET} PUBLIC 6 | CFG_EXAMPLE_MSC_DUAL_READONLY 7 | ) 8 | endfunction() 9 | -------------------------------------------------------------------------------- /hw/bsp/ch32v10x/boards/ch32v103r_r1_1v0/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DCFG_EXAMPLE_MSC_DUAL_READONLY 2 | 3 | LDFLAGS += \ 4 | -Wl,--defsym=__FLASH_SIZE=64K \ 5 | -Wl,--defsym=__RAM_SIZE=20K \ 6 | -------------------------------------------------------------------------------- /hw/bsp/ch32v20x/boards/ch32v203c_r0_1v0/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT D6) 2 | 3 | # 64KB zero-wait, 224KB total flash 4 | #set(LD_FLASH_SIZE 64K) 5 | set(LD_FLASH_SIZE 224K) 6 | set(LD_RAM_SIZE 20K) 7 | 8 | # set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/../../linker/${CH32_FAMILY}_tinyuf2.ld) 9 | 10 | function(update_board TARGET) 11 | target_compile_definitions(${TARGET} PUBLIC 12 | SYSCLK_FREQ_144MHz_HSE=144000000 13 | CFG_EXAMPLE_MSC_DUAL_READONLY 14 | ) 15 | endfunction() 16 | -------------------------------------------------------------------------------- /hw/bsp/ch32v20x/boards/ch32v203c_r0_1v0/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = D6 2 | 3 | CFLAGS += \ 4 | -DSYSCLK_FREQ_144MHz_HSE=144000000 \ 5 | -DCH32_FLASH_ENHANCE_READ_MODE=1 \ 6 | -DCFG_EXAMPLE_MSC_DUAL_READONLY \ 7 | 8 | # 64KB zero-wait, 224KB total flash 9 | LDFLAGS += \ 10 | -Wl,--defsym=__FLASH_SIZE=224K \ 11 | -Wl,--defsym=__RAM_SIZE=20K \ 12 | -------------------------------------------------------------------------------- /hw/bsp/ch32v20x/boards/ch32v203g_r0_1v0/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT D6) 2 | 3 | # 32KB zero-wait, 224KB total flash 4 | #set(LD_FLASH_SIZE 32K) 5 | set(LD_FLASH_SIZE 224K) 6 | set(LD_RAM_SIZE 10K) 7 | 8 | function(update_board TARGET) 9 | target_compile_definitions(${TARGET} PUBLIC 10 | SYSCLK_FREQ_144MHz_HSI=144000000 11 | CFG_EXAMPLE_MSC_DUAL_READONLY 12 | ) 13 | endfunction() 14 | -------------------------------------------------------------------------------- /hw/bsp/ch32v20x/boards/ch32v203g_r0_1v0/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = D6 2 | 3 | CFLAGS += \ 4 | -DSYSCLK_FREQ_144MHz_HSI=144000000 \ 5 | -DCH32_FLASH_ENHANCE_READ_MODE=1 \ 6 | -DCFG_EXAMPLE_MSC_DUAL_READONLY \ 7 | 8 | # 32KB zero-wait, 224KB total flash 9 | LDFLAGS += \ 10 | -Wl,--defsym=__FLASH_SIZE=224K \ 11 | -Wl,--defsym=__RAM_SIZE=10K \ 12 | -------------------------------------------------------------------------------- /hw/bsp/ch32v20x/boards/nanoch32v203/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT D6) 2 | 3 | # 64KB zero-wait, 224KB total flash 4 | set(LD_FLASH_SIZE 64K) 5 | #set(LD_FLASH_SIZE 224K) 6 | set(LD_RAM_SIZE 20K) 7 | 8 | function(update_board TARGET) 9 | target_compile_definitions(${TARGET} PUBLIC 10 | SYSCLK_FREQ_144MHz_HSE=144000000 11 | CFG_EXAMPLE_MSC_DUAL_READONLY 12 | ) 13 | endfunction() 14 | -------------------------------------------------------------------------------- /hw/bsp/ch32v20x/boards/nanoch32v203/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = D6 2 | 3 | CFLAGS += \ 4 | -DSYSCLK_FREQ_144MHz_HSE=144000000 \ 5 | -DCH32_FLASH_ENHANCE_READ_MODE=1 \ 6 | -DCFG_EXAMPLE_MSC_DUAL_READONLY \ 7 | 8 | # 64KB zero-wait , 224KB total flash 9 | LDFLAGS += \ 10 | -Wl,--defsym=__FLASH_SIZE=224K \ 11 | -Wl,--defsym=__RAM_SIZE=20K \ 12 | -------------------------------------------------------------------------------- /hw/bsp/ch32v307/boards/ch32v307v_r1_1v0/board.cmake: -------------------------------------------------------------------------------- 1 | function(update_board TARGET) 2 | # target_compile_definitions(${TARGET} PUBLIC 3 | # ) 4 | endfunction() 5 | -------------------------------------------------------------------------------- /hw/bsp/ch32v307/boards/ch32v307v_r1_1v0/board.mk: -------------------------------------------------------------------------------- 1 | LD_FILE = $(FAMILY_PATH)/ch32v307.ld 2 | -------------------------------------------------------------------------------- /hw/bsp/da1469x/boards/da14695_dk_usb/board.cmake: -------------------------------------------------------------------------------- 1 | set(JLINK_DEVICE DA14695) 2 | 3 | function(update_board TARGET) 4 | endfunction() 5 | -------------------------------------------------------------------------------- /hw/bsp/da1469x/boards/da14695_dk_usb/board.h: -------------------------------------------------------------------------------- 1 | /* metadata: 2 | name: DA14695-00HQDEVKT-U 3 | url: https://www.renesas.com/en/products/wireless-connectivity/bluetooth-low-energy/da14695-00hqdevkt-u-smartbond-da14695-bluetooth-low-energy-52-usb-development-kit 4 | */ 5 | 6 | #ifndef BOARD_H 7 | #define BOARD_H 8 | 9 | #define LED_PIN 33 // P1.1 10 | #define LED_STATE_ON 1 11 | 12 | #define BUTTON_PIN 6 13 | #define BUTTON_STATE_ACTIVE 1 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /hw/bsp/da1469x/boards/da14695_dk_usb/board.mk: -------------------------------------------------------------------------------- 1 | JLINK_DEVICE = DA14695 2 | -------------------------------------------------------------------------------- /hw/bsp/da1469x/boards/da1469x_dk_pro/board.cmake: -------------------------------------------------------------------------------- 1 | set(JLINK_DEVICE DA14699) 2 | 3 | function(update_board TARGET) 4 | endfunction() 5 | -------------------------------------------------------------------------------- /hw/bsp/da1469x/boards/da1469x_dk_pro/board.h: -------------------------------------------------------------------------------- 1 | /* metadata: 2 | name: DA1469x Development Kit Pro 3 | url: https://lpccs-docs.renesas.com/um-b-090-da1469x_getting_started/DA1469x_The_hardware/DA1469x_The_hardware.html 4 | */ 5 | 6 | #ifndef BOARD_H 7 | #define BOARD_H 8 | 9 | #define LED_PIN 33 10 | #define LED_STATE_ON 1 11 | 12 | #define BUTTON_PIN 6 13 | #define BUTTON_STATE_ACTIVE 0 14 | 15 | #define NEED_VBUS_MONITOR 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /hw/bsp/da1469x/boards/da1469x_dk_pro/board.mk: -------------------------------------------------------------------------------- 1 | # For flash-jlink target 2 | JLINK_DEVICE = DA14699 3 | -------------------------------------------------------------------------------- /hw/bsp/da1469x/product_header.dump: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hathach/tinyusb/2a364ca272d8219f47aece3232aa2e9ab8738655/hw/bsp/da1469x/product_header.dump -------------------------------------------------------------------------------- /hw/bsp/espressif/boards/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(hw_dir "${CMAKE_CURRENT_LIST_DIR}/../../../") 2 | 3 | idf_component_register(SRCS family.c 4 | INCLUDE_DIRS "." ${BOARD} ${hw_dir} 5 | PRIV_REQUIRES driver usb 6 | REQUIRES led_strip src tinyusb_src) 7 | -------------------------------------------------------------------------------- /hw/bsp/espressif/boards/adafruit_feather_esp32_v2/board.cmake: -------------------------------------------------------------------------------- 1 | # Apply board specific content here 2 | set(IDF_TARGET "esp32") 3 | set(MAX3421_HOST 1) 4 | -------------------------------------------------------------------------------- /hw/bsp/espressif/boards/adafruit_feather_esp32c6/board.cmake: -------------------------------------------------------------------------------- 1 | # Apply board specific content here 2 | set(IDF_TARGET "esp32c6") 3 | set(MAX3421_HOST 1) 4 | -------------------------------------------------------------------------------- /hw/bsp/espressif/boards/adafruit_feather_esp32s2/board.cmake: -------------------------------------------------------------------------------- 1 | # Apply board specific content here 2 | set(IDF_TARGET "esp32s2") 3 | set(MAX3421_HOST 1) 4 | -------------------------------------------------------------------------------- /hw/bsp/espressif/boards/adafruit_feather_esp32s3/board.cmake: -------------------------------------------------------------------------------- 1 | # Apply board specific content here 2 | set(IDF_TARGET "esp32s3") 3 | set(MAX3421_HOST 1) 4 | -------------------------------------------------------------------------------- /hw/bsp/espressif/boards/adafruit_magtag_29gray/board.cmake: -------------------------------------------------------------------------------- 1 | # Apply board specific content here 2 | set(IDF_TARGET "esp32s2") 3 | -------------------------------------------------------------------------------- /hw/bsp/espressif/boards/adafruit_metro_esp32s2/board.cmake: -------------------------------------------------------------------------------- 1 | # Apply board specific content here 2 | set(IDF_TARGET "esp32s2") 3 | set(MAX3421_HOST 1) 4 | -------------------------------------------------------------------------------- /hw/bsp/espressif/boards/espressif_addax_1/board.cmake: -------------------------------------------------------------------------------- 1 | # Apply board specific content here 2 | set(IDF_TARGET "esp32s3") 3 | -------------------------------------------------------------------------------- /hw/bsp/espressif/boards/espressif_c3_devkitc/board.cmake: -------------------------------------------------------------------------------- 1 | # Apply board specific content here 2 | set(IDF_TARGET "esp32c3") 3 | set(MAX3421_HOST 1) 4 | -------------------------------------------------------------------------------- /hw/bsp/espressif/boards/espressif_c6_devkitc/board.cmake: -------------------------------------------------------------------------------- 1 | # Apply board specific content here 2 | set(IDF_TARGET "esp32c6") 3 | set(MAX3421_HOST 1) 4 | -------------------------------------------------------------------------------- /hw/bsp/espressif/boards/espressif_kaluga_1/board.cmake: -------------------------------------------------------------------------------- 1 | # Apply board specific content here 2 | set(IDF_TARGET "esp32s2") 3 | -------------------------------------------------------------------------------- /hw/bsp/espressif/boards/espressif_p4_function_ev/board.cmake: -------------------------------------------------------------------------------- 1 | # Apply board specific content here 2 | set(IDF_TARGET "esp32p4") 3 | -------------------------------------------------------------------------------- /hw/bsp/espressif/boards/espressif_s2_devkitc/board.cmake: -------------------------------------------------------------------------------- 1 | # Apply board specific content here 2 | set(IDF_TARGET "esp32s2") 3 | -------------------------------------------------------------------------------- /hw/bsp/espressif/boards/espressif_s3_devkitc/board.cmake: -------------------------------------------------------------------------------- 1 | # Apply board specific content here 2 | set(IDF_TARGET "esp32s3") 3 | -------------------------------------------------------------------------------- /hw/bsp/espressif/boards/espressif_s3_devkitm/board.cmake: -------------------------------------------------------------------------------- 1 | # Apply board specific content here 2 | set(IDF_TARGET "esp32s3") 3 | -------------------------------------------------------------------------------- /hw/bsp/espressif/boards/espressif_saola_1/board.cmake: -------------------------------------------------------------------------------- 1 | # Apply board specific content here 2 | set(IDF_TARGET "esp32s2") 3 | -------------------------------------------------------------------------------- /hw/bsp/espressif/components/led_strip/examples/led_strip_rmt_ws2812/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # For more information about build system see 2 | # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html 3 | # The following five lines of boilerplate have to be in your project's 4 | # CMakeLists in this exact order for cmake to work correctly 5 | cmake_minimum_required(VERSION 3.16) 6 | 7 | set(IDF_TARGET "esp32s3") 8 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 9 | project(led_strip_rmt_ws2812) 10 | -------------------------------------------------------------------------------- /hw/bsp/espressif/components/led_strip/examples/led_strip_rmt_ws2812/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "led_strip_rmt_ws2812_main.c" 2 | INCLUDE_DIRS ".") 3 | -------------------------------------------------------------------------------- /hw/bsp/espressif/components/led_strip/examples/led_strip_rmt_ws2812/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | ## IDF Component Manager Manifest File 2 | dependencies: 3 | espressif/led_strip: 4 | version: '^2' 5 | override_path: '../../../' 6 | -------------------------------------------------------------------------------- /hw/bsp/espressif/components/led_strip/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "2.5.2" 2 | description: Driver for Addressable LED Strip (WS2812, etc) 3 | url: https://github.com/espressif/idf-extra-components/tree/master/led_strip 4 | dependencies: 5 | idf: ">=4.4" 6 | -------------------------------------------------------------------------------- /hw/bsp/f1c100s/boards/f1c100s/board.cmake: -------------------------------------------------------------------------------- 1 | function(update_board TARGET) 2 | # nothing to do 3 | endfunction() 4 | -------------------------------------------------------------------------------- /hw/bsp/f1c100s/boards/f1c100s/board.h: -------------------------------------------------------------------------------- 1 | /* metadata: 2 | name: Lctech Pi F1C200s 3 | url: https://linux-sunxi.org/Lctech_Pi_F1C200s 4 | */ 5 | 6 | #ifndef BOARD_H 7 | #define BOARD_H 8 | 9 | // Nothing valuable here 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /hw/bsp/f1c100s/boards/f1c100s/board.mk: -------------------------------------------------------------------------------- 1 | # nothing to do 2 | -------------------------------------------------------------------------------- /hw/bsp/fomu/boards/fomu/board.cmake: -------------------------------------------------------------------------------- 1 | function(update_board TARGET) 2 | # target_compile_definitions(${TARGET} PUBLIC 3 | # ) 4 | endfunction() 5 | -------------------------------------------------------------------------------- /hw/bsp/fomu/boards/fomu/board.mk: -------------------------------------------------------------------------------- 1 | # place holder 2 | -------------------------------------------------------------------------------- /hw/bsp/fomu/output_format.ld: -------------------------------------------------------------------------------- 1 | OUTPUT_FORMAT("elf32-littleriscv") 2 | -------------------------------------------------------------------------------- /hw/bsp/fomu/regions.ld: -------------------------------------------------------------------------------- 1 | MEMORY { 2 | csr : ORIGIN = 0x60000000, LENGTH = 0x01000000 3 | vexriscv_debug : ORIGIN = 0xf00f0000, LENGTH = 0x00000100 4 | sram : ORIGIN = 0x10000000, LENGTH = 0x00020000 5 | rom : ORIGIN = 0x00000000, LENGTH = 0x00002000 6 | } 7 | -------------------------------------------------------------------------------- /hw/bsp/gd32vf103/boards/sipeed_longan_nano/board.cmake: -------------------------------------------------------------------------------- 1 | set(JLINK_DEVICE gd32vf103cbt6) 2 | 3 | set(SDK_BSP_DIR ${SOC_DIR}/Board/gd32vf103c_longan_nano) 4 | set(LD_FILE_GNU ${SDK_BSP_DIR}/Source/GCC/gcc_gd32vf103xb_flashxip.ld) 5 | 6 | function(update_board TARGET) 7 | target_sources(${TARGET} PUBLIC 8 | ${SDK_BSP_DIR}/Source/gd32vf103c_longan_nano.c 9 | ) 10 | target_include_directories(${TARGET} PUBLIC 11 | ${SDK_BSP_DIR}/Include 12 | ) 13 | endfunction() 14 | -------------------------------------------------------------------------------- /hw/bsp/imxrt/boards/metro_m7_1011/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT MIMXRT1011) 2 | 3 | set(JLINK_DEVICE MIMXRT1011xxx5A) 4 | set(PYOCD_TARGET mimxrt1010) 5 | set(NXPLINK_DEVICE MIMXRT1011xxxxx:EVK-MIMXRT1010) 6 | 7 | function(update_board TARGET) 8 | target_sources(${TARGET} PUBLIC 9 | ${CMAKE_CURRENT_FUNCTION_LIST_DIR}/evkmimxrt1010_flexspi_nor_config.c 10 | ) 11 | target_compile_definitions(${TARGET} PUBLIC 12 | CPU_MIMXRT1011DAE5A 13 | CFG_EXAMPLE_VIDEO_READONLY 14 | ) 15 | endfunction() 16 | -------------------------------------------------------------------------------- /hw/bsp/imxrt/boards/metro_m7_1011/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DCPU_MIMXRT1011DAE5A -DCFG_EXAMPLE_VIDEO_READONLY 2 | MCU_VARIANT = MIMXRT1011 3 | 4 | # LD file with uf2 5 | LD_FILE = $(BOARD_PATH)/$(BOARD).ld 6 | 7 | # For flash-jlink target 8 | JLINK_DEVICE = MIMXRT1011xxx5A 9 | 10 | # For flash-pyocd target 11 | PYOCD_TARGET = mimxrt1010 12 | 13 | # flash using pyocd 14 | flash: flash-uf2 15 | flash-uf2: $(BUILD)/$(PROJECT).uf2 16 | @echo copying $< 17 | @$(CP) $< /media/$(USER)/METROM7BOOT 18 | -------------------------------------------------------------------------------- /hw/bsp/imxrt/boards/metro_m7_1011_sd/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT MIMXRT1011) 2 | 3 | set(JLINK_DEVICE MIMXRT1011xxx5A) 4 | set(PYOCD_TARGET mimxrt1010) 5 | set(NXPLINK_DEVICE MIMXRT1011xxxxx:EVK-MIMXRT1010) 6 | 7 | function(update_board TARGET) 8 | target_sources(${TARGET} PUBLIC 9 | ${CMAKE_CURRENT_FUNCTION_LIST_DIR}/evkmimxrt1010_flexspi_nor_config.c 10 | ) 11 | target_compile_definitions(${TARGET} PUBLIC 12 | CPU_MIMXRT1011DAE5A 13 | CFG_EXAMPLE_VIDEO_READONLY 14 | ) 15 | endfunction() 16 | -------------------------------------------------------------------------------- /hw/bsp/imxrt/boards/metro_m7_1011_sd/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DCPU_MIMXRT1011DAE5A -DCFG_EXAMPLE_VIDEO_READONLY 2 | MCU_VARIANT = MIMXRT1011 3 | 4 | # LD file with uf2 5 | LD_FILE = $(BOARD_PATH)/$(BOARD).ld 6 | 7 | # For flash-jlink target 8 | JLINK_DEVICE = MIMXRT1011xxx5A 9 | 10 | # For flash-pyocd target 11 | PYOCD_TARGET = mimxrt1010 12 | 13 | # flash using pyocd 14 | flash: flash-uf2 15 | flash-uf2: $(BUILD)/$(PROJECT).uf2 16 | @echo copying $< 17 | @$(CP) $< /media/$(USER)/METROM7BOOT 18 | -------------------------------------------------------------------------------- /hw/bsp/imxrt/boards/mimxrt1010_evk/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT MIMXRT1011) 2 | 3 | set(JLINK_DEVICE MIMXRT1011xxx5A) 4 | set(PYOCD_TARGET mimxrt1010) 5 | set(NXPLINK_DEVICE MIMXRT1011xxxxx:EVK-MIMXRT1010) 6 | 7 | function(update_board TARGET) 8 | target_sources(${TARGET} PUBLIC 9 | ${CMAKE_CURRENT_FUNCTION_LIST_DIR}/evkmimxrt1010_flexspi_nor_config.c 10 | ) 11 | target_compile_definitions(${TARGET} PUBLIC 12 | CPU_MIMXRT1011DAE5A 13 | CFG_EXAMPLE_VIDEO_READONLY 14 | ) 15 | endfunction() 16 | -------------------------------------------------------------------------------- /hw/bsp/imxrt/boards/mimxrt1010_evk/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DCPU_MIMXRT1011DAE5A -DCFG_EXAMPLE_VIDEO_READONLY 2 | MCU_VARIANT = MIMXRT1011 3 | 4 | # For flash-jlink target 5 | JLINK_DEVICE = MIMXRT1011xxx5A 6 | 7 | # For flash-pyocd target 8 | PYOCD_TARGET = mimxrt1010 9 | 10 | # flash using pyocd 11 | flash: flash-pyocd 12 | -------------------------------------------------------------------------------- /hw/bsp/imxrt/boards/mimxrt1015_evk/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT MIMXRT1015) 2 | 3 | set(JLINK_DEVICE MIMXRT1015DAF5A) 4 | set(PYOCD_TARGET mimxrt1015) 5 | set(NXPLINK_DEVICE MIMXRT1015xxxxx:EVK-MIMXRT1015) 6 | 7 | function(update_board TARGET) 8 | target_sources(${TARGET} PUBLIC 9 | ${CMAKE_CURRENT_FUNCTION_LIST_DIR}/evkmimxrt1015_flexspi_nor_config.c 10 | ) 11 | target_compile_definitions(${TARGET} PUBLIC 12 | CPU_MIMXRT1015DAF5A 13 | CFG_EXAMPLE_VIDEO_READONLY 14 | ) 15 | endfunction() 16 | -------------------------------------------------------------------------------- /hw/bsp/imxrt/boards/mimxrt1015_evk/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DCPU_MIMXRT1015DAF5A -DCFG_EXAMPLE_VIDEO_READONLY 2 | MCU_VARIANT = MIMXRT1015 3 | 4 | # For flash-jlink target 5 | JLINK_DEVICE = MIMXRT1015DAF5A 6 | 7 | # For flash-pyocd target 8 | PYOCD_TARGET = mimxrt1015 9 | 10 | # flash using pyocd 11 | flash: flash-pyocd 12 | -------------------------------------------------------------------------------- /hw/bsp/imxrt/boards/mimxrt1020_evk/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT MIMXRT1021) 2 | 3 | set(JLINK_DEVICE MIMXRT1021xxx5A) 4 | set(PYOCD_TARGET mimxrt1020) 5 | set(NXPLINK_DEVICE MIMXRT1021xxxxx:EVK-MIMXRT1020) 6 | 7 | function(update_board TARGET) 8 | target_sources(${TARGET} PUBLIC 9 | ${CMAKE_CURRENT_FUNCTION_LIST_DIR}/evkmimxrt1020_flexspi_nor_config.c 10 | ) 11 | target_compile_definitions(${TARGET} PUBLIC 12 | CPU_MIMXRT1021DAG5A 13 | ) 14 | endfunction() 15 | -------------------------------------------------------------------------------- /hw/bsp/imxrt/boards/mimxrt1020_evk/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DCPU_MIMXRT1021DAG5A 2 | MCU_VARIANT = MIMXRT1021 3 | 4 | # For flash-jlink target 5 | JLINK_DEVICE = MIMXRT1021xxx5A 6 | 7 | # For flash-pyocd target 8 | PYOCD_TARGET = mimxrt1020 9 | 10 | # flash using pyocd 11 | flash: flash-pyocd 12 | -------------------------------------------------------------------------------- /hw/bsp/imxrt/boards/mimxrt1024_evk/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DCPU_MIMXRT1024DAG5A 2 | MCU_VARIANT = MIMXRT1024 3 | 4 | # warnings caused by mcu driver 5 | CFLAGS += -Wno-error=array-bounds 6 | 7 | # For flash-jlink target 8 | JLINK_DEVICE = MIMXRT1024xxx5A 9 | 10 | # For flash-pyocd target 11 | PYOCD_TARGET = mimxrt1024 12 | 13 | # flash using pyocd 14 | flash: flash-pyocd 15 | -------------------------------------------------------------------------------- /hw/bsp/imxrt/boards/mimxrt1050_evkb/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT MIMXRT1052) 2 | 3 | set(JLINK_DEVICE MIMXRT1052xxxxB) 4 | set(PYOCD_TARGET mimxrt1050) 5 | set(NXPLINK_DEVICE MIMXRT1052xxxxB:EVK-MIMXRT1050) 6 | 7 | function(update_board TARGET) 8 | target_sources(${TARGET} PUBLIC 9 | ${CMAKE_CURRENT_FUNCTION_LIST_DIR}/evkbimxrt1050_flexspi_nor_config.c 10 | ) 11 | target_compile_definitions(${TARGET} PUBLIC 12 | CPU_MIMXRT1052DVL6B 13 | BOARD_TUD_RHPORT=0 14 | BOARD_TUH_RHPORT=1 15 | ) 16 | endfunction() 17 | -------------------------------------------------------------------------------- /hw/bsp/imxrt/boards/mimxrt1050_evkb/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DCPU_MIMXRT1052DVL6B 2 | MCU_VARIANT = MIMXRT1052 3 | 4 | JLINK_DEVICE = MIMXRT1052xxxxB 5 | 6 | # For flash-pyocd target 7 | PYOCD_TARGET = mimxrt1050 8 | 9 | # flash using pyocd 10 | flash: flash-pyocd 11 | -------------------------------------------------------------------------------- /hw/bsp/imxrt/boards/mimxrt1060_evk/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DCPU_MIMXRT1062DVL6A 2 | MCU_VARIANT = MIMXRT1062 3 | 4 | # For flash-jlink target 5 | JLINK_DEVICE = MIMXRT1062xxx6A 6 | 7 | # For flash-pyocd target 8 | PYOCD_TARGET = mimxrt1060 9 | 10 | BOARD_TUD_RHPORT = 0 11 | BOARD_TUH_RHPORT = 1 12 | 13 | # flash using pyocd 14 | flash: flash-pyocd 15 | -------------------------------------------------------------------------------- /hw/bsp/imxrt/boards/mimxrt1064_evk/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT MIMXRT1064) 2 | 3 | set(JLINK_DEVICE MIMXRT1064xxx6A) 4 | set(PYOCD_TARGET mimxrt1064) 5 | set(NXPLINK_DEVICE MIMXRT1064xxxxA:EVK-MIMXRT1064) 6 | 7 | function(update_board TARGET) 8 | target_sources(${TARGET} PUBLIC 9 | ${CMAKE_CURRENT_FUNCTION_LIST_DIR}/evkmimxrt1064_flexspi_nor_config.c 10 | ) 11 | target_compile_definitions(${TARGET} PUBLIC 12 | CPU_MIMXRT1064DVL6A 13 | BOARD_TUD_RHPORT=0 14 | BOARD_TUH_RHPORT=1 15 | ) 16 | endfunction() 17 | -------------------------------------------------------------------------------- /hw/bsp/imxrt/boards/mimxrt1064_evk/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DCPU_MIMXRT1064DVL6A 2 | MCU_VARIANT = MIMXRT1064 3 | 4 | # For flash-jlink target 5 | JLINK_DEVICE = MIMXRT1064xxx6A 6 | 7 | # For flash-pyocd target 8 | PYOCD_TARGET = mimxrt1064 9 | 10 | BOARD_TUD_RHPORT = 0 11 | BOARD_TUH_RHPORT = 1 12 | 13 | # flash using pyocd 14 | flash: flash-pyocd 15 | -------------------------------------------------------------------------------- /hw/bsp/imxrt/boards/teensy_40/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DCPU_MIMXRT1062DVL6A 2 | MCU_VARIANT = MIMXRT1062 3 | 4 | # For flash-jlink target 5 | JLINK_DEVICE = MIMXRT1062xxx6A 6 | 7 | # flash by using teensy_loader_cli https://github.com/PaulStoffregen/teensy_loader_cli 8 | # Make sure it is in your PATH 9 | flash: $(BUILD)/$(PROJECT).hex 10 | teensy_loader_cli --mcu=imxrt1062 -v -w $< 11 | -------------------------------------------------------------------------------- /hw/bsp/imxrt/boards/teensy_41/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DCPU_MIMXRT1062DVL6A 2 | MCU_VARIANT = MIMXRT1062 3 | 4 | # For flash-jlink target 5 | JLINK_DEVICE = MIMXRT1062xxx6A 6 | 7 | # flash by using teensy_loader_cli https://github.com/PaulStoffregen/teensy_loader_cli 8 | # Make sure it is in your PATH 9 | flash: $(BUILD)/$(PROJECT).hex 10 | teensy_loader_cli --mcu=imxrt1062 -v -w $< 11 | -------------------------------------------------------------------------------- /hw/bsp/imxrt/debug.jlinkscript: -------------------------------------------------------------------------------- 1 | int SetupTarget(void) { 2 | JLINK_ExecCommand("SetRTTSearchRanges 0x20000000 0x40000"); 3 | 4 | return 0; 5 | } 6 | -------------------------------------------------------------------------------- /hw/bsp/kinetis_k32l2/boards/frdm_k32l2a4s/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT K32L2A41A) 2 | 3 | set(JLINK_DEVICE K32L2A41xxxxA) 4 | set(PYOCD_TARGET K32L2A) 5 | 6 | set(LD_FILE_GNU ${SDK_DIR}/devices/${MCU_VARIANT}/gcc/K32L2A41xxxxA_flash.ld) 7 | 8 | function(update_board TARGET) 9 | target_sources(${TARGET} PUBLIC 10 | ${CMAKE_CURRENT_FUNCTION_LIST_DIR}/clock_config.c 11 | ) 12 | target_compile_definitions(${TARGET} PUBLIC 13 | CPU_K32L2A41VLH1A 14 | ) 15 | endfunction() 16 | -------------------------------------------------------------------------------- /hw/bsp/kinetis_k32l2/boards/frdm_k32l2b/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT K32L2B31A) 2 | 3 | set(JLINK_DEVICE K32L2B31xxxxA) 4 | set(PYOCD_TARGET K32L2B) 5 | 6 | set(LD_FILE_GNU ${SDK_DIR}/devices/${MCU_VARIANT}/gcc/K32L2B31xxxxA_flash.ld) 7 | 8 | function(update_board TARGET) 9 | target_sources(${TARGET} PUBLIC 10 | ${CMAKE_CURRENT_FUNCTION_LIST_DIR}/clock_config.c 11 | ) 12 | target_compile_definitions(${TARGET} PUBLIC 13 | CPU_K32L2B31VLH0A 14 | ) 15 | endfunction() 16 | -------------------------------------------------------------------------------- /hw/bsp/kinetis_k32l2/boards/frdm_k32l2b/board.mk: -------------------------------------------------------------------------------- 1 | MCU = K32L2B31A 2 | 3 | CFLAGS += -DCPU_K32L2B31VLH0A 4 | 5 | # mcu driver cause following warnings 6 | CFLAGS += -Wno-error=unused-parameter -Wno-error=redundant-decls 7 | 8 | # All source paths should be relative to the top level. 9 | LD_FILE = $(MCU_DIR)/gcc/K32L2B31xxxxA_flash.ld 10 | 11 | # For flash-jlink target 12 | JLINK_DEVICE = K32L2B31xxxxA 13 | 14 | # For flash-pyocd target 15 | PYOCD_TARGET = K32L2B 16 | 17 | # flash using pyocd 18 | flash: flash-pyocd 19 | -------------------------------------------------------------------------------- /hw/bsp/kinetis_k32l2/boards/kuiic/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT K32L2B31A) 2 | 3 | set(JLINK_DEVICE K32L2B31xxxxA) 4 | set(PYOCD_TARGET K32L2B) 5 | 6 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/kuiic.ld) 7 | 8 | function(update_board TARGET) 9 | target_sources(${TARGET} PUBLIC 10 | ${CMAKE_CURRENT_FUNCTION_LIST_DIR}/clock_config.c 11 | ) 12 | target_compile_definitions(${TARGET} PUBLIC 13 | CPU_K32L2B31VLH0A 14 | ) 15 | endfunction() 16 | -------------------------------------------------------------------------------- /hw/bsp/kinetis_k32l2/boards/kuiic/board.mk: -------------------------------------------------------------------------------- 1 | MCU = K32L2B31A 2 | 3 | CFLAGS += -DCPU_K32L2B31VLH0A 4 | 5 | # mcu driver cause following warnings 6 | CFLAGS += -Wno-error=unused-parameter -Wno-error=redundant-decls 7 | 8 | # All source paths should be relative to the top level. 9 | LD_FILE = $(BOARD_PATH)/kuiic.ld 10 | 11 | # For flash-jlink target 12 | JLINK_DEVICE = K32L2B31xxxxA 13 | 14 | # For flash-pyocd target 15 | PYOCD_TARGET = K32L2B 16 | 17 | # flash using pyocd 18 | flash: flash-pyocd 19 | -------------------------------------------------------------------------------- /hw/bsp/lpc11/boards/lpcxpresso11u68/board.cmake: -------------------------------------------------------------------------------- 1 | set(LPC_FAMILY 11u6x) 2 | set(JLINK_DEVICE LPC11U68) 3 | set(PYOCD_TARGET LPC11U68) 4 | 5 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/lpc11u68.ld) 6 | 7 | function(update_board TARGET) 8 | target_sources(${TARGET} PUBLIC 9 | ${SDK_DIR}/src/gpio_${LPC_FAMILY}.c 10 | ${SDK_DIR}/src/syscon_${LPC_FAMILY}.c 11 | ) 12 | endfunction() 13 | -------------------------------------------------------------------------------- /hw/bsp/lpc11/boards/lpcxpresso11u68/board.mk: -------------------------------------------------------------------------------- 1 | MCU = 11u6x 2 | MCU_DRV = 11u6x 3 | 4 | CFLAGS += \ 5 | -DCORE_M0PLUS \ 6 | -D__VTOR_PRESENT=0 \ 7 | -DCFG_TUSB_MEM_SECTION='__attribute__((section(".data.$$RAM3")))' \ 8 | 9 | # All source paths should be relative to the top level. 10 | LD_FILE = $(BOARD_PATH)/lpc11u68.ld 11 | 12 | # For flash-jlink target 13 | JLINK_DEVICE = LPC11U68 14 | PYOCD_TARGET = lpc11u68 15 | 16 | # flash using pyocd 17 | flash: flash-pyocd 18 | -------------------------------------------------------------------------------- /hw/bsp/lpc13/boards/lpcxpresso1347/board.cmake: -------------------------------------------------------------------------------- 1 | set(JLINK_DEVICE LPC1347) 2 | set(PYOCD_TARGET LPC1347) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/lpc1347.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | CFG_EXAMPLE_MSC_READONLY 9 | CFG_EXAMPLE_VIDEO_READONLY 10 | ) 11 | endfunction() 12 | -------------------------------------------------------------------------------- /hw/bsp/lpc13/boards/lpcxpresso1347/board.mk: -------------------------------------------------------------------------------- 1 | DEPS_SUBMODULES += hw/mcu/nxp/lpcopen 2 | 3 | CFLAGS += \ 4 | -DCFG_TUSB_MEM_SECTION='__attribute__((section(".data.$$RAM2")))' 5 | 6 | # All source paths should be relative to the top level. 7 | LD_FILE = $(BOARD_PATH)/lpc1347.ld 8 | 9 | # For flash-jlink target 10 | JLINK_DEVICE = LPC1347 11 | 12 | # flash using jlink 13 | flash: flash-jlink 14 | -------------------------------------------------------------------------------- /hw/bsp/lpc15/boards/lpcxpresso1549/board.cmake: -------------------------------------------------------------------------------- 1 | set(JLINK_DEVICE lpc1549) 2 | set(PYOCD_TARGET lpc1549) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/lpc1549.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | CFG_EXAMPLE_MSC_READONLY 9 | CFG_EXAMPLE_VIDEO_READONLY 10 | ) 11 | endfunction() 12 | -------------------------------------------------------------------------------- /hw/bsp/lpc15/boards/lpcxpresso1549/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DCFG_EXAMPLE_VIDEO_READONLY 2 | LD_FILE = $(BOARD_PATH)/lpc1549.ld 3 | 4 | JLINK_DEVICE = LPC1549 5 | 6 | # flash using pyocd 7 | flash: flash-jlink 8 | -------------------------------------------------------------------------------- /hw/bsp/lpc17/boards/lpcxpresso1769/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT LPC1769) 2 | 3 | set(JLINK_DEVICE LPC1769) 4 | set(PYOCD_TARGET LPC1769) 5 | set(NXPLINK_DEVICE LPC1769:LPC1769) 6 | 7 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/lpc1769.ld) 8 | 9 | function(update_board TARGET) 10 | # nothing to do 11 | endfunction() 12 | -------------------------------------------------------------------------------- /hw/bsp/lpc17/boards/lpcxpresso1769/board.mk: -------------------------------------------------------------------------------- 1 | # All source paths should be relative to the top level. 2 | LD_FILE = $(BOARD_PATH)/lpc1769.ld 3 | 4 | # For flash-jlink target 5 | JLINK_DEVICE = LPC1769 6 | 7 | # flash using jlink 8 | flash: flash-jlink 9 | -------------------------------------------------------------------------------- /hw/bsp/lpc17/boards/mbed1768/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT LPC1768) 2 | 3 | set(JLINK_DEVICE LPC1768) 4 | set(PYOCD_TARGET LPC1768) 5 | set(NXPLINK_DEVICE LPC1768:LPC1768) 6 | 7 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/lpc1768.ld) 8 | 9 | function(update_board TARGET) 10 | # nothing to do 11 | endfunction() 12 | -------------------------------------------------------------------------------- /hw/bsp/lpc17/boards/mbed1768/board.mk: -------------------------------------------------------------------------------- 1 | # All source paths should be relative to the top level. 2 | LD_FILE = $(BOARD_PATH)/lpc1768.ld 3 | 4 | # For flash-jlink target 5 | JLINK_DEVICE = LPC1768 6 | PYOCD_TARGET = lpc1768 7 | 8 | # flash using pyocd 9 | flash: flash-pyocd 10 | -------------------------------------------------------------------------------- /hw/bsp/lpc18/boards/lpcxpresso18s37/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT LPC18S37) 2 | 3 | set(JLINK_DEVICE LPC18S37) 4 | set(PYOCD_TARGET LPC18S37) 5 | set(NXPLINK_DEVICE LPC18S37:LPCXPRESSO18S37) 6 | 7 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/lpc1837.ld) 8 | 9 | function(update_board TARGET) 10 | # nothing to do 11 | endfunction() 12 | -------------------------------------------------------------------------------- /hw/bsp/lpc18/boards/lpcxpresso18s37/board.mk: -------------------------------------------------------------------------------- 1 | LD_FILE = $(BOARD_PATH)/lpc1837.ld 2 | 3 | # For flash-jlink target 4 | JLINK_DEVICE = LPC18S37 5 | 6 | flash: flash-jlink 7 | -------------------------------------------------------------------------------- /hw/bsp/lpc18/boards/mcb1800/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT LPC1857) 2 | 3 | set(JLINK_DEVICE LPC1857) 4 | set(PYOCD_TARGET LPC1857) 5 | set(NXPLINK_DEVICE LPC1857:MCB1857) 6 | 7 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/lpc1857.ld) 8 | 9 | function(update_board TARGET) 10 | # nothing to do 11 | endfunction() 12 | -------------------------------------------------------------------------------- /hw/bsp/lpc18/boards/mcb1800/board.mk: -------------------------------------------------------------------------------- 1 | LD_FILE = $(BOARD_PATH)/lpc1857.ld 2 | 3 | # For flash-jlink target 4 | JLINK_DEVICE = LPC1857 5 | 6 | # flash using jlink 7 | flash: flash-jlink 8 | -------------------------------------------------------------------------------- /hw/bsp/lpc40/boards/ea4088_quickstart/board.cmake: -------------------------------------------------------------------------------- 1 | set(JLINK_DEVICE LPC4088) 2 | set(PYOCD_TARGET LPC4088) 3 | set(NXPLINK_DEVICE LPC4088:LPC4088) 4 | 5 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/lpc4088.ld) 6 | 7 | function(update_board TARGET) 8 | # nothing to do 9 | endfunction() 10 | -------------------------------------------------------------------------------- /hw/bsp/lpc40/boards/ea4088_quickstart/board.mk: -------------------------------------------------------------------------------- 1 | 2 | LD_FILE = $(BOARD_PATH)/lpc4088.ld 3 | 4 | # For flash-jlink target 5 | JLINK_DEVICE = LPC4088 6 | 7 | # flash using jlink 8 | flash: flash-jlink 9 | -------------------------------------------------------------------------------- /hw/bsp/lpc43/boards/ea4357/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT LPC4357) 2 | 3 | set(JLINK_DEVICE LPC4357_M4) 4 | set(PYOCD_TARGET LPC4357) 5 | set(NXPLINK_DEVICE LPC4357:LPC4357) 6 | 7 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/lpc4357.ld) 8 | 9 | function(update_board TARGET) 10 | # EA4357 use I2C GPIO expander for LED 11 | target_sources(${TARGET} PRIVATE 12 | ${CMAKE_CURRENT_FUNCTION_LIST_DIR}/pca9532.c 13 | ${SDK_DIR}/src/i2c_18xx_43xx.c 14 | ${SDK_DIR}/src/i2cm_18xx_43xx.c 15 | ) 16 | endfunction() 17 | -------------------------------------------------------------------------------- /hw/bsp/lpc43/boards/ea4357/board.mk: -------------------------------------------------------------------------------- 1 | # EA4357 use I2C GPIO expander for LED 2 | SRC_C += \ 3 | ${BOARD_PATH}/pca9532.c \ 4 | ${SDK_DIR}/src/i2c_18xx_43xx.c \ 5 | ${SDK_DIR}/src/i2cm_18xx_43xx.c \ 6 | 7 | LD_FILE = ${BOARD_PATH}/lpc4357.ld 8 | 9 | JLINK_DEVICE = LPC4357_M4 10 | 11 | flash: flash-jlink 12 | -------------------------------------------------------------------------------- /hw/bsp/lpc43/boards/lpcxpresso43s67/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT LPC43S67_M4) 2 | 3 | set(JLINK_DEVICE LPC43S67_M4) 4 | set(PYOCD_TARGET LPC43S67) 5 | set(NXPLINK_DEVICE LPC43S67:LPCXPRESSO43S67) 6 | 7 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/lpc4367.ld) 8 | 9 | function(update_board TARGET) 10 | # nothing to do 11 | endfunction() 12 | -------------------------------------------------------------------------------- /hw/bsp/lpc43/boards/lpcxpresso43s67/board.mk: -------------------------------------------------------------------------------- 1 | LD_FILE = $(BOARD_PATH)/lpc4367.ld 2 | 3 | # For flash-jlink target 4 | JLINK_DEVICE = LPC43S67_M4 5 | 6 | flash: flash-jlink 7 | -------------------------------------------------------------------------------- /hw/bsp/lpc51/boards/lpcxpresso51u68/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT LPC51U68) 2 | 3 | set(JLINK_DEVICE LPC51U68) 4 | set(PYOCD_TARGET LPC51U68) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | CPU_LPC51U68JBD64 9 | ) 10 | target_link_libraries(${TARGET} PUBLIC 11 | ${SDK_DIR}/devices/${MCU_VARIANT}/gcc/libpower.a 12 | ) 13 | endfunction() 14 | -------------------------------------------------------------------------------- /hw/bsp/lpc51/boards/lpcxpresso51u68/board.mk: -------------------------------------------------------------------------------- 1 | MCU = LPC51U68 2 | 3 | CFLAGS += \ 4 | -DCPU_LPC51U68JBD64 \ 5 | -DCFG_TUSB_MEM_SECTION='__attribute__((section(".data")))' 6 | 7 | JLINK_DEVICE = LPC51U68 8 | PYOCD_TARGET = LPC51U68 9 | 10 | # flash using pyocd (51u68 is not supported yet) 11 | flash: flash-pyocd 12 | -------------------------------------------------------------------------------- /hw/bsp/lpc54/boards/lpcxpresso54114/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = LPC54114 2 | MCU_CORE = LPC54114_cm4 3 | 4 | CFLAGS += -DCPU_LPC54114J256BD64_cm4 5 | LD_FILE = $(MCU_DIR)/gcc/LPC54114J256_cm4_flash.ld 6 | 7 | LIBS += $(TOP)/$(MCU_DIR)/gcc/libpower_cm4_hardabi.a 8 | 9 | JLINK_DEVICE = LPC54114J256_M4 10 | PYOCD_TARGET = LPC54114 11 | 12 | # flash using pyocd 13 | flash: flash-pyocd 14 | -------------------------------------------------------------------------------- /hw/bsp/lpc54/boards/lpcxpresso54608/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = LPC54608 2 | MCU_CORE = LPC54608 3 | 4 | PORT ?= 1 5 | 6 | CFLAGS += -DCPU_LPC54608J512ET180 7 | CFLAGS += -Wno-error=double-promotion 8 | 9 | LD_FILE = $(MCU_DIR)/gcc/LPC54608J512_flash.ld 10 | 11 | LIBS += $(TOP)/$(MCU_DIR)/gcc/libpower_hardabi.a 12 | 13 | JLINK_DEVICE = LPC54608J512 14 | PYOCD_TARGET = LPC54608 15 | 16 | #flash: flash-pyocd 17 | 18 | flash: flash-jlink 19 | -------------------------------------------------------------------------------- /hw/bsp/lpc54/boards/lpcxpresso54628/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = LPC54628 2 | MCU_CORE = LPC54628 3 | 4 | PORT ?= 1 5 | 6 | CFLAGS += -DCPU_LPC54628J512ET180 7 | CFLAGS += -Wno-error=double-promotion 8 | 9 | LD_FILE = $(MCU_DIR)/gcc/LPC54628J512_flash.ld 10 | 11 | LIBS += $(TOP)/$(MCU_DIR)/gcc/libpower_hardabi.a 12 | 13 | JLINK_DEVICE = LPC54628J512 14 | PYOCD_TARGET = LPC54628 15 | 16 | #flash: flash-pyocd 17 | 18 | flash: flash-jlink 19 | -------------------------------------------------------------------------------- /hw/bsp/lpc55/boards/double_m33_express/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = LPC55S69 2 | MCU_CORE = LPC55S69_cm33_core0 3 | PORT ?= 1 4 | 5 | CFLAGS += -DCPU_LPC55S69JBD100_cm33_core0 6 | LD_FILE = $(BOARD_PATH)/LPC55S69_cm33_core0_uf2.ld 7 | 8 | JLINK_DEVICE = LPC55S69 9 | PYOCD_TARGET = LPC55S69 10 | 11 | # flash using pyocd 12 | flash: flash-pyocd 13 | -------------------------------------------------------------------------------- /hw/bsp/lpc55/boards/lpcxpresso55s28/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT LPC55S28) 2 | set(MCU_CORE LPC55S28) 3 | 4 | set(JLINK_DEVICE LPC55S28) 5 | set(PYOCD_TARGET LPC55S28) 6 | set(NXPLINK_DEVICE LPC55S28:LPCXpresso55S28) 7 | 8 | # Device port default to PORT1 Highspeed 9 | if (NOT DEFINED PORT) 10 | set(PORT 1) 11 | endif() 12 | 13 | function(update_board TARGET) 14 | target_compile_definitions(${TARGET} PUBLIC 15 | CPU_LPC55S28JBD100 16 | ) 17 | endfunction() 18 | -------------------------------------------------------------------------------- /hw/bsp/lpc55/boards/lpcxpresso55s28/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = LPC55S28 2 | MCU_CORE = LPC55S28 3 | PORT ?= 1 4 | 5 | CFLAGS += -DCPU_LPC55S28JBD100 6 | 7 | JLINK_DEVICE = LPC55S28 8 | PYOCD_TARGET = LPC55S28 9 | 10 | # flash using pyocd 11 | flash: flash-pyocd 12 | -------------------------------------------------------------------------------- /hw/bsp/lpc55/boards/lpcxpresso55s69/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT LPC55S69) 2 | set(MCU_CORE LPC55S69_cm33_core0) 3 | 4 | set(JLINK_DEVICE LPC55S69_M33_0) 5 | set(PYOCD_TARGET LPC55S69) 6 | set(NXPLINK_DEVICE LPC55S69:LPCXpresso55S69) 7 | 8 | # Device port default to PORT1 Highspeed 9 | if (NOT DEFINED PORT) 10 | set(PORT 1) 11 | endif() 12 | 13 | function(update_board TARGET) 14 | target_compile_definitions(${TARGET} PUBLIC 15 | CPU_LPC55S69JBD100_cm33_core0 16 | ) 17 | endfunction() 18 | -------------------------------------------------------------------------------- /hw/bsp/lpc55/boards/lpcxpresso55s69/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = LPC55S69 2 | MCU_CORE = LPC55S69_cm33_core0 3 | PORT ?= 1 4 | 5 | CFLAGS += -DCPU_LPC55S69JBD100_cm33_core0 6 | 7 | JLINK_DEVICE = LPC55S69 8 | PYOCD_TARGET = LPC55S69 9 | 10 | # flash using pyocd 11 | flash: flash-pyocd 12 | -------------------------------------------------------------------------------- /hw/bsp/lpc55/boards/mcu_link/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT LPC55S69) 2 | set(MCU_CORE LPC55S69_cm33_core0) 3 | 4 | set(JLINK_DEVICE LPC55S69) 5 | set(PYOCD_TARGET LPC55S69) 6 | set(NXPLINK_DEVICE LPC55S69:LPCXpresso55S69) 7 | 8 | function(update_board TARGET) 9 | target_compile_definitions(${TARGET} PUBLIC 10 | CPU_LPC55S69JBD100_cm33_core0 11 | # port 1 is highspeed 12 | # BOARD_TUD_RHPORT=1 13 | ) 14 | endfunction() 15 | -------------------------------------------------------------------------------- /hw/bsp/lpc55/boards/mcu_link/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = LPC55S69 2 | MCU_CORE = LPC55S69_cm33_core0 3 | PORT ?= 1 4 | 5 | CFLAGS += -DCPU_LPC55S69JBD64_cm33_core0 6 | 7 | JLINK_DEVICE = LPC55S69 8 | PYOCD_TARGET = LPC55S69 9 | 10 | # flash using pyocd 11 | flash: flash-pyocd 12 | -------------------------------------------------------------------------------- /hw/bsp/max32650/boards/max32650evkit/board.cmake: -------------------------------------------------------------------------------- 1 | # Use the standard, non-secure linker file 2 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/max32650.ld) 3 | 4 | function(update_board_extras TARGET) 5 | #No extra arguments 6 | endfunction() 7 | 8 | function(prepare_image TARGET_IN) 9 | #No signing required 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/max32650/boards/max32650evkit/board.mk: -------------------------------------------------------------------------------- 1 | # Use the standard, non-secure linker file 2 | LD_FILE = $(BOARD_PATH)/max32650.ld 3 | -------------------------------------------------------------------------------- /hw/bsp/max32650/boards/max32650fthr/board.cmake: -------------------------------------------------------------------------------- 1 | # Use the standard, non-secure linker file 2 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/max32650.ld) 3 | 4 | function(update_board_extras TARGET) 5 | #No extra arguments 6 | endfunction() 7 | 8 | function(prepare_image TARGET_IN) 9 | #No signing required 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/max32650/boards/max32650fthr/board.mk: -------------------------------------------------------------------------------- 1 | # Use the standard, non-secure linker file 2 | LD_FILE = $(BOARD_PATH)/max32650.ld 3 | -------------------------------------------------------------------------------- /hw/bsp/max32650/boards/max32651evkit/board.mk: -------------------------------------------------------------------------------- 1 | # Use the secure linker file 2 | LD_FILE = $(BOARD_PATH)/max32651.ld 3 | 4 | # Let the family script know the build needs to be signed 5 | SIGNED_BUILD := 1 6 | -------------------------------------------------------------------------------- /hw/bsp/max32666/boards/max32666evkit/board.cmake: -------------------------------------------------------------------------------- 1 | # Nothing to be done at the board level 2 | -------------------------------------------------------------------------------- /hw/bsp/max32666/boards/max32666evkit/board.mk: -------------------------------------------------------------------------------- 1 | # No specific build requirements for the board. 2 | -------------------------------------------------------------------------------- /hw/bsp/max32666/boards/max32666fthr/board.cmake: -------------------------------------------------------------------------------- 1 | # Nothing to be done at the board level 2 | -------------------------------------------------------------------------------- /hw/bsp/max32666/boards/max32666fthr/board.mk: -------------------------------------------------------------------------------- 1 | # No specific build requirements for the board. 2 | -------------------------------------------------------------------------------- /hw/bsp/max32690/boards/apard32690/board.cmake: -------------------------------------------------------------------------------- 1 | # Nothing to be done at the board level 2 | -------------------------------------------------------------------------------- /hw/bsp/max32690/boards/apard32690/board.mk: -------------------------------------------------------------------------------- 1 | # No specific build requirements for the board. 2 | -------------------------------------------------------------------------------- /hw/bsp/max32690/boards/max32690evkit/board.cmake: -------------------------------------------------------------------------------- 1 | # Nothing to be done at the board level 2 | -------------------------------------------------------------------------------- /hw/bsp/max32690/boards/max32690evkit/board.mk: -------------------------------------------------------------------------------- 1 | # No specific build requirements for the board. 2 | -------------------------------------------------------------------------------- /hw/bsp/max78002/boards/max78002evkit/board.cmake: -------------------------------------------------------------------------------- 1 | # Nothing to be done at the board level 2 | -------------------------------------------------------------------------------- /hw/bsp/max78002/boards/max78002evkit/board.mk: -------------------------------------------------------------------------------- 1 | # No specific build requirements for the board. 2 | -------------------------------------------------------------------------------- /hw/bsp/mcx/boards/frdm_mcxa153/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = MCXA153 2 | MCU_CORE = MCXA153 3 | PORT = 0 4 | 5 | CPU_CORE = cortex-m33-nodsp-nofp 6 | CFLAGS += \ 7 | -DCPU_MCXA153VLH \ 8 | -DCFG_TUSB_MCU=OPT_MCU_MCXA15 \ 9 | 10 | JLINK_DEVICE = MCXA153 11 | PYOCD_TARGET = MCXA153 12 | 13 | # flash using pyocd 14 | flash: flash-jlink 15 | -------------------------------------------------------------------------------- /hw/bsp/mcx/boards/frdm_mcxa156/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = MCXA156 2 | MCU_CORE = MCXA156 3 | PORT = 0 4 | 5 | CPU_CORE = cortex-m33-nodsp-nofp 6 | CFLAGS += \ 7 | -DCPU_MCXA156VLH \ 8 | -DCFG_TUSB_MCU=OPT_MCU_MCXA15 \ 9 | 10 | JLINK_DEVICE = MCXA156 11 | PYOCD_TARGET = MCXA156 12 | 13 | # flash using pyocd 14 | flash: flash-jlink 15 | -------------------------------------------------------------------------------- /hw/bsp/mcx/boards/frdm_mcxn947/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = MCXN947 2 | MCU_CORE = MCXN947_cm33_core0 3 | PORT ?= 1 4 | 5 | CPU_CORE = cortex-m33 6 | CFLAGS += \ 7 | -DCPU_MCXN947VDF_cm33_core0 \ 8 | -DCFG_TUSB_MCU=OPT_MCU_MCXN9 \ 9 | 10 | JLINK_DEVICE = MCXN947_M33_0 11 | PYOCD_TARGET = MCXN947 12 | 13 | # flash using pyocd 14 | flash: flash-jlink 15 | -------------------------------------------------------------------------------- /hw/bsp/mcx/boards/mcxn947brk/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = MCXN947 2 | MCU_CORE = MCXN947_cm33_core0 3 | PORT ?= 1 4 | 5 | CPU_CORE = cortex-m33 6 | CFLAGS += \ 7 | -DCPU_MCXN947VDF_cm33_core0 \ 8 | -DCFG_TUSB_MCU=OPT_MCU_MCXN9 \ 9 | 10 | JLINK_DEVICE = MCXN947_M33_0 11 | PYOCD_TARGET = MCXN947 12 | 13 | # flash using pyocd 14 | flash: flash-jlink 15 | -------------------------------------------------------------------------------- /hw/bsp/mcx/debug.jlinkscript: -------------------------------------------------------------------------------- 1 | int SetupTarget(void) { 2 | JLINK_ExecCommand("SetRTTSearchRanges 0x20000000 0x40000"); 3 | 4 | return 0; 5 | } 6 | -------------------------------------------------------------------------------- /hw/bsp/mm32/boards/mm32f327x_mb39/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT mm32f327x) 2 | set(JLINK_DEVICE MM32F3273G9P) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/flash.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | HSE_VALUE=8000000 9 | ) 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/mm32/boards/mm32f327x_mb39/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = mm32f327x 2 | CFLAGS += \ 3 | -DHSE_VALUE=8000000 4 | 5 | JLINK_DEVICE = MM32F3273G9P 6 | 7 | LD_FILE = $(BOARD_PATH)/flash.ld 8 | 9 | flash: flash-jlink 10 | -------------------------------------------------------------------------------- /hw/bsp/mm32/boards/mm32f327x_pitaya_lite/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT mm32f327x) 2 | set(JLINK_DEVICE MM32F3273G8P) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/flash.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | HSE_VALUE=12000000 9 | ) 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/mm32/boards/mm32f327x_pitaya_lite/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = mm32f327x 2 | 3 | CFLAGS += \ 4 | -DHSE_VALUE=12000000 5 | 6 | LD_FILE = $(BOARD_PATH)/flash.ld 7 | 8 | # For flash-jlink target 9 | JLINK_DEVICE = MM32F3273G8P 10 | 11 | # flash target using on-board stlink 12 | #flash: flash-jlink 13 | -------------------------------------------------------------------------------- /hw/bsp/msp430/boards/msp_exp430f5529lp/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT msp430f5529) 2 | set(LD_FILE_GNU ${SDK_DIR}/msp430f5529.ld) 3 | 4 | function(update_board TARGET) 5 | target_compile_definitions(${TARGET} INTERFACE 6 | __MSP430F5529__ 7 | ) 8 | 9 | endfunction() 10 | -------------------------------------------------------------------------------- /hw/bsp/msp430/boards/msp_exp430f5529lp/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += \ 2 | -D__MSP430F5529__ \ 3 | 4 | LD_FILE = ${SDK_DIR}/msp430f5529.ld 5 | -------------------------------------------------------------------------------- /hw/bsp/msp432e4/boards/msp_exp432e401y/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT msp432e401y) 2 | set(JLINK_DEVICE ${MCU_VARIANT}) 3 | 4 | function(update_board TARGET) 5 | target_compile_definitions(${TARGET} PUBLIC 6 | __MSP432E401Y__ 7 | ) 8 | endfunction() 9 | -------------------------------------------------------------------------------- /hw/bsp/msp432e4/boards/msp_exp432e401y/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = msp432e401y 2 | CFLAGS += \ 3 | -D__MSP432E401Y__ \ 4 | -------------------------------------------------------------------------------- /hw/bsp/nrf/boards/adafruit_clue/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT nrf52840) 2 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/../../linker/nrf52840_s140_v6.ld) 3 | 4 | function(update_board TARGET) 5 | endfunction() 6 | -------------------------------------------------------------------------------- /hw/bsp/nrf/boards/arduino_nano33_ble/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT nrf52840) 2 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/arduino_nano33_ble.ld) 3 | 4 | function(update_board TARGET) 5 | endfunction() 6 | -------------------------------------------------------------------------------- /hw/bsp/nrf/boards/arduino_nano33_ble/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = nrf52840 2 | CFLAGS += -DNRF52840_XXAA 3 | 4 | LD_FILE = $(BOARD_PATH)/$(BOARD).ld 5 | 6 | # flash using bossac (as part of Nano33 BSP tools) 7 | # can be found in arduino15/packages/arduino/tools/bossac/ 8 | # Add it to your PATH or change BOSSAC variable to match your installation 9 | BOSSAC = bossac 10 | 11 | flash: $(BUILD)/$(PROJECT).bin 12 | @:$(call check_defined, SERIAL, example: SERIAL=/dev/ttyACM0) 13 | $(BOSSAC) --port=$(SERIAL) -U -i -e -w $^ -R 14 | -------------------------------------------------------------------------------- /hw/bsp/nrf/boards/circuitplayground_bluefruit/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT nrf52840) 2 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/../../linker/nrf52840_s140_v6.ld) 3 | 4 | function(update_board TARGET) 5 | endfunction() 6 | -------------------------------------------------------------------------------- /hw/bsp/nrf/boards/feather_nrf52840_express/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT nrf52840) 2 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/../../linker/nrf52840_s140_v6.ld) 3 | 4 | # enable max3421 host driver for this board 5 | # set(MAX3421_HOST 1) 6 | 7 | function(update_board TARGET) 8 | endfunction() 9 | -------------------------------------------------------------------------------- /hw/bsp/nrf/boards/feather_nrf52840_sense/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT nrf52840) 2 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/../../linker/nrf52840_s140_v6.ld) 3 | 4 | function(update_board TARGET) 5 | endfunction() 6 | -------------------------------------------------------------------------------- /hw/bsp/nrf/boards/itsybitsy_nrf52840/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT nrf52840) 2 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/../../linker/nrf52840_s140_v6.ld) 3 | 4 | function(update_board TARGET) 5 | endfunction() 6 | -------------------------------------------------------------------------------- /hw/bsp/nrf/boards/pca10056/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT nrf52840) 2 | 3 | function(update_board TARGET) 4 | endfunction() 5 | 6 | #board_runner_args(jlink "--device=nRF52840_xxAA" "--speed=4000") 7 | #include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) 8 | #include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake) 9 | #include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) 10 | #include(${ZEPHYR_BASE}/boards/common/openocd-nrf5.board.cmake) 11 | -------------------------------------------------------------------------------- /hw/bsp/nrf/boards/pca10056/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = nrf52840 2 | CFLAGS += -DNRF52840_XXAA 3 | 4 | LD_FILE = hw/mcu/nordic/nrfx/mdk/nrf52840_xxaa.ld 5 | 6 | # flash using jlink 7 | flash: flash-jlink 8 | -------------------------------------------------------------------------------- /hw/bsp/nrf/boards/pca10059/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT nrf52840) 2 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/pca10059.ld) 3 | 4 | function(update_board TARGET) 5 | endfunction() 6 | -------------------------------------------------------------------------------- /hw/bsp/nrf/boards/pca10095/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT nrf5340_application) 2 | 3 | function(update_board TARGET) 4 | target_sources(${TARGET} PRIVATE 5 | ${NRFX_PATH}/drivers/src/nrfx_usbreg.c 6 | ) 7 | endfunction() 8 | -------------------------------------------------------------------------------- /hw/bsp/nrf/boards/pca10100/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT nrf52833) 2 | 3 | function(update_board TARGET) 4 | endfunction() 5 | -------------------------------------------------------------------------------- /hw/bsp/nrf/boards/pca10100/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = nrf52833 2 | CFLAGS += -DNRF52833_XXAA 3 | 4 | LD_FILE = hw/mcu/nordic/nrfx/mdk/nrf52833_xxaa.ld 5 | 6 | # flash using jlink 7 | flash: flash-jlink 8 | -------------------------------------------------------------------------------- /hw/bsp/pic32mz/boards/olimex_emz64/board.mk: -------------------------------------------------------------------------------- 1 | JLINK_DEVICE=PIC32MZ2048EFH064 2 | JLINK_IF=ICSP 3 | 4 | CFLAGS += \ 5 | -mprocessor=32MZ2048EFH064 \ 6 | -------------------------------------------------------------------------------- /hw/bsp/pic32mz/boards/olimex_hmz144/board.mk: -------------------------------------------------------------------------------- 1 | JLINK_DEVICE=PIC32MZ2048EFM144 2 | JLINK_IF=ICSP 3 | 4 | CFLAGS += \ 5 | -mprocessor=32MZ2048EFM144 \ 6 | -------------------------------------------------------------------------------- /hw/bsp/pic32mz/family.mk: -------------------------------------------------------------------------------- 1 | CROSS_COMPILE = xc32- 2 | CFLAGS_OPTIMIZED = -O2 3 | LIBS_GCC = -lgcc -lm 4 | SKIP_NANOLIB = 1 5 | 6 | CFLAGS = \ 7 | -std=c99 \ 8 | -DCFG_TUSB_MCU=OPT_MCU_PIC32MZ 9 | 10 | include $(TOP)/$(BOARD_PATH)/board.mk 11 | 12 | SRC_C += \ 13 | src/portable/microchip/pic32mz/dcd_pic32mz.c \ 14 | 15 | INC += \ 16 | $(TOP)/hw/mcu/microchip/pic32mz \ 17 | $(TOP)/$(BOARD_PATH) \ 18 | 19 | # flash target using jlink 20 | flash: flash-jlink 21 | -------------------------------------------------------------------------------- /hw/bsp/ra/board_cfg.h: -------------------------------------------------------------------------------- 1 | /* generated configuration header file - do not edit */ 2 | #ifndef BOARD_CFG_H_ 3 | #define BOARD_CFG_H_ 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | void bsp_init(void * p_args); 9 | 10 | #ifdef __cplusplus 11 | } 12 | #endif 13 | #endif /* BOARD_CFG_H_ */ 14 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/portenta_c33/board.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_SYSTEM_CPU cortex-m33 CACHE INTERNAL "System Processor") 2 | set(MCU_VARIANT ra6m5) 3 | 4 | set(JLINK_DEVICE R7FA6M5BH) 5 | set(DFU_UTIL_VID_PID 2341:0368) 6 | 7 | # device default to PORT 1 High Speed 8 | if (NOT DEFINED RHPORT_DEVICE) 9 | set(RHPORT_DEVICE 1) 10 | endif() 11 | if (NOT DEFINED RHPORT_HOST) 12 | set(RHPORT_HOST 0) 13 | endif() 14 | 15 | function(update_board TARGET) 16 | endfunction() 17 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/portenta_c33/board.mk: -------------------------------------------------------------------------------- 1 | CPU_CORE = cortex-m33 2 | MCU_VARIANT = ra6m5 3 | 4 | # Port 1 is highspeed 5 | RHPORT_DEVICE ?= 1 6 | RHPORT_HOST ?= 0 7 | 8 | JLINK_DEVICE = R7FA6M5BH 9 | DFU_UTIL_OPTION = -d 2341:0368 -a 0 10 | 11 | flash: flash-dfu-util 12 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/portenta_c33/ra_cfg/fsp_cfg/bsp/bsp_mcu_device_cfg.h: -------------------------------------------------------------------------------- 1 | /* generated configuration header file - do not edit */ 2 | #ifndef BSP_MCU_DEVICE_CFG_H_ 3 | #define BSP_MCU_DEVICE_CFG_H_ 4 | #define BSP_CFG_MCU_PART_SERIES (6) 5 | #endif /* BSP_MCU_DEVICE_CFG_H_ */ 6 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/portenta_c33/ra_cfg/fsp_cfg/r_ioport_cfg.h: -------------------------------------------------------------------------------- 1 | /* generated configuration header file - do not edit */ 2 | #ifndef R_IOPORT_CFG_H_ 3 | #define R_IOPORT_CFG_H_ 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #define IOPORT_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE) 9 | 10 | #ifdef __cplusplus 11 | } 12 | #endif 13 | #endif /* R_IOPORT_CFG_H_ */ 14 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/portenta_c33/ra_gen/common_data.c: -------------------------------------------------------------------------------- 1 | /* generated common source file - do not edit */ 2 | #include "common_data.h" 3 | ioport_instance_ctrl_t g_ioport_ctrl; 4 | const ioport_instance_t g_ioport = 5 | { 6 | .p_api = &g_ioport_on_ioport, 7 | .p_ctrl = &g_ioport_ctrl, 8 | .p_cfg = &g_bsp_pin_cfg, 9 | }; 10 | void g_common_init(void) { 11 | } 12 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra2a1_ek/board.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_SYSTEM_CPU cortex-m23 CACHE INTERNAL "System Processor") 2 | set(MCU_VARIANT ra2a1) 3 | 4 | set(JLINK_DEVICE R7FA2A1AB) 5 | 6 | function(update_board TARGET) 7 | # target_compile_definitions(${TARGET} PUBLIC) 8 | # target_sources(${TARGET} PRIVATE) 9 | # target_include_directories(${BOARD_TARGET} PUBLIC) 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra2a1_ek/board.mk: -------------------------------------------------------------------------------- 1 | CPU_CORE = cortex-m23 2 | MCU_VARIANT = ra2a1 3 | 4 | # For flash-jlink target 5 | JLINK_DEVICE = R7FA2A1AB 6 | 7 | flash: flash-jlink 8 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra2a1_ek/ra_cfg/fsp_cfg/bsp/bsp_mcu_device_cfg.h: -------------------------------------------------------------------------------- 1 | /* generated configuration header file - do not edit */ 2 | #ifndef BSP_MCU_DEVICE_CFG_H_ 3 | #define BSP_MCU_DEVICE_CFG_H_ 4 | #define BSP_CFG_MCU_PART_SERIES (2) 5 | #endif /* BSP_MCU_DEVICE_CFG_H_ */ 6 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra2a1_ek/ra_cfg/fsp_cfg/bsp/bsp_mcu_device_pn_cfg.h: -------------------------------------------------------------------------------- 1 | /* generated configuration header file - do not edit */ 2 | #ifndef BSP_MCU_DEVICE_PN_CFG_H_ 3 | #define BSP_MCU_DEVICE_PN_CFG_H_ 4 | #define BSP_MCU_R7FA2A1AB3CFM 5 | #define BSP_MCU_FEATURE_SET ('A') 6 | #define BSP_ROM_SIZE_BYTES (262144) 7 | #define BSP_RAM_SIZE_BYTES (32768) 8 | #define BSP_DATA_FLASH_SIZE_BYTES (8192) 9 | #define BSP_PACKAGE_LQFP 10 | #define BSP_PACKAGE_PINS (64) 11 | #endif /* BSP_MCU_DEVICE_PN_CFG_H_ */ 12 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra2a1_ek/ra_cfg/fsp_cfg/r_ioport_cfg.h: -------------------------------------------------------------------------------- 1 | /* generated configuration header file - do not edit */ 2 | #ifndef R_IOPORT_CFG_H_ 3 | #define R_IOPORT_CFG_H_ 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #define IOPORT_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE) 9 | 10 | #ifdef __cplusplus 11 | } 12 | #endif 13 | #endif /* R_IOPORT_CFG_H_ */ 14 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra2a1_ek/ra_gen/common_data.c: -------------------------------------------------------------------------------- 1 | /* generated common source file - do not edit */ 2 | #include "common_data.h" 3 | ioport_instance_ctrl_t g_ioport_ctrl; 4 | const ioport_instance_t g_ioport = 5 | { 6 | .p_api = &g_ioport_on_ioport, 7 | .p_ctrl = &g_ioport_ctrl, 8 | .p_cfg = &g_bsp_pin_cfg, 9 | }; 10 | void g_common_init(void) { 11 | } 12 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra4m1_ek/board.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_SYSTEM_CPU cortex-m4 CACHE INTERNAL "System Processor") 2 | set(MCU_VARIANT ra4m1) 3 | 4 | set(JLINK_DEVICE R7FA4M1AB) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | CFG_EXAMPLE_VIDEO_READONLY 9 | ) 10 | # target_sources(${TARGET} PRIVATE) 11 | # target_include_directories(${BOARD_TARGET} PUBLIC) 12 | endfunction() 13 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra4m1_ek/board.mk: -------------------------------------------------------------------------------- 1 | CPU_CORE = cortex-m4 2 | MCU_VARIANT = ra4m1 3 | 4 | # For flash-jlink target 5 | JLINK_DEVICE = R7FA4M1AB 6 | 7 | flash: flash-jlink 8 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra4m1_ek/ra_cfg/fsp_cfg/bsp/bsp_mcu_device_cfg.h: -------------------------------------------------------------------------------- 1 | /* generated configuration header file - do not edit */ 2 | #ifndef BSP_MCU_DEVICE_CFG_H_ 3 | #define BSP_MCU_DEVICE_CFG_H_ 4 | #define BSP_CFG_MCU_PART_SERIES (4) 5 | #endif /* BSP_MCU_DEVICE_CFG_H_ */ 6 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra4m1_ek/ra_cfg/fsp_cfg/bsp/bsp_mcu_device_pn_cfg.h: -------------------------------------------------------------------------------- 1 | /* generated configuration header file - do not edit */ 2 | #ifndef BSP_MCU_DEVICE_PN_CFG_H_ 3 | #define BSP_MCU_DEVICE_PN_CFG_H_ 4 | #define BSP_MCU_R7FA4M1AB3CFP 5 | #define BSP_MCU_FEATURE_SET ('A') 6 | #define BSP_ROM_SIZE_BYTES (262144) 7 | #define BSP_RAM_SIZE_BYTES (32768) 8 | #define BSP_DATA_FLASH_SIZE_BYTES (8192) 9 | #define BSP_PACKAGE_LQFP 10 | #define BSP_PACKAGE_PINS (100) 11 | #endif /* BSP_MCU_DEVICE_PN_CFG_H_ */ 12 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra4m1_ek/ra_cfg/fsp_cfg/r_ioport_cfg.h: -------------------------------------------------------------------------------- 1 | /* generated configuration header file - do not edit */ 2 | #ifndef R_IOPORT_CFG_H_ 3 | #define R_IOPORT_CFG_H_ 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #define IOPORT_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE) 9 | 10 | #ifdef __cplusplus 11 | } 12 | #endif 13 | #endif /* R_IOPORT_CFG_H_ */ 14 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra4m1_ek/ra_gen/common_data.c: -------------------------------------------------------------------------------- 1 | /* generated common source file - do not edit */ 2 | #include "common_data.h" 3 | ioport_instance_ctrl_t g_ioport_ctrl; 4 | const ioport_instance_t g_ioport = 5 | { 6 | .p_api = &g_ioport_on_ioport, 7 | .p_ctrl = &g_ioport_ctrl, 8 | .p_cfg = &g_bsp_pin_cfg, 9 | }; 10 | void g_common_init(void) { 11 | } 12 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra4m3_ek/board.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_SYSTEM_CPU cortex-m33 CACHE INTERNAL "System Processor") 2 | set(MCU_VARIANT ra4m3) 3 | 4 | set(JLINK_DEVICE R7FA4M3AF) 5 | 6 | function(update_board TARGET) 7 | # target_compile_definitions(${TARGET} PUBLIC) 8 | # target_sources(${TARGET} PRIVATE) 9 | # target_include_directories(${BOARD_TARGET} PUBLIC) 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra4m3_ek/board.mk: -------------------------------------------------------------------------------- 1 | CPU_CORE = cortex-m33 2 | MCU_VARIANT = ra4m3 3 | 4 | # For flash-jlink target 5 | JLINK_DEVICE = R7FA4M3AF 6 | 7 | flash: flash-jlink 8 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra4m3_ek/ra_cfg/fsp_cfg/bsp/bsp_mcu_device_cfg.h: -------------------------------------------------------------------------------- 1 | /* generated configuration header file - do not edit */ 2 | #ifndef BSP_MCU_DEVICE_CFG_H_ 3 | #define BSP_MCU_DEVICE_CFG_H_ 4 | #define BSP_CFG_MCU_PART_SERIES (4) 5 | #endif /* BSP_MCU_DEVICE_CFG_H_ */ 6 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra4m3_ek/ra_cfg/fsp_cfg/r_ioport_cfg.h: -------------------------------------------------------------------------------- 1 | /* generated configuration header file - do not edit */ 2 | #ifndef R_IOPORT_CFG_H_ 3 | #define R_IOPORT_CFG_H_ 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #define IOPORT_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE) 9 | 10 | #ifdef __cplusplus 11 | } 12 | #endif 13 | #endif /* R_IOPORT_CFG_H_ */ 14 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra4m3_ek/ra_gen/common_data.c: -------------------------------------------------------------------------------- 1 | /* generated common source file - do not edit */ 2 | #include "common_data.h" 3 | ioport_instance_ctrl_t g_ioport_ctrl; 4 | const ioport_instance_t g_ioport = 5 | { 6 | .p_api = &g_ioport_on_ioport, 7 | .p_ctrl = &g_ioport_ctrl, 8 | .p_cfg = &g_bsp_pin_cfg, 9 | }; 10 | void g_common_init(void) { 11 | } 12 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra6m1_ek/board.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_SYSTEM_CPU cortex-m4 CACHE INTERNAL "System Processor") 2 | set(MCU_VARIANT ra6m1) 3 | 4 | set(JLINK_DEVICE R7FA6M1AD) 5 | 6 | function(update_board TARGET) 7 | # target_compile_definitions(${TARGET} PUBLIC) 8 | # target_sources(${TARGET} PRIVATE) 9 | # target_include_directories(${BOARD_TARGET} PUBLIC) 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra6m1_ek/board.mk: -------------------------------------------------------------------------------- 1 | CPU_CORE = cortex-m4 2 | MCU_VARIANT = ra6m1 3 | 4 | # For flash-jlink target 5 | JLINK_DEVICE = R7FA6M1AD 6 | 7 | flash: flash-jlink 8 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra6m1_ek/ra_cfg/fsp_cfg/bsp/bsp_mcu_device_cfg.h: -------------------------------------------------------------------------------- 1 | /* generated configuration header file - do not edit */ 2 | #ifndef BSP_MCU_DEVICE_CFG_H_ 3 | #define BSP_MCU_DEVICE_CFG_H_ 4 | #define BSP_CFG_MCU_PART_SERIES (6) 5 | #endif /* BSP_MCU_DEVICE_CFG_H_ */ 6 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra6m1_ek/ra_cfg/fsp_cfg/bsp/bsp_mcu_device_pn_cfg.h: -------------------------------------------------------------------------------- 1 | /* generated configuration header file - do not edit */ 2 | #ifndef BSP_MCU_DEVICE_PN_CFG_H_ 3 | #define BSP_MCU_DEVICE_PN_CFG_H_ 4 | #define BSP_MCU_R7FA6M1AD3CFP 5 | #define BSP_MCU_FEATURE_SET ('A') 6 | #define BSP_ROM_SIZE_BYTES (524288) 7 | #define BSP_RAM_SIZE_BYTES (262144) 8 | #define BSP_DATA_FLASH_SIZE_BYTES (8192) 9 | #define BSP_PACKAGE_LQFP 10 | #define BSP_PACKAGE_PINS (100) 11 | #endif /* BSP_MCU_DEVICE_PN_CFG_H_ */ 12 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra6m1_ek/ra_cfg/fsp_cfg/r_ioport_cfg.h: -------------------------------------------------------------------------------- 1 | /* generated configuration header file - do not edit */ 2 | #ifndef R_IOPORT_CFG_H_ 3 | #define R_IOPORT_CFG_H_ 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #define IOPORT_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE) 9 | 10 | #ifdef __cplusplus 11 | } 12 | #endif 13 | #endif /* R_IOPORT_CFG_H_ */ 14 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra6m1_ek/ra_gen/common_data.c: -------------------------------------------------------------------------------- 1 | /* generated common source file - do not edit */ 2 | #include "common_data.h" 3 | ioport_instance_ctrl_t g_ioport_ctrl; 4 | const ioport_instance_t g_ioport = 5 | { 6 | .p_api = &g_ioport_on_ioport, 7 | .p_ctrl = &g_ioport_ctrl, 8 | .p_cfg = &g_bsp_pin_cfg, 9 | }; 10 | void g_common_init(void) { 11 | } 12 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra6m5_ek/board.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_SYSTEM_CPU cortex-m33 CACHE INTERNAL "System Processor") 2 | set(MCU_VARIANT ra6m5) 3 | 4 | set(JLINK_DEVICE R7FA6M5BH) 5 | set(JLINK_OPTION "-USB 000831915224") 6 | 7 | # device default to PORT 1 High Speed 8 | if (NOT DEFINED RHPORT_DEVICE) 9 | set(RHPORT_DEVICE 1) 10 | endif() 11 | if (NOT DEFINED RHPORT_HOST) 12 | set(RHPORT_HOST 0) 13 | endif() 14 | 15 | function(update_board TARGET) 16 | endfunction() 17 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra6m5_ek/board.mk: -------------------------------------------------------------------------------- 1 | CPU_CORE = cortex-m33 2 | MCU_VARIANT = ra6m5 3 | 4 | # For flash-jlink target 5 | JLINK_DEVICE = R7FA6M5BH 6 | 7 | # Port 1 is highspeed 8 | RHPORT_DEVICE ?= 1 9 | RHPORT_HOST ?= 0 10 | 11 | flash: flash-jlink 12 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra6m5_ek/ra_cfg/fsp_cfg/bsp/bsp_mcu_device_cfg.h: -------------------------------------------------------------------------------- 1 | /* generated configuration header file - do not edit */ 2 | #ifndef BSP_MCU_DEVICE_CFG_H_ 3 | #define BSP_MCU_DEVICE_CFG_H_ 4 | #define BSP_CFG_MCU_PART_SERIES (6) 5 | #endif /* BSP_MCU_DEVICE_CFG_H_ */ 6 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra6m5_ek/ra_cfg/fsp_cfg/r_ioport_cfg.h: -------------------------------------------------------------------------------- 1 | /* generated configuration header file - do not edit */ 2 | #ifndef R_IOPORT_CFG_H_ 3 | #define R_IOPORT_CFG_H_ 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #define IOPORT_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE) 9 | 10 | #ifdef __cplusplus 11 | } 12 | #endif 13 | #endif /* R_IOPORT_CFG_H_ */ 14 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra6m5_ek/ra_gen/common_data.c: -------------------------------------------------------------------------------- 1 | /* generated common source file - do not edit */ 2 | #include "common_data.h" 3 | ioport_instance_ctrl_t g_ioport_ctrl; 4 | const ioport_instance_t g_ioport = 5 | { 6 | .p_api = &g_ioport_on_ioport, 7 | .p_ctrl = &g_ioport_ctrl, 8 | .p_cfg = &g_bsp_pin_cfg, 9 | }; 10 | void g_common_init(void) { 11 | } 12 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra8m1_ek/board.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_SYSTEM_CPU cortex-m85 CACHE INTERNAL "System Processor") 2 | set(MCU_VARIANT ra8m1) 3 | 4 | set(JLINK_DEVICE R7FA8M1AH) 5 | #set(JLINK_OPTION "-USB 001083115236") 6 | 7 | # device default to PORT 1 High Speed 8 | if (NOT DEFINED RHPORT_DEVICE) 9 | set(RHPORT_DEVICE 1) 10 | endif() 11 | if (NOT DEFINED RHPORT_HOST) 12 | set(RHPORT_HOST 0) 13 | endif() 14 | 15 | function(update_board TARGET) 16 | endfunction() 17 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra8m1_ek/board.mk: -------------------------------------------------------------------------------- 1 | CPU_CORE = cortex-m85 2 | MCU_VARIANT = ra8m1 3 | 4 | # For flash-jlink target 5 | JLINK_DEVICE = R7FA8M1AH 6 | 7 | # Port 1 is highspeed 8 | RHPORT_DEVICE ?= 1 9 | RHPORT_HOST ?= 0 10 | 11 | flash: flash-jlink 12 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra8m1_ek/ozone/Renesas_RA8_TracePins.pex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hathach/tinyusb/2a364ca272d8219f47aece3232aa2e9ab8738655/hw/bsp/ra/boards/ra8m1_ek/ozone/Renesas_RA8_TracePins.pex -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra8m1_ek/ra_cfg/fsp_cfg/bsp/bsp_mcu_device_cfg.h: -------------------------------------------------------------------------------- 1 | /* generated configuration header file - do not edit */ 2 | #ifndef BSP_MCU_DEVICE_CFG_H_ 3 | #define BSP_MCU_DEVICE_CFG_H_ 4 | #define BSP_CFG_MCU_PART_SERIES (8) 5 | #endif /* BSP_MCU_DEVICE_CFG_H_ */ 6 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra8m1_ek/ra_cfg/fsp_cfg/r_ioport_cfg.h: -------------------------------------------------------------------------------- 1 | /* generated configuration header file - do not edit */ 2 | #ifndef R_IOPORT_CFG_H_ 3 | #define R_IOPORT_CFG_H_ 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #define IOPORT_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE) 9 | 10 | #ifdef __cplusplus 11 | } 12 | #endif 13 | #endif /* R_IOPORT_CFG_H_ */ 14 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/ra8m1_ek/ra_gen/common_data.c: -------------------------------------------------------------------------------- 1 | /* generated common source file - do not edit */ 2 | #include "common_data.h" 3 | ioport_instance_ctrl_t g_ioport_ctrl; 4 | const ioport_instance_t g_ioport = 5 | { 6 | .p_api = &g_ioport_on_ioport, 7 | .p_ctrl = &g_ioport_ctrl, 8 | .p_cfg = &g_bsp_pin_cfg, 9 | }; 10 | void g_common_init(void) { 11 | } 12 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/uno_r4/board.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_SYSTEM_CPU cortex-m4 CACHE INTERNAL "System Processor") 2 | set(MCU_VARIANT ra4m1) 3 | set(JLINK_DEVICE R7FA4M1AB) 4 | 5 | function(update_board TARGET) 6 | target_compile_definitions(${TARGET} PUBLIC 7 | CFG_EXAMPLE_VIDEO_READONLY 8 | ) 9 | endfunction() 10 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/uno_r4/board.mk: -------------------------------------------------------------------------------- 1 | CPU_CORE = cortex-m4 2 | MCU_VARIANT = ra4m1 3 | 4 | # For flash-jlink target 5 | JLINK_DEVICE = R7FA4M1AB 6 | 7 | flash: flash-jlink 8 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/uno_r4/ra_cfg/fsp_cfg/bsp/bsp_mcu_device_cfg.h: -------------------------------------------------------------------------------- 1 | /* generated configuration header file - do not edit */ 2 | #ifndef BSP_MCU_DEVICE_CFG_H_ 3 | #define BSP_MCU_DEVICE_CFG_H_ 4 | #define BSP_CFG_MCU_PART_SERIES (4) 5 | #endif /* BSP_MCU_DEVICE_CFG_H_ */ 6 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/uno_r4/ra_cfg/fsp_cfg/bsp/bsp_mcu_device_pn_cfg.h: -------------------------------------------------------------------------------- 1 | /* generated configuration header file - do not edit */ 2 | #ifndef BSP_MCU_DEVICE_PN_CFG_H_ 3 | #define BSP_MCU_DEVICE_PN_CFG_H_ 4 | #define BSP_MCU_R7FA4M1AB3CNE 5 | #define BSP_MCU_FEATURE_SET ('A') 6 | #define BSP_ROM_SIZE_BYTES (262144) 7 | #define BSP_RAM_SIZE_BYTES (32768) 8 | #define BSP_DATA_FLASH_SIZE_BYTES (8192) 9 | #define BSP_PACKAGE_QFN 10 | #define BSP_PACKAGE_PINS (48) 11 | #endif /* BSP_MCU_DEVICE_PN_CFG_H_ */ 12 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/uno_r4/ra_cfg/fsp_cfg/r_ioport_cfg.h: -------------------------------------------------------------------------------- 1 | /* generated configuration header file - do not edit */ 2 | #ifndef R_IOPORT_CFG_H_ 3 | #define R_IOPORT_CFG_H_ 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #define IOPORT_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE) 9 | 10 | #ifdef __cplusplus 11 | } 12 | #endif 13 | #endif /* R_IOPORT_CFG_H_ */ 14 | -------------------------------------------------------------------------------- /hw/bsp/ra/boards/uno_r4/ra_gen/common_data.c: -------------------------------------------------------------------------------- 1 | /* generated common source file - do not edit */ 2 | #include "common_data.h" 3 | ioport_instance_ctrl_t g_ioport_ctrl; 4 | const ioport_instance_t g_ioport = 5 | { 6 | .p_api = &g_ioport_on_ioport, 7 | .p_ctrl = &g_ioport_ctrl, 8 | .p_cfg = &g_bsp_pin_cfg, 9 | }; 10 | void g_common_init(void) { 11 | } 12 | -------------------------------------------------------------------------------- /hw/bsp/ra/debug.jlinkscript: -------------------------------------------------------------------------------- 1 | int SetupTarget(void) { 2 | JLINK_ExecCommand("SetRTTSearchRanges 0x20000000 0x80000"); 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /hw/bsp/rp2040/boards/adafruit_feather_rp2040_usb_host/board.cmake: -------------------------------------------------------------------------------- 1 | set(PICO_PLATFORM rp2040) 2 | set(PICO_BOARD adafruit_feather_rp2040_usb_host) 3 | -------------------------------------------------------------------------------- /hw/bsp/rp2040/boards/adafruit_fruit_jam/board.cmake: -------------------------------------------------------------------------------- 1 | set(PICO_PLATFORM rp2350-arm-s) 2 | set(PICO_BOARD adafruit_fruit_jam) 3 | set(PICO_BOARD_HEADER_DIRS ${CMAKE_CURRENT_LIST_DIR}) 4 | #set(OPENOCD_SERIAL E6614103E78E8324) 5 | -------------------------------------------------------------------------------- /hw/bsp/rp2040/boards/adafruit_metro_rp2350/board.cmake: -------------------------------------------------------------------------------- 1 | set(PICO_PLATFORM rp2350-arm-s) 2 | set(PICO_BOARD adafruit_metro_rp2350) 3 | set(PICO_BOARD_HEADER_DIRS ${CMAKE_CURRENT_LIST_DIR}) 4 | #set(OPENOCD_SERIAL E6614103E78E8324) 5 | -------------------------------------------------------------------------------- /hw/bsp/rp2040/boards/feather_rp2040_max3421/board.cmake: -------------------------------------------------------------------------------- 1 | set(PICO_PLATFORM rp2040) 2 | set(PICO_BOARD adafruit_feather_rp2040) 3 | 4 | # Enable MAX3421E USB Host 5 | set(MAX3421_HOST 1) 6 | -------------------------------------------------------------------------------- /hw/bsp/rp2040/boards/pico_sdk/board.cmake: -------------------------------------------------------------------------------- 1 | # This builds with settings based purely on the current PICO_BOARD set via the SDK 2 | -------------------------------------------------------------------------------- /hw/bsp/rp2040/boards/raspberry_pi_pico/board.cmake: -------------------------------------------------------------------------------- 1 | set(PICO_PLATFORM rp2040) 2 | set(PICO_BOARD pico) 3 | #set(OPENOCD_SERIAL E6614103E719612F) 4 | -------------------------------------------------------------------------------- /hw/bsp/rp2040/boards/raspberry_pi_pico2/board.cmake: -------------------------------------------------------------------------------- 1 | set(PICO_PLATFORM rp2350-arm-s) 2 | set(PICO_BOARD pico2) 3 | #set(OPENOCD_SERIAL E6614103E77C5A24) 4 | -------------------------------------------------------------------------------- /hw/bsp/rp2040/boards/raspberry_pi_pico_w/board.cmake: -------------------------------------------------------------------------------- 1 | set(PICO_PLATFORM rp2040) 2 | set(PICO_BOARD pico_w) 3 | -------------------------------------------------------------------------------- /hw/bsp/rp2040/family.mk: -------------------------------------------------------------------------------- 1 | JLINK_DEVICE = rp2040_m0_0 2 | PYOCD_TARGET = rp2040 3 | 4 | DEPS_SUBMODULES += hw/mcu/raspberry_pi/Pico-PIO-USB 5 | 6 | ifeq ($(DEBUG), 1) 7 | CMAKE_DEFSYM += -DCMAKE_BUILD_TYPE=Debug 8 | endif 9 | 10 | $(BUILD): 11 | cmake -S . -B $(BUILD) -DFAMILY=$(FAMILY) -DBOARD=$(BOARD) -DPICO_BUILD_DOCS=0 $(CMAKE_DEFSYM) 12 | 13 | all: $(BUILD) 14 | $(MAKE) -C $(BUILD) 15 | 16 | flash: flash-pyocd 17 | flash-uf2: 18 | @$(CP) $(BUILD)/$(PROJECT).uf2 /media/$(USER)/RPI-RP2 19 | -------------------------------------------------------------------------------- /hw/bsp/rp2040/rp2040-openocd.cfg: -------------------------------------------------------------------------------- 1 | source [find interface/cmsis-dap.cfg] 2 | adapter speed 5000 3 | source [find target/rp2040.cfg] 4 | -------------------------------------------------------------------------------- /hw/bsp/rp2040/rp2350-openocd.cfg: -------------------------------------------------------------------------------- 1 | source [find interface/cmsis-dap.cfg] 2 | adapter speed 5000 3 | source [find target/rp2350.cfg] 4 | -------------------------------------------------------------------------------- /hw/bsp/rp2040/skip_ci.txt: -------------------------------------------------------------------------------- 1 | # boards in this files are skipped when running CI with this family 2 | adafruit_feather_rp2040_usb_host 3 | adafruit_fruit_jam 4 | adafruit_metro_rp2350 5 | feather_rp2040_max3421 6 | pico_sdk 7 | raspberry_pi_pico_w 8 | -------------------------------------------------------------------------------- /hw/bsp/samd11/boards/cynthion_d11/board.cmake: -------------------------------------------------------------------------------- 1 | set(JLINK_DEVICE ATSAMD11D14) 2 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/cynthion_d11.ld) 3 | 4 | function(update_board TARGET) 5 | target_compile_definitions(${TARGET} PUBLIC 6 | __SAMD11D14AM__ 7 | _BOARD_REVISION_MAJOR_=1 8 | _BOARD_REVISION_MINOR_=0 9 | ) 10 | 11 | target_link_options(${BOARD_TARGET} PUBLIC 12 | -Wl,--defsym=BOOTLOADER_SIZE=0x800 13 | ) 14 | endfunction() 15 | -------------------------------------------------------------------------------- /hw/bsp/samd11/boards/samd11_xplained/board.cmake: -------------------------------------------------------------------------------- 1 | set(JLINK_DEVICE ATSAMD11D14) 2 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/samd11d14am_flash.ld) 3 | 4 | function(update_board TARGET) 5 | target_compile_definitions(${TARGET} PUBLIC 6 | __SAMD11D14AM__ 7 | ) 8 | endfunction() 9 | -------------------------------------------------------------------------------- /hw/bsp/samd11/boards/samd11_xplained/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -D__SAMD11D14AM__ 2 | 3 | # All source paths should be relative to the top level. 4 | LD_FILE = $(BOARD_PATH)/samd11d14am_flash.ld 5 | 6 | # For flash-jlink target 7 | JLINK_DEVICE = ATSAMD11D14 8 | 9 | # flash using edbg 10 | flash: $(BUILD)/$(PROJECT).bin 11 | edbg -b -t samd11 -e -pv -f $< 12 | -------------------------------------------------------------------------------- /hw/bsp/samd21/boards/atsamd21_xpro/board.cmake: -------------------------------------------------------------------------------- 1 | set(JLINK_DEVICE ATSAMD21J18) 2 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/samd21j18a_flash.ld) 3 | 4 | function(update_board TARGET) 5 | target_compile_definitions(${TARGET} PUBLIC 6 | __SAMD21J18A__ 7 | CFG_EXAMPLE_VIDEO_READONLY 8 | ) 9 | endfunction() 10 | -------------------------------------------------------------------------------- /hw/bsp/samd21/boards/atsamd21_xpro/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -D__SAMD21J18A__ -DCFG_EXAMPLE_VIDEO_READONLY 2 | 3 | # All source paths should be relative to the top level. 4 | LD_FILE = $(BOARD_PATH)/samd21j18a_flash.ld 5 | 6 | # For flash-jlink target 7 | JLINK_DEVICE = ATSAMD21J18 8 | 9 | # flash using jlink 10 | flash: flash-jlink 11 | -------------------------------------------------------------------------------- /hw/bsp/samd21/boards/circuitplayground_express/board.cmake: -------------------------------------------------------------------------------- 1 | set(JLINK_DEVICE ATSAMD21G18) 2 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/${BOARD}.ld) 3 | 4 | function(update_board TARGET) 5 | target_compile_definitions(${TARGET} PUBLIC 6 | __SAMD21G18A__ 7 | CFG_EXAMPLE_VIDEO_READONLY 8 | ) 9 | endfunction() 10 | -------------------------------------------------------------------------------- /hw/bsp/samd21/boards/circuitplayground_express/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -D__SAMD21G18A__ -DCFG_EXAMPLE_VIDEO_READONLY 2 | 3 | # All source paths should be relative to the top level. 4 | LD_FILE = $(BOARD_PATH)/$(BOARD).ld 5 | 6 | # For flash-jlink target 7 | JLINK_DEVICE = ATSAMD21G18 8 | 9 | flash: flash-bossac 10 | -------------------------------------------------------------------------------- /hw/bsp/samd21/boards/curiosity_nano/board.cmake: -------------------------------------------------------------------------------- 1 | set(JLINK_DEVICE atsamd21g17a) 2 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/samd21g17a_flash.ld) 3 | 4 | function(update_board TARGET) 5 | target_compile_definitions(${TARGET} PUBLIC 6 | __SAMD21G17A__ 7 | CFG_EXAMPLE_MSC_READONLY 8 | CFG_EXAMPLE_VIDEO_READONLY 9 | ) 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/samd21/boards/curiosity_nano/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -D__SAMD21G17A__ -DCFG_EXAMPLE_MSC_READONLY -DCFG_EXAMPLE_VIDEO_READONLY 2 | 3 | # All source paths should be relative to the top level. 4 | LD_FILE = $(BOARD_PATH)/samd21g17a_flash.ld 5 | 6 | # For flash-jlink target 7 | JLINK_DEVICE = atsamd21g17a 8 | 9 | # flash using jlink (options are: jlink/cmsisdap/stlink/dfu) 10 | #flash: flash-jlink 11 | 12 | PYOCD_TARGET = atsamd21g17a 13 | PYOCD_OPTION = -O dap_protocol=swd 14 | flash: flash-pyocd 15 | -------------------------------------------------------------------------------- /hw/bsp/samd21/boards/cynthion_d21/board.cmake: -------------------------------------------------------------------------------- 1 | set(JLINK_DEVICE ATSAMD21G18) 2 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/samd21g18a_flash.ld) 3 | 4 | function(update_board TARGET) 5 | target_compile_definitions(${TARGET} PUBLIC 6 | __SAMD21G18A__ 7 | CFG_EXAMPLE_VIDEO_READONLY 8 | ) 9 | target_link_options(${TARGET} PUBLIC 10 | "LINKER:--defsym=BOOTLOADER_SIZE=0x800" 11 | ) 12 | endfunction() 13 | -------------------------------------------------------------------------------- /hw/bsp/samd21/boards/feather_m0_express/board.cmake: -------------------------------------------------------------------------------- 1 | set(JLINK_DEVICE ATSAMD21G18) 2 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/${BOARD}.ld) 3 | 4 | function(update_board TARGET) 5 | target_compile_definitions(${TARGET} PUBLIC 6 | __SAMD21G18A__ 7 | CFG_EXAMPLE_VIDEO_READONLY 8 | ) 9 | endfunction() 10 | -------------------------------------------------------------------------------- /hw/bsp/samd21/boards/feather_m0_express/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -D__SAMD21G18A__ -DCFG_EXAMPLE_VIDEO_READONLY 2 | 3 | # All source paths should be relative to the top level. 4 | LD_FILE = $(BOARD_PATH)/$(BOARD).ld 5 | 6 | # For flash-jlink target 7 | JLINK_DEVICE = ATSAMD21G18 8 | 9 | flash: flash-bossac 10 | -------------------------------------------------------------------------------- /hw/bsp/samd21/boards/itsybitsy_m0/board.cmake: -------------------------------------------------------------------------------- 1 | set(JLINK_DEVICE ATSAMD21G18) 2 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/${BOARD}.ld) 3 | 4 | function(update_board TARGET) 5 | target_compile_definitions(${TARGET} PUBLIC 6 | __SAMD21G18A__ 7 | CFG_EXAMPLE_VIDEO_READONLY 8 | ) 9 | endfunction() 10 | -------------------------------------------------------------------------------- /hw/bsp/samd21/boards/itsybitsy_m0/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -D__SAMD21G18A__ -DCFG_EXAMPLE_VIDEO_READONLY 2 | 3 | # All source paths should be relative to the top level. 4 | LD_FILE = $(BOARD_PATH)/$(BOARD).ld 5 | 6 | # For flash-jlink target 7 | JLINK_DEVICE = ATSAMD21G18 8 | 9 | flash: flash-bossac 10 | -------------------------------------------------------------------------------- /hw/bsp/samd21/boards/metro_m0_express/board.cmake: -------------------------------------------------------------------------------- 1 | set(JLINK_DEVICE ATSAMD21G18) 2 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/${BOARD}.ld) 3 | 4 | function(update_board TARGET) 5 | target_compile_definitions(${TARGET} PUBLIC 6 | __SAMD21G18A__ 7 | CFG_EXAMPLE_VIDEO_READONLY 8 | ) 9 | endfunction() 10 | -------------------------------------------------------------------------------- /hw/bsp/samd21/boards/metro_m0_express/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -D__SAMD21G18A__ -DCFG_EXAMPLE_VIDEO_READONLY 2 | 3 | # All source paths should be relative to the top level. 4 | LD_FILE = $(BOARD_PATH)/$(BOARD).ld 5 | 6 | # For flash-jlink target 7 | JLINK_DEVICE = ATSAMD21G18 8 | 9 | flash: flash-bossac 10 | -------------------------------------------------------------------------------- /hw/bsp/samd21/boards/qtpy/board.cmake: -------------------------------------------------------------------------------- 1 | set(JLINK_DEVICE ATSAMD21E18) 2 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/${BOARD}.ld) 3 | 4 | function(update_board TARGET) 5 | target_compile_definitions(${TARGET} PUBLIC 6 | __SAMD21E18A__ 7 | CFG_EXAMPLE_VIDEO_READONLY 8 | ) 9 | endfunction() 10 | -------------------------------------------------------------------------------- /hw/bsp/samd21/boards/qtpy/board.mk: -------------------------------------------------------------------------------- 1 | # For Adafruit QT Py board 2 | 3 | CFLAGS += -D__SAMD21E18A__ -DCFG_EXAMPLE_VIDEO_READONLY 4 | 5 | # All source paths should be relative to the top level. 6 | LD_FILE = $(BOARD_PATH)/$(BOARD).ld 7 | 8 | # For flash-jlink target 9 | JLINK_DEVICE = ATSAMD21E18 10 | 11 | flash: flash-bossac 12 | -------------------------------------------------------------------------------- /hw/bsp/samd21/boards/seeeduino_xiao/board.cmake: -------------------------------------------------------------------------------- 1 | set(JLINK_DEVICE ATSAMD21G18) 2 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/${BOARD}.ld) 3 | 4 | function(update_board TARGET) 5 | target_compile_definitions(${TARGET} PUBLIC 6 | __SAMD21G18A__ 7 | CFG_EXAMPLE_VIDEO_READONLY 8 | ) 9 | endfunction() 10 | -------------------------------------------------------------------------------- /hw/bsp/samd21/boards/seeeduino_xiao/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -D__SAMD21G18A__ -DCFG_EXAMPLE_VIDEO_READONLY 2 | 3 | LD_FILE = $(BOARD_PATH)/$(BOARD).ld 4 | 5 | # For flash-jlink target 6 | JLINK_DEVICE = ATSAMD21G18 7 | 8 | # flash using jlink 9 | flash: flash-jlink 10 | -------------------------------------------------------------------------------- /hw/bsp/samd21/boards/sparkfun_samd21_mini_usb/board.cmake: -------------------------------------------------------------------------------- 1 | set(JLINK_DEVICE ATSAMD21G18) 2 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/${BOARD}.ld) 3 | 4 | function(update_board TARGET) 5 | target_compile_definitions(${TARGET} PUBLIC 6 | __SAMD21G18A__ 7 | CFG_EXAMPLE_VIDEO_READONLY 8 | ) 9 | endfunction() 10 | -------------------------------------------------------------------------------- /hw/bsp/samd21/boards/sparkfun_samd21_mini_usb/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -D__SAMD21G18A__ -DCFG_EXAMPLE_VIDEO_READONLY 2 | 3 | # All source paths should be relative to the top level. 4 | LD_FILE = $(BOARD_PATH)/$(BOARD).ld 5 | 6 | # For flash-jlink target 7 | JLINK_DEVICE = ATSAMD21G18 8 | 9 | flash: flash-bossac 10 | -------------------------------------------------------------------------------- /hw/bsp/samd21/boards/trinket_m0/board.cmake: -------------------------------------------------------------------------------- 1 | set(JLINK_DEVICE ATSAMD21E18) 2 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/${BOARD}.ld) 3 | 4 | function(update_board TARGET) 5 | target_compile_definitions(${TARGET} PUBLIC 6 | __SAMD21E18A__ 7 | CFG_EXAMPLE_VIDEO_READONLY 8 | ) 9 | endfunction() 10 | -------------------------------------------------------------------------------- /hw/bsp/samd21/boards/trinket_m0/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -D__SAMD21E18A__ -DCFG_EXAMPLE_VIDEO_READONLY 2 | 3 | # All source paths should be relative to the top level. 4 | LD_FILE = $(BOARD_PATH)/trinket_m0.ld 5 | -------------------------------------------------------------------------------- /hw/bsp/samd5x_e5x/boards/d5035_01/board.cmake: -------------------------------------------------------------------------------- 1 | set(SAM_FAMILY same51) 2 | 3 | set(JLINK_DEVICE ATSAME51J19) 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/same51j19a_flash.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | __SAME51J19A__ 9 | SVC_Handler=SVCall_Handler 10 | CONF_CPU_FREQUENCY=80000000 11 | CONF_GCLK_USB_FREQUENCY=48000000 12 | ) 13 | endfunction() 14 | -------------------------------------------------------------------------------- /hw/bsp/samd5x_e5x/boards/feather_m4_express/board.cmake: -------------------------------------------------------------------------------- 1 | set(SAM_FAMILY samd51) 2 | 3 | set(JLINK_DEVICE ATSAMD51J19) 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/${BOARD}.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | __SAMD51J19A__ 9 | ) 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/samd5x_e5x/boards/feather_m4_express/board.mk: -------------------------------------------------------------------------------- 1 | SAM_FAMILY = samd51 2 | 3 | CFLAGS += -D__SAMD51J19A__ 4 | 5 | LD_FILE = $(BOARD_PATH)/$(BOARD).ld 6 | 7 | # For flash-jlink target 8 | JLINK_DEVICE = ATSAMD51J19 9 | 10 | flash: flash-bossac 11 | -------------------------------------------------------------------------------- /hw/bsp/samd5x_e5x/boards/itsybitsy_m4/board.cmake: -------------------------------------------------------------------------------- 1 | set(SAM_FAMILY samd51) 2 | 3 | set(JLINK_DEVICE ATSAMD51J19) 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/${BOARD}.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | __SAMD51J19A__ 9 | ) 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/samd5x_e5x/boards/itsybitsy_m4/board.mk: -------------------------------------------------------------------------------- 1 | SAM_FAMILY = samd51 2 | 3 | CFLAGS += -D__SAMD51J19A__ 4 | 5 | # All source paths should be relative to the top level. 6 | LD_FILE = $(BOARD_PATH)/$(BOARD).ld 7 | 8 | # For flash-jlink target 9 | JLINK_DEVICE = ATSAMD51J19 10 | 11 | flash: flash-bossac 12 | -------------------------------------------------------------------------------- /hw/bsp/samd5x_e5x/boards/metro_m4_express/board.cmake: -------------------------------------------------------------------------------- 1 | set(SAM_FAMILY samd51) 2 | 3 | set(JLINK_DEVICE ATSAMD51J19) 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/${BOARD}.ld) 5 | 6 | # force max3421e for testing with hardware-in-the-loop 7 | set(MAX3421_HOST 1) 8 | 9 | function(update_board TARGET) 10 | target_compile_definitions(${TARGET} PUBLIC 11 | __SAMD51J19A__ 12 | ) 13 | endfunction() 14 | -------------------------------------------------------------------------------- /hw/bsp/samd5x_e5x/boards/metro_m4_express/board.mk: -------------------------------------------------------------------------------- 1 | SAM_FAMILY = samd51 2 | 3 | CFLAGS += -D__SAMD51J19A__ 4 | 5 | # All source paths should be relative to the top level. 6 | LD_FILE = $(BOARD_PATH)/$(BOARD).ld 7 | 8 | # For flash-jlink target 9 | JLINK_DEVICE = ATSAMD51J19 10 | 11 | flash: flash-bossac 12 | -------------------------------------------------------------------------------- /hw/bsp/samd5x_e5x/boards/pybadge/board.cmake: -------------------------------------------------------------------------------- 1 | set(SAM_FAMILY samd51) 2 | 3 | set(JLINK_DEVICE ATSAMD51J19) 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/${BOARD}.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | __SAMD51J19A__ 9 | ) 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/samd5x_e5x/boards/pybadge/board.mk: -------------------------------------------------------------------------------- 1 | SAM_FAMILY = samd51 2 | 3 | CFLAGS += -D__SAMD51J19A__ 4 | 5 | LD_FILE = $(BOARD_PATH)/$(BOARD).ld 6 | 7 | # For flash-jlink target 8 | JLINK_DEVICE = ATSAMD51J19 9 | 10 | flash: flash-bossac 11 | -------------------------------------------------------------------------------- /hw/bsp/samd5x_e5x/boards/pyportal/board.cmake: -------------------------------------------------------------------------------- 1 | set(SAM_FAMILY samd51) 2 | 3 | set(JLINK_DEVICE ATSAMD51J19) 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/${BOARD}.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | __SAMD51J19A__ 9 | ) 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/samd5x_e5x/boards/pyportal/board.mk: -------------------------------------------------------------------------------- 1 | SAM_FAMILY = samd51 2 | 3 | CFLAGS += -D__SAMD51J19A__ 4 | 5 | LD_FILE = $(BOARD_PATH)/$(BOARD).ld 6 | 7 | # For flash-jlink target 8 | JLINK_DEVICE = ATSAMD51J19 9 | 10 | flash: flash-bossac 11 | -------------------------------------------------------------------------------- /hw/bsp/samd5x_e5x/boards/same54_xplained/board.cmake: -------------------------------------------------------------------------------- 1 | set(SAM_FAMILY same54) 2 | 3 | set(JLINK_DEVICE ATSAME54P20) 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/same54p20a_flash.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | __SAME54P20A__ 9 | ) 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/samd5x_e5x/boards/same54_xplained/board.mk: -------------------------------------------------------------------------------- 1 | SAM_FAMILY = same54 2 | 3 | CFLAGS += -D__SAME54P20A__ 4 | 5 | # All source paths should be relative to the top level. 6 | LD_FILE = $(BOARD_PATH)/same54p20a_flash.ld 7 | 8 | # For flash-jlink target 9 | JLINK_DEVICE = ATSAME54P20 10 | -------------------------------------------------------------------------------- /hw/bsp/samg/boards/samg55_xplained/board.cmake: -------------------------------------------------------------------------------- 1 | set(JLINK_DEVICE ATSAMG55J19) 2 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/samg55j19_flash.ld) 3 | 4 | function(update_board TARGET) 5 | target_compile_definitions(${TARGET} PUBLIC 6 | __SAMG55J19__ 7 | ) 8 | endfunction() 9 | -------------------------------------------------------------------------------- /hw/bsp/samg/boards/samg55_xplained/board.h: -------------------------------------------------------------------------------- 1 | /* metadata: 2 | name: SAMG55 Xplained Pro 3 | url: https://www.microchip.com/DevelopmentTools/ProductDetails/ATSAMG55-XPRO 4 | */ 5 | 6 | #ifndef BOARD_H 7 | #define BOARD_H 8 | 9 | #define LED_PIN GPIO(GPIO_PORTA, 6) 10 | 11 | #define BUTTON_PIN GPIO(GPIO_PORTA, 2) 12 | #define BUTTON_STATE_ACTIVE 0 13 | 14 | #define UART_TX_PIN GPIO(GPIO_PORTA, 28) 15 | #define UART_RX_PIN GPIO(GPIO_PORTA, 27) 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /hw/bsp/samg/boards/samg55_xplained/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -D__SAMG55J19__ 2 | 3 | JLINK_DEVICE = ATSAMG55J19 4 | 5 | # All source paths should be relative to the top level. 6 | LD_FILE = $(BOARD_PATH)/samg55j19_flash.ld 7 | 8 | OPENOCD_OPTION = -f board/atmel_samg55_xplained_pro.cfg 9 | 10 | flash: flash-openocd 11 | -------------------------------------------------------------------------------- /hw/bsp/saml2x/boards/atsaml21_xpro/board.cmake: -------------------------------------------------------------------------------- 1 | set(SAM_FAMILY saml21) 2 | set(JLINK_DEVICE ATSAML21J18) 3 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/saml21j18b_flash.ld) 4 | 5 | function(update_board TARGET) 6 | target_compile_definitions(${TARGET} PUBLIC 7 | __SAML21J18B__ 8 | ) 9 | endfunction() 10 | -------------------------------------------------------------------------------- /hw/bsp/saml2x/boards/atsaml21_xpro/board.mk: -------------------------------------------------------------------------------- 1 | SAM_FAMILY = saml21 2 | 3 | CFLAGS += -D__SAML21J18B__ 4 | 5 | # All source paths should be relative to the top level. 6 | LD_FILE = $(BOARD_PATH)/saml21j18b_flash.ld 7 | 8 | # For flash-jlink target 9 | JLINK_DEVICE = ATSAML21J18 10 | 11 | # flash using jlink 12 | flash: flash-jlink 13 | -------------------------------------------------------------------------------- /hw/bsp/saml2x/boards/saml22_feather/board.cmake: -------------------------------------------------------------------------------- 1 | set(SAM_FAMILY saml22) 2 | set(JLINK_DEVICE ATSAML22J18) 3 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/${BOARD}.ld) 4 | 5 | function(update_board TARGET) 6 | target_compile_definitions(${TARGET} PUBLIC 7 | __SAML22J18A__ 8 | ) 9 | endfunction() 10 | -------------------------------------------------------------------------------- /hw/bsp/saml2x/boards/saml22_feather/board.mk: -------------------------------------------------------------------------------- 1 | SAM_FAMILY = saml22 2 | 3 | CFLAGS += -D__SAML22J18A__ 4 | 5 | # All source paths should be relative to the top level. 6 | LD_FILE = $(BOARD_PATH)/$(BOARD).ld 7 | 8 | # For flash-jlink target 9 | JLINK_DEVICE = ATSAML22J18 10 | 11 | flash: flash-bossac 12 | -------------------------------------------------------------------------------- /hw/bsp/saml2x/boards/sensorwatch_m0/board.cmake: -------------------------------------------------------------------------------- 1 | set(SAM_FAMILY saml22) 2 | set(JLINK_DEVICE ATSAML21J18) 3 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/${BOARD}.ld) 4 | 5 | function(update_board TARGET) 6 | target_compile_definitions(${TARGET} PUBLIC 7 | __SAML22J18A__ 8 | ) 9 | endfunction() 10 | -------------------------------------------------------------------------------- /hw/bsp/saml2x/boards/sensorwatch_m0/board.mk: -------------------------------------------------------------------------------- 1 | SAM_FAMILY = saml22 2 | 3 | CFLAGS += -D__SAML22J18A__ 4 | 5 | # All source paths should be relative to the top level. 6 | LD_FILE = $(BOARD_PATH)/$(BOARD).ld 7 | 8 | # For flash-jlink target 9 | JLINK_DEVICE = ATSAML22J18 10 | 11 | flash: flash-bossac 12 | -------------------------------------------------------------------------------- /hw/bsp/stm32c0/boards/stm32c071nucleo/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32c071xx) 2 | set(JLINK_DEVICE stm32c071rb) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32C071RBTx_FLASH.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32C071xx 9 | ) 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/stm32c0/boards/stm32c071nucleo/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += \ 2 | -DSTM32C071xx 3 | 4 | # GCC 5 | SRC_S_GCC += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32c071xx.s 6 | LD_FILE_GCC = $(BOARD_PATH)/STM32C071RBTx_FLASH.ld 7 | 8 | # IAR 9 | SRC_S_IAR += $(ST_CMSIS)/Source/Templates/iar/startup_stm32c071xx.s 10 | LD_FILE_IAR = $(ST_CMSIS)/Source/Templates/iar/linker/stm32c071xx_flash.icf 11 | 12 | # For flash-jlink target 13 | JLINK_DEVICE = stm32c071rb 14 | -------------------------------------------------------------------------------- /hw/bsp/stm32f0/boards/stm32f070rbnucleo/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32f070xb) 2 | set(JLINK_DEVICE stm32f070rb) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/stm32F070rbtx_flash.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32F070xB 9 | CFG_EXAMPLE_VIDEO_READONLY 10 | ) 11 | endfunction() 12 | -------------------------------------------------------------------------------- /hw/bsp/stm32f0/boards/stm32f070rbnucleo/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32f070xb 2 | 3 | CFLAGS += -DSTM32F070xB -DCFG_EXAMPLE_VIDEO_READONLY 4 | 5 | # Linker 6 | LD_FILE_GCC = $(BOARD_PATH)/stm32F070rbtx_flash.ld 7 | 8 | # For flash-jlink target 9 | JLINK_DEVICE = stm32f070rb 10 | 11 | # flash target using on-board stlink 12 | flash: flash-stlink 13 | -------------------------------------------------------------------------------- /hw/bsp/stm32f0/boards/stm32f072disco/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32f072xb) 2 | set(JLINK_DEVICE stm32f072rb) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32F072RBTx_FLASH.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32F072xB 9 | CFG_EXAMPLE_VIDEO_READONLY 10 | ) 11 | endfunction() 12 | -------------------------------------------------------------------------------- /hw/bsp/stm32f0/boards/stm32f072disco/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32f072xb 2 | 3 | CFLAGS += -DSTM32F072xB -DCFG_EXAMPLE_VIDEO_READONLY 4 | 5 | # Linker 6 | LD_FILE_GCC = $(BOARD_PATH)/STM32F072RBTx_FLASH.ld 7 | 8 | # For flash-jlink target 9 | JLINK_DEVICE = stm32f072rb 10 | 11 | # flash target using on-board stlink 12 | flash: flash-stlink 13 | -------------------------------------------------------------------------------- /hw/bsp/stm32f0/boards/stm32f072eval/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32f072xb) 2 | set(JLINK_DEVICE stm32f072vb) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32F072VBTx_FLASH.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32F072xB 9 | LSI_VALUE=40000 10 | CFG_EXAMPLE_VIDEO_READONLY 11 | ) 12 | endfunction() 13 | -------------------------------------------------------------------------------- /hw/bsp/stm32f0/boards/stm32f072eval/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32f072xb 2 | 3 | CFLAGS += -DSTM32F072xB -DLSI_VALUE=40000 -DCFG_EXAMPLE_VIDEO_READONLY 4 | 5 | # Linker 6 | LD_FILE_GCC = $(BOARD_PATH)/STM32F072VBTx_FLASH.ld 7 | 8 | # For flash-jlink target 9 | JLINK_DEVICE = stm32f072vb 10 | 11 | # flash target using on-board stlink 12 | flash: flash-stlink 13 | -------------------------------------------------------------------------------- /hw/bsp/stm32f1/boards/stm32f103_bluepill/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32f103xb) 2 | set(JLINK_DEVICE stm32f103c8) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32F103X8_FLASH.ld) 5 | set(LD_FILE_IAR ${CMAKE_CURRENT_LIST_DIR}/stm32f103x8_flash.icf) 6 | 7 | function(update_board TARGET) 8 | target_compile_definitions(${TARGET} PUBLIC 9 | STM32F103xB 10 | HSE_VALUE=8000000U 11 | CFG_EXAMPLE_VIDEO_READONLY 12 | ) 13 | endfunction() 14 | -------------------------------------------------------------------------------- /hw/bsp/stm32f1/boards/stm32f103_bluepill/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32f103xb 2 | 3 | CFLAGS += -DSTM32F103xB -DHSE_VALUE=8000000U -DCFG_EXAMPLE_VIDEO_READONLY 4 | 5 | # Linker 6 | LD_FILE_GCC = $(BOARD_PATH)/STM32F103X8_FLASH.ld 7 | LD_FILE_IAR = $(BOARD_PATH)/stm32f103x8_flash.icf 8 | 9 | # For flash-jlink target 10 | JLINK_DEVICE = stm32f103c8 11 | 12 | # flash target ROM bootloader 13 | flash: flash-dfu-util 14 | -------------------------------------------------------------------------------- /hw/bsp/stm32f1/boards/stm32f103_mini_2/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32f103xb) 2 | set(JLINK_DEVICE stm32f103rc) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32F103XC_FLASH.ld) 5 | set(LD_FILE_IAR ${CMAKE_CURRENT_LIST_DIR}/stm32f103xc_flash.icf) 6 | 7 | function(update_board TARGET) 8 | target_compile_definitions(${TARGET} PUBLIC 9 | STM32F103xB 10 | HSE_VALUE=8000000U 11 | ) 12 | endfunction() 13 | -------------------------------------------------------------------------------- /hw/bsp/stm32f1/boards/stm32f103_mini_2/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32f103xb 2 | 3 | CFLAGS += -DSTM32F103xB -DHSE_VALUE=8000000U 4 | 5 | # Linker 6 | LD_FILE_GCC = $(BOARD_PATH)/STM32F103XC_FLASH.ld 7 | LD_FILE_IAR = $(BOARD_PATH)/stm32f103xc_flash.icf 8 | 9 | # For flash-jlink target 10 | JLINK_DEVICE = stm32f103rc 11 | 12 | # flash target ROM bootloader 13 | flash: flash-jlink 14 | -------------------------------------------------------------------------------- /hw/bsp/stm32f1/boards/stm32f103ze_iar/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32f103xe 2 | 3 | CFLAGS += -DSTM32F103xE -DHSE_VALUE=8000000U 4 | 5 | # Linker 6 | LD_FILE_GCC = ${ST_CMSIS}/Source/Templates/gcc/linker/STM32F103XE_FLASH.ld 7 | LD_FILE_IAR = ${ST_CMSIS}/Source/Templates/iar/linker/${MCU_VARIANT}_flash.icf 8 | 9 | # For flash-jlink target 10 | JLINK_DEVICE = stm32f103ze 11 | 12 | # flash target ROM bootloader 13 | flash: flash-jlink 14 | -------------------------------------------------------------------------------- /hw/bsp/stm32f2/boards/stm32f207nucleo/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32f207xx) 2 | set(JLINK_DEVICE stm32f207zg) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32F207ZGTx_FLASH.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32F207xx 9 | ) 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/stm32f2/boards/stm32f207nucleo/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32f207xx 2 | CFLAGS += -DSTM32F207xx 3 | 4 | # All source paths should be relative to the top level. 5 | LD_FILE = $(BOARD_PATH)/STM32F207ZGTx_FLASH.ld 6 | 7 | # For flash-jlink target 8 | JLINK_DEVICE = stm32f207zg 9 | 10 | # flash target using on-board stlink 11 | flash: flash-stlink 12 | -------------------------------------------------------------------------------- /hw/bsp/stm32f3/boards/stm32f303disco/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32f303xc) 2 | set(JLINK_DEVICE stm32f303vc) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32F303VCTx_FLASH.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32F303xC 9 | ) 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/stm32f3/boards/stm32f303disco/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32f303xc 2 | CFLAGS += \ 3 | -DSTM32F303xC \ 4 | 5 | # All source paths should be relative to the top level. 6 | LD_FILE = $(BOARD_PATH)/STM32F303VCTx_FLASH.ld 7 | 8 | # For flash-jlink target 9 | JLINK_DEVICE = stm32f303vc 10 | 11 | # flash target using on-board stlink 12 | flash: flash-stlink 13 | -------------------------------------------------------------------------------- /hw/bsp/stm32f4/boards/feather_stm32f405/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32f405xx) 2 | set(JLINK_DEVICE stm32f405rg) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32F405RGTx_FLASH.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32F405xx 9 | ) 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/stm32f4/boards/pyboardv11/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32f405xx) 2 | set(JLINK_DEVICE stm32f405rg) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32F405RGTx_FLASH.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32F405xx 9 | ) 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/stm32f4/boards/pyboardv11/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DSTM32F405xx 2 | 3 | # GCC 4 | SRC_S_GCC += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f405xx.s 5 | LD_FILE_GCC = $(BOARD_PATH)/STM32F405RGTx_FLASH.ld 6 | 7 | # IAR 8 | SRC_S_IAR += $(ST_CMSIS)/Source/Templates/iar/startup_stm32f405xx.s 9 | LD_FILE_IAR = $(ST_CMSIS)/Source/Templates/iar/linker/stm32f405xx_flash.icf 10 | 11 | # For flash-jlink target 12 | JLINK_DEVICE = stm32f405rg 13 | 14 | # flash target using on-board stlink 15 | flash: flash-stlink 16 | -------------------------------------------------------------------------------- /hw/bsp/stm32f4/boards/stm32f401blackpill/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32f401xc) 2 | set(JLINK_DEVICE stm32f401cc) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32F401VCTx_FLASH.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32F405xx 9 | ) 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/stm32f4/boards/stm32f407blackvet/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32f407xx) 2 | set(JLINK_DEVICE stm32f407ve) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32F407VETx_FLASH.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32F407xx 9 | HSE_VALUE=8000000 10 | ) 11 | endfunction() 12 | -------------------------------------------------------------------------------- /hw/bsp/stm32f4/boards/stm32f407blackvet/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DSTM32F407xx 2 | 3 | # GCC 4 | SRC_S_GCC += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f407xx.s 5 | LD_FILE_GCC = $(BOARD_PATH)/STM32F407VETx_FLASH.ld 6 | 7 | # IAR 8 | SRC_S_IAR += $(ST_CMSIS)/Source/Templates/iar/startup_stm32f407xx.s 9 | LD_FILE_IAR = $(ST_CMSIS)/Source/Templates/iar/linker/stm32f407xx_flash.icf 10 | 11 | 12 | # For flash-jlink target 13 | JLINK_DEVICE = stm32f407vg 14 | 15 | # flash target using on-board stlink 16 | flash: flash-stlink 17 | -------------------------------------------------------------------------------- /hw/bsp/stm32f4/boards/stm32f407disco/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32f407xx) 2 | set(JLINK_DEVICE stm32f407vg) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32F407VGTx_FLASH.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32F407xx 9 | ) 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/stm32f4/boards/stm32f407disco/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DSTM32F407xx 2 | 3 | # GCC 4 | SRC_S_GCC += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f407xx.s 5 | LD_FILE_GCC = $(BOARD_PATH)/STM32F407VGTx_FLASH.ld 6 | 7 | # IAR 8 | SRC_S_IAR += $(ST_CMSIS)/Source/Templates/iar/startup_stm32f407xx.s 9 | LD_FILE_IAR = $(ST_CMSIS)/Source/Templates/iar/linker/stm32f407xx_flash.icf 10 | 11 | 12 | # For flash-jlink target 13 | JLINK_DEVICE = stm32f407vg 14 | 15 | # flash target using on-board stlink 16 | flash: flash-stlink 17 | -------------------------------------------------------------------------------- /hw/bsp/stm32f4/boards/stm32f411blackpill/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32f411xe) 2 | set(JLINK_DEVICE stm32f411ce) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32F411CEUx_FLASH.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32F411xE 9 | ) 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/stm32f4/boards/stm32f411disco/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32f411xe) 2 | set(JLINK_DEVICE stm32f411ve) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32F411VETx_FLASH.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32F411xE 9 | ) 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/stm32f4/boards/stm32f411disco/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DSTM32F411xE 2 | 3 | # GCC 4 | SRC_S_GCC += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f411xe.s 5 | LD_FILE_GCC = $(BOARD_PATH)/STM32F411VETx_FLASH.ld 6 | 7 | # IAR 8 | SRC_S_IAR += $(ST_CMSIS)/Source/Templates/iar/startup_stm32f411xe.s 9 | LD_FILE_IAR = $(ST_CMSIS)/Source/Templates/iar/linker/stm32f411xe_flash.icf 10 | 11 | # For flash-jlink target 12 | JLINK_DEVICE = stm32f411ve 13 | 14 | # flash target using on-board stlink 15 | flash: flash-stlink 16 | -------------------------------------------------------------------------------- /hw/bsp/stm32f4/boards/stm32f412disco/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32f412zx) 2 | set(JLINK_DEVICE stm32f412zg) 3 | # set(JLINK_OPTION "-USB 000771775987") 4 | 5 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32F412ZGTx_FLASH.ld) 6 | 7 | function(update_board TARGET) 8 | target_compile_definitions(${TARGET} PUBLIC 9 | STM32F412Zx 10 | ) 11 | endfunction() 12 | -------------------------------------------------------------------------------- /hw/bsp/stm32f4/boards/stm32f412disco/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DSTM32F412Zx 2 | 3 | # GCC 4 | SRC_S_GCC += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f412zx.s 5 | LD_FILE_GCC = $(BOARD_PATH)/STM32F412ZGTx_FLASH.ld 6 | 7 | # IAR 8 | SRC_S_IAR += $(ST_CMSIS)/Source/Templates/iar/startup_stm32f412zx.s 9 | LD_FILE_IAR = $(ST_CMSIS)/Source/Templates/iar/linker/stm32f412zx_flash.icf 10 | 11 | # For flash-jlink target 12 | JLINK_DEVICE = stm32f412zg 13 | 14 | # flash target using on-board stlink 15 | flash: flash-stlink 16 | -------------------------------------------------------------------------------- /hw/bsp/stm32f4/boards/stm32f412nucleo/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32f412zx) 2 | set(JLINK_DEVICE stm32f412zg) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32F412ZGTx_FLASH.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32F412Zx 9 | BOARD_TUD_RHPORT=0 10 | ) 11 | endfunction() 12 | -------------------------------------------------------------------------------- /hw/bsp/stm32f4/boards/stm32f412nucleo/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DSTM32F412Zx 2 | 3 | # GCC 4 | SRC_S_GCC += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f412zx.s 5 | LD_FILE_GCC = $(BOARD_PATH)/STM32F412ZGTx_FLASH.ld 6 | 7 | # IAR 8 | SRC_S_IAR += $(ST_CMSIS)/Source/Templates/iar/startup_stm32f412zx.s 9 | LD_FILE_IAR = $(ST_CMSIS)/Source/Templates/iar/linker/stm32f412zx_flash.icf 10 | 11 | # For flash-jlink target 12 | JLINK_DEVICE = stm32f412zg 13 | 14 | # flash target using on-board stlink 15 | flash: flash-stlink 16 | -------------------------------------------------------------------------------- /hw/bsp/stm32f4/boards/stm32f439nucleo/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32f439xx) 2 | set(JLINK_DEVICE stm32f439zi) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32F439ZITX_FLASH.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32F439xx 9 | BOARD_TUD_RHPORT=0 10 | ) 11 | endfunction() 12 | -------------------------------------------------------------------------------- /hw/bsp/stm32f4/boards/stm32f439nucleo/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DSTM32F439xx 2 | 3 | # GCC 4 | SRC_S_GCC += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f439xx.s 5 | LD_FILE_GCC = $(BOARD_PATH)/STM32F439ZITX_FLASH.ld 6 | 7 | # IAR 8 | SRC_S_IAR += $(ST_CMSIS)/Source/Templates/iar/startup_stm32f439xx.s 9 | LD_FILE_IAR = $(ST_CMSIS)/Source/Templates/iar/linker/stm32f439xx_flash.icf 10 | 11 | # For flash-jlink target 12 | JLINK_DEVICE = stm32f439zi 13 | 14 | # flash target using on-board stlink 15 | flash: flash-stlink 16 | -------------------------------------------------------------------------------- /hw/bsp/stm32f7/boards/stlinkv3mini/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32f723xx 2 | 3 | # Only OTG-HS has a connector on this board 4 | RHPORT_SPEED = OPT_MODE_FULL_SPEED OPT_MODE_HIGH_SPEED 5 | RHPORT_DEVICE ?= 1 6 | RHPORT_HOST ?= 1 7 | 8 | PORT ?= 1 9 | SPEED ?= high 10 | 11 | CFLAGS += \ 12 | -DSTM32F723xx \ 13 | -DHSE_VALUE=25000000 \ 14 | 15 | # Linker 16 | LD_FILE_GCC = $(BOARD_PATH)/STM32F723xE_FLASH.ld 17 | 18 | # flash target using on-board stlink 19 | flash: flash-stlink 20 | -------------------------------------------------------------------------------- /hw/bsp/stm32f7/boards/stm32f723disco/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32f723xx 2 | 3 | # For Hardware test: device default to PORT 0, Host to port 1 4 | RHPORT_SPEED = OPT_MODE_FULL_SPEED OPT_MODE_HIGH_SPEED 5 | RHPORT_DEVICE ?= 0 6 | RHPORT_HOST ?= 1 7 | 8 | CFLAGS += \ 9 | -DSTM32F723xx \ 10 | -DHSE_VALUE=25000000 \ 11 | 12 | # Linker 13 | LD_FILE_GCC = $(BOARD_PATH)/STM32F723xE_FLASH.ld 14 | 15 | # flash target using on-board stlink 16 | flash: flash-stlink 17 | 18 | # For flash-jlink target 19 | JLINK_DEVICE = stm32f723ie 20 | -------------------------------------------------------------------------------- /hw/bsp/stm32f7/boards/stm32f746disco/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32f746xx 2 | 3 | RHPORT_SPEED = OPT_MODE_FULL_SPEED OPT_MODE_HIGH_SPEED 4 | RHPORT_DEVICE ?= 1 5 | RHPORT_HOST ?= 0 6 | 7 | PORT ?= 1 8 | SPEED ?= high 9 | 10 | CFLAGS += \ 11 | -DSTM32F746xx \ 12 | -DHSE_VALUE=25000000 13 | 14 | # Linker 15 | LD_FILE_GCC = $(BOARD_PATH)/STM32F746ZGTx_FLASH.ld 16 | 17 | # flash target using on-board stlink 18 | flash: flash-stlink 19 | -------------------------------------------------------------------------------- /hw/bsp/stm32f7/boards/stm32f746nucleo/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32f746xx) 2 | set(JLINK_DEVICE stm32f746xx) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32F746ZGTx_FLASH.ld) 5 | 6 | if (NOT DEFINED RHPORT_DEVICE) 7 | set(RHPORT_DEVICE 0) 8 | endif() 9 | if (NOT DEFINED RHPORT_HOST) 10 | set(RHPORT_HOST 0) 11 | endif() 12 | 13 | function(update_board TARGET) 14 | target_compile_definitions(${TARGET} PUBLIC 15 | STM32F746xx 16 | HSE_VALUE=8000000 17 | ) 18 | endfunction() 19 | -------------------------------------------------------------------------------- /hw/bsp/stm32f7/boards/stm32f746nucleo/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32f746xx 2 | 3 | RHPORT_DEVICE ?= 0 4 | RHPORT_HOST ?= 0 5 | 6 | PORT ?= 0 7 | SPEED ?= full 8 | 9 | CFLAGS += \ 10 | -DSTM32F746xx \ 11 | -DHSE_VALUE=8000000 12 | 13 | # Linker 14 | LD_FILE_GCC = $(BOARD_PATH)/STM32F746ZGTx_FLASH.ld 15 | 16 | # flash target using on-board stlink 17 | flash: flash-stlink 18 | -------------------------------------------------------------------------------- /hw/bsp/stm32f7/boards/stm32f767nucleo/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32f767xx) 2 | set(JLINK_DEVICE stm32f767zi) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32F767ZITx_FLASH.ld) 5 | 6 | if (NOT DEFINED RHPORT_DEVICE) 7 | set(RHPORT_DEVICE 0) 8 | endif() 9 | if (NOT DEFINED RHPORT_HOST) 10 | set(RHPORT_HOST 0) 11 | endif() 12 | 13 | function(update_board TARGET) 14 | target_compile_definitions(${TARGET} PUBLIC 15 | STM32F767xx 16 | HSE_VALUE=8000000 17 | ) 18 | endfunction() 19 | -------------------------------------------------------------------------------- /hw/bsp/stm32f7/boards/stm32f767nucleo/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32f767xx 2 | 3 | RHPORT_DEVICE ?= 0 4 | RHPORT_HOST ?= 0 5 | 6 | PORT ?= 0 7 | SPEED ?= full 8 | 9 | CFLAGS += \ 10 | -DSTM32F767xx \ 11 | -DHSE_VALUE=8000000 \ 12 | 13 | # Linker 14 | LD_FILE_GCC = $(BOARD_PATH)/STM32F767ZITx_FLASH.ld 15 | 16 | # For flash-jlink target 17 | JLINK_DEVICE = stm32f767zi 18 | 19 | # flash target using on-board stlink 20 | flash: flash-stlink 21 | -------------------------------------------------------------------------------- /hw/bsp/stm32f7/boards/stm32f769disco/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32f769xx 2 | 3 | # Only OTG-HS has a connector on this board 4 | RHPORT_SPEED = OPT_MODE_FULL_SPEED OPT_MODE_HIGH_SPEED 5 | RHPORT_DEVICE ?= 1 6 | RHPORT_HOST ?= 1 7 | 8 | PORT ?= 1 9 | SPEED ?= high 10 | 11 | CFLAGS += \ 12 | -DSTM32F769xx \ 13 | -DHSE_VALUE=25000000 \ 14 | 15 | # Linker 16 | LD_FILE_GCC = $(BOARD_PATH)/STM32F769ZITx_FLASH.ld 17 | 18 | JLINK_DEVICE = stm32f769ni 19 | 20 | # flash target using on-board stlink 21 | flash: flash-stlink 22 | -------------------------------------------------------------------------------- /hw/bsp/stm32g0/boards/stm32g0b1nucleo/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32g0b1xx) 2 | set(JLINK_DEVICE stm32g0b1re) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32G0B1RETx_FLASH.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32G0B1xx 9 | ) 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/stm32g0/boards/stm32g0b1nucleo/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += \ 2 | -DSTM32G0B1xx 3 | 4 | # GCC 5 | SRC_S_GCC += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32g0b1xx.s 6 | LD_FILE_GCC = $(BOARD_PATH)/STM32G0B1RETx_FLASH.ld 7 | 8 | # IAR 9 | SRC_S_IAR += $(ST_CMSIS)/Source/Templates/iar/startup_stm32g0b1xx.s 10 | LD_FILE_IAR = $(ST_CMSIS)/Source/Templates/iar/linker/stm32g0b1xx_flash.icf 11 | 12 | # For flash-jlink target 13 | JLINK_DEVICE = stm32g0b1re 14 | -------------------------------------------------------------------------------- /hw/bsp/stm32g4/boards/b_g474e_dpow1/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32g474xx) 2 | set(JLINK_DEVICE stm32g474re) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32G474RETx_FLASH.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32G474xx 9 | ) 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/stm32g4/boards/b_g474e_dpow1/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32g474xx 2 | 3 | CFLAGS += \ 4 | -DSTM32G474xx \ 5 | 6 | # Linker 7 | LD_FILE_GCC = $(BOARD_PATH)/STM32G474RETx_FLASH.ld 8 | 9 | # For flash-jlink target 10 | JLINK_DEVICE = stm32g474re 11 | -------------------------------------------------------------------------------- /hw/bsp/stm32g4/boards/stm32g474nucleo/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32g474xx) 2 | set(JLINK_DEVICE stm32g474re) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32G474RETx_FLASH.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32G474xx 9 | HSE_VALUE=24000000 10 | ) 11 | endfunction() 12 | -------------------------------------------------------------------------------- /hw/bsp/stm32g4/boards/stm32g474nucleo/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32g474xx 2 | 3 | CFLAGS += \ 4 | -DSTM32G474xx \ 5 | -DHSE_VALUE=24000000 6 | 7 | # Linker 8 | LD_FILE_GCC = $(BOARD_PATH)/STM32G474RETx_FLASH.ld 9 | 10 | # For flash-jlink target 11 | JLINK_DEVICE = stm32g474re 12 | -------------------------------------------------------------------------------- /hw/bsp/stm32g4/boards/stm32g491nucleo/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32g491xx) 2 | set(JLINK_DEVICE stm32g491re) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32G491RETX_FLASH.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32G491xx 9 | HSE_VALUE=24000000 10 | ) 11 | endfunction() 12 | -------------------------------------------------------------------------------- /hw/bsp/stm32g4/boards/stm32g491nucleo/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32g491xx 2 | 3 | CFLAGS += \ 4 | -DSTM32G491xx \ 5 | -DHSE_VALUE=24000000 6 | 7 | # Linker 8 | LD_FILE_GCC = $(BOARD_PATH)/STM32G491RETX_FLASH.ld 9 | 10 | # For flash-jlink target 11 | JLINK_DEVICE = stm32g491re 12 | -------------------------------------------------------------------------------- /hw/bsp/stm32h5/boards/stm32h503nucleo/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32h503xx) 2 | set(JLINK_DEVICE stm32h503rb) 3 | 4 | function(update_board TARGET) 5 | target_compile_definitions(${TARGET} PUBLIC 6 | STM32H503xx 7 | HSE_VALUE=24000000 8 | ) 9 | endfunction() 10 | -------------------------------------------------------------------------------- /hw/bsp/stm32h5/boards/stm32h503nucleo/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32h503xx 2 | 3 | CFLAGS += \ 4 | -DSTM32H503xx \ 5 | -DHSE_VALUE=24000000 \ 6 | 7 | # For flash-jlink target 8 | JLINK_DEVICE = stm32h503rb 9 | -------------------------------------------------------------------------------- /hw/bsp/stm32h5/boards/stm32h563nucleo/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32h563xx) 2 | set(JLINK_DEVICE stm32h563zi) 3 | 4 | function(update_board TARGET) 5 | target_compile_definitions(${TARGET} PUBLIC 6 | STM32H563xx 7 | HSE_VALUE=8000000 8 | ) 9 | endfunction() 10 | -------------------------------------------------------------------------------- /hw/bsp/stm32h5/boards/stm32h563nucleo/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32h563xx 2 | 3 | CFLAGS += \ 4 | -DSTM32H563xx \ 5 | -DHSE_VALUE=8000000 \ 6 | 7 | # For flash-jlink target 8 | JLINK_DEVICE = stm32h563zi 9 | -------------------------------------------------------------------------------- /hw/bsp/stm32h5/boards/stm32h573i_dk/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32h573xx) 2 | set(JLINK_DEVICE stm32h573ii) 3 | 4 | function(update_board TARGET) 5 | target_compile_definitions(${TARGET} PUBLIC 6 | STM32H573xx 7 | ) 8 | endfunction() 9 | -------------------------------------------------------------------------------- /hw/bsp/stm32h5/boards/stm32h573i_dk/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32h573xx 2 | 3 | CFLAGS += \ 4 | -DSTM32H573xx 5 | 6 | # For flash-jlink target 7 | JLINK_DEVICE = stm32h573ii 8 | -------------------------------------------------------------------------------- /hw/bsp/stm32h7/boards/daisyseed/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32h750xx) 2 | set(JLINK_DEVICE stm32h750ibk6_m7) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/stm32h750ibkx_flash.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32H750xx 9 | HSE_VALUE=16000000 10 | CORE_CM7 11 | ) 12 | endfunction() 13 | -------------------------------------------------------------------------------- /hw/bsp/stm32h7/boards/daisyseed/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32h750xx 2 | CFLAGS += -DSTM32H750xx -DCORE_CM7 -DHSE_VALUE=16000000 3 | 4 | LD_FILE_GCC = $(BOARD_PATH)/stm32h750ibkx_flash.ld 5 | 6 | # For flash-jlink target 7 | JLINK_DEVICE = stm32h750ibk6_m7 8 | 9 | # flash target using on-board stlink 10 | flash: flash-stlink 11 | -------------------------------------------------------------------------------- /hw/bsp/stm32h7/boards/stm32h723nucleo/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32h723xx) 2 | set(JLINK_DEVICE stm32h723zg) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/../../linker/${MCU_VARIANT}_flash.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32H723xx 9 | HSE_VALUE=8000000 10 | ) 11 | endfunction() 12 | -------------------------------------------------------------------------------- /hw/bsp/stm32h7/boards/stm32h723nucleo/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32h723xx 2 | CFLAGS += -DSTM32H723xx -DHSE_VALUE=8000000 3 | 4 | LD_FILE_GCC = $(FAMILY_PATH)/linker/${MCU_VARIANT}_flash.ld 5 | 6 | # For flash-jlink target 7 | JLINK_DEVICE = stm32h723zg 8 | 9 | # flash target using on-board stlink 10 | flash: flash-stlink 11 | -------------------------------------------------------------------------------- /hw/bsp/stm32h7/boards/stm32h743nucleo/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32h743xx) 2 | set(JLINK_DEVICE stm32h743xi) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/../../linker/${MCU_VARIANT}_flash.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32H743xx 9 | HSE_VALUE=8000000 10 | ) 11 | endfunction() 12 | -------------------------------------------------------------------------------- /hw/bsp/stm32h7/boards/stm32h743nucleo/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32h743xx 2 | CFLAGS += -DSTM32H743xx -DHSE_VALUE=8000000 3 | 4 | LD_FILE_GCC = $(FAMILY_PATH)/linker/${MCU_VARIANT}_flash.ld 5 | 6 | # For flash-jlink target 7 | JLINK_DEVICE = stm32h743zi 8 | 9 | # flash target using on-board stlink 10 | flash: flash-stlink 11 | -------------------------------------------------------------------------------- /hw/bsp/stm32h7/boards/stm32h745disco/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32h745xx) 2 | set(JLINK_DEVICE stm32h745xi_m7) 3 | 4 | set(LD_FILE_GNU ${ST_CMSIS}/Source/Templates/gcc/linker/${MCU_VARIANT}_flash_CM7.ld) 5 | set(LD_FILE_IAR ${ST_CMSIS}/Source/Templates/iar/linker/${MCU_VARIANT}_flash_CM7.icf) 6 | 7 | function(update_board TARGET) 8 | target_compile_definitions(${TARGET} PUBLIC 9 | STM32H745xx 10 | HSE_VALUE=25000000 11 | CORE_CM7 12 | ) 13 | endfunction() 14 | -------------------------------------------------------------------------------- /hw/bsp/stm32h7/boards/stm32h750_weact/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32h750xx) 2 | set(JLINK_DEVICE stm32h750vb) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/${MCU_VARIANT}_flash_CM7.ld) 5 | set(LD_FILE_IAR ${ST_CMSIS}/Source/Templates/iar/linker/${MCU_VARIANT}_flash.icf) 6 | 7 | function(update_board TARGET) 8 | target_compile_definitions(${TARGET} PUBLIC 9 | STM32H750xx 10 | HSE_VALUE=25000000 11 | CORE_CM7 12 | ) 13 | endfunction() 14 | -------------------------------------------------------------------------------- /hw/bsp/stm32h7/boards/stm32h750_weact/board.mk: -------------------------------------------------------------------------------- 1 | # STM32H745I-DISCO uses OTG_FS 2 | # FIXME: Reset enumerates, un/replug USB plug does not enumerate 3 | MCU_VARIANT = stm32h750xx 4 | CFLAGS += -DSTM32H750xx -DCORE_CM7 -DHSE_VALUE=25000000 5 | 6 | LD_FILE_GCC = $(BOARD_PATH)/stm32h750xx_flash_CM7.ld 7 | 8 | # For flash-jlink target 9 | JLINK_DEVICE = stm32h750vb 10 | 11 | # flash target using on-board stlink 12 | flash: flash-jlink 13 | -------------------------------------------------------------------------------- /hw/bsp/stm32h7/boards/stm32h750bdk/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32h750xx) 2 | set(JLINK_DEVICE stm32h750xb) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/${MCU_VARIANT}_flash_CM7.ld) 5 | set(LD_FILE_IAR ${ST_CMSIS}/Source/Templates/iar/linker/${MCU_VARIANT}_flash.icf) 6 | 7 | function(update_board TARGET) 8 | target_compile_definitions(${TARGET} PUBLIC 9 | STM32H750xx 10 | HSE_VALUE=25000000 11 | CORE_CM7 12 | ) 13 | endfunction() 14 | -------------------------------------------------------------------------------- /hw/bsp/stm32h7/boards/stm32h750bdk/board.mk: -------------------------------------------------------------------------------- 1 | # STM32H745I-DISCO uses OTG_FS 2 | # FIXME: Reset enumerates, un/replug USB plug does not enumerate 3 | MCU_VARIANT = stm32h750xx 4 | CFLAGS += -DSTM32H750xx -DCORE_CM7 -DHSE_VALUE=25000000 5 | 6 | LD_FILE_GCC = $(BOARD_PATH)/stm32h750xx_flash_CM7.ld 7 | 8 | # For flash-jlink target 9 | JLINK_DEVICE = stm32h750xb 10 | 11 | # flash target using on-board stlink 12 | flash: flash-stlink 13 | -------------------------------------------------------------------------------- /hw/bsp/stm32l0/boards/stm32l052dap52/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32l052xx) 2 | set(JLINK_DEVICE stm32l052k8) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32L052K8Ux_FLASH.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32L052xx 9 | ) 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/stm32l0/boards/stm32l052dap52/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32l052xx 2 | CFLAGS += \ 3 | -DSTM32L052xx 4 | 5 | LD_FILE = $(BOARD_PATH)/STM32L052K8Ux_FLASH.ld 6 | 7 | # For flash-jlink target 8 | JLINK_DEVICE = stm32l052k8 9 | 10 | # flash target using on-board stlink 11 | flash: flash-stlink 12 | -------------------------------------------------------------------------------- /hw/bsp/stm32l0/boards/stm32l0538disco/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32l053xx) 2 | set(JLINK_DEVICE stm32l053r8) 3 | #set(JLINK_OPTION "-USB 778921770") 4 | 5 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32L053C8Tx_FLASH.ld) 6 | 7 | function(update_board TARGET) 8 | target_compile_definitions(${TARGET} PUBLIC 9 | STM32L053xx 10 | ) 11 | endfunction() 12 | -------------------------------------------------------------------------------- /hw/bsp/stm32l0/boards/stm32l0538disco/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32l053xx 2 | CFLAGS += \ 3 | -DSTM32L053xx 4 | 5 | # All source paths should be relative to the top level. 6 | LD_FILE = $(BOARD_PATH)/STM32L053C8Tx_FLASH.ld 7 | 8 | # For flash-jlink target 9 | JLINK_DEVICE = STM32L053R8 10 | 11 | # flash target using on-board stlink 12 | flash: flash-stlink 13 | -------------------------------------------------------------------------------- /hw/bsp/stm32l4/boards/stm32l412nucleo/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32l412xx) 2 | set(JLINK_DEVICE stm32l412kb) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32L412KBUx_FLASH.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32L412xx 9 | ) 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/stm32l4/boards/stm32l412nucleo/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += \ 2 | -DSTM32L412xx \ 3 | 4 | # GCC 5 | SRC_S_GCC += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32l412xx.s 6 | LD_FILE_GCC = $(BOARD_PATH)/STM32L412KBUx_FLASH.ld 7 | 8 | # IAR 9 | SRC_S_IAR += $(ST_CMSIS)/Source/Templates/iar/startup_stm32l412xx.s 10 | LD_FILE_IAR = $(ST_CMSIS)/Source/Templates/iar/linker/stm32l412xx_flash.icf 11 | 12 | # For flash-jlink target 13 | JLINK_DEVICE = stm32l412kb 14 | -------------------------------------------------------------------------------- /hw/bsp/stm32l4/boards/stm32l476disco/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32l476xx) 2 | set(JLINK_DEVICE stm32l476vg) 3 | # set(JLINK_OPTION "-USB 000777632258") 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32L476VGTx_FLASH.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32L476xx 9 | ) 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/stm32l4/boards/stm32l476disco/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += \ 2 | -DSTM32L476xx \ 3 | 4 | # GCC 5 | SRC_S_GCC += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32l476xx.s 6 | LD_FILE_GCC = $(BOARD_PATH)/STM32L476VGTx_FLASH.ld 7 | 8 | # IAR 9 | SRC_S_IAR += $(ST_CMSIS)/Source/Templates/iar/startup_stm32l476xx.s 10 | LD_FILE_IAR = $(ST_CMSIS)/Source/Templates/iar/linker/stm32l476xx_flash.icf 11 | 12 | # For flash-jlink target 13 | JLINK_DEVICE = stm32l476vg 14 | -------------------------------------------------------------------------------- /hw/bsp/stm32l4/boards/stm32l4p5nucleo/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32l4p5xx) 2 | set(JLINK_DEVICE stm32l4p5zg) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32L4P5ZGTX_FLASH.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32L4P5xx 9 | ) 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/stm32l4/boards/stm32l4p5nucleo/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += \ 2 | -DSTM32L4P5xx \ 3 | 4 | # GCC 5 | SRC_S_GCC += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32l4p5xx.s 6 | LD_FILE_GCC = $(BOARD_PATH)/STM32L4P5ZGTX_FLASH.ld 7 | 8 | # IAR 9 | SRC_S_IAR += $(ST_CMSIS)/Source/Templates/iar/startup_stm32l4p5xx.s 10 | LD_FILE_IAR = $(ST_CMSIS)/Source/Templates/iar/linker/stm32l4p5xx_flash.icf 11 | 12 | # For flash-jlink target 13 | JLINK_DEVICE = stm32l4p5zg 14 | -------------------------------------------------------------------------------- /hw/bsp/stm32l4/boards/stm32l4r5nucleo/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32l4r5xx) 2 | set(JLINK_DEVICE stm32l4r5zi) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32L4RXxI_FLASH.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32L4R5xx 9 | HSE_VALUE=8000000 10 | ) 11 | endfunction() 12 | -------------------------------------------------------------------------------- /hw/bsp/stm32u5/boards/b_u585i_iot2a/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32u585xx) 2 | set(JLINK_DEVICE stm32u585zi) 3 | 4 | function(update_board TARGET) 5 | target_compile_definitions(${TARGET} PUBLIC 6 | STM32U585xx 7 | ) 8 | endfunction() 9 | -------------------------------------------------------------------------------- /hw/bsp/stm32u5/boards/b_u585i_iot2a/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32u585xx 2 | CFLAGS += \ 3 | -DSTM32U585xx \ 4 | 5 | # All source paths should be relative to the top level. 6 | LD_FILE = ${FAMILY_PATH}/linker/STM32U575xx_FLASH.ld 7 | 8 | # For flash-jlink target 9 | JLINK_DEVICE = stm32u585zi 10 | -------------------------------------------------------------------------------- /hw/bsp/stm32u5/boards/stm32u545nucleo/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32u545xx) 2 | set(JLINK_DEVICE stm32u545re) 3 | 4 | function(update_board TARGET) 5 | target_compile_definitions(${TARGET} PUBLIC 6 | STM32U545xx 7 | ) 8 | endfunction() 9 | -------------------------------------------------------------------------------- /hw/bsp/stm32u5/boards/stm32u545nucleo/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32u545xx 2 | CFLAGS += \ 3 | -DSTM32U545xx \ 4 | 5 | # All source paths should be relative to the top level. 6 | LD_FILE = ${FAMILY_PATH}/linker/STM32U545xx_FLASH.ld 7 | 8 | # For flash-jlink target 9 | JLINK_DEVICE = stm32u545re 10 | -------------------------------------------------------------------------------- /hw/bsp/stm32u5/boards/stm32u575eval/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32u575xx) 2 | set(JLINK_DEVICE stm32u575ai) 3 | 4 | function(update_board TARGET) 5 | target_compile_definitions(${TARGET} PUBLIC 6 | STM32U575xx 7 | ) 8 | endfunction() 9 | -------------------------------------------------------------------------------- /hw/bsp/stm32u5/boards/stm32u575eval/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32u575xx 2 | CFLAGS += \ 3 | -DSTM32U575xx \ 4 | 5 | # All source paths should be relative to the top level. 6 | LD_FILE = ${FAMILY_PATH}/linker/STM32U575xx_FLASH.ld 7 | 8 | # For flash-jlink target 9 | JLINK_DEVICE = stm32u575ai 10 | -------------------------------------------------------------------------------- /hw/bsp/stm32u5/boards/stm32u575nucleo/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32u575xx) 2 | set(JLINK_DEVICE stm32u575zi) 3 | 4 | function(update_board TARGET) 5 | target_compile_definitions(${TARGET} PUBLIC 6 | STM32U575xx 7 | ) 8 | endfunction() 9 | -------------------------------------------------------------------------------- /hw/bsp/stm32u5/boards/stm32u575nucleo/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32u575xx 2 | CFLAGS += \ 3 | -DSTM32U575xx \ 4 | 5 | # All source paths should be relative to the top level. 6 | LD_FILE = ${FAMILY_PATH}/linker/STM32U575xx_FLASH.ld 7 | 8 | # For flash-jlink target 9 | JLINK_DEVICE = stm32u575zi 10 | -------------------------------------------------------------------------------- /hw/bsp/stm32u5/boards/stm32u5a5nucleo/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32u5a5xx) 2 | set(JLINK_DEVICE stm32u5a5zj) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32U5A5ZJTXQ_FLASH.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32U5A5xx 9 | HSE_VALUE=16000000UL 10 | ) 11 | endfunction() 12 | -------------------------------------------------------------------------------- /hw/bsp/stm32u5/boards/stm32u5a5nucleo/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32u5a5xx 2 | CFLAGS += \ 3 | -DSTM32U5A5xx \ 4 | -DHSE_VALUE=16000000UL \ 5 | 6 | # All source paths should be relative to the top level. 7 | LD_FILE = ${BOARD_PATH}/STM32U5A5ZJTXQ_FLASH.ld 8 | 9 | # For flash-jlink target 10 | JLINK_DEVICE = stm32u575zi 11 | -------------------------------------------------------------------------------- /hw/bsp/stm32wb/boards/stm32wb55nucleo/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT stm32wb55xx) 2 | set(JLINK_DEVICE STM32WB55RG) 3 | 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/stm32wb55xx_flash_cm4.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | STM32WB55xx 9 | ) 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/stm32wb/boards/stm32wb55nucleo/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = stm32wb55xx 2 | 3 | CFLAGS += \ 4 | -DSTM32WB55xx 5 | 6 | # For flash-jlink target 7 | JLINK_DEVICE = STM32WB55RG 8 | -------------------------------------------------------------------------------- /hw/bsp/tm4c/boards/ek_tm4c123gxl/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_SUB_VARIANT 123) 2 | 3 | set(JLINK_DEVICE TM4C123GH6PM) 4 | set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/tm4c123.ld) 5 | 6 | set(OPENOCD_OPTION "-f board/ti_ek-tm4c123gxl.cfg") 7 | set(UNIFLASH_OPTION "-c ${CMAKE_CURRENT_LIST_DIR}/${BOARD}.ccxml -r 1") 8 | 9 | function(update_board TARGET) 10 | target_compile_definitions(${TARGET} PUBLIC 11 | TM4C123GH6PM 12 | ) 13 | endfunction() 14 | -------------------------------------------------------------------------------- /hw/bsp/tm4c/boards/ek_tm4c123gxl/board.mk: -------------------------------------------------------------------------------- 1 | MCU_SUB_VARIANT = 123 2 | 3 | CFLAGS += -DTM4C123GH6PM 4 | 5 | LD_FILE = $(BOARD_PATH)/tm4c123.ld 6 | 7 | # For flash-jlink target 8 | JLINK_DEVICE = TM4C123GH6PM 9 | 10 | # flash using openocd 11 | OPENOCD_OPTION = -f board/ti_ek-tm4c123gxl.cfg 12 | 13 | UNIFLASH_OPTION = -c ${TOP}/${BOARD_PATH}/${BOARD}.ccxml -r 1 14 | 15 | flash: flash-openocd 16 | -------------------------------------------------------------------------------- /hw/bsp/xmc4000/boards/xmc4500_relax/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT XMC4500) 2 | 3 | set(JLINK_DEVICE XMC4500-1024) 4 | #set(JLINK_OPTION "-USB 000551005307") 5 | set(LD_FILE_GNU ${SDK_DIR}/CMSIS/Infineon/COMPONENT_${MCU_VARIANT}/Source/TOOLCHAIN_GCC_ARM/XMC4500x1024.ld) 6 | 7 | function(update_board TARGET) 8 | target_compile_definitions(${TARGET} PUBLIC 9 | XMC4500_F100x1024 10 | ) 11 | endfunction() 12 | -------------------------------------------------------------------------------- /hw/bsp/xmc4000/boards/xmc4500_relax/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = XMC4500 2 | CFLAGS += \ 3 | -DXMC4500_F100x1024 \ 4 | 5 | # mcu driver cause following warnings 6 | CFLAGS += -Wno-stringop-overread 7 | 8 | LD_FILE = $(SDK_DIR)/CMSIS/Infineon/COMPONENT_$(MCU_VARIANT)/Source/TOOLCHAIN_GCC_ARM/XMC4500x1024.ld 9 | 10 | JLINK_DEVICE = XMC4500-1024 11 | 12 | flash: flash-jlink 13 | -------------------------------------------------------------------------------- /hw/bsp/xmc4000/boards/xmc4700_relax/board.cmake: -------------------------------------------------------------------------------- 1 | set(MCU_VARIANT XMC4700) 2 | 3 | set(JLINK_DEVICE XMC4700-2048) 4 | set(LD_FILE_GNU ${SDK_DIR}/CMSIS/Infineon/COMPONENT_${MCU_VARIANT}/Source/TOOLCHAIN_GCC_ARM/XMC4700x2048.ld) 5 | 6 | function(update_board TARGET) 7 | target_compile_definitions(${TARGET} PUBLIC 8 | XMC4700_F144x2048 9 | ) 10 | endfunction() 11 | -------------------------------------------------------------------------------- /hw/bsp/xmc4000/boards/xmc4700_relax/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = XMC4700 2 | CFLAGS += \ 3 | -DXMC4700_F144x2048 \ 4 | 5 | # mcu driver cause following warnings 6 | CFLAGS += -Wno-stringop-overread 7 | 8 | LD_FILE = $(SDK_DIR)/CMSIS/Infineon/COMPONENT_$(MCU_VARIANT)/Source/TOOLCHAIN_GCC_ARM/XMC4700x2048.ld 9 | 10 | JLINK_DEVICE = XMC4700-2048 11 | 12 | flash: flash-jlink 13 | -------------------------------------------------------------------------------- /hw/bsp/zephyr_board_aliases.cmake: -------------------------------------------------------------------------------- 1 | set(pca10056_BOARD_ALIAS nrf52840dk/nrf52840) 2 | -------------------------------------------------------------------------------- /hw/mcu/bridgetek/ft9xx/Readme.md: -------------------------------------------------------------------------------- 1 | # BridgeTek FT9xx MCU 2 | 3 | **BridgeTek** provides a hardware abstraction library with software source code for the SDKs for FT9xx software family. 4 | 5 | Whole SDK repository is installed as part of the FT9xx Toolchain and can be downloaded from BridgeTek web page `https://www.brtchip.com`. 6 | 7 | Registers definition files, and included peripheral register definition files have licenses that allow for redistribution. 8 | -------------------------------------------------------------------------------- /hw/mcu/dialog/README.md: -------------------------------------------------------------------------------- 1 | # Dialog DA1469x MCU 2 | 3 | **Dialog Semiconductors** provides SDKs for DA146x MCU family. 4 | Most of the files there can't be redistributed. 5 | Registers definition file `DA1469xAB.h` and some **ARM** originated headers are have licenses that allow 6 | for redistribution. 7 | Whole SDK repository can be downloaded from Dialog Semiconductor web page `https://www.dialog.com` 8 | -------------------------------------------------------------------------------- /hw/mcu/sony/cxd56/mkspk/.gitignore: -------------------------------------------------------------------------------- 1 | /mkspk 2 | /mkspk.exe 3 | -------------------------------------------------------------------------------- /pkg.yml: -------------------------------------------------------------------------------- 1 | pkg.name: tinyusb 2 | pkg.description: An open source cross-platform USB stack for embedded system 3 | pkg.author: "Ha Thach " 4 | pkg.homepage: "https://github.com/hathach/tinyusb" 5 | pkg.keywords: 6 | - usb 7 | 8 | pkg.type: sdk 9 | 10 | pkg.deps: 11 | - "@apache-mynewt-core/kernel/os" 12 | 13 | pkg.include_dirs: 14 | - src 15 | -------------------------------------------------------------------------------- /repository.yml: -------------------------------------------------------------------------------- 1 | repo.name: tinyusb 2 | repo.versions: 3 | "0.0.0": "master" 4 | "0.5.0": "0.5.0" 5 | "0.6.0": "0.6.0" 6 | "0.7.0": "0.7.0" 7 | "0.8.0": "0.8.0" 8 | "0.9.0": "0.9.0" 9 | "0.10.0": "0.10.0" 10 | "0.10.1": "0.10.1" 11 | "0.11.0": "0.11.0" 12 | "0.12.0": "0.12.0" 13 | "0.13.0": "0.13.0" 14 | "0.14.0": "0.14.0" 15 | "0.15.0": "0.15.0" 16 | "0.16.0": "0.16.0" 17 | "0.17.0": "0.17.0" 18 | "0.18.0": "0.18.0" 19 | "0-latest": "0.18.0" 20 | "0-dev": "0.0.0" 21 | -------------------------------------------------------------------------------- /test/fuzz/device/cdc/Makefile: -------------------------------------------------------------------------------- 1 | include ../../make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(wildcard src/*.c)) 9 | SRC_CXX += $(addprefix $(CURRENT_PATH)/, $(wildcard src/*.cc)) 10 | 11 | include ../../rules.mk 12 | -------------------------------------------------------------------------------- /test/fuzz/device/cdc/cdc_seed_corpus.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hathach/tinyusb/2a364ca272d8219f47aece3232aa2e9ab8738655/test/fuzz/device/cdc/cdc_seed_corpus.zip -------------------------------------------------------------------------------- /test/fuzz/device/msc/Makefile: -------------------------------------------------------------------------------- 1 | include ../../make.mk 2 | 3 | INC += \ 4 | src \ 5 | $(TOP)/hw \ 6 | 7 | # Example source 8 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(wildcard src/*.c)) 9 | SRC_CXX += $(addprefix $(CURRENT_PATH)/, $(wildcard src/*.cc)) 10 | 11 | include ../../rules.mk 12 | -------------------------------------------------------------------------------- /test/fuzz/device/msc/msc_seed_corpus.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hathach/tinyusb/2a364ca272d8219f47aece3232aa2e9ab8738655/test/fuzz/device/msc/msc_seed_corpus.zip -------------------------------------------------------------------------------- /test/hil/requirements.txt: -------------------------------------------------------------------------------- 1 | fs 2 | pyfatfs 3 | -------------------------------------------------------------------------------- /test/unit-test/ceedling: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ruby vendor/ceedling/bin/ceedling $* 4 | -------------------------------------------------------------------------------- /tools/codespell/exclude-file.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hathach/tinyusb/2a364ca272d8219f47aece3232aa2e9ab8738655/tools/codespell/exclude-file.txt -------------------------------------------------------------------------------- /tools/codespell/ignore-words.txt: -------------------------------------------------------------------------------- 1 | synopsys 2 | sie 3 | tre 4 | thre 5 | hsi 6 | fro 7 | dout 8 | mot 9 | te 10 | attch 11 | endianess 12 | pris 13 | busses 14 | ser 15 | -------------------------------------------------------------------------------- /version.yml: -------------------------------------------------------------------------------- 1 | # Newt uses this file to determine the version of a checked out repo. 2 | # This should always be 0.0.0 in the master branch. 3 | repo.version: 0.0.0 4 | --------------------------------------------------------------------------------