├── .build ├── .version ├── README.md ├── common ├── arm │ ├── arm_timer.c │ ├── arm_timer.h │ ├── irq.c │ ├── irq.h │ ├── mmu.c │ └── mmu.h ├── aw │ ├── ccu.c │ ├── ccu.h │ ├── de.c │ ├── de.h │ ├── de_priv.h │ ├── dmac.c │ ├── dmac.h │ ├── gpio.c │ ├── gpio.h │ ├── smhc.c │ ├── smhc.h │ ├── tcon_lcd.c │ ├── tcon_lcd.h │ ├── timer.c │ ├── timer.h │ ├── twi.c │ ├── twi.h │ ├── uart.c │ └── uart.h ├── fifo.c ├── fifo.h ├── gr.c ├── gr.h ├── memmgr.c ├── memmgr.h ├── random.c └── random.h ├── doc ├── DDI0406B_arm_architecture_reference_manual.pdf ├── DDI0462F_cortex_a7_neon_mpe_r0p5_trm.pdf ├── DDI0464F_cortex_a7_mpcore_r0p5_trm.pdf └── IHI0048B_b_gic_architecture_specification.pdf ├── fw_lite ├── .gdbinit ├── AW_T113S2.ld ├── FreeRTOSConfig.h ├── Makefile ├── asm │ ├── memcmp.S │ ├── memcpy.S │ ├── memmove.S │ └── memset.S ├── chip.h ├── diskio.c ├── event.h ├── ffconf.h ├── hid_app.c ├── led.c ├── led.h ├── main.c ├── openocd.cfg ├── platform.h ├── sdfs.c ├── sdfs.h ├── start.S ├── start.sh ├── syscalls.c ├── syscalls.h ├── tusb_config.h ├── usb_task.c └── usb_task.h ├── fw_main ├── .gdbinit ├── AW_T113S2.ld ├── FreeRTOSConfig.h ├── Makefile ├── arm_timer.c ├── arm_timer.h ├── asm │ ├── memcmp.S │ ├── memcpy.S │ ├── memmove.S │ └── memset.S ├── assets │ ├── bin2c │ │ ├── .clang-format │ │ ├── .gitignore │ │ ├── LICENCE │ │ ├── Makefile │ │ ├── README.md │ │ ├── bin2c.c │ │ └── test │ │ │ ├── test.bin │ │ │ └── test.c │ ├── fat16.bin.lzg │ └── liblzg │ │ ├── .gitignore │ │ ├── LICENSE.txt │ │ ├── README.txt │ │ ├── doc │ │ ├── Doxyfile │ │ ├── Makefile │ │ ├── liblzg-logo.png │ │ └── liblzg-logo.svg │ │ └── src │ │ ├── Makefile │ │ ├── extra │ │ ├── README.txt │ │ ├── lzgmini.c │ │ ├── lzgmini.js │ │ ├── lzgmini.lua │ │ ├── lzgmini.pas │ │ ├── lzgmini_6502.s │ │ ├── lzgmini_68k.h │ │ └── lzgmini_68k.s │ │ ├── include │ │ └── lzg.h │ │ ├── lib │ │ ├── .gitignore │ │ ├── Makefile │ │ ├── TODO.txt │ │ ├── checksum.c │ │ ├── decode.c │ │ ├── encode.c │ │ ├── internal.h │ │ ├── liblzg.so │ │ └── version.c │ │ └── tools │ │ ├── .gitignore │ │ ├── Makefile │ │ ├── benchmark.c │ │ ├── lzg.c │ │ └── unlzg.c ├── ccu.c ├── ccu.h ├── chip.h ├── chocdoom │ ├── am_map.c │ ├── am_map.h │ ├── config.h │ ├── d_englsh.h │ ├── d_event.c │ ├── d_event.h │ ├── d_items.c │ ├── d_items.h │ ├── d_iwad.c │ ├── d_iwad.h │ ├── d_loop.c │ ├── d_loop.h │ ├── d_main.c │ ├── d_main.h │ ├── d_mode.c │ ├── d_mode.h │ ├── d_net.c │ ├── d_player.h │ ├── d_textur.h │ ├── d_think.h │ ├── d_ticcmd.h │ ├── deh_main.h │ ├── deh_misc.h │ ├── deh_str.h │ ├── doom.h │ ├── doomdata.h │ ├── doomdef.c │ ├── doomdef.h │ ├── doomfeatures.h │ ├── doomkeys.h │ ├── doomstat.c │ ├── doomstat.h │ ├── doomtype.h │ ├── dstrings.c │ ├── dstrings.h │ ├── dummy.c │ ├── f_finale.c │ ├── f_finale.h │ ├── f_wipe.c │ ├── f_wipe.h │ ├── g_game.c │ ├── g_game.h │ ├── hu_lib.c │ ├── hu_lib.h │ ├── hu_stuff.c │ ├── hu_stuff.h │ ├── i_cdmus.c │ ├── i_cdmus.h │ ├── i_endoom.c │ ├── i_endoom.h │ ├── i_joystick.c │ ├── i_joystick.h │ ├── i_main.c │ ├── i_scale.c │ ├── i_scale.h │ ├── i_sound.c │ ├── i_sound.h │ ├── i_swap.h │ ├── i_system.c │ ├── i_system.h │ ├── i_timer.c │ ├── i_timer.h │ ├── i_video.c │ ├── i_video.h │ ├── i_videohr.c │ ├── i_videohr.h │ ├── info.c │ ├── info.h │ ├── m_argv.c │ ├── m_argv.h │ ├── m_bbox.c │ ├── m_bbox.h │ ├── m_cheat.c │ ├── m_cheat.h │ ├── m_config.c │ ├── m_config.h │ ├── m_controls.c │ ├── m_controls.h │ ├── m_fixed.c │ ├── m_fixed.h │ ├── m_menu.c │ ├── m_menu.h │ ├── m_misc.c │ ├── m_misc.h │ ├── m_random.c │ ├── m_random.h │ ├── memio.c │ ├── memio.h │ ├── net_client.h │ ├── net_dedicated.h │ ├── net_defs.h │ ├── net_gui.h │ ├── net_io.h │ ├── net_loop.h │ ├── net_query.h │ ├── net_sdl.h │ ├── net_server.h │ ├── p_ceilng.c │ ├── p_doors.c │ ├── p_enemy.c │ ├── p_floor.c │ ├── p_inter.c │ ├── p_inter.h │ ├── p_lights.c │ ├── p_local.h │ ├── p_map.c │ ├── p_maputl.c │ ├── p_mobj.c │ ├── p_mobj.h │ ├── p_plats.c │ ├── p_pspr.c │ ├── p_pspr.h │ ├── p_saveg.c │ ├── p_saveg.h │ ├── p_setup.c │ ├── p_setup.h │ ├── p_sight.c │ ├── p_spec.c │ ├── p_spec.h │ ├── p_switch.c │ ├── p_telept.c │ ├── p_tick.c │ ├── p_tick.h │ ├── p_user.c │ ├── r_bsp.c │ ├── r_bsp.h │ ├── r_data.c │ ├── r_data.h │ ├── r_defs.h │ ├── r_draw.c │ ├── r_draw.h │ ├── r_local.h │ ├── r_main.c │ ├── r_main.h │ ├── r_plane.c │ ├── r_plane.h │ ├── r_segs.c │ ├── r_segs.h │ ├── r_sky.c │ ├── r_sky.h │ ├── r_state.h │ ├── r_things.c │ ├── r_things.h │ ├── s_sound.c │ ├── s_sound.h │ ├── sha1.c │ ├── sha1.h │ ├── sounds.c │ ├── sounds.h │ ├── st_lib.c │ ├── st_lib.h │ ├── st_stuff.c │ ├── st_stuff.h │ ├── statdump.c │ ├── statdump.h │ ├── tables.c │ ├── tables.h │ ├── v_patch.h │ ├── v_video.c │ ├── v_video.h │ ├── w_checksum.c │ ├── w_checksum.h │ ├── w_file.c │ ├── w_file.h │ ├── w_file_stdc.c │ ├── w_main.c │ ├── w_main.h │ ├── w_merge.h │ ├── w_wad.c │ ├── w_wad.h │ ├── wi_stuff.c │ ├── wi_stuff.h │ ├── z_zone.c │ └── z_zone.h ├── de.c ├── de.h ├── de_priv.h ├── de_scaler_table.c ├── de_scaler_table.h ├── diskimg.c ├── diskio.c ├── dmac.c ├── dmac.h ├── doom_task.c ├── doom_task.h ├── event.h ├── ffconf.h ├── fifo.c ├── fifo.h ├── gpio.c ├── gpio.h ├── gr.c ├── gr.h ├── hid_app.c ├── irq.c ├── irq.h ├── led.c ├── led.h ├── lzg.h ├── lzgmini.c ├── main.c ├── memmgr.c ├── memmgr.h ├── mmu.c ├── mmu.h ├── openocd.cfg ├── platform.h ├── random.c ├── random.h ├── start.S ├── start.sh ├── syscalls.c ├── syscalls.h ├── tcon_lcd-lvds.c ├── tcon_lcd-rgb.c ├── tcon_lcd.h ├── timer.c ├── timer.h ├── tusb_config.h ├── twi.c ├── twi.h ├── uart.c ├── uart.h ├── usb_task.c └── usb_task.h └── lib ├── CMSIS_5 └── CMSIS │ ├── Core │ ├── Include │ │ ├── cachel1_armv7.h │ │ ├── cmsis_armcc.h │ │ ├── cmsis_armclang.h │ │ ├── cmsis_armclang_ltm.h │ │ ├── cmsis_compiler.h │ │ ├── cmsis_gcc.h │ │ ├── cmsis_iccarm.h │ │ ├── cmsis_version.h │ │ ├── core_armv81mml.h │ │ ├── core_armv8mbl.h │ │ ├── core_armv8mml.h │ │ ├── core_cm0.h │ │ ├── core_cm0plus.h │ │ ├── core_cm1.h │ │ ├── core_cm23.h │ │ ├── core_cm3.h │ │ ├── core_cm33.h │ │ ├── core_cm35p.h │ │ ├── core_cm4.h │ │ ├── core_cm55.h │ │ ├── core_cm7.h │ │ ├── core_cm85.h │ │ ├── core_sc000.h │ │ ├── core_sc300.h │ │ ├── core_starmc1.h │ │ ├── mpu_armv7.h │ │ ├── mpu_armv8.h │ │ ├── pac_armv81.h │ │ ├── pmu_armv8.h │ │ └── tz_context.h │ └── Template │ │ └── ARMv8-M │ │ ├── main_s.c │ │ └── tz_context.c │ └── Core_A │ ├── Include │ ├── cmsis_armcc.h │ ├── cmsis_armclang.h │ ├── cmsis_compiler.h │ ├── cmsis_cp15.h │ ├── cmsis_gcc.h │ ├── cmsis_iccarm.h │ ├── core_ca.h │ └── irq_ctrl.h │ └── Source │ └── irq_ctrl_gic.c ├── FreeRTOS-Kernel-main ├── .github │ ├── CODEOWNERS │ ├── CONTRIBUTING.md │ ├── ISSUE_TEMPLATE │ │ ├── bug-report.md │ │ ├── config.yml │ │ ├── documentation-issue.md │ │ └── feature_request.md │ ├── SECURITY.md │ ├── actions │ │ └── url_verifier.sh │ ├── lexicon.txt │ ├── pull_request_template.md │ ├── scripts │ │ ├── find_replace.sh │ │ └── kernel_checker.py │ ├── uncrustify.cfg │ └── workflows │ │ ├── auto-release.yml │ │ ├── ci.yml │ │ ├── git-secrets.yml │ │ ├── kernel-checks.yml │ │ └── unit-tests.yml ├── .gitmodules ├── CMakeLists.txt ├── GitHub-FreeRTOS-Kernel-Home.url ├── History.txt ├── LICENSE.md ├── Quick_Start_Guide.url ├── README.md ├── croutine.c ├── event_groups.c ├── include │ ├── FreeRTOS.h │ ├── StackMacros.h │ ├── atomic.h │ ├── croutine.h │ ├── deprecated_definitions.h │ ├── event_groups.h │ ├── list.h │ ├── message_buffer.h │ ├── mpu_prototypes.h │ ├── mpu_wrappers.h │ ├── portable.h │ ├── projdefs.h │ ├── queue.h │ ├── semphr.h │ ├── stack_macros.h │ ├── stdint.readme │ ├── stream_buffer.h │ ├── task.h │ └── timers.h ├── list.c ├── manifest.yml ├── portable │ ├── GCC │ │ └── ARM_CA9 │ │ │ ├── port.c │ │ │ ├── portASM.S │ │ │ └── portmacro.h │ └── MemMang │ │ ├── ReadMe.url │ │ ├── heap_1.c │ │ ├── heap_2.c │ │ ├── heap_3.c │ │ ├── heap_4.c │ │ └── heap_5.c ├── queue.c ├── stream_buffer.c ├── tasks.c └── timers.c ├── aw └── aw_t113s2.h ├── ff ├── diskio.h ├── ff.c ├── ff.h ├── ffsystem.c └── ffunicode.c ├── tinyprintf ├── LICENSE.BSD-new ├── LICENSE.LGPL-2.1 ├── Makefile ├── README ├── tinyprintf.c └── tinyprintf.h ├── tinyusb-ohci ├── .gitattributes ├── .github │ ├── ISSUE_TEMPLATE │ │ ├── bug_report.yml │ │ ├── config.yml │ │ └── feature_request.md │ ├── pull_request_template.md │ └── workflows │ │ ├── build_aarch64.yml │ │ ├── build_arm.yml │ │ ├── build_esp.yml │ │ ├── build_msp430.yml │ │ ├── build_renesas.yml │ │ ├── build_riscv.yml │ │ └── trigger.yml ├── .gitignore ├── .gitmodules ├── .readthedocs.yaml ├── CODE_OF_CONDUCT.rst ├── CONTRIBUTORS.rst ├── LICENSE ├── README.rst ├── docs │ ├── assets │ │ ├── logo.svg │ │ └── stack.svg │ ├── conf.py │ ├── contributing │ │ ├── code_of_conduct.rst │ │ ├── index.rst │ │ ├── porting.rst │ │ └── structure.rst │ ├── index.rst │ ├── info │ │ ├── changelog.rst │ │ ├── contributors.rst │ │ ├── index.rst │ │ └── uses.rst │ ├── reference │ │ ├── concurrency.rst │ │ ├── getting_started.rst │ │ ├── index.rst │ │ └── supported.rst │ └── requirements.txt ├── examples │ ├── device │ │ ├── 99-tinyusb.rules │ │ ├── CMakeLists.txt │ │ ├── audio_4_channel_mic │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── skip.txt │ │ │ └── src │ │ │ │ ├── main.c │ │ │ │ ├── plot_audio_samples.py │ │ │ │ ├── tusb_config.h │ │ │ │ └── usb_descriptors.c │ │ ├── audio_test │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── skip.txt │ │ │ └── src │ │ │ │ ├── main.c │ │ │ │ ├── plot_audio_samples.py │ │ │ │ ├── tusb_config.h │ │ │ │ └── usb_descriptors.c │ │ ├── board_test │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── sdkconfig.defaults │ │ │ └── src │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── main.c │ │ │ │ └── tusb_config.h │ │ ├── cdc_dual_ports │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ └── src │ │ │ │ ├── main.c │ │ │ │ ├── tusb_config.h │ │ │ │ └── usb_descriptors.c │ │ ├── cdc_msc │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── skip.txt │ │ │ └── src │ │ │ │ ├── main.c │ │ │ │ ├── msc_disk.c │ │ │ │ ├── tusb_config.h │ │ │ │ └── usb_descriptors.c │ │ ├── cdc_msc_freertos │ │ │ ├── .skip.MCU_F1C100S │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── sdkconfig.defaults │ │ │ ├── skip.txt │ │ │ └── src │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── FreeRTOSConfig │ │ │ │ └── FreeRTOSConfig.h │ │ │ │ ├── freertos_hook.c │ │ │ │ ├── main.c │ │ │ │ ├── msc_disk.c │ │ │ │ ├── tusb_config.h │ │ │ │ └── usb_descriptors.c │ │ ├── dfu │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── skip.txt │ │ │ └── src │ │ │ │ ├── main.c │ │ │ │ ├── tusb_config.h │ │ │ │ └── usb_descriptors.c │ │ ├── dfu_runtime │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ └── src │ │ │ │ ├── main.c │ │ │ │ ├── tusb_config.h │ │ │ │ └── usb_descriptors.c │ │ ├── dynamic_configuration │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── skip.txt │ │ │ └── src │ │ │ │ ├── main.c │ │ │ │ ├── msc_disk.c │ │ │ │ ├── tusb_config.h │ │ │ │ └── usb_descriptors.c │ │ ├── hid_boot_interface │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ └── src │ │ │ │ ├── main.c │ │ │ │ ├── tusb_config.h │ │ │ │ ├── usb_descriptors.c │ │ │ │ └── usb_descriptors.h │ │ ├── hid_composite │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ └── src │ │ │ │ ├── main.c │ │ │ │ ├── tusb_config.h │ │ │ │ ├── usb_descriptors.c │ │ │ │ └── usb_descriptors.h │ │ ├── hid_composite_freertos │ │ │ ├── .skip.MCU_F1C100S │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── sdkconfig.defaults │ │ │ ├── skip.txt │ │ │ └── src │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── FreeRTOSConfig │ │ │ │ └── FreeRTOSConfig.h │ │ │ │ ├── freertos_hook.c │ │ │ │ ├── main.c │ │ │ │ ├── tusb_config.h │ │ │ │ ├── usb_descriptors.c │ │ │ │ └── usb_descriptors.h │ │ ├── hid_generic_inout │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── boards.js │ │ │ ├── hid_test.js │ │ │ ├── hid_test.py │ │ │ └── src │ │ │ │ ├── main.c │ │ │ │ ├── tusb_config.h │ │ │ │ └── usb_descriptors.c │ │ ├── hid_multiple_interface │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ └── src │ │ │ │ ├── main.c │ │ │ │ ├── tusb_config.h │ │ │ │ └── usb_descriptors.c │ │ ├── midi_test │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ └── src │ │ │ │ ├── main.c │ │ │ │ ├── tusb_config.h │ │ │ │ └── usb_descriptors.c │ │ ├── msc_dual_lun │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── skip.txt │ │ │ └── src │ │ │ │ ├── main.c │ │ │ │ ├── msc_disk_dual.c │ │ │ │ ├── tusb_config.h │ │ │ │ └── usb_descriptors.c │ │ ├── net_lwip_webserver │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── skip.txt │ │ │ └── src │ │ │ │ ├── arch │ │ │ │ └── cc.h │ │ │ │ ├── lwipopts.h │ │ │ │ ├── main.c │ │ │ │ ├── tusb_config.h │ │ │ │ └── usb_descriptors.c │ │ ├── uac2_headset │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── skip.txt │ │ │ └── src │ │ │ │ ├── main.c │ │ │ │ ├── tusb_config.h │ │ │ │ ├── usb_descriptors.c │ │ │ │ └── usb_descriptors.h │ │ ├── usbtmc │ │ │ ├── CMakeLists.txt │ │ │ ├── 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 │ │ │ ├── Makefile │ │ │ ├── skip.txt │ │ │ └── src │ │ │ │ ├── images.h │ │ │ │ ├── main.c │ │ │ │ ├── tusb_config.h │ │ │ │ ├── usb_descriptors.c │ │ │ │ └── usb_descriptors.h │ │ └── webusb_serial │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ └── src │ │ │ ├── main.c │ │ │ ├── tusb_config.h │ │ │ ├── usb_descriptors.c │ │ │ └── usb_descriptors.h │ ├── dual │ │ ├── CMakeLists.txt │ │ └── host_hid_to_device_cdc │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── only.txt │ │ │ └── src │ │ │ ├── main.c │ │ │ ├── tusb_config.h │ │ │ └── usb_descriptors.c │ ├── host │ │ ├── CMakeLists.txt │ │ ├── bare_api │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── only.txt │ │ │ └── src │ │ │ │ ├── main.c │ │ │ │ └── tusb_config.h │ │ ├── cdc_msc_hid │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── only.txt │ │ │ └── src │ │ │ │ ├── hid_app.c │ │ │ │ ├── main.c │ │ │ │ ├── msc_app.c │ │ │ │ └── tusb_config.h │ │ └── hid_controller │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── only.txt │ │ │ └── src │ │ │ ├── hid_app.c │ │ │ ├── main.c │ │ │ └── tusb_config.h │ ├── make.mk │ └── rules.mk ├── hw │ ├── bsp │ │ ├── ansi_escape.h │ │ ├── board.c │ │ ├── board.h │ │ ├── board_mcu.h │ │ ├── broadcom_32bit │ │ │ ├── boards │ │ │ │ └── raspberrypi_zero_w │ │ │ │ │ ├── board.h │ │ │ │ │ └── board.mk │ │ │ ├── family.c │ │ │ └── family.mk │ │ ├── broadcom_64bit │ │ │ ├── boards │ │ │ │ ├── raspberrypi_cm4 │ │ │ │ │ ├── board.h │ │ │ │ │ └── board.mk │ │ │ │ └── raspberrypi_zero2w │ │ │ │ │ ├── board.h │ │ │ │ │ └── board.mk │ │ │ ├── family.c │ │ │ └── family.mk │ │ ├── brtmm90x │ │ │ ├── boards │ │ │ │ └── mm900evxb │ │ │ │ │ └── board.h │ │ │ ├── family.c │ │ │ └── family.mk │ │ ├── d5035_01 │ │ │ ├── board.mk │ │ │ ├── d5035_01.c │ │ │ └── same51j19a_flash.ld │ │ ├── da14695_dk_usb │ │ │ ├── board.mk │ │ │ ├── da14695_dk_usb.c │ │ │ ├── da1469x.ld │ │ │ ├── gcc_startup_da1469x.S │ │ │ ├── product_header.dump │ │ │ └── syscfg │ │ │ │ └── syscfg.h │ │ ├── da1469x_dk_pro │ │ │ ├── board.mk │ │ │ ├── da1469x-dk-pro.c │ │ │ ├── da1469x.ld │ │ │ ├── gcc_startup_da1469x.S │ │ │ ├── product_header.dump │ │ │ └── syscfg │ │ │ │ └── syscfg.h │ │ ├── ea4088qs │ │ │ ├── board.mk │ │ │ ├── ea4088qs.c │ │ │ └── lpc4088.ld │ │ ├── ea4357 │ │ │ ├── board.mk │ │ │ ├── ea4357.c │ │ │ ├── lpc4357.ld │ │ │ ├── pca9532.c │ │ │ └── pca9532.h │ │ ├── esp32s2 │ │ │ ├── boards │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── adafruit_feather_esp32s2 │ │ │ │ │ ├── board.cmake │ │ │ │ │ └── board.h │ │ │ │ ├── adafruit_magtag_29gray │ │ │ │ │ ├── board.cmake │ │ │ │ │ └── board.h │ │ │ │ ├── adafruit_metro_esp32s2 │ │ │ │ │ ├── board.cmake │ │ │ │ │ └── board.h │ │ │ │ ├── esp32s2.c │ │ │ │ ├── espressif_kaluga_1 │ │ │ │ │ ├── board.cmake │ │ │ │ │ └── board.h │ │ │ │ └── espressif_saola_1 │ │ │ │ │ ├── board.cmake │ │ │ │ │ └── board.h │ │ │ ├── components │ │ │ │ └── led_strip │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ ├── include │ │ │ │ │ └── led_strip.h │ │ │ │ │ └── src │ │ │ │ │ └── led_strip_rmt_ws2812.c │ │ │ ├── family.cmake │ │ │ └── family.mk │ │ ├── esp32s3 │ │ │ ├── boards │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── esp32s3.c │ │ │ │ ├── espressif_addax_1 │ │ │ │ │ ├── board.cmake │ │ │ │ │ └── board.h │ │ │ │ ├── espressif_s3_devkitc │ │ │ │ │ ├── board.cmake │ │ │ │ │ └── board.h │ │ │ │ └── espressif_s3_devkitm │ │ │ │ │ ├── board.cmake │ │ │ │ │ └── board.h │ │ │ ├── components │ │ │ │ └── led_strip │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ ├── include │ │ │ │ │ └── led_strip.h │ │ │ │ │ └── src │ │ │ │ │ └── led_strip_rmt_ws2812.c │ │ │ ├── family.cmake │ │ │ └── family.mk │ │ ├── f1c100s │ │ │ ├── README.md │ │ │ ├── board.h │ │ │ ├── board.mk │ │ │ └── f1c100s.c │ │ ├── family_support.cmake │ │ ├── fomu │ │ │ ├── boards │ │ │ │ └── fomu │ │ │ │ │ ├── board.h │ │ │ │ │ └── board.mk │ │ │ ├── crt0-vexriscv.S │ │ │ ├── dfu.py │ │ │ ├── family.mk │ │ │ ├── fomu.c │ │ │ ├── fomu.ld │ │ │ ├── include │ │ │ │ ├── csr.h │ │ │ │ ├── hw │ │ │ │ │ └── common.h │ │ │ │ └── irq.h │ │ │ ├── output_format.ld │ │ │ └── regions.ld │ │ ├── frdm_k32l2b │ │ │ ├── board.h │ │ │ ├── board.mk │ │ │ └── frdm_k32l2b.c │ │ ├── frdm_kl25z │ │ │ ├── board.mk │ │ │ └── frdm_kl25z.c │ │ ├── gd32vf103 │ │ │ ├── boards │ │ │ │ └── sipeed_longan_nano │ │ │ │ │ ├── board.h │ │ │ │ │ └── board.mk │ │ │ ├── family.c │ │ │ ├── family.mk │ │ │ └── system_gd32vf103.c │ │ ├── imxrt │ │ │ ├── boards │ │ │ │ ├── mimxrt1010_evk │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ ├── evkmimxrt1010_flexspi_nor_config.c │ │ │ │ │ └── evkmimxrt1010_flexspi_nor_config.h │ │ │ │ ├── mimxrt1015_evk │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ ├── evkmimxrt1015_flexspi_nor_config.c │ │ │ │ │ └── evkmimxrt1015_flexspi_nor_config.h │ │ │ │ ├── mimxrt1020_evk │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ ├── evkmimxrt1020_flexspi_nor_config.c │ │ │ │ │ └── evkmimxrt1020_flexspi_nor_config.h │ │ │ │ ├── mimxrt1050_evkb │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ ├── evkbimxrt1050_flexspi_nor_config.c │ │ │ │ │ └── evkbimxrt1050_flexspi_nor_config.h │ │ │ │ ├── mimxrt1060_evk │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ ├── evkmimxrt1060_flexspi_nor_config.c │ │ │ │ │ └── evkmimxrt1060_flexspi_nor_config.h │ │ │ │ ├── mimxrt1064_evk │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ ├── evkmimxrt1064_flexspi_nor_config.c │ │ │ │ │ └── evkmimxrt1064_flexspi_nor_config.h │ │ │ │ └── teensy_40 │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ ├── teensy40_flexspi_nor_config.c │ │ │ │ │ └── teensy40_flexspi_nor_config.h │ │ │ ├── family.c │ │ │ └── family.mk │ │ ├── kuiic │ │ │ ├── K32L2B31xxxxA_flash.ld │ │ │ ├── board.h │ │ │ ├── board.mk │ │ │ └── kuiic.c │ │ ├── lpc15 │ │ │ ├── boards │ │ │ │ └── lpcxpresso1549 │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── lpc1549.ld │ │ │ ├── family.c │ │ │ └── family.mk │ │ ├── lpc18 │ │ │ ├── boards │ │ │ │ ├── lpcxpresso18s37 │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── lpc1837.ld │ │ │ │ └── mcb1800 │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── lpc1857.ld │ │ │ ├── family.c │ │ │ └── family.mk │ │ ├── lpc54 │ │ │ ├── boards │ │ │ │ ├── lpcxpresso54114 │ │ │ │ │ ├── board.h │ │ │ │ │ └── board.mk │ │ │ │ └── lpcxpresso54628 │ │ │ │ │ ├── board.h │ │ │ │ │ └── board.mk │ │ │ ├── family.c │ │ │ └── family.mk │ │ ├── lpc55 │ │ │ ├── boards │ │ │ │ ├── double_m33_express │ │ │ │ │ ├── LPC55S69_cm33_core0_uf2.ld │ │ │ │ │ ├── board.h │ │ │ │ │ └── board.mk │ │ │ │ ├── lpcxpresso55s28 │ │ │ │ │ ├── board.h │ │ │ │ │ └── board.mk │ │ │ │ ├── lpcxpresso55s69 │ │ │ │ │ ├── board.h │ │ │ │ │ └── board.mk │ │ │ │ └── mcu_link │ │ │ │ │ ├── board.h │ │ │ │ │ └── board.mk │ │ │ ├── family.c │ │ │ └── family.mk │ │ ├── lpcxpresso11u37 │ │ │ ├── board.mk │ │ │ ├── lpc11u37.ld │ │ │ └── lpcxpresso11u37.c │ │ ├── lpcxpresso11u68 │ │ │ ├── board.mk │ │ │ ├── lpc11u68.ld │ │ │ └── lpcxpresso11u68.c │ │ ├── lpcxpresso1347 │ │ │ ├── board.mk │ │ │ ├── lpc1347.ld │ │ │ └── lpcxpresso1347.c │ │ ├── lpcxpresso1769 │ │ │ ├── board.mk │ │ │ ├── lpc1769.ld │ │ │ └── lpcxpresso1769.c │ │ ├── lpcxpresso51u68 │ │ │ ├── board.mk │ │ │ └── lpcxpresso51u68.c │ │ ├── mbed1768 │ │ │ ├── board.mk │ │ │ ├── lpc1768.ld │ │ │ └── mbed1768.c │ │ ├── mm32 │ │ │ ├── boards │ │ │ │ └── mm32f327x_mb39 │ │ │ │ │ ├── board.mk │ │ │ │ │ ├── flash.ld │ │ │ │ │ └── mm32f327x_mb39.c │ │ │ └── family.mk │ │ ├── msp430 │ │ │ ├── boards │ │ │ │ └── msp_exp430f5529lp │ │ │ │ │ └── board.h │ │ │ ├── family.c │ │ │ └── family.mk │ │ ├── msp432e4 │ │ │ ├── boards │ │ │ │ └── msp_exp432e401y │ │ │ │ │ └── board.h │ │ │ ├── family.c │ │ │ └── family.mk │ │ ├── ngx4330 │ │ │ ├── board.mk │ │ │ ├── ngx4330.c │ │ │ └── ngx4330.ld │ │ ├── nrf │ │ │ ├── boards │ │ │ │ ├── adafruit_clue │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── nrf52840_s140_v6.ld │ │ │ │ ├── arduino_nano33_ble │ │ │ │ │ ├── arduino_nano33_ble.ld │ │ │ │ │ ├── board.h │ │ │ │ │ └── board.mk │ │ │ │ ├── circuitplayground_bluefruit │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── nrf52840_s140_v6.ld │ │ │ │ ├── feather_nrf52840_express │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── nrf52840_s140_v6.ld │ │ │ │ ├── feather_nrf52840_sense │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── nrf52840_s140_v6.ld │ │ │ │ ├── itsybitsy_nrf52840 │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── nrf52840_s140_v6.ld │ │ │ │ ├── nrf52840_mdk_dongle │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── nrf52840_mdk_dongle.ld │ │ │ │ ├── pca10056 │ │ │ │ │ ├── board.h │ │ │ │ │ └── board.mk │ │ │ │ ├── pca10059 │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── pca10059.ld │ │ │ │ ├── pca10100 │ │ │ │ │ ├── board.h │ │ │ │ │ └── board.mk │ │ │ │ └── raytac_mdbt50q_rx │ │ │ │ │ ├── board.h │ │ │ │ │ └── board.mk │ │ │ ├── family.c │ │ │ └── family.mk │ │ ├── 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.mk │ │ │ │ │ └── olimex_emz64.c │ │ │ │ └── olimex_hmz144 │ │ │ │ │ ├── board.mk │ │ │ │ │ └── olimex_hmz144.c │ │ │ ├── family.c │ │ │ └── family.mk │ │ ├── rp2040 │ │ │ ├── board.h │ │ │ ├── boards │ │ │ │ ├── adafruit_feather_rp2040 │ │ │ │ │ └── board.cmake │ │ │ │ ├── adafruit_itsybitsy_rp2040 │ │ │ │ │ └── board.cmake │ │ │ │ ├── adafruit_qtpy_rp2040 │ │ │ │ │ └── board.cmake │ │ │ │ ├── pico_sdk │ │ │ │ │ └── board.cmake │ │ │ │ └── raspberry_pi_pico │ │ │ │ │ └── board.cmake │ │ │ ├── family.c │ │ │ ├── family.cmake │ │ │ ├── family.mk │ │ │ └── pico_sdk_import.cmake │ │ ├── rx │ │ │ ├── boards │ │ │ │ ├── gr_citrus │ │ │ │ │ ├── board.mk │ │ │ │ │ ├── gr_citrus.c │ │ │ │ │ ├── hwinit.c │ │ │ │ │ └── r5f5631fd.ld │ │ │ │ └── rx65n_target │ │ │ │ │ ├── board.mk │ │ │ │ │ ├── r5f565ne.ld │ │ │ │ │ └── rx65n_target.c │ │ │ └── family.mk │ │ ├── samd11 │ │ │ ├── boards │ │ │ │ ├── luna_d11 │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── samd11d14am_flash.ld │ │ │ │ └── samd11_xplained │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── samd11d14am_flash.ld │ │ │ ├── family.c │ │ │ └── family.mk │ │ ├── samd21 │ │ │ ├── boards │ │ │ │ ├── atsamd21_xpro │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── samd21j18a_flash.ld │ │ │ │ ├── circuitplayground_express │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── circuitplayground_express.ld │ │ │ │ ├── curiosity_nano │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── samd21g17a_flash.ld │ │ │ │ ├── feather_m0_express │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── feather_m0_express.ld │ │ │ │ ├── itsybitsy_m0 │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── itsybitsy_m0.ld │ │ │ │ ├── luna_d21 │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── samd21g18a_flash.ld │ │ │ │ ├── metro_m0_express │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── metro_m0_express.ld │ │ │ │ ├── qtpy │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── qtpy.ld │ │ │ │ ├── seeeduino_xiao │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── seeeduino_xiao.ld │ │ │ │ └── trinket_m0 │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── trinket_m0.ld │ │ │ ├── family.c │ │ │ └── family.mk │ │ ├── samd51 │ │ │ ├── boards │ │ │ │ ├── feather_m4_express │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── feather_m4_express.ld │ │ │ │ ├── itsybitsy_m4 │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── itsybitsy_m4.ld │ │ │ │ ├── metro_m4_express │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── metro_m4_express.ld │ │ │ │ ├── pybadge │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── pybadge.ld │ │ │ │ └── pyportal │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── pyportal.ld │ │ │ ├── family.c │ │ │ └── family.mk │ │ ├── same54xplainedpro │ │ │ ├── board.mk │ │ │ ├── same54p20a_flash.ld │ │ │ ├── same54p20a_sram.ld │ │ │ └── same54xplainedpro.c │ │ ├── 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 │ │ ├── samg55xplained │ │ │ ├── board.mk │ │ │ ├── hpl_usart_config.h │ │ │ ├── peripheral_clk_config.h │ │ │ ├── samg55j19_flash.ld │ │ │ └── samg55xplained.c │ │ ├── saml2x │ │ │ ├── boards │ │ │ │ ├── atsaml21_xpro │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── saml21j18b_flash.ld │ │ │ │ ├── saml22_feather │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── saml22_feather.ld │ │ │ │ └── sensorwatch_m0 │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── sensorwatch_m0.ld │ │ │ ├── family.c │ │ │ └── family.mk │ │ ├── sltb009a │ │ │ ├── board.mk │ │ │ └── sltb009a.c │ │ ├── spresense │ │ │ ├── board.mk │ │ │ └── board_spresense.c │ │ ├── stm32f0 │ │ │ ├── boards │ │ │ │ ├── stm32f070rbnucleo │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── stm32F070rbtx_flash.ld │ │ │ │ ├── stm32f072disco │ │ │ │ │ ├── STM32F072RBTx_FLASH.ld │ │ │ │ │ ├── board.h │ │ │ │ │ └── board.mk │ │ │ │ └── stm32f072eval │ │ │ │ │ ├── STM32F072VBTx_FLASH.ld │ │ │ │ │ ├── board.h │ │ │ │ │ └── board.mk │ │ │ ├── family.c │ │ │ ├── family.mk │ │ │ └── stm32f0xx_hal_conf.h │ │ ├── stm32f1 │ │ │ ├── boards │ │ │ │ ├── stm32f103_bluepill │ │ │ │ │ ├── STM32F103X8_FLASH.ld │ │ │ │ │ ├── board.h │ │ │ │ │ └── board.mk │ │ │ │ └── stm32f103_mini_2 │ │ │ │ │ ├── STM32F103XC_FLASH.ld │ │ │ │ │ ├── board.h │ │ │ │ │ └── board.mk │ │ │ ├── family.c │ │ │ ├── family.mk │ │ │ └── stm32f1xx_hal_conf.h │ │ ├── stm32f207nucleo │ │ │ ├── STM32F207ZGTx_FLASH.ld │ │ │ ├── board.mk │ │ │ ├── stm32f207nucleo.c │ │ │ └── stm32f2xx_hal_conf.h │ │ ├── stm32f303disco │ │ │ ├── STM32F303VCTx_FLASH.ld │ │ │ ├── board.mk │ │ │ ├── stm32f303disco.c │ │ │ └── stm32f3xx_hal_conf.h │ │ ├── stm32f4 │ │ │ ├── boards │ │ │ │ ├── feather_stm32f405 │ │ │ │ │ ├── STM32F405RGTx_FLASH.ld │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── stm32f4xx_hal_conf.h │ │ │ │ ├── pyboardv11 │ │ │ │ │ ├── STM32F405RGTx_FLASH.ld │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── stm32f4xx_hal_conf.h │ │ │ │ ├── stm32f401blackpill │ │ │ │ │ ├── STM32F401VCTx_FLASH.ld │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── stm32f4xx_hal_conf.h │ │ │ │ ├── stm32f407disco │ │ │ │ │ ├── STM32F407VGTx_FLASH.ld │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── stm32f4xx_hal_conf.h │ │ │ │ ├── stm32f411blackpill │ │ │ │ │ ├── STM32F411CEUx_FLASH.ld │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── stm32f4xx_hal_conf.h │ │ │ │ ├── stm32f411disco │ │ │ │ │ ├── STM32F411VETx_FLASH.ld │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── stm32f4xx_hal_conf.h │ │ │ │ ├── stm32f412disco │ │ │ │ │ ├── STM32F412ZGTx_FLASH.ld │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── stm32f4xx_hal_conf.h │ │ │ │ ├── stm32f412nucleo │ │ │ │ │ ├── STM32F412ZGTx_FLASH.ld │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── stm32f4xx_hal_conf.h │ │ │ │ └── stm32f439nucleo │ │ │ │ │ ├── STM32F439ZITX_FLASH.ld │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── stm32f4xx_hal_conf.h │ │ │ ├── family.c │ │ │ └── family.mk │ │ ├── stm32f7 │ │ │ ├── boards │ │ │ │ ├── stlinkv3mini │ │ │ │ │ ├── STM32F723xE_FLASH.ld │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── stm32f7xx_hal_conf.h │ │ │ │ ├── stm32f723disco │ │ │ │ │ ├── STM32F723xE_FLASH.ld │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── stm32f7xx_hal_conf.h │ │ │ │ ├── stm32f746disco │ │ │ │ │ ├── STM32F746ZGTx_FLASH.ld │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── stm32f7xx_hal_conf.h │ │ │ │ ├── stm32f746nucleo │ │ │ │ │ ├── STM32F746ZGTx_FLASH.ld │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── stm32f7xx_hal_conf.h │ │ │ │ ├── stm32f767nucleo │ │ │ │ │ ├── STM32F767ZITx_FLASH.ld │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── stm32f7xx_hal_conf.h │ │ │ │ └── stm32f769disco │ │ │ │ │ ├── STM32F769ZITx_FLASH.ld │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── stm32f7xx_hal_conf.h │ │ │ ├── family.c │ │ │ └── family.mk │ │ ├── stm32g4 │ │ │ ├── boards │ │ │ │ └── stm32g474nucleo │ │ │ │ │ ├── STM32G474RETx_FLASH.ld │ │ │ │ │ ├── board.h │ │ │ │ │ └── board.mk │ │ │ ├── family.c │ │ │ ├── family.mk │ │ │ └── stm32g4xx_hal_conf.h │ │ ├── stm32h7 │ │ │ ├── boards │ │ │ │ ├── stm32h743eval │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── stm32h743xx_flash.ld │ │ │ │ ├── stm32h743nucleo │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── stm32h743xx_flash.ld │ │ │ │ ├── stm32h745disco │ │ │ │ │ ├── board.h │ │ │ │ │ └── board.mk │ │ │ │ └── waveshare_openh743i │ │ │ │ │ ├── STM32H743IITX_FLASH.ld │ │ │ │ │ ├── board.h │ │ │ │ │ └── board.mk │ │ │ ├── family.c │ │ │ ├── family.mk │ │ │ └── stm32h7xx_hal_conf.h │ │ ├── stm32l0538disco │ │ │ ├── STM32L053C8Tx_FLASH.ld │ │ │ ├── board.mk │ │ │ ├── stm32l0538disco.c │ │ │ └── stm32l0xx_hal_conf.h │ │ ├── stm32l4 │ │ │ ├── boards │ │ │ │ ├── stm32l476disco │ │ │ │ │ ├── STM32L476VGTx_FLASH.ld │ │ │ │ │ ├── board.h │ │ │ │ │ └── board.mk │ │ │ │ ├── stm32l4p5nucleo │ │ │ │ │ ├── STM32L4P5ZGTX_FLASH.ld │ │ │ │ │ ├── board.h │ │ │ │ │ └── board.mk │ │ │ │ └── stm32l4r5nucleo │ │ │ │ │ ├── STM32L4RXxI_FLASH.ld │ │ │ │ │ ├── board.h │ │ │ │ │ └── board.mk │ │ │ ├── family.c │ │ │ ├── family.mk │ │ │ └── stm32l4xx_hal_conf.h │ │ ├── stm32wb │ │ │ ├── boards │ │ │ │ └── stm32wb55nucleo │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── stm32wb55xx_flash_cm4.ld │ │ │ ├── family.c │ │ │ ├── family.mk │ │ │ └── stm32wbxx_hal_conf.h │ │ ├── tm4c123 │ │ │ ├── boards │ │ │ │ └── ek-tm4c123gxl │ │ │ │ │ ├── board.h │ │ │ │ │ ├── board.mk │ │ │ │ │ └── tm4c123.ld │ │ │ ├── family.c │ │ │ └── family.mk │ │ └── xmc4000 │ │ │ ├── boards │ │ │ └── xmc4500_relax │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── family.c │ │ │ └── family.mk │ └── 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 │ │ ├── nrfx_config.h │ │ ├── nrfx_glue.h │ │ └── nrfx_log.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 │ │ ├── License.txt │ │ ├── README.txt │ │ ├── RTT │ │ │ ├── SEGGER_RTT.c │ │ │ ├── SEGGER_RTT.h │ │ │ ├── SEGGER_RTT_ASM_ARMv7M.S │ │ │ ├── SEGGER_RTT_Conf.h │ │ │ └── SEGGER_RTT_printf.c │ │ └── Syscalls │ │ │ ├── SEGGER_RTT_Syscalls_GCC.c │ │ │ ├── SEGGER_RTT_Syscalls_IAR.c │ │ │ ├── SEGGER_RTT_Syscalls_KEIL.c │ │ │ └── SEGGER_RTT_Syscalls_SES.c │ ├── fatfs │ │ ├── 00readme.txt │ │ ├── ccsbcs.c │ │ ├── diskio.c │ │ ├── diskio.h │ │ ├── ff.c │ │ ├── ff.h │ │ ├── ffconf.h │ │ └── integer.h │ └── networking │ │ ├── dhserver.c │ │ ├── dhserver.h │ │ ├── dnserver.c │ │ ├── dnserver.h │ │ ├── ndis.h │ │ ├── rndis_protocol.h │ │ └── rndis_reports.c ├── pkg.yml ├── repository.yml ├── src │ ├── 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 │ │ ├── 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 │ │ │ ├── midi.h │ │ │ ├── midi_device.c │ │ │ └── midi_device.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_timeout.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_classdriver.h │ ├── osal │ │ ├── osal.h │ │ ├── osal_freertos.h │ │ ├── osal_mynewt.h │ │ ├── osal_none.h │ │ ├── osal_pico.h │ │ ├── osal_rtthread.h │ │ └── osal_rtx4.h │ ├── portable │ │ ├── bridgetek │ │ │ └── ft9xx │ │ │ │ └── dcd_ft9xx.c │ │ ├── chipidea │ │ │ └── ci_hs │ │ │ │ ├── ci_hs_imxrt.h │ │ │ │ ├── ci_hs_lpc18_43.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_msp432e.h │ │ │ │ ├── musb_tm4c.h │ │ │ │ └── musb_type.h │ │ ├── microchip │ │ │ ├── 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 │ │ │ └── transdimension │ │ │ │ ├── common_transdimension.h │ │ │ │ ├── dcd_transdimension.c │ │ │ │ └── hcd_transdimension.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 │ │ │ └── usba │ │ │ │ ├── dcd_usba.c │ │ │ │ └── hcd_usba.c │ │ ├── sony │ │ │ └── cxd56 │ │ │ │ └── dcd_cxd56.c │ │ ├── st │ │ │ ├── stm32_fsdev │ │ │ │ ├── dcd_stm32_fsdev.c │ │ │ │ └── dcd_stm32_fsdev_pvt_st.h │ │ │ └── synopsys │ │ │ │ ├── dcd_synopsys.c │ │ │ │ └── synopsys_common.h │ │ ├── sunxi │ │ │ ├── dcd_sunxi_musb.c │ │ │ └── musb_def.h │ │ ├── synopsys │ │ │ └── dwc2 │ │ │ │ ├── dcd_dwc2.c │ │ │ │ ├── dwc2_bcm.h │ │ │ │ ├── dwc2_efm32.h │ │ │ │ ├── dwc2_esp32.h │ │ │ │ ├── dwc2_gd32.h │ │ │ │ ├── dwc2_stm32.h │ │ │ │ ├── dwc2_type.h │ │ │ │ ├── dwc2_xmc.h │ │ │ │ └── hwcfg_list.md │ │ ├── template │ │ │ └── dcd_template.c │ │ ├── ti │ │ │ └── msp430x5xx │ │ │ │ └── dcd_msp430x5xx.c │ │ └── valentyusb │ │ │ └── eptri │ │ │ ├── dcd_eptri.c │ │ │ └── dcd_eptri.h │ ├── tusb.c │ ├── tusb.h │ └── tusb_option.h ├── test │ ├── ceedling │ ├── project.yml │ ├── test │ │ ├── device │ │ │ ├── msc │ │ │ │ └── test_msc_device.c │ │ │ └── usbd │ │ │ │ └── test_usbd.c │ │ ├── support │ │ │ └── tusb_config.h │ │ └── test_fifo.c │ └── vendor │ │ └── ceedling │ │ ├── bin │ │ └── ceedling │ │ ├── docs │ │ ├── CException.md │ │ ├── CMock_Summary.md │ │ ├── CeedlingPacket.md │ │ ├── ThrowTheSwitchCodingStandard.md │ │ ├── UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf │ │ ├── UnityAssertionsReference.md │ │ ├── UnityConfigurationGuide.md │ │ ├── UnityGettingStartedGuide.md │ │ └── UnityHelperScriptsGuide.md │ │ ├── lib │ │ ├── ceedling.rb │ │ └── ceedling │ │ │ ├── build_invoker_utils.rb │ │ │ ├── cacheinator.rb │ │ │ ├── cacheinator_helper.rb │ │ │ ├── cmock_builder.rb │ │ │ ├── configurator.rb │ │ │ ├── configurator_builder.rb │ │ │ ├── configurator_plugins.rb │ │ │ ├── configurator_setup.rb │ │ │ ├── configurator_validator.rb │ │ │ ├── constants.rb │ │ │ ├── defaults.rb │ │ │ ├── dependinator.rb │ │ │ ├── erb_wrapper.rb │ │ │ ├── file_finder.rb │ │ │ ├── file_finder_helper.rb │ │ │ ├── file_path_utils.rb │ │ │ ├── file_system_utils.rb │ │ │ ├── file_system_wrapper.rb │ │ │ ├── file_wrapper.rb │ │ │ ├── flaginator.rb │ │ │ ├── generator.rb │ │ │ ├── generator_helper.rb │ │ │ ├── generator_test_results.rb │ │ │ ├── generator_test_results_sanity_checker.rb │ │ │ ├── generator_test_runner.rb │ │ │ ├── loginator.rb │ │ │ ├── makefile.rb │ │ │ ├── objects.yml │ │ │ ├── par_map.rb │ │ │ ├── plugin.rb │ │ │ ├── plugin_builder.rb │ │ │ ├── plugin_manager.rb │ │ │ ├── plugin_manager_helper.rb │ │ │ ├── plugin_reportinator.rb │ │ │ ├── plugin_reportinator_helper.rb │ │ │ ├── preprocessinator.rb │ │ │ ├── preprocessinator_extractor.rb │ │ │ ├── preprocessinator_file_handler.rb │ │ │ ├── preprocessinator_helper.rb │ │ │ ├── preprocessinator_includes_handler.rb │ │ │ ├── project_config_manager.rb │ │ │ ├── project_file_loader.rb │ │ │ ├── rake_utils.rb │ │ │ ├── rake_wrapper.rb │ │ │ ├── rakefile.rb │ │ │ ├── release_invoker.rb │ │ │ ├── release_invoker_helper.rb │ │ │ ├── reportinator.rb │ │ │ ├── rules_cmock.rake │ │ │ ├── rules_preprocess.rake │ │ │ ├── rules_release.rake │ │ │ ├── rules_release_deep_dependencies.rake │ │ │ ├── rules_tests.rake │ │ │ ├── rules_tests_deep_dependencies.rake │ │ │ ├── setupinator.rb │ │ │ ├── stream_wrapper.rb │ │ │ ├── streaminator.rb │ │ │ ├── streaminator_helper.rb │ │ │ ├── system_utils.rb │ │ │ ├── system_wrapper.rb │ │ │ ├── target_loader.rb │ │ │ ├── task_invoker.rb │ │ │ ├── tasks_base.rake │ │ │ ├── tasks_filesystem.rake │ │ │ ├── tasks_release.rake │ │ │ ├── tasks_release_deep_dependencies.rake │ │ │ ├── tasks_tests.rake │ │ │ ├── tasks_tests_deep_dependencies.rake │ │ │ ├── tasks_vendor.rake │ │ │ ├── test_includes_extractor.rb │ │ │ ├── test_invoker.rb │ │ │ ├── test_invoker_helper.rb │ │ │ ├── tool_executor.rb │ │ │ ├── tool_executor_helper.rb │ │ │ ├── verbosinator.rb │ │ │ ├── version.rb │ │ │ ├── version.rb.erb │ │ │ └── yaml_wrapper.rb │ │ ├── plugins │ │ ├── beep │ │ │ ├── README.md │ │ │ └── lib │ │ │ │ └── beep.rb │ │ ├── bullseye │ │ │ ├── assets │ │ │ │ └── template.erb │ │ │ ├── bullseye.rake │ │ │ ├── config │ │ │ │ └── defaults.yml │ │ │ ├── lib │ │ │ │ └── bullseye.rb │ │ │ └── readme.txt │ │ ├── colour_report │ │ │ └── lib │ │ │ │ └── colour_report.rb │ │ ├── command_hooks │ │ │ ├── README.md │ │ │ └── lib │ │ │ │ └── command_hooks.rb │ │ ├── fake_function_framework │ │ │ ├── README.md │ │ │ ├── Rakefile │ │ │ ├── examples │ │ │ │ └── fff_example │ │ │ │ │ ├── project.yml │ │ │ │ │ ├── rakefile.rb │ │ │ │ │ ├── src │ │ │ │ │ ├── bar.c │ │ │ │ │ ├── bar.h │ │ │ │ │ ├── custom_types.h │ │ │ │ │ ├── display.c │ │ │ │ │ ├── display.h │ │ │ │ │ ├── event_processor.c │ │ │ │ │ ├── event_processor.h │ │ │ │ │ ├── foo.c │ │ │ │ │ ├── foo.h │ │ │ │ │ └── subfolder │ │ │ │ │ │ ├── zzz.c │ │ │ │ │ │ └── zzz.h │ │ │ │ │ └── test │ │ │ │ │ ├── test_event_processor.c │ │ │ │ │ └── test_foo.c │ │ │ ├── lib │ │ │ │ ├── fake_function_framework.rb │ │ │ │ └── fff_mock_generator.rb │ │ │ ├── spec │ │ │ │ ├── fff_mock_header_generator_spec.rb │ │ │ │ ├── fff_mock_source_generator_spec.rb │ │ │ │ ├── header_generator.rb │ │ │ │ └── spec_helper.rb │ │ │ └── src │ │ │ │ └── fff_unity_helper.h │ │ ├── gcov │ │ │ ├── README.md │ │ │ ├── assets │ │ │ │ └── template.erb │ │ │ ├── config │ │ │ │ └── defaults.yml │ │ │ ├── gcov.rake │ │ │ └── lib │ │ │ │ ├── gcov.rb │ │ │ │ └── gcov_constants.rb │ │ ├── junit_tests_report │ │ │ ├── README.md │ │ │ └── lib │ │ │ │ └── junit_tests_report.rb │ │ ├── module_generator │ │ │ ├── config │ │ │ │ └── module_generator.yml │ │ │ ├── lib │ │ │ │ └── module_generator.rb │ │ │ └── module_generator.rake │ │ ├── raw_output_report │ │ │ └── lib │ │ │ │ └── raw_output_report.rb │ │ ├── stdout_gtestlike_tests_report │ │ │ ├── assets │ │ │ │ ├── template.erb │ │ │ │ └── template.erb copy │ │ │ ├── config │ │ │ │ └── stdout_gtestlike_tests_report.yml │ │ │ └── lib │ │ │ │ └── stdout_gtestlike_tests_report.rb │ │ ├── stdout_ide_tests_report │ │ │ ├── config │ │ │ │ └── stdout_ide_tests_report.yml │ │ │ └── lib │ │ │ │ └── stdout_ide_tests_report.rb │ │ ├── stdout_pretty_tests_report │ │ │ ├── assets │ │ │ │ └── template.erb │ │ │ ├── config │ │ │ │ └── stdout_pretty_tests_report.yml │ │ │ └── lib │ │ │ │ └── stdout_pretty_tests_report.rb │ │ ├── subprojects │ │ │ ├── README.md │ │ │ ├── config │ │ │ │ └── defaults.yml │ │ │ ├── lib │ │ │ │ └── subprojects.rb │ │ │ └── subprojects.rake │ │ ├── teamcity_tests_report │ │ │ ├── config │ │ │ │ └── teamcity_tests_report.yml │ │ │ └── lib │ │ │ │ └── teamcity_tests_report.rb │ │ ├── warnings_report │ │ │ └── lib │ │ │ │ └── warnings_report.rb │ │ └── xml_tests_report │ │ │ ├── README.md │ │ │ └── lib │ │ │ └── xml_tests_report.rb │ │ └── vendor │ │ ├── c_exception │ │ ├── lib │ │ │ ├── CException.c │ │ │ └── CException.h │ │ └── release │ │ │ ├── build.info │ │ │ └── version.info │ │ ├── cmock │ │ ├── config │ │ │ ├── production_environment.rb │ │ │ └── test_environment.rb │ │ ├── lib │ │ │ ├── cmock.rb │ │ │ ├── cmock_config.rb │ │ │ ├── cmock_file_writer.rb │ │ │ ├── cmock_generator.rb │ │ │ ├── cmock_generator_plugin_array.rb │ │ │ ├── cmock_generator_plugin_callback.rb │ │ │ ├── cmock_generator_plugin_cexception.rb │ │ │ ├── cmock_generator_plugin_expect.rb │ │ │ ├── cmock_generator_plugin_expect_any_args.rb │ │ │ ├── cmock_generator_plugin_ignore.rb │ │ │ ├── cmock_generator_plugin_ignore_arg.rb │ │ │ ├── cmock_generator_plugin_return_thru_ptr.rb │ │ │ ├── cmock_generator_utils.rb │ │ │ ├── cmock_header_parser.rb │ │ │ ├── cmock_plugin_manager.rb │ │ │ └── cmock_unityhelper_parser.rb │ │ ├── release │ │ │ ├── build.info │ │ │ └── version.info │ │ └── src │ │ │ ├── cmock.c │ │ │ ├── cmock.h │ │ │ ├── cmock_internals.h │ │ │ └── meson.build │ │ ├── deep_merge │ │ └── lib │ │ │ └── deep_merge.rb │ │ ├── diy │ │ └── lib │ │ │ ├── diy.rb │ │ │ └── diy │ │ │ └── factory.rb │ │ └── unity │ │ ├── auto │ │ ├── colour_prompt.rb │ │ ├── colour_reporter.rb │ │ ├── generate_config.yml │ │ ├── generate_module.rb │ │ ├── generate_test_runner.rb │ │ ├── parse_output.rb │ │ ├── run_test.erb │ │ ├── stylize_as_junit.rb │ │ ├── test_file_filter.rb │ │ ├── type_sanitizer.rb │ │ ├── unity_test_summary.py │ │ ├── unity_test_summary.rb │ │ └── unity_to_junit.py │ │ ├── release │ │ ├── build.info │ │ └── version.info │ │ └── src │ │ ├── CMakeLists.txt │ │ ├── meson.build │ │ ├── unity.c │ │ ├── unity.h │ │ └── unity_internals.h ├── tools │ ├── build_board.py │ ├── build_esp32sx.py │ ├── build_family.py │ ├── build_utils.py │ ├── iar_gen.py │ ├── iar_template.ipcf │ ├── mksunxi.py │ ├── top.mk │ └── usb_drivers │ │ └── tinyusb_win_usbser.inf └── version.yml └── tlsf ├── tlsf.c └── tlsf.h /.build: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /.version: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /common/arm/arm_timer.h: -------------------------------------------------------------------------------- 1 | #ifndef ARM_TIMER_h_ 2 | #define ARM_TIMER_h_ 3 | 4 | void arm_timer_init(void); 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /common/arm/irq.h: -------------------------------------------------------------------------------- 1 | #ifndef IRQ_h_ 2 | #define IRQ_h_ 3 | 4 | #include "platform.h" 5 | 6 | typedef void (*inthandler_t)(void *); 7 | 8 | void irq_init(void); 9 | void irq_set_handler(uint32_t irq, inthandler_t fnc, void *arg); 10 | void irq_set_prio(uint32_t irq, uint8_t prio); 11 | void irq_set_enable(uint32_t irq, uint8_t state); 12 | 13 | #endif 14 | 15 | -------------------------------------------------------------------------------- /common/arm/mmu.h: -------------------------------------------------------------------------------- 1 | #ifndef MMU_h_ 2 | #define MMU_h_ 3 | 4 | void mmu_setup(void); 5 | void mmu_enable(void); 6 | 7 | void L1_CleanDCache_by_Addr(volatile void *addr, int32_t dsize); 8 | void L1_CleanInvalidateDCache_by_Addr(volatile void *addr, int32_t dsize); 9 | void L1_InvalidateDCache_by_Addr(volatile void *addr, int32_t dsize); 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /common/aw/ccu.h: -------------------------------------------------------------------------------- 1 | #ifndef _CCU_h_ 2 | #define _CCU_h_ 3 | 4 | #include "platform.h" 5 | 6 | void ccu_init(void); 7 | 8 | void ccu_de_set_peripx2_div(uint32_t div); 9 | void ccu_de_enable(void); 10 | 11 | void ccu_tcon_set_video0x4_div(uint32_t div); 12 | void ccu_tcon_lcd_enable(void); 13 | uint32_t ccu_tcon_get_clk(void); 14 | 15 | void ccu_uart_enable(UART_TypeDef *uart); 16 | void ccu_twi_enable(TWI_TypeDef *twi); 17 | 18 | void ccu_video0_pll_set(uint8_t n, uint8_t m); 19 | void ccu_video1_pll_set(uint8_t n, uint8_t m); 20 | 21 | uint32_t ccu_clk_hosc_get(void); 22 | uint32_t ccu_perip_x1_clk_get(void); 23 | uint32_t ccu_video0_x4_clk_get(void); 24 | uint32_t ccu_apb1_clk_get(void); 25 | uint32_t ccu_apb0_clk_get(void); 26 | uint32_t ccu_ahb_clk_get(void); 27 | uint32_t ccu_cpu_clk_get(void); 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /common/aw/de.h: -------------------------------------------------------------------------------- 1 | #ifndef DE_h_ 2 | #define DE_h_ 3 | 4 | #include "FreeRTOS.h" 5 | #include "semphr.h" 6 | 7 | void de_init(void); 8 | void de_commit(void); 9 | 10 | void de_layer_set(void *fb, void *fb1); 11 | void *de_layer_get_fb(void); 12 | int de_layer_swap_done(void); 13 | void de_layer_swap(void); 14 | void de_layer_register_semaphore(SemaphoreHandle_t s); 15 | 16 | void de_int_vblank(void); 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /common/aw/dmac.h: -------------------------------------------------------------------------------- 1 | #ifndef DMAC_h_ 2 | #define DMAC_h_ 3 | 4 | #include "platform.h" 5 | 6 | #define DMAC_NO_LINK ((struct dmac_desc_t *)0xFFFFF800) 7 | 8 | struct dmac_desc_t { 9 | uint32_t config; 10 | void *src_addr; 11 | void *dst_addr; 12 | uint32_t nbytes; 13 | uint32_t parameter; 14 | struct dmac_desc_t *next; 15 | } __attribute__((packed)); 16 | 17 | typedef void (*dmac_handler_t)(uint8_t, void *); 18 | 19 | void dmac_init(void); 20 | void dmac_set_handler(uint8_t ch, dmac_handler_t fnc, void *arg); 21 | void dmac_start(uint8_t ch, struct dmac_desc_t *desc); 22 | void dmac_enable_irq(uint8_t ch, uint8_t flag); 23 | 24 | #endif 25 | 26 | -------------------------------------------------------------------------------- /common/aw/tcon_lcd.h: -------------------------------------------------------------------------------- 1 | #ifndef TCON_LCD_h_ 2 | #define TCON_LCD_h_ 3 | 4 | 5 | void tcon_lcd_init(void); 6 | void tcon_lcd_enable(void); 7 | void tcon_lcd_disable(void); 8 | #endif 9 | -------------------------------------------------------------------------------- /common/aw/timer.h: -------------------------------------------------------------------------------- 1 | #ifndef TIMER_h_ 2 | #define TIMER_h_ 3 | 4 | //void timer_init(uint32_t us); 5 | 6 | #endif 7 | 8 | -------------------------------------------------------------------------------- /common/aw/twi.h: -------------------------------------------------------------------------------- 1 | #ifndef TWI_h_ 2 | #define TWI_h_ 3 | 4 | void twi_init(void); 5 | 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /common/aw/uart.h: -------------------------------------------------------------------------------- 1 | #ifndef _UART_h_ 2 | #define _UART_h_ 3 | 4 | #include 5 | #include 6 | 7 | void uart_init(uint32_t baudrate); 8 | void uart_init_dma(void); 9 | void uart_send(const char *buf, size_t count); 10 | void uart_printf(const char *fmt, ...); 11 | void uart_dump_reg(uint32_t base, size_t count); 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /common/memmgr.h: -------------------------------------------------------------------------------- 1 | #ifndef MEMMGR_h_ 2 | #define MEMMGR_h_ 3 | 4 | void memmgr_init(void); 5 | 6 | void *dma_malloc(size_t size); 7 | void *dma_memalign(size_t align, size_t size); 8 | void *dma_realloc(void * ptr, size_t size); 9 | void dma_free(void * ptr); 10 | 11 | /* 12 | void *mm_malloc(size_t size); 13 | void *mm_memalign(size_t align, size_t size); 14 | void *mm_realloc(void * ptr, size_t size); 15 | void *mm_calloc(size_t nmemb, size_t size); 16 | void mm_free(void * ptr); 17 | */ 18 | 19 | #endif 20 | 21 | -------------------------------------------------------------------------------- /common/random.c: -------------------------------------------------------------------------------- 1 | #include "platform.h" 2 | #include "random.h" 3 | 4 | static uint64_t next; 5 | 6 | void random_init(uint32_t seed) 7 | { 8 | next = seed; 9 | } 10 | 11 | uint32_t random_get(void) 12 | { 13 | next = next * 0x5851f42d4c957f2d + 1; 14 | return (unsigned int)(next >> 32); 15 | } 16 | 17 | -------------------------------------------------------------------------------- /common/random.h: -------------------------------------------------------------------------------- 1 | #ifndef RANDOM_h_ 2 | #define RANDOM_h_ 3 | 4 | void random_init(uint32_t seed); 5 | uint32_t random_get(void); 6 | 7 | #endif 8 | 9 | -------------------------------------------------------------------------------- /doc/DDI0406B_arm_architecture_reference_manual.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robots/allwinner_t113/cd687978044fb5d74c0a08309f0005b8782e1e14/doc/DDI0406B_arm_architecture_reference_manual.pdf -------------------------------------------------------------------------------- /doc/DDI0462F_cortex_a7_neon_mpe_r0p5_trm.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robots/allwinner_t113/cd687978044fb5d74c0a08309f0005b8782e1e14/doc/DDI0462F_cortex_a7_neon_mpe_r0p5_trm.pdf -------------------------------------------------------------------------------- /doc/DDI0464F_cortex_a7_mpcore_r0p5_trm.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robots/allwinner_t113/cd687978044fb5d74c0a08309f0005b8782e1e14/doc/DDI0464F_cortex_a7_mpcore_r0p5_trm.pdf -------------------------------------------------------------------------------- /doc/IHI0048B_b_gic_architecture_specification.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robots/allwinner_t113/cd687978044fb5d74c0a08309f0005b8782e1e14/doc/IHI0048B_b_gic_architecture_specification.pdf -------------------------------------------------------------------------------- /fw_lite/.gdbinit: -------------------------------------------------------------------------------- 1 | 2 | 3 | file FLASH_RUN/mangopi/mangopi.elf 4 | 5 | #target remote localhost:3333 6 | target extended-remote localhost:3333 7 | 8 | -------------------------------------------------------------------------------- /fw_lite/asm/memcmp.S: -------------------------------------------------------------------------------- 1 | /* 2 | * memcmp.S 3 | */ 4 | .text 5 | 6 | .global memcmp 7 | .type memcmp, %function 8 | .align 4 9 | 10 | memcmp: 11 | /* if(len == 0) return 0 */ 12 | cmp r2, #0 13 | moveq r0, #0 14 | moveq pc, lr 15 | 16 | /* subtract one to have the index of the last character to check */ 17 | sub r2, r2, #1 18 | 19 | /* ip == last src address to compare */ 20 | add ip, r0, r2 21 | 22 | 1: ldrb r2, [r0], #1 23 | ldrb r3, [r1], #1 24 | cmp ip, r0 25 | cmpcs r2, r3 26 | beq 1b 27 | sub r0, r2, r3 28 | 29 | mov pc, lr 30 | -------------------------------------------------------------------------------- /fw_lite/chip.h: -------------------------------------------------------------------------------- 1 | // this is weird dependency of tusb ohci driver 2 | 3 | #ifndef CHIP_h_ 4 | #define CHIP_h_ 5 | 6 | #define OHCI_BASE (0x04200000+0x400) 7 | 8 | #define LPC_USB_BASE OHCI_BASE 9 | 10 | #endif 11 | 12 | -------------------------------------------------------------------------------- /fw_lite/event.h: -------------------------------------------------------------------------------- 1 | #ifndef EVENT_h_ 2 | #define EVENT_h_ 3 | 4 | #include "FreeRTOS.h" 5 | #include "queue.h" 6 | 7 | typedef struct { 8 | uint8_t is_modifier; 9 | uint8_t down; 10 | uint8_t code; 11 | uint8_t ch; 12 | } kbd_event_t; 13 | 14 | extern QueueHandle_t kbd_queue; 15 | 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /fw_lite/led.c: -------------------------------------------------------------------------------- 1 | #include "platform.h" 2 | 3 | #include "gpio.h" 4 | 5 | #include "led.h" 6 | 7 | struct gpio_t led_gpio[] = { 8 | { 9 | .gpio = GPIOD, 10 | .pin = BV(22), 11 | .mode = GPIO_MODE_OUTPUT, 12 | .drv = GPIO_DRV_3, 13 | }, 14 | }; 15 | 16 | void led_init(void) 17 | { 18 | gpio_init(led_gpio, ARRAY_SIZE(led_gpio)); 19 | } 20 | 21 | void led_set(uint32_t idx, uint32_t state) 22 | { 23 | if (idx >= ARRAY_SIZE(led_gpio)) 24 | return; 25 | 26 | 27 | gpio_set(&led_gpio[idx], state?GPIO_SET:GPIO_RESET); 28 | } 29 | -------------------------------------------------------------------------------- /fw_lite/led.h: -------------------------------------------------------------------------------- 1 | #ifndef LED_h_ 2 | #define LED_h_ 3 | 4 | #include "platform.h" 5 | 6 | void led_init(void); 7 | void led_set(uint32_t idx, uint32_t state); 8 | 9 | #endif 10 | 11 | -------------------------------------------------------------------------------- /fw_lite/sdfs.h: -------------------------------------------------------------------------------- 1 | #ifndef SDFS_h_ 2 | #define SDFS_h_ 3 | 4 | #include "syscalls.h" 5 | 6 | 7 | extern struct devoptab_t sdfs_devoptab; 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /fw_lite/start.sh: -------------------------------------------------------------------------------- 1 | make && make bin || exit -1 2 | ./xfel ddr t113-s3 3 | ./xfel write 0x40000000 ./FLASH_RUN/mangopi/mangopi.bin 4 | ./xfel exec 0x40000000 5 | 6 | -------------------------------------------------------------------------------- /fw_lite/syscalls.h: -------------------------------------------------------------------------------- 1 | #ifndef SYSCALLS_h_ 2 | #define SYSCALLS_h_ 3 | 4 | #define SYSCALL_DEVNAME 8 5 | 6 | struct devoptab_t { 7 | const char name[SYSCALL_DEVNAME]; 8 | int (*init)(void); 9 | int (*open_r )(struct _reent *r, const char *path, int flags, int mode); 10 | int (*close_r)(struct _reent *r, int fd); 11 | long (*write_r)(struct _reent *r, int fd, const char *ptr, int len); 12 | long (*read_r )(struct _reent *r, int fd, char *ptr, int len); 13 | int (*lseek_r)(struct _reent *r, int fd, int ptr, int dir); 14 | int (*unlink_r)(struct _reent *r, const char *path); 15 | }; 16 | 17 | void syscalls_init(void); 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /fw_lite/usb_task.h: -------------------------------------------------------------------------------- 1 | #ifndef USB_TASK_h_ 2 | #define USB_TASK_h_ 3 | 4 | void usb_task_init(void); 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /fw_main/.gdbinit: -------------------------------------------------------------------------------- 1 | 2 | 3 | file FLASH_RUN/mangopi/mangopi.elf 4 | 5 | #target remote localhost:3333 6 | target extended-remote localhost:3333 7 | 8 | -------------------------------------------------------------------------------- /fw_main/arm_timer.h: -------------------------------------------------------------------------------- 1 | #ifndef ARM_TIMER_h_ 2 | #define ARM_TIMER_h_ 3 | 4 | void arm_timer_init(void); 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /fw_main/asm/memcmp.S: -------------------------------------------------------------------------------- 1 | /* 2 | * memcmp.S 3 | */ 4 | .text 5 | 6 | .global memcmp 7 | .type memcmp, %function 8 | .align 4 9 | 10 | memcmp: 11 | /* if(len == 0) return 0 */ 12 | cmp r2, #0 13 | moveq r0, #0 14 | moveq pc, lr 15 | 16 | /* subtract one to have the index of the last character to check */ 17 | sub r2, r2, #1 18 | 19 | /* ip == last src address to compare */ 20 | add ip, r0, r2 21 | 22 | 1: ldrb r2, [r0], #1 23 | ldrb r3, [r1], #1 24 | cmp ip, r0 25 | cmpcs r2, r3 26 | beq 1b 27 | sub r0, r2, r3 28 | 29 | mov pc, lr 30 | -------------------------------------------------------------------------------- /fw_main/assets/bin2c/.clang-format: -------------------------------------------------------------------------------- 1 | --- 2 | BasedOnStyle: Mozilla 3 | IndentWidth: 4 4 | SpaceAfterCStyleCast: true 5 | PointerAlignment: Right 6 | ... 7 | 8 | -------------------------------------------------------------------------------- /fw_main/assets/bin2c/.gitignore: -------------------------------------------------------------------------------- 1 | bin2c 2 | test/test_header.h 3 | test/test 4 | -------------------------------------------------------------------------------- /fw_main/assets/bin2c/Makefile: -------------------------------------------------------------------------------- 1 | CFLAGS := -O2 -Wall -Wextra 2 | 3 | .PHONY: all 4 | all: bin2c 5 | 6 | .PHONY: clean 7 | clean: 8 | rm -f bin2c test/test test/test_header.h 9 | 10 | bin2c: bin2c.c 11 | $(CC) $(CFLAGS) -o $@ $< 12 | 13 | test/test_header.h: test/test.bin bin2c 14 | ./bin2c $< $@ test_array 15 | 16 | test/test: test/test.c test/test_header.h 17 | $(CC) $(CFLAGS) -o $@ $< 18 | 19 | .PHONY: test 20 | test: test/test test/test.bin 21 | test/test test/test.bin 22 | -------------------------------------------------------------------------------- /fw_main/assets/bin2c/test/test.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robots/allwinner_t113/cd687978044fb5d74c0a08309f0005b8782e1e14/fw_main/assets/bin2c/test/test.bin -------------------------------------------------------------------------------- /fw_main/assets/bin2c/test/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #include "test_header.h" 5 | 6 | int 7 | main(int argc, char **argv) 8 | { 9 | if (argc != 2) { 10 | fprintf(stderr, "Expected 1 argument, got %i\n", argc - 1); 11 | return 1; 12 | } 13 | 14 | FILE *f = fopen(argv[1], "rb"); 15 | 16 | int length = 0; 17 | // We know the file has size 100 bytes so don't need to worry about 18 | // half full buffers. Also, we need to handle endianness of the 19 | // machine so we can't just read one byte at a time, but must instead 20 | // read 2 bytes at a time... 21 | char buff[2]; 22 | 23 | while ((fread(buff, 1, 2, f)) == 2) { 24 | assert((buff[0] & 0xff) == (test_array[length] & 0xff)); 25 | assert((buff[1] & 0xff) == (test_array[length + 1] & 0xff)); 26 | 27 | length += 2; 28 | } 29 | 30 | assert(length == test_array_length); 31 | fclose(f); 32 | 33 | printf("All tests successful\n"); 34 | return 0; 35 | } 36 | -------------------------------------------------------------------------------- /fw_main/assets/fat16.bin.lzg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robots/allwinner_t113/cd687978044fb5d74c0a08309f0005b8782e1e14/fw_main/assets/fat16.bin.lzg -------------------------------------------------------------------------------- /fw_main/assets/liblzg/.gitignore: -------------------------------------------------------------------------------- 1 | liblzg-*-src.tar.bz2 2 | liblzg-*-src.zip 3 | doc/APIReference/* 4 | 5 | -------------------------------------------------------------------------------- /fw_main/assets/liblzg/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2010-2015 Marcus Geelnard 2 | 3 | This software is provided 'as-is', without any express or implied 4 | warranty. In no event will the authors be held liable for any damages 5 | arising from the use of this software. 6 | 7 | Permission is granted to anyone to use this software for any purpose, 8 | including commercial applications, and to alter it and redistribute it 9 | freely, subject to the following restrictions: 10 | 11 | 1. The origin of this software must not be misrepresented; you must not 12 | claim that you wrote the original software. If you use this software 13 | in a product, an acknowledgment in the product documentation would 14 | be appreciated but is not required. 15 | 16 | 2. Altered source versions must be plainly marked as such, and must not 17 | be misrepresented as being the original software. 18 | 19 | 3. This notice may not be removed or altered from any source 20 | distribution. 21 | 22 | -------------------------------------------------------------------------------- /fw_main/assets/liblzg/doc/liblzg-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robots/allwinner_t113/cd687978044fb5d74c0a08309f0005b8782e1e14/fw_main/assets/liblzg/doc/liblzg-logo.png -------------------------------------------------------------------------------- /fw_main/assets/liblzg/src/extra/README.txt: -------------------------------------------------------------------------------- 1 | INFO 2 | ---- 3 | 4 | In this folder (the "extra" folder), various implementations of the 5 | LZG decompression routine are availble. 6 | 7 | 8 | FILES 9 | ----- 10 | 11 | lzgmini.c 12 | A minimal (easy to read / not optimized for speed) implementation of the 13 | decoder in C. This can serve as a reference implementation for translating 14 | the LZG decoder to other programming languages. 15 | 16 | lzgmini.js 17 | A JavaScript implementation of the LZG decoder. 18 | 19 | lzgmini.lua 20 | A Lua implementation of the LZG decoder. 21 | 22 | lzgmini.pas 23 | A Pascal implementation of the LZG decoder. 24 | 25 | lzgmini_68k.s / lzgmini_68k.h 26 | An assembler implementation of the LZG decoder for the MC68000 family of 27 | 16/32-bit processors. 28 | 29 | lzgmini_6502.s 30 | An assembler implementation of the LZG decoder for the 6502 family of 31 | 8-bit processors (6502/65C02/6510/8500/8502 etc). 32 | 33 | -------------------------------------------------------------------------------- /fw_main/assets/liblzg/src/lib/.gitignore: -------------------------------------------------------------------------------- 1 | *.o 2 | *.a 3 | 4 | -------------------------------------------------------------------------------- /fw_main/assets/liblzg/src/lib/liblzg.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robots/allwinner_t113/cd687978044fb5d74c0a08309f0005b8782e1e14/fw_main/assets/liblzg/src/lib/liblzg.so -------------------------------------------------------------------------------- /fw_main/assets/liblzg/src/tools/.gitignore: -------------------------------------------------------------------------------- 1 | lzg 2 | unlzg 3 | benchmark 4 | *.o 5 | *.a 6 | 7 | -------------------------------------------------------------------------------- /fw_main/ccu.h: -------------------------------------------------------------------------------- 1 | #ifndef _CCU_h_ 2 | #define _CCU_h_ 3 | 4 | #include "platform.h" 5 | 6 | void ccu_init(void); 7 | 8 | void ccu_de_set_peripx2_div(uint32_t div); 9 | void ccu_de_enable(void); 10 | 11 | void ccu_dsi_enable(void); 12 | void ccu_lvds_enable(void); 13 | 14 | void ccu_tcon_set_video0x4_div(uint32_t div); 15 | void ccu_tcon_lcd_enable(void); 16 | uint32_t ccu_tcon_get_clk(void); 17 | 18 | void ccu_uart_enable(UART_TypeDef *uart); 19 | void ccu_twi_enable(TWI_TypeDef *twi); 20 | 21 | void ccu_video0_pll_set(uint8_t n, uint8_t m); 22 | void ccu_video1_pll_set(uint8_t n, uint8_t m); 23 | 24 | uint32_t ccu_clk_hosc_get(void); 25 | uint32_t ccu_perip_x1_clk_get(void); 26 | uint32_t ccu_video0_x4_clk_get(void); 27 | uint32_t ccu_apb1_clk_get(void); 28 | uint32_t ccu_apb0_clk_get(void); 29 | uint32_t ccu_ahb_clk_get(void); 30 | uint32_t ccu_cpu_clk_get(void); 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /fw_main/chip.h: -------------------------------------------------------------------------------- 1 | #ifndef CHIP_h_ 2 | #define CHIP_h_ 3 | 4 | #define OHCI_BASE (0x04200000+0x400) 5 | 6 | #define LPC_USB_BASE OHCI_BASE 7 | 8 | #endif 9 | 10 | -------------------------------------------------------------------------------- /fw_main/chocdoom/doomdef.c: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(C) 1993-1996 Id Software, Inc. 3 | // Copyright(C) 2005-2014 Simon Howard 4 | // 5 | // This program is free software; you can redistribute it and/or 6 | // modify it under the terms of the GNU General Public License 7 | // as published by the Free Software Foundation; either version 2 8 | // of the License, or (at your option) any later version. 9 | // 10 | // This program is distributed in the hope that it will be useful, 11 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | // GNU General Public License for more details. 14 | // 15 | // DESCRIPTION: 16 | // DoomDef - basic defines for DOOM, e.g. Version, game mode 17 | // and skill level, and display parameters. 18 | // 19 | 20 | 21 | 22 | #include "doomdef.h" 23 | 24 | // Location for any defines turned variables. 25 | 26 | // None. 27 | 28 | 29 | -------------------------------------------------------------------------------- /fw_main/chocdoom/doomstat.c: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(C) 1993-1996 Id Software, Inc. 3 | // Copyright(C) 2005-2014 Simon Howard 4 | // 5 | // This program is free software; you can redistribute it and/or 6 | // modify it under the terms of the GNU General Public License 7 | // as published by the Free Software Foundation; either version 2 8 | // of the License, or (at your option) any later version. 9 | // 10 | // This program is distributed in the hope that it will be useful, 11 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | // GNU General Public License for more details. 14 | // 15 | // DESCRIPTION: 16 | // Put all global tate variables here. 17 | // 18 | 19 | #include 20 | 21 | #include "doomstat.h" 22 | 23 | 24 | // Game Mode - identify IWAD as shareware, retail etc. 25 | GameMode_t gamemode = indetermined; 26 | GameMission_t gamemission = doom; 27 | GameVersion_t gameversion = exe_final2; 28 | char *gamedescription; 29 | 30 | // Set if homebrew PWAD stuff has been added. 31 | boolean modifiedgame; 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /fw_main/chocdoom/i_endoom.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(C) 1993-1996 Id Software, Inc. 3 | // Copyright(C) 2005-2014 Simon Howard 4 | // 5 | // This program is free software; you can redistribute it and/or 6 | // modify it under the terms of the GNU General Public License 7 | // as published by the Free Software Foundation; either version 2 8 | // of the License, or (at your option) any later version. 9 | // 10 | // This program is distributed in the hope that it will be useful, 11 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | // GNU General Public License for more details. 14 | // 15 | // DESCRIPTION: 16 | // Exit text-mode ENDOOM screen. 17 | // 18 | 19 | 20 | #ifndef __I_ENDOOM__ 21 | #define __I_ENDOOM__ 22 | 23 | // Display the Endoom screen on shutdown. Pass a pointer to the 24 | // ENDOOM lump. 25 | 26 | void I_Endoom(byte *data); 27 | 28 | #endif 29 | 30 | -------------------------------------------------------------------------------- /fw_main/chocdoom/m_fixed.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(C) 1993-1996 Id Software, Inc. 3 | // Copyright(C) 2005-2014 Simon Howard 4 | // 5 | // This program is free software; you can redistribute it and/or 6 | // modify it under the terms of the GNU General Public License 7 | // as published by the Free Software Foundation; either version 2 8 | // of the License, or (at your option) any later version. 9 | // 10 | // This program is distributed in the hope that it will be useful, 11 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | // GNU General Public License for more details. 14 | // 15 | // DESCRIPTION: 16 | // Fixed point arithemtics, implementation. 17 | // 18 | 19 | 20 | #ifndef __M_FIXED__ 21 | #define __M_FIXED__ 22 | 23 | 24 | 25 | 26 | // 27 | // Fixed point, 32bit as 16.16. 28 | // 29 | #define FRACBITS 16 30 | #define FRACUNIT (1<= ARRAY_SIZE(led_gpio)) 24 | return; 25 | 26 | 27 | gpio_set(&led_gpio[idx], state?GPIO_SET:GPIO_RESET); 28 | } 29 | -------------------------------------------------------------------------------- /fw_main/led.h: -------------------------------------------------------------------------------- 1 | #ifndef LED_h_ 2 | #define LED_h_ 3 | 4 | #include "platform.h" 5 | 6 | void led_init(void); 7 | void led_set(uint32_t idx, uint32_t state); 8 | 9 | #endif 10 | 11 | -------------------------------------------------------------------------------- /fw_main/memmgr.h: -------------------------------------------------------------------------------- 1 | #ifndef MEMMGR_h_ 2 | #define MEMMGR_h_ 3 | 4 | void memmgr_init(void); 5 | 6 | void *dma_malloc(size_t size); 7 | void *dma_memalign(size_t align, size_t size); 8 | void *dma_realloc(void * ptr, size_t size); 9 | void dma_free(void * ptr); 10 | 11 | /* 12 | void *mm_malloc(size_t size); 13 | void *mm_memalign(size_t align, size_t size); 14 | void *mm_realloc(void * ptr, size_t size); 15 | void *mm_calloc(size_t nmemb, size_t size); 16 | void mm_free(void * ptr); 17 | */ 18 | 19 | #endif 20 | 21 | -------------------------------------------------------------------------------- /fw_main/mmu.h: -------------------------------------------------------------------------------- 1 | #ifndef MMU_h_ 2 | #define MMU_h_ 3 | 4 | void mmu_setup(void); 5 | void mmu_enable(void); 6 | 7 | void L1_CleanDCache_by_Addr(volatile void *addr, int32_t dsize); 8 | void L1_CleanInvalidateDCache_by_Addr(volatile void *addr, int32_t dsize); 9 | void L1_InvalidateDCache_by_Addr(volatile void *addr, int32_t dsize); 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /fw_main/random.c: -------------------------------------------------------------------------------- 1 | #include "platform.h" 2 | #include "random.h" 3 | 4 | static uint64_t next; 5 | 6 | void random_init(uint32_t seed) 7 | { 8 | next = seed; 9 | } 10 | 11 | uint32_t random_get(void) 12 | { 13 | next = next * 0x5851f42d4c957f2d + 1; 14 | return (unsigned int)(next >> 32); 15 | } 16 | 17 | -------------------------------------------------------------------------------- /fw_main/random.h: -------------------------------------------------------------------------------- 1 | #ifndef RANDOM_h_ 2 | #define RANDOM_h_ 3 | 4 | void random_init(uint32_t seed); 5 | uint32_t random_get(void); 6 | 7 | #endif 8 | 9 | -------------------------------------------------------------------------------- /fw_main/start.sh: -------------------------------------------------------------------------------- 1 | make && make bin || exit -1 2 | ./xfel ddr t113-s3 3 | ./xfel write 0x40000000 ./FLASH_RUN/mangopi/mangopi.bin 4 | ./xfel exec 0x40000000 5 | 6 | -------------------------------------------------------------------------------- /fw_main/syscalls.h: -------------------------------------------------------------------------------- 1 | #ifndef SYSCALLS_h_ 2 | #define SYSCALLS_h_ 3 | 4 | #include 5 | 6 | #define SYSCALL_DEVNAME 8 7 | 8 | struct devoptab_t { 9 | const char name[SYSCALL_DEVNAME]; 10 | int (*init)(void); 11 | int (*open_r )(struct _reent *r, const char *path, int flags, int mode); 12 | int (*close_r)(struct _reent *r, int fd); 13 | long (*write_r)(struct _reent *r, int fd, const char *ptr, int len); 14 | long (*read_r )(struct _reent *r, int fd, char *ptr, int len); 15 | int (*lseek_r)(struct _reent *r, int fd, int ptr, int dir); 16 | int (*unlink_r)(struct _reent *r, const char *path); 17 | }; 18 | 19 | void syscalls_init(void); 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /fw_main/tcon_lcd.h: -------------------------------------------------------------------------------- 1 | #ifndef TCON_LCD_h_ 2 | #define TCON_LCD_h_ 3 | 4 | 5 | void tcon_lcd_init(void); 6 | void tcon_lcd_enable(void); 7 | void tcon_lcd_disable(void); 8 | #endif 9 | -------------------------------------------------------------------------------- /fw_main/timer.h: -------------------------------------------------------------------------------- 1 | #ifndef TIMER_h_ 2 | #define TIMER_h_ 3 | 4 | //void timer_init(uint32_t us); 5 | 6 | #endif 7 | 8 | -------------------------------------------------------------------------------- /fw_main/twi.h: -------------------------------------------------------------------------------- 1 | #ifndef TWI_h_ 2 | #define TWI_h_ 3 | 4 | void twi_init(void); 5 | 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /fw_main/uart.h: -------------------------------------------------------------------------------- 1 | #ifndef _UART_h_ 2 | #define _UART_h_ 3 | 4 | #include 5 | #include 6 | 7 | void uart_init(uint32_t baudrate); 8 | void uart_init_dma(void); 9 | void uart_send(const char *buf, size_t count); 10 | void uart_printf(const char *fmt, ...); 11 | void uart_dump_reg(uint32_t base, size_t count); 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /fw_main/usb_task.h: -------------------------------------------------------------------------------- 1 | #ifndef USB_TASK_h_ 2 | #define USB_TASK_h_ 3 | 4 | void usb_task_init(void); 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /lib/FreeRTOS-Kernel-main/.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: 3 | - name: FreeRTOS Community Support Forum 4 | url: https://forums.freertos.org/ 5 | about: Please ask and answer questions about FreeRTOS here. 6 | 7 | -------------------------------------------------------------------------------- /lib/FreeRTOS-Kernel-main/.github/ISSUE_TEMPLATE/documentation-issue.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Documentation issue 3 | about: Create a report to help us improve our documentation. 4 | title: "[DOC]" 5 | labels: documentation 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the issue** 11 | Please describe the issue and expected clarification in concise language. 12 | 13 | **Reference** 14 | Please attach the URL at which you are experiencing the issue. 15 | 16 | **Screenshot** 17 | If applicable, please attach screenshot. 18 | 19 | **Browser** 20 | - Browser: [e.g. Chrome] 21 | - Version: [e.g. 80.0.3987.132] 22 | 23 | 24 | -------------------------------------------------------------------------------- /lib/FreeRTOS-Kernel-main/.github/SECURITY.md: -------------------------------------------------------------------------------- 1 | ## Reporting a Vulnerability 2 | 3 | If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security 4 | via our [vulnerability reporting page](https://aws.amazon.com/security/vulnerability-reporting/) or directly via email to aws-security@amazon.com. 5 | Please do **not** create a public github issue. 6 | -------------------------------------------------------------------------------- /lib/FreeRTOS-Kernel-main/.github/pull_request_template.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | Description 4 | ----------- 5 | 6 | 7 | Test Steps 8 | ----------- 9 | 10 | 11 | Related Issue 12 | ----------- 13 | 14 | 15 | 16 | By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. 17 | -------------------------------------------------------------------------------- /lib/FreeRTOS-Kernel-main/.github/scripts/find_replace.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | old_text=$1 3 | new_text=$2 4 | echo "Old text: ${old_text}" 5 | echo "New text: ${new_text}" 6 | grep -rl "${old_text}" . | xargs gsed -i -e '1h;2,$H;$!d;g' -e "s/${old_text}/${new_text}/g" 7 | 8 | -------------------------------------------------------------------------------- /lib/FreeRTOS-Kernel-main/.github/workflows/git-secrets.yml: -------------------------------------------------------------------------------- 1 | name: git-secrets Check 2 | on: 3 | push: 4 | pull_request: 5 | workflow_dispatch: 6 | jobs: 7 | git-secrets: 8 | runs-on: ubuntu-latest 9 | steps: 10 | - uses: actions/checkout@v2 11 | with: 12 | submodules: recursive 13 | - name: Checkout awslabs/git-secrets 14 | uses: actions/checkout@v2 15 | with: 16 | repository: awslabs/git-secrets 17 | ref: master 18 | path: git-secrets 19 | - name: Install git-secrets 20 | run: cd git-secrets && sudo make install && cd .. 21 | - name: Run git-secrets 22 | run: | 23 | git-secrets --register-aws 24 | git-secrets --scan 25 | -------------------------------------------------------------------------------- /lib/FreeRTOS-Kernel-main/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "ThirdParty/FreeRTOS-Kernel-Partner-Supported-Ports"] 2 | path = portable/ThirdParty/Partner-Supported-Ports 3 | url = https://github.com/FreeRTOS/FreeRTOS-Kernel-Partner-Supported-Ports 4 | [submodule "ThirdParty/FreeRTOS-Kernel-Community-Supported-Ports"] 5 | path = portable/ThirdParty/Community-Supported-Ports 6 | url = https://github.com/FreeRTOS/FreeRTOS-Kernel-Community-Supported-Ports 7 | -------------------------------------------------------------------------------- /lib/FreeRTOS-Kernel-main/GitHub-FreeRTOS-Kernel-Home.url: -------------------------------------------------------------------------------- 1 | [{000214A0-0000-0000-C000-000000000046}] 2 | Prop3=19,2 3 | [InternetShortcut] 4 | URL=https://github.com/FreeRTOS/FreeRTOS-Kernel 5 | IconIndex=0 6 | IDList= 7 | HotKey=0 8 | 9 | -------------------------------------------------------------------------------- /lib/FreeRTOS-Kernel-main/LICENSE.md: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19 | SOFTWARE. 20 | -------------------------------------------------------------------------------- /lib/FreeRTOS-Kernel-main/Quick_Start_Guide.url: -------------------------------------------------------------------------------- 1 | [InternetShortcut] 2 | URL=https://www.FreeRTOS.org/FreeRTOS-quick-start-guide.html 3 | IDList= 4 | [{000214A0-0000-0000-C000-000000000046}] 5 | Prop3=19,2 6 | -------------------------------------------------------------------------------- /lib/FreeRTOS-Kernel-main/manifest.yml: -------------------------------------------------------------------------------- 1 | name : "FreeRTOS-Kernel" 2 | version: "v10.4.6" 3 | description: "FreeRTOS Kernel." 4 | license: "MIT" 5 | -------------------------------------------------------------------------------- /lib/FreeRTOS-Kernel-main/portable/MemMang/ReadMe.url: -------------------------------------------------------------------------------- 1 | [{000214A0-0000-0000-C000-000000000046}] 2 | Prop3=19,2 3 | [InternetShortcut] 4 | URL=https://www.FreeRTOS.org/a00111.html 5 | IDList= 6 | -------------------------------------------------------------------------------- /lib/tinyprintf/README: -------------------------------------------------------------------------------- 1 | tinyprintf originally from http://www.sparetimelabs.com/tinyprintf/index.html 2 | Copyright (C) 2004,2012 Kustaa Nyholm 3 | Licenses: LGPL 2.1 or later (see LICENSE.LGPL-2.1) 4 | or BSD-new (see LICENSE.BSD-new) 5 | 6 | "You are free to use the LGPL license [...] or the BSD license" 7 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/.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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/.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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature Request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: Feature 💡 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/.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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/.gitignore: -------------------------------------------------------------------------------- 1 | html 2 | latex 3 | *.d 4 | *.o 5 | *.P 6 | *.map 7 | *.axf 8 | *.bin 9 | *.jlink 10 | *.emSession 11 | *.elf 12 | *.ind 13 | .env 14 | .settings/ 15 | .idea/ 16 | .gdb_history 17 | /examples/*/*/build* 18 | test_old/ 19 | tests_obsolete/ 20 | _build 21 | /examples/*/*/ses 22 | /examples/*/*/ozone 23 | /examples/obsolete 24 | # coverity intermediate files 25 | cov-int 26 | # cppcheck build directories 27 | *-build-dir 28 | /_bin/ 29 | __pycache__ 30 | 31 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/.readthedocs.yaml: -------------------------------------------------------------------------------- 1 | # .readthedocs.yaml 2 | # Read the Docs configuration file 3 | # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details 4 | 5 | version: 2 6 | 7 | sphinx: 8 | configuration: docs/conf.py 9 | 10 | python: 11 | version: 3.8 12 | install: 13 | - requirements: docs/requirements.txt 14 | 15 | submodules: 16 | include: [] 17 | recursive: false 18 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/docs/contributing/code_of_conduct.rst: -------------------------------------------------------------------------------- 1 | ../../CODE_OF_CONDUCT.rst -------------------------------------------------------------------------------- /lib/tinyusb-ohci/docs/contributing/index.rst: -------------------------------------------------------------------------------- 1 | ************ 2 | Contributing 3 | ************ 4 | 5 | Contributing can be highly rewarding, but it can also be frustrating at times. 6 | It takes time to review patches, and as this is an open source project, that 7 | sometimes can take a while. The reviewing process depends on the availability 8 | of the maintainers, who may not be always available. Please try to be 9 | understanding throught the process. 10 | 11 | There a few guidelines you need to keep in mind when contributing. Please have 12 | a look at them as that will make the contribution process easier for all 13 | parties. 14 | 15 | Index 16 | ===== 17 | 18 | .. toctree:: 19 | :maxdepth: 2 20 | 21 | code_of_conduct 22 | structure 23 | porting 24 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/docs/contributing/structure.rst: -------------------------------------------------------------------------------- 1 | ********* 2 | Structure 3 | ********* 4 | 5 | Tree 6 | ==== 7 | 8 | :: 9 | 10 | . 11 | ├── docs 12 | ├── examples 13 | ├── hw 14 | │   ├── bsp 15 | │   └── mcu 16 | ├── lib 17 | ├── src 18 | ├── test 19 | └── tools 20 | 21 | docs 22 | ---- 23 | 24 | Documentation 25 | 26 | examples 27 | -------- 28 | 29 | Sample with Makefile build support 30 | 31 | hw/bsp 32 | ------ 33 | 34 | Supported boards source files 35 | 36 | hw/mcu 37 | ------ 38 | 39 | Low level mcu core & peripheral drivers 40 | 41 | lib 42 | --- 43 | 44 | Sources from 3rd party such as freeRTOS, fatfs ... 45 | 46 | src 47 | --- 48 | 49 | All sources files for TinyUSB stack itself. 50 | 51 | test 52 | ---- 53 | 54 | Unit tests for the stack 55 | 56 | tools 57 | ----- 58 | 59 | Files used internally 60 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/docs/index.rst: -------------------------------------------------------------------------------- 1 | :hide-toc: 2 | 3 | ********* 4 | TinyUSB 5 | ********* 6 | 7 | TinyUSB is an open-source cross-platform USB Host/Device stack for embedded systems, 8 | designed to be memory-safe with no dynamic allocation and thread-safe with all interrupt events being deferred and then handled in the non-ISR task function. 9 | 10 | 11 | .. toctree:: 12 | :caption: Index 13 | :hidden: 14 | 15 | Info 16 | Reference 17 | Contributing 18 | 19 | .. toctree:: 20 | :caption: External Links 21 | :hidden: 22 | 23 | Source Code 24 | Issue Tracker 25 | Discussions 26 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/docs/info/contributors.rst: -------------------------------------------------------------------------------- 1 | ../../CONTRIBUTORS.rst -------------------------------------------------------------------------------- /lib/tinyusb-ohci/docs/info/index.rst: -------------------------------------------------------------------------------- 1 | **** 2 | Info 3 | **** 4 | 5 | Index 6 | ===== 7 | 8 | .. toctree:: 9 | :maxdepth: 2 10 | 11 | uses 12 | changelog 13 | contributors 14 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/docs/info/uses.rst: -------------------------------------------------------------------------------- 1 | **** 2 | Uses 3 | **** 4 | 5 | TinyUSB is currently used by these other projects: 6 | 7 | - `Adafruit nRF52 Arduino `__ 8 | - `Adafruit nRF52 Bootloader `__ 9 | - `Adafruit SAMD Arduino `__ 10 | - `CircuitPython `__ 11 | - `Espressif IDF `__ 12 | - `MicroPython `__ 13 | - `mynewt `__ 14 | - `openinput `__ 15 | - `Raspberry Pi Pico SDK `__ 16 | - `TinyUF2 Bootloader `__ 17 | - `TinyUSB Arduino Library `__ 18 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/docs/requirements.txt: -------------------------------------------------------------------------------- 1 | sphinx~=3.0 2 | furo>=2020.12.30.b24 3 | sphinx-autodoc-typehints>=1.10 4 | jinja2==3.0.3 5 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/99-tinyusb.rules: -------------------------------------------------------------------------------- 1 | # Copy this file to the location of your distribution's udev rules, for example on Ubuntu: 2 | # sudo cp 99-tinyusb.rules /etc/udev/rules.d/ 3 | # Then reload udev configuration by executing: 4 | # sudo udevadm control --reload-rules 5 | # sudo udevadm trigger 6 | 7 | # Check SUBSYSTEM 8 | SUBSYSTEMS=="hidraw", KERNEL=="hidraw*", MODE="0666", GROUP="dialout" 9 | 10 | # Rule applies to all TinyUSB example 11 | ATTRS{idVendor}=="cafe", MODE="0666", GROUP="dialout" 12 | 13 | # Rule to blacklist TinyUSB example from being manipulated by ModemManager. 14 | SUBSYSTEMS=="usb", ATTRS{idVendor}=="cafe", ENV{ID_MM_DEVICE_IGNORE}="1" 15 | 16 | # Xplained Pro SamG55 Device 17 | SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2111", MODE="0666", GROUP="users", ENV{ID_MM_DEVICE_IGNORE}="1" 18 | SUBSYSTEMS=="tty", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2111", MODE="0666", GROUP="users", ENV{ID_MM_DEVICE_IGNORE}="1" 19 | 20 | # TI Stellaris/Tiva-C Launchpad ICDI 21 | SUBSYSTEM=="usb", ATTRS{idVendor}=="1cbe", ATTRS{idProduct}=="00fd", MODE="0666" 22 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/audio_4_channel_mic/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake) 4 | 5 | # gets PROJECT name for the example (e.g. -) 6 | family_get_project_name(PROJECT ${CMAKE_CURRENT_LIST_DIR}) 7 | 8 | project(${PROJECT}) 9 | 10 | # Checks this example is valid for the family and initializes the project 11 | family_initialize_project(${PROJECT} ${CMAKE_CURRENT_LIST_DIR}) 12 | 13 | add_executable(${PROJECT}) 14 | 15 | # Example source 16 | target_sources(${PROJECT} PUBLIC 17 | ${CMAKE_CURRENT_SOURCE_DIR}/src/main.c 18 | ${CMAKE_CURRENT_SOURCE_DIR}/src/usb_descriptors.c 19 | ) 20 | 21 | # Example include 22 | target_include_directories(${PROJECT} PUBLIC 23 | ${CMAKE_CURRENT_SOURCE_DIR}/src 24 | ) 25 | 26 | # Configure compilation flags and libraries for the example... see the corresponding function 27 | # in hw/bsp/FAMILY/family.cmake for details. 28 | family_configure_device_example(${PROJECT}) 29 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/audio_4_channel_mic/Makefile: -------------------------------------------------------------------------------- 1 | include ../../../tools/top.mk 2 | include ../../make.mk 3 | 4 | INC += \ 5 | src \ 6 | $(TOP)/hw \ 7 | 8 | # Example source 9 | EXAMPLE_SOURCE += $(wildcard src/*.c) 10 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 11 | 12 | include ../../rules.mk 13 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/audio_4_channel_mic/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:SAMD11 2 | mcu:SAME5X 3 | mcu:SAMG -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/audio_test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake) 4 | 5 | # gets PROJECT name for the example (e.g. -) 6 | family_get_project_name(PROJECT ${CMAKE_CURRENT_LIST_DIR}) 7 | 8 | project(${PROJECT}) 9 | 10 | # Checks this example is valid for the family and initializes the project 11 | family_initialize_project(${PROJECT} ${CMAKE_CURRENT_LIST_DIR}) 12 | 13 | add_executable(${PROJECT}) 14 | 15 | # Example source 16 | target_sources(${PROJECT} PUBLIC 17 | ${CMAKE_CURRENT_SOURCE_DIR}/src/main.c 18 | ${CMAKE_CURRENT_SOURCE_DIR}/src/usb_descriptors.c 19 | ) 20 | 21 | # Example include 22 | target_include_directories(${PROJECT} PUBLIC 23 | ${CMAKE_CURRENT_SOURCE_DIR}/src 24 | ) 25 | 26 | # Configure compilation flags and libraries for the example... see the corresponding function 27 | # in hw/bsp/FAMILY/family.cmake for details. 28 | family_configure_device_example(${PROJECT}) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/audio_test/Makefile: -------------------------------------------------------------------------------- 1 | include ../../../tools/top.mk 2 | include ../../make.mk 3 | 4 | INC += \ 5 | src \ 6 | $(TOP)/hw \ 7 | 8 | # Example source 9 | EXAMPLE_SOURCE += $(wildcard src/*.c) 10 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 11 | 12 | include ../../rules.mk 13 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/audio_test/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:SAMD11 2 | mcu:SAME5X 3 | mcu:SAMG -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/board_test/Makefile: -------------------------------------------------------------------------------- 1 | include ../../../tools/top.mk 2 | include ../../make.mk 3 | 4 | INC += \ 5 | src \ 6 | $(TOP)/hw \ 7 | 8 | # Example source 9 | EXAMPLE_SOURCE += $(wildcard src/*.c) 10 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 11 | 12 | # board_test example is special example that doesn't enable device or host stack 13 | # This can cause some TinyUSB API missing, this hack to allow us to fill those API 14 | # to pass the compilation process 15 | CFLAGS += \ 16 | -D"tud_int_handler(x)= " \ 17 | 18 | include ../../rules.mk 19 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/board_test/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # FAMILY = esp32sx 2 | idf_component_register(SRCS "main.c" 3 | INCLUDE_DIRS "." 4 | REQUIRES freertos soc) 5 | 6 | file(TO_NATIVE_PATH "${TOP}/hw/bsp/${FAMILY}/boards/${BOARD}/board.cmake" board_cmake) 7 | 8 | if(EXISTS ${board_cmake}) 9 | include(${board_cmake}) 10 | endif() 11 | 12 | idf_component_get_property( FREERTOS_ORIG_INCLUDE_PATH freertos ORIG_INCLUDE_PATH) 13 | target_include_directories(${COMPONENT_TARGET} PUBLIC 14 | "${FREERTOS_ORIG_INCLUDE_PATH}" 15 | "${TOP}/hw" 16 | "${TOP}/src" 17 | ) 18 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/cdc_dual_ports/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake) 4 | 5 | # gets PROJECT name for the example (e.g. -) 6 | family_get_project_name(PROJECT ${CMAKE_CURRENT_LIST_DIR}) 7 | 8 | project(${PROJECT}) 9 | 10 | # Checks this example is valid for the family and initializes the project 11 | family_initialize_project(${PROJECT} ${CMAKE_CURRENT_LIST_DIR}) 12 | 13 | add_executable(${PROJECT}) 14 | 15 | # Example source 16 | target_sources(${PROJECT} PUBLIC 17 | ${CMAKE_CURRENT_SOURCE_DIR}/src/main.c 18 | ${CMAKE_CURRENT_SOURCE_DIR}/src/usb_descriptors.c 19 | ) 20 | 21 | # Example include 22 | target_include_directories(${PROJECT} PUBLIC 23 | ${CMAKE_CURRENT_SOURCE_DIR}/src 24 | ) 25 | 26 | # Configure compilation flags and libraries for the example... see the corresponding function 27 | # in hw/bsp/FAMILY/family.cmake for details. 28 | family_configure_device_example(${PROJECT}) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/cdc_dual_ports/Makefile: -------------------------------------------------------------------------------- 1 | include ../../../tools/top.mk 2 | include ../../make.mk 3 | 4 | INC += \ 5 | src \ 6 | $(TOP)/hw \ 7 | 8 | # Example source 9 | EXAMPLE_SOURCE += $(wildcard src/*.c) 10 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 11 | 12 | include ../../rules.mk 13 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/cdc_msc/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake) 4 | 5 | # gets PROJECT name for the example (e.g. -) 6 | family_get_project_name(PROJECT ${CMAKE_CURRENT_LIST_DIR}) 7 | 8 | project(${PROJECT}) 9 | 10 | # Checks this example is valid for the family and initializes the project 11 | family_initialize_project(${PROJECT} ${CMAKE_CURRENT_LIST_DIR}) 12 | 13 | add_executable(${PROJECT}) 14 | 15 | # Example source 16 | target_sources(${PROJECT} PUBLIC 17 | ${CMAKE_CURRENT_SOURCE_DIR}/src/main.c 18 | ${CMAKE_CURRENT_SOURCE_DIR}/src/msc_disk.c 19 | ${CMAKE_CURRENT_SOURCE_DIR}/src/usb_descriptors.c 20 | ) 21 | 22 | # Example include 23 | target_include_directories(${PROJECT} PUBLIC 24 | ${CMAKE_CURRENT_SOURCE_DIR}/src 25 | ) 26 | 27 | # Configure compilation flags and libraries for the example... see the corresponding function 28 | # in hw/bsp/FAMILY/family.cmake for details. 29 | family_configure_device_example(${PROJECT}) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/cdc_msc/Makefile: -------------------------------------------------------------------------------- 1 | include ../../../tools/top.mk 2 | include ../../make.mk 3 | 4 | INC += \ 5 | src \ 6 | $(TOP)/hw \ 7 | 8 | # Example source 9 | EXAMPLE_SOURCE += $(wildcard src/*.c) 10 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 11 | 12 | include ../../rules.mk 13 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/cdc_msc/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:SAMD11 -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/cdc_msc_freertos/.skip.MCU_F1C100S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robots/allwinner_t113/cd687978044fb5d74c0a08309f0005b8782e1e14/lib/tinyusb-ohci/examples/device/cdc_msc_freertos/.skip.MCU_F1C100S -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/cdc_msc_freertos/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | # TOP is absolute path to root directory of TinyUSB git repo 4 | # needed for esp32sx build. TOOD could be removed later on 5 | set(TOP "../../..") 6 | get_filename_component(TOP "${TOP}" REALPATH) 7 | 8 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake) 9 | 10 | # gets PROJECT name for the example (e.g. -) 11 | family_get_project_name(PROJECT ${CMAKE_CURRENT_LIST_DIR}) 12 | 13 | project(${PROJECT}) 14 | 15 | # Checks this example is valid for the family and initializes the project 16 | family_initialize_project(${PROJECT} ${CMAKE_CURRENT_LIST_DIR}) 17 | 18 | # Check for -DFAMILY= 19 | if(FAMILY MATCHES "^esp32s[2-3]") 20 | else() 21 | message(FATAL_ERROR "Invalid FAMILY specified: ${FAMILY}") 22 | endif() 23 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/cdc_msc_freertos/Makefile: -------------------------------------------------------------------------------- 1 | DEPS_SUBMODULES += lib/FreeRTOS-Kernel 2 | 3 | include ../../../tools/top.mk 4 | include ../../make.mk 5 | 6 | FREERTOS_SRC = lib/FreeRTOS-Kernel 7 | 8 | INC += \ 9 | src \ 10 | src/FreeRTOSConfig \ 11 | $(TOP)/hw \ 12 | $(TOP)/$(FREERTOS_SRC)/include \ 13 | $(TOP)/$(FREERTOS_SRC)/portable/GCC/$(FREERTOS_PORT) 14 | 15 | # Example source 16 | EXAMPLE_SOURCE = \ 17 | src/freertos_hook.c \ 18 | src/main.c \ 19 | src/msc_disk.c \ 20 | src/usb_descriptors.c 21 | 22 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 23 | 24 | # FreeRTOS source, all files in port folder 25 | SRC_C += \ 26 | $(FREERTOS_SRC)/list.c \ 27 | $(FREERTOS_SRC)/queue.c \ 28 | $(FREERTOS_SRC)/tasks.c \ 29 | $(FREERTOS_SRC)/timers.c \ 30 | $(subst ../../../,,$(wildcard ../../../$(FREERTOS_SRC)/portable/GCC/$(FREERTOS_PORT)/*.c)) 31 | 32 | # Suppress FreeRTOS warnings 33 | CFLAGS += -Wno-error=cast-qual 34 | 35 | # FreeRTOS (lto + Os) linker issue 36 | LDFLAGS += -Wl,--undefined=vTaskSwitchContext 37 | 38 | include ../../rules.mk 39 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/cdc_msc_freertos/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:CXD56 2 | mcu:MSP430x5xx 3 | mcu:SAMD11 4 | mcu:VALENTYUSB_EPTRI 5 | mcu:MKL25ZXX 6 | mcu:RP2040 7 | mcu:SAMX7X 8 | mcu:GD32VF103 9 | family:broadcom_64bit 10 | family:broadcom_32bit -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/dfu/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake) 4 | 5 | # gets PROJECT name for the example (e.g. -) 6 | family_get_project_name(PROJECT ${CMAKE_CURRENT_LIST_DIR}) 7 | 8 | project(${PROJECT}) 9 | 10 | # Checks this example is valid for the family and initializes the project 11 | family_initialize_project(${PROJECT} ${CMAKE_CURRENT_LIST_DIR}) 12 | 13 | add_executable(${PROJECT}) 14 | 15 | # Example source 16 | target_sources(${PROJECT} PUBLIC 17 | ${CMAKE_CURRENT_SOURCE_DIR}/src/main.c 18 | ${CMAKE_CURRENT_SOURCE_DIR}/src/usb_descriptors.c 19 | ) 20 | 21 | # Example include 22 | target_include_directories(${PROJECT} PUBLIC 23 | ${CMAKE_CURRENT_SOURCE_DIR}/src 24 | ) 25 | 26 | # Configure compilation flags and libraries for the example... see the corresponding function 27 | # in hw/bsp/FAMILY/family.cmake for details. 28 | family_configure_device_example(${PROJECT}) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/dfu/Makefile: -------------------------------------------------------------------------------- 1 | include ../../../tools/top.mk 2 | include ../../make.mk 3 | 4 | INC += \ 5 | src \ 6 | $(TOP)/hw \ 7 | 8 | # Example source 9 | EXAMPLE_SOURCE += $(wildcard src/*.c) 10 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 11 | 12 | include ../../rules.mk 13 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/dfu/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:TM4C123 2 | mcu:BCM2835 3 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/dfu_runtime/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake) 4 | 5 | # gets PROJECT name for the example (e.g. -) 6 | family_get_project_name(PROJECT ${CMAKE_CURRENT_LIST_DIR}) 7 | 8 | project(${PROJECT}) 9 | 10 | # Checks this example is valid for the family and initializes the project 11 | family_initialize_project(${PROJECT} ${CMAKE_CURRENT_LIST_DIR}) 12 | 13 | add_executable(${PROJECT}) 14 | 15 | # Example source 16 | target_sources(${PROJECT} PUBLIC 17 | ${CMAKE_CURRENT_SOURCE_DIR}/src/main.c 18 | ${CMAKE_CURRENT_SOURCE_DIR}/src/usb_descriptors.c 19 | ) 20 | 21 | # Example include 22 | target_include_directories(${PROJECT} PUBLIC 23 | ${CMAKE_CURRENT_SOURCE_DIR}/src 24 | ) 25 | 26 | # Configure compilation flags and libraries for the example... see the corresponding function 27 | # in hw/bsp/FAMILY/family.cmake for details. 28 | family_configure_device_example(${PROJECT}) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/dfu_runtime/Makefile: -------------------------------------------------------------------------------- 1 | include ../../../tools/top.mk 2 | include ../../make.mk 3 | 4 | INC += \ 5 | src \ 6 | $(TOP)/hw \ 7 | 8 | # Example source 9 | EXAMPLE_SOURCE += $(wildcard src/*.c) 10 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 11 | 12 | include ../../rules.mk 13 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/dynamic_configuration/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake) 4 | 5 | # gets PROJECT name for the example (e.g. -) 6 | family_get_project_name(PROJECT ${CMAKE_CURRENT_LIST_DIR}) 7 | 8 | project(${PROJECT}) 9 | 10 | # Checks this example is valid for the family and initializes the project 11 | family_initialize_project(${PROJECT} ${CMAKE_CURRENT_LIST_DIR}) 12 | 13 | add_executable(${PROJECT}) 14 | 15 | # Example source 16 | target_sources(${PROJECT} PUBLIC 17 | ${CMAKE_CURRENT_SOURCE_DIR}/src/main.c 18 | ${CMAKE_CURRENT_SOURCE_DIR}/src/msc_disk.c 19 | ${CMAKE_CURRENT_SOURCE_DIR}/src/usb_descriptors.c 20 | ) 21 | 22 | # Example include 23 | target_include_directories(${PROJECT} PUBLIC 24 | ${CMAKE_CURRENT_SOURCE_DIR}/src 25 | ) 26 | 27 | # Configure compilation flags and libraries for the example... see the corresponding function 28 | # in hw/bsp/FAMILY/family.cmake for details. 29 | family_configure_device_example(${PROJECT}) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/dynamic_configuration/Makefile: -------------------------------------------------------------------------------- 1 | include ../../../tools/top.mk 2 | include ../../make.mk 3 | 4 | INC += \ 5 | src \ 6 | $(TOP)/hw \ 7 | 8 | # Example source 9 | EXAMPLE_SOURCE += $(wildcard src/*.c) 10 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 11 | 12 | include ../../rules.mk 13 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/dynamic_configuration/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:SAMD11 -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/hid_boot_interface/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake) 4 | 5 | # gets PROJECT name for the example (e.g. -) 6 | family_get_project_name(PROJECT ${CMAKE_CURRENT_LIST_DIR}) 7 | 8 | project(${PROJECT}) 9 | 10 | # Checks this example is valid for the family and initializes the project 11 | family_initialize_project(${PROJECT} ${CMAKE_CURRENT_LIST_DIR}) 12 | 13 | add_executable(${PROJECT}) 14 | 15 | # Example source 16 | target_sources(${PROJECT} PUBLIC 17 | ${CMAKE_CURRENT_SOURCE_DIR}/src/main.c 18 | ${CMAKE_CURRENT_SOURCE_DIR}/src/usb_descriptors.c 19 | ) 20 | 21 | # Example include 22 | target_include_directories(${PROJECT} PUBLIC 23 | ${CMAKE_CURRENT_SOURCE_DIR}/src 24 | ) 25 | 26 | # Configure compilation flags and libraries for the example... see the corresponding function 27 | # in hw/bsp/FAMILY/family.cmake for details. 28 | family_configure_device_example(${PROJECT}) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/hid_boot_interface/Makefile: -------------------------------------------------------------------------------- 1 | include ../../../tools/top.mk 2 | include ../../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 ../../rules.mk 16 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/hid_composite/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake) 4 | 5 | # gets PROJECT name for the example (e.g. -) 6 | family_get_project_name(PROJECT ${CMAKE_CURRENT_LIST_DIR}) 7 | 8 | project(${PROJECT}) 9 | 10 | # Checks this example is valid for the family and initializes the project 11 | family_initialize_project(${PROJECT} ${CMAKE_CURRENT_LIST_DIR}) 12 | 13 | add_executable(${PROJECT}) 14 | 15 | # Example source 16 | target_sources(${PROJECT} PUBLIC 17 | ${CMAKE_CURRENT_SOURCE_DIR}/src/main.c 18 | ${CMAKE_CURRENT_SOURCE_DIR}/src/usb_descriptors.c 19 | ) 20 | 21 | # Example include 22 | target_include_directories(${PROJECT} PUBLIC 23 | ${CMAKE_CURRENT_SOURCE_DIR}/src 24 | ) 25 | 26 | # Configure compilation flags and libraries for the example... see the corresponding function 27 | # in hw/bsp/FAMILY/family.cmake for details. 28 | family_configure_device_example(${PROJECT}) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/hid_composite/Makefile: -------------------------------------------------------------------------------- 1 | include ../../../tools/top.mk 2 | include ../../make.mk 3 | 4 | INC += \ 5 | src \ 6 | $(TOP)/hw \ 7 | 8 | # Example source 9 | EXAMPLE_SOURCE += $(wildcard src/*.c) 10 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 11 | 12 | include ../../rules.mk 13 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/hid_composite_freertos/.skip.MCU_F1C100S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robots/allwinner_t113/cd687978044fb5d74c0a08309f0005b8782e1e14/lib/tinyusb-ohci/examples/device/hid_composite_freertos/.skip.MCU_F1C100S -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/hid_composite_freertos/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | # use BOARD-Directory name for project id 4 | get_filename_component(PROJECT ${CMAKE_CURRENT_SOURCE_DIR} NAME) 5 | set(PROJECT ${BOARD}-${PROJECT}) 6 | 7 | # TOP is absolute path to root directory of TinyUSB git repo 8 | set(TOP "../../..") 9 | get_filename_component(TOP "${TOP}" REALPATH) 10 | 11 | # Check for -DFAMILY= 12 | if(FAMILY MATCHES "^esp32s[2-3]") 13 | include(${TOP}/hw/bsp/${FAMILY}/family.cmake) 14 | project(${PROJECT}) 15 | else() 16 | message(FATAL_ERROR "Invalid FAMILY specified: ${FAMILY}") 17 | endif() 18 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/hid_composite_freertos/Makefile: -------------------------------------------------------------------------------- 1 | DEPS_SUBMODULES += lib/FreeRTOS-Kernel 2 | 3 | include ../../../tools/top.mk 4 | include ../../make.mk 5 | 6 | FREERTOS_SRC = lib/FreeRTOS-Kernel 7 | 8 | INC += \ 9 | src \ 10 | src/FreeRTOSConfig \ 11 | $(TOP)/hw \ 12 | $(TOP)/$(FREERTOS_SRC)/include \ 13 | $(TOP)/$(FREERTOS_SRC)/portable/GCC/$(FREERTOS_PORT) 14 | 15 | # Example source 16 | EXAMPLE_SOURCE = \ 17 | src/freertos_hook.c \ 18 | src/main.c \ 19 | src/usb_descriptors.c 20 | 21 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 22 | 23 | # FreeRTOS source, all files in port folder 24 | SRC_C += \ 25 | $(FREERTOS_SRC)/list.c \ 26 | $(FREERTOS_SRC)/queue.c \ 27 | $(FREERTOS_SRC)/tasks.c \ 28 | $(FREERTOS_SRC)/timers.c \ 29 | $(subst ../../../,,$(wildcard ../../../$(FREERTOS_SRC)/portable/GCC/$(FREERTOS_PORT)/*.c)) 30 | 31 | # Suppress FreeRTOS warnings 32 | CFLAGS += -Wno-error=cast-qual 33 | 34 | # FreeRTOS (lto + Os) linker issue 35 | LDFLAGS += -Wl,--undefined=vTaskSwitchContext 36 | 37 | include ../../rules.mk 38 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/hid_composite_freertos/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:CXD56 2 | mcu:MSP430x5xx 3 | mcu:SAMD11 4 | mcu:VALENTYUSB_EPTRI 5 | mcu:RP2040 6 | mcu:SAMX7X 7 | mcu:GD32VF103 8 | family:broadcom_64bit 9 | family:broadcom_32bit -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/hid_generic_inout/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake) 4 | 5 | # gets PROJECT name for the example (e.g. -) 6 | family_get_project_name(PROJECT ${CMAKE_CURRENT_LIST_DIR}) 7 | 8 | project(${PROJECT}) 9 | 10 | # Checks this example is valid for the family and initializes the project 11 | family_initialize_project(${PROJECT} ${CMAKE_CURRENT_LIST_DIR}) 12 | 13 | add_executable(${PROJECT}) 14 | 15 | # Example source 16 | target_sources(${PROJECT} PUBLIC 17 | ${CMAKE_CURRENT_SOURCE_DIR}/src/main.c 18 | ${CMAKE_CURRENT_SOURCE_DIR}/src/usb_descriptors.c 19 | ) 20 | 21 | # Example include 22 | target_include_directories(${PROJECT} PUBLIC 23 | ${CMAKE_CURRENT_SOURCE_DIR}/src 24 | ) 25 | 26 | # Configure compilation flags and libraries for the example... see the corresponding function 27 | # in hw/bsp/FAMILY/family.cmake for details. 28 | family_configure_device_example(${PROJECT}) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/hid_generic_inout/Makefile: -------------------------------------------------------------------------------- 1 | include ../../../tools/top.mk 2 | include ../../make.mk 3 | 4 | INC += \ 5 | src \ 6 | $(TOP)/hw \ 7 | 8 | # Example source 9 | EXAMPLE_SOURCE += $(wildcard src/*.c) 10 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 11 | 12 | include ../../rules.mk 13 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/hid_generic_inout/boards.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | "Adafruit Boards":[0x239A,0xFFFF], 3 | "TinyUSB example":[0xCAFE,0xFFFF] 4 | } 5 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/hid_generic_inout/hid_test.py: -------------------------------------------------------------------------------- 1 | # Install python3 HID package https://pypi.org/project/hid/ 2 | import hid 3 | 4 | # default is TinyUSB (0xcafe), Adafruit (0x239a), RaspberryPi (0x2e8a), Espressif (0x303a) VID 5 | USB_VID = (0xcafe, 0x239a, 0x2e8a, 0x303a) 6 | 7 | print("VID list: " + ", ".join('%02x' % v for v in USB_VID)) 8 | 9 | for vid in USB_VID: 10 | for dict in hid.enumerate(vid): 11 | print(dict) 12 | dev = hid.Device(dict['vendor_id'], dict['product_id']) 13 | if dev: 14 | while True: 15 | # Get input from console and encode to UTF8 for array of chars. 16 | # hid generic inout is single report therefore by HIDAPI requirement 17 | # it must be preceeded with 0x00 as dummy reportID 18 | str_out = b'\x00' 19 | str_out += input("Send text to HID Device : ").encode('utf-8') 20 | dev.write(str_out) 21 | str_in = dev.read(64) 22 | print("Received from HID Device:", str_in, '\n') 23 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/hid_multiple_interface/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake) 4 | 5 | # gets PROJECT name for the example (e.g. -) 6 | family_get_project_name(PROJECT ${CMAKE_CURRENT_LIST_DIR}) 7 | 8 | project(${PROJECT}) 9 | 10 | # Checks this example is valid for the family and initializes the project 11 | family_initialize_project(${PROJECT} ${CMAKE_CURRENT_LIST_DIR}) 12 | 13 | add_executable(${PROJECT}) 14 | 15 | # Example source 16 | target_sources(${PROJECT} PUBLIC 17 | ${CMAKE_CURRENT_SOURCE_DIR}/src/main.c 18 | ${CMAKE_CURRENT_SOURCE_DIR}/src/usb_descriptors.c 19 | ) 20 | 21 | # Example include 22 | target_include_directories(${PROJECT} PUBLIC 23 | ${CMAKE_CURRENT_SOURCE_DIR}/src 24 | ) 25 | 26 | # Configure compilation flags and libraries for the example... see the corresponding function 27 | # in hw/bsp/FAMILY/family.cmake for details. 28 | family_configure_device_example(${PROJECT}) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/hid_multiple_interface/Makefile: -------------------------------------------------------------------------------- 1 | include ../../../tools/top.mk 2 | include ../../make.mk 3 | 4 | INC += \ 5 | src \ 6 | $(TOP)/hw \ 7 | 8 | # Example source 9 | EXAMPLE_SOURCE += $(wildcard src/*.c) 10 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 11 | 12 | include ../../rules.mk 13 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/midi_test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake) 4 | 5 | # gets PROJECT name for the example (e.g. -) 6 | family_get_project_name(PROJECT ${CMAKE_CURRENT_LIST_DIR}) 7 | 8 | project(${PROJECT}) 9 | 10 | # Checks this example is valid for the family and initializes the project 11 | family_initialize_project(${PROJECT} ${CMAKE_CURRENT_LIST_DIR}) 12 | 13 | add_executable(${PROJECT}) 14 | 15 | # Example source 16 | target_sources(${PROJECT} PUBLIC 17 | ${CMAKE_CURRENT_SOURCE_DIR}/src/main.c 18 | ${CMAKE_CURRENT_SOURCE_DIR}/src/usb_descriptors.c 19 | ) 20 | 21 | # Example include 22 | target_include_directories(${PROJECT} PUBLIC 23 | ${CMAKE_CURRENT_SOURCE_DIR}/src 24 | ) 25 | 26 | # Configure compilation flags and libraries for the example... see the corresponding function 27 | # in hw/bsp/FAMILY/family.cmake for details. 28 | family_configure_device_example(${PROJECT}) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/midi_test/Makefile: -------------------------------------------------------------------------------- 1 | include ../../../tools/top.mk 2 | include ../../make.mk 3 | 4 | INC += \ 5 | src \ 6 | $(TOP)/hw \ 7 | 8 | # Example source 9 | EXAMPLE_SOURCE += $(wildcard src/*.c) 10 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 11 | 12 | include ../../rules.mk 13 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/msc_dual_lun/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake) 4 | 5 | # gets PROJECT name for the example (e.g. -) 6 | family_get_project_name(PROJECT ${CMAKE_CURRENT_LIST_DIR}) 7 | 8 | project(${PROJECT}) 9 | 10 | # Checks this example is valid for the family and initializes the project 11 | family_initialize_project(${PROJECT} ${CMAKE_CURRENT_LIST_DIR}) 12 | 13 | add_executable(${PROJECT}) 14 | 15 | # Example source 16 | target_sources(${PROJECT} PUBLIC 17 | ${CMAKE_CURRENT_SOURCE_DIR}/src/main.c 18 | ${CMAKE_CURRENT_SOURCE_DIR}/src/msc_disk_dual.c 19 | ${CMAKE_CURRENT_SOURCE_DIR}/src/usb_descriptors.c 20 | ) 21 | 22 | # Example include 23 | target_include_directories(${PROJECT} PUBLIC 24 | ${CMAKE_CURRENT_SOURCE_DIR}/src 25 | ) 26 | 27 | # Configure compilation flags and libraries for the example... see the corresponding function 28 | # in hw/bsp/FAMILY/family.cmake for details. 29 | family_configure_device_example(${PROJECT}) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/msc_dual_lun/Makefile: -------------------------------------------------------------------------------- 1 | include ../../../tools/top.mk 2 | include ../../make.mk 3 | 4 | INC += \ 5 | src \ 6 | $(TOP)/hw \ 7 | 8 | # Example source 9 | EXAMPLE_SOURCE += $(wildcard src/*.c) 10 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 11 | 12 | include ../../rules.mk 13 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/msc_dual_lun/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:SAMD11 2 | mcu:MKL25ZXX -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/net_lwip_webserver/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:LPC11UXX 2 | mcu:LPC13XX 3 | mcu:MSP430x5xx 4 | mcu:NUC121 5 | mcu:SAMD11 6 | mcu:STM32L0 7 | mcu:MKL25ZXX 8 | family:broadcom_64bit 9 | family:broadcom_32bit 10 | board:curiosity_nano -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/uac2_headset/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake) 4 | 5 | # gets PROJECT name for the example (e.g. -) 6 | family_get_project_name(PROJECT ${CMAKE_CURRENT_LIST_DIR}) 7 | 8 | project(${PROJECT}) 9 | 10 | # Checks this example is valid for the family and initializes the project 11 | family_initialize_project(${PROJECT} ${CMAKE_CURRENT_LIST_DIR}) 12 | 13 | add_executable(${PROJECT}) 14 | 15 | # Example source 16 | target_sources(${PROJECT} PUBLIC 17 | ${CMAKE_CURRENT_SOURCE_DIR}/src/main.c 18 | ${CMAKE_CURRENT_SOURCE_DIR}/src/usb_descriptors.c 19 | ) 20 | 21 | # Example include 22 | target_include_directories(${PROJECT} PUBLIC 23 | ${CMAKE_CURRENT_SOURCE_DIR}/src 24 | ) 25 | 26 | # Configure compilation flags and libraries for the example... see the corresponding function 27 | # in hw/bsp/FAMILY/family.cmake for details. 28 | family_configure_device_example(${PROJECT}) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/uac2_headset/Makefile: -------------------------------------------------------------------------------- 1 | include ../../../tools/top.mk 2 | include ../../make.mk 3 | 4 | INC += \ 5 | src \ 6 | $(TOP)/hw \ 7 | 8 | # Example source 9 | EXAMPLE_SOURCE += $(wildcard src/*.c) 10 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 11 | 12 | include ../../rules.mk 13 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/uac2_headset/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:LPC11UXX 2 | mcu:LPC13XX 3 | mcu:NUC121 4 | mcu:SAMD11 5 | mcu:SAME5X 6 | mcu:SAMG -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/usbtmc/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake) 4 | 5 | # gets PROJECT name for the example (e.g. -) 6 | family_get_project_name(PROJECT ${CMAKE_CURRENT_LIST_DIR}) 7 | 8 | project(${PROJECT}) 9 | 10 | # Checks this example is valid for the family and initializes the project 11 | family_initialize_project(${PROJECT} ${CMAKE_CURRENT_LIST_DIR}) 12 | 13 | add_executable(${PROJECT}) 14 | 15 | # Example source 16 | target_sources(${PROJECT} PUBLIC 17 | ${CMAKE_CURRENT_SOURCE_DIR}/src/main.c 18 | ${CMAKE_CURRENT_SOURCE_DIR}/src/usb_descriptors.c 19 | ${CMAKE_CURRENT_SOURCE_DIR}/src/usbtmc_app.c 20 | ) 21 | 22 | # Example include 23 | target_include_directories(${PROJECT} PUBLIC 24 | ${CMAKE_CURRENT_SOURCE_DIR}/src 25 | ) 26 | 27 | # Configure compilation flags and libraries for the example... see the corresponding function 28 | # in hw/bsp/FAMILY/family.cmake for details. 29 | family_configure_device_example(${PROJECT}) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/usbtmc/Makefile: -------------------------------------------------------------------------------- 1 | include ../../../tools/top.mk 2 | include ../../make.mk 3 | 4 | INC += \ 5 | src \ 6 | $(TOP)/hw \ 7 | 8 | # Example source 9 | EXAMPLE_SOURCE += $(wildcard src/*.c) 10 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 11 | 12 | include ../../rules.mk 13 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/usbtmc/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:BCM2835 2 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/usbtmc/src/main.h: -------------------------------------------------------------------------------- 1 | #ifndef MAIN_H 2 | #define MAIN_H 3 | void led_indicator_pulse(void); 4 | 5 | #endif 6 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/video_capture/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake) 4 | 5 | # gets PROJECT name for the example (e.g. -) 6 | family_get_project_name(PROJECT ${CMAKE_CURRENT_LIST_DIR}) 7 | 8 | project(${PROJECT}) 9 | 10 | # Checks this example is valid for the family and initializes the project 11 | family_initialize_project(${PROJECT} ${CMAKE_CURRENT_LIST_DIR}) 12 | 13 | add_executable(${PROJECT}) 14 | 15 | # Example source 16 | target_sources(${PROJECT} PUBLIC 17 | ${CMAKE_CURRENT_SOURCE_DIR}/src/main.c 18 | ${CMAKE_CURRENT_SOURCE_DIR}/src/usb_descriptors.c 19 | ) 20 | 21 | # Example include 22 | target_include_directories(${PROJECT} PUBLIC 23 | ${CMAKE_CURRENT_SOURCE_DIR}/src 24 | ) 25 | 26 | # Configure compilation flags and libraries for the example... see the corresponding function 27 | # in hw/bsp/FAMILY/family.cmake for details. 28 | family_configure_device_example(${PROJECT}) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/video_capture/Makefile: -------------------------------------------------------------------------------- 1 | include ../../../tools/top.mk 2 | include ../../make.mk 3 | 4 | INC += \ 5 | src \ 6 | $(TOP)/hw \ 7 | 8 | # Example source 9 | EXAMPLE_SOURCE += $(wildcard src/*.c) 10 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 11 | 12 | include ../../rules.mk 13 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/video_capture/skip.txt: -------------------------------------------------------------------------------- 1 | mcu:MSP430x5xx 2 | mcu:SAMD11 -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/webusb_serial/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake) 4 | 5 | # gets PROJECT name for the example (e.g. -) 6 | family_get_project_name(PROJECT ${CMAKE_CURRENT_LIST_DIR}) 7 | 8 | project(${PROJECT}) 9 | 10 | # Checks this example is valid for the family and initializes the project 11 | family_initialize_project(${PROJECT} ${CMAKE_CURRENT_LIST_DIR}) 12 | 13 | add_executable(${PROJECT}) 14 | 15 | # Example source 16 | target_sources(${PROJECT} PUBLIC 17 | ${CMAKE_CURRENT_SOURCE_DIR}/src/main.c 18 | ${CMAKE_CURRENT_SOURCE_DIR}/src/usb_descriptors.c 19 | ) 20 | 21 | # Example include 22 | target_include_directories(${PROJECT} PUBLIC 23 | ${CMAKE_CURRENT_SOURCE_DIR}/src 24 | ) 25 | 26 | # Configure compilation flags and libraries for the example... see the corresponding function 27 | # in hw/bsp/FAMILY/family.cmake for details. 28 | family_configure_device_example(${PROJECT}) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/device/webusb_serial/Makefile: -------------------------------------------------------------------------------- 1 | include ../../../tools/top.mk 2 | include ../../make.mk 3 | 4 | INC += \ 5 | src \ 6 | $(TOP)/hw \ 7 | 8 | # Example source 9 | EXAMPLE_SOURCE += $(wildcard src/*.c) 10 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 11 | 12 | include ../../rules.mk 13 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/dual/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../hw/bsp/family_support.cmake) 4 | 5 | project(tinyusb_dual_examples) 6 | family_initialize_project(tinyusb_dual_examples ${CMAKE_CURRENT_LIST_DIR}) 7 | if (FAMILY STREQUAL "rp2040" AND NOT TARGET tinyusb_pico_pio_usb) 8 | message("Skipping dual host/device mode examples as Pico-PIO-USB is not available") 9 | else() 10 | # family_add_subdirectory will filter what to actually add based on selected FAMILY 11 | family_add_subdirectory(host_hid_to_device_cdc) 12 | endif() 13 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/dual/host_hid_to_device_cdc/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake) 4 | 5 | # gets PROJECT name for the example (e.g. -) 6 | family_get_project_name(PROJECT ${CMAKE_CURRENT_LIST_DIR}) 7 | 8 | project(${PROJECT}) 9 | 10 | # Checks this example is valid for the family and initializes the project 11 | family_initialize_project(${PROJECT} ${CMAKE_CURRENT_LIST_DIR}) 12 | 13 | add_executable(${PROJECT}) 14 | 15 | # Example source 16 | target_sources(${PROJECT} PUBLIC 17 | ${CMAKE_CURRENT_SOURCE_DIR}/src/main.c 18 | ${CMAKE_CURRENT_SOURCE_DIR}/src/usb_descriptors.c 19 | ) 20 | 21 | # Example include 22 | target_include_directories(${PROJECT} PUBLIC 23 | ${CMAKE_CURRENT_SOURCE_DIR}/src 24 | ) 25 | 26 | # Configure compilation flags and libraries for the example... see the corresponding function 27 | # in hw/bsp/FAMILY/family.cmake for details. 28 | family_configure_dual_usb_example(${PROJECT}) 29 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/dual/host_hid_to_device_cdc/Makefile: -------------------------------------------------------------------------------- 1 | include ../../../tools/top.mk 2 | include ../../make.mk 3 | 4 | INC += \ 5 | src \ 6 | $(TOP)/hw \ 7 | 8 | # Example source 9 | EXAMPLE_SOURCE += $(wildcard src/*.c) 10 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 11 | 12 | CFLAGS += -Wno-error=cast-align -Wno-error=null-dereference 13 | 14 | SRC_C += \ 15 | src/class/hid/hid_host.c \ 16 | src/host/hub.c \ 17 | src/host/usbh.c 18 | 19 | include ../../rules.mk 20 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/dual/host_hid_to_device_cdc/only.txt: -------------------------------------------------------------------------------- 1 | board:mimxrt1060_evk 2 | board:mimxrt1064_evk 3 | mcu:RP2040 4 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/host/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../hw/bsp/family_support.cmake) 4 | 5 | project(tinyusb_host_examples) 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(cdc_msc_hid) 10 | family_add_subdirectory(hid_controller) 11 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/host/bare_api/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake) 4 | 5 | # gets PROJECT name for the example 6 | family_get_project_name(PROJECT ${CMAKE_CURRENT_LIST_DIR}) 7 | 8 | project(${PROJECT}) 9 | 10 | # Checks this example is valid for the family and initializes the project 11 | family_initialize_project(${PROJECT} ${CMAKE_CURRENT_LIST_DIR}) 12 | 13 | add_executable(${PROJECT}) 14 | 15 | # Example source 16 | target_sources(${PROJECT} PUBLIC 17 | ${CMAKE_CURRENT_SOURCE_DIR}/src/main.c 18 | ) 19 | 20 | # Example include 21 | target_include_directories(${PROJECT} PUBLIC 22 | ${CMAKE_CURRENT_SOURCE_DIR}/src 23 | ) 24 | 25 | # Configure compilation flags and libraries for the example... see the corresponding function 26 | # in hw/bsp/FAMILY/family.cmake for details. 27 | family_configure_host_example(${PROJECT}) 28 | 29 | # For rp2040, un-comment to enable pico-pio-usb 30 | # family_add_pico_pio_usb(${PROJECT}) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/host/bare_api/Makefile: -------------------------------------------------------------------------------- 1 | include ../../../tools/top.mk 2 | include ../../make.mk 3 | 4 | INC += \ 5 | src \ 6 | $(TOP)/hw \ 7 | 8 | # Example source 9 | EXAMPLE_SOURCE += \ 10 | src/main.c 11 | 12 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 13 | 14 | # TODO: suppress warning caused by host stack 15 | CFLAGS += -Wno-error=cast-align -Wno-error=null-dereference 16 | 17 | # TinyUSB Host Stack source 18 | SRC_C += \ 19 | src/class/cdc/cdc_host.c \ 20 | src/class/hid/hid_host.c \ 21 | src/class/msc/msc_host.c \ 22 | src/host/hub.c \ 23 | src/host/usbh.c \ 24 | src/portable/ohci/ohci.c \ 25 | src/portable/nxp/lpc17_40/hcd_lpc17_40.c 26 | 27 | include ../../rules.mk 28 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/host/bare_api/only.txt: -------------------------------------------------------------------------------- 1 | mcu:LPC175X_6X 2 | mcu:LPC177X_8X 3 | mcu:LPC18XX 4 | mcu:LPC40XX 5 | mcu:LPC43XX 6 | mcu:MIMXRT10XX 7 | mcu:RP2040 8 | mcu:MSP432E4 9 | mcu:RX65X 10 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/host/cdc_msc_hid/Makefile: -------------------------------------------------------------------------------- 1 | include ../../../tools/top.mk 2 | include ../../make.mk 3 | 4 | INC += \ 5 | src \ 6 | $(TOP)/hw \ 7 | 8 | # Example source 9 | EXAMPLE_SOURCE += $(wildcard src/*.c) 10 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 11 | 12 | # TODO: suppress warning caused by host stack 13 | CFLAGS += -Wno-error=cast-align -Wno-error=null-dereference 14 | 15 | # TinyUSB Host Stack source 16 | SRC_C += \ 17 | src/class/cdc/cdc_host.c \ 18 | src/class/hid/hid_host.c \ 19 | src/class/msc/msc_host.c \ 20 | src/host/hub.c \ 21 | src/host/usbh.c \ 22 | src/portable/ohci/ohci.c \ 23 | src/portable/nxp/lpc17_40/hcd_lpc17_40.c 24 | 25 | include ../../rules.mk 26 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/host/cdc_msc_hid/only.txt: -------------------------------------------------------------------------------- 1 | mcu:LPC175X_6X 2 | mcu:LPC177X_8X 3 | mcu:LPC18XX 4 | mcu:LPC40XX 5 | mcu:LPC43XX 6 | mcu:MIMXRT10XX 7 | mcu:RP2040 8 | mcu:MSP432E4 9 | mcu:RX65X 10 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/host/hid_controller/Makefile: -------------------------------------------------------------------------------- 1 | include ../../../tools/top.mk 2 | include ../../make.mk 3 | 4 | INC += \ 5 | src \ 6 | $(TOP)/hw \ 7 | 8 | # Example source 9 | EXAMPLE_SOURCE += \ 10 | src/hid_app.c \ 11 | src/main.c 12 | 13 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) 14 | 15 | # TODO: suppress warning caused by host stack 16 | CFLAGS += -Wno-error=cast-align -Wno-error=null-dereference 17 | 18 | # TinyUSB Host Stack source 19 | SRC_C += \ 20 | src/class/cdc/cdc_host.c \ 21 | src/class/hid/hid_host.c \ 22 | src/class/msc/msc_host.c \ 23 | src/host/hub.c \ 24 | src/host/usbh.c \ 25 | src/portable/ohci/ohci.c \ 26 | src/portable/nxp/lpc17_40/hcd_lpc17_40.c 27 | 28 | include ../../rules.mk 29 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/examples/host/hid_controller/only.txt: -------------------------------------------------------------------------------- 1 | mcu:LPC175X_6X 2 | mcu:LPC177X_8X 3 | mcu:LPC18XX 4 | mcu:LPC40XX 5 | mcu:LPC43XX 6 | mcu:MIMXRT10XX 7 | mcu:RP2040 8 | mcu:MSP432E4 9 | mcu:RX65X 10 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/broadcom_32bit/boards/raspberrypi_zero_w/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -mcpu=arm1176jzf-s \ 2 | -DBCM_VERSION=2835 \ 3 | -DCFG_TUSB_MCU=OPT_MCU_BCM2835 4 | 5 | SUFFIX = 6 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/broadcom_64bit/boards/raspberrypi_cm4/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -mcpu=cortex-a72 \ 2 | -DBCM_VERSION=2711 \ 3 | -DCFG_TUSB_MCU=OPT_MCU_BCM2711 4 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/broadcom_64bit/boards/raspberrypi_zero2w/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -mcpu=cortex-a53 \ 2 | -DBCM_VERSION=2837 \ 3 | -DCFG_TUSB_MCU=OPT_MCU_BCM2837 4 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/da14695_dk_usb/product_header.dump: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robots/allwinner_t113/cd687978044fb5d74c0a08309f0005b8782e1e14/lib/tinyusb-ohci/hw/bsp/da14695_dk_usb/product_header.dump -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/da1469x_dk_pro/product_header.dump: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robots/allwinner_t113/cd687978044fb5d74c0a08309f0005b8782e1e14/lib/tinyusb-ohci/hw/bsp/da1469x_dk_pro/product_header.dump -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/esp32s2/boards/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS esp32s2.c 2 | INCLUDE_DIRS "." "${BOARD}" 3 | PRIV_REQUIRES "driver" 4 | REQUIRES freertos src led_strip) 5 | 6 | # Apply board specific content 7 | include("${BOARD}/board.cmake") 8 | 9 | target_include_directories(${COMPONENT_TARGET} PUBLIC 10 | "${TOP}/hw" 11 | "${TOP}/src" 12 | ) 13 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/esp32s2/boards/adafruit_feather_esp32s2/board.cmake: -------------------------------------------------------------------------------- 1 | # Apply board specific content here 2 | target_include_directories(${COMPONENT_LIB} PRIVATE .) 3 | 4 | idf_build_get_property(idf_target IDF_TARGET) 5 | 6 | message(STATUS "Apply ${BOARD}(${idf_target}) specific options for component: ${COMPONENT_TARGET}") 7 | 8 | if(NOT ${idf_target} STREQUAL "esp32s2") 9 | message(FATAL_ERROR "Incorrect target for board ${BOARD}: $ENV{IDF_TARGET}(${idf_target}), try to clean the build first." ) 10 | endif() 11 | 12 | set(IDF_TARGET "esp32s2" FORCE) 13 | 14 | target_compile_options(${COMPONENT_TARGET} PUBLIC 15 | "-DCFG_TUSB_MCU=OPT_MCU_ESP32S2" 16 | "-DCFG_TUSB_OS=OPT_OS_FREERTOS" 17 | ) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/esp32s2/boards/adafruit_magtag_29gray/board.cmake: -------------------------------------------------------------------------------- 1 | # Apply board specific content here 2 | target_include_directories(${COMPONENT_LIB} PRIVATE .) 3 | 4 | idf_build_get_property(idf_target IDF_TARGET) 5 | 6 | message(STATUS "Apply ${BOARD}(${idf_target}) specific options for component: ${COMPONENT_TARGET}") 7 | 8 | if(NOT ${idf_target} STREQUAL "esp32s2") 9 | message(FATAL_ERROR "Incorrect target for board ${BOARD}: $ENV{IDF_TARGET}(${idf_target}), try to clean the build first." ) 10 | endif() 11 | 12 | set(IDF_TARGET "esp32s2" FORCE) 13 | 14 | target_compile_options(${COMPONENT_TARGET} PUBLIC 15 | "-DCFG_TUSB_MCU=OPT_MCU_ESP32S2" 16 | "-DCFG_TUSB_OS=OPT_OS_FREERTOS" 17 | ) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/esp32s2/boards/adafruit_metro_esp32s2/board.cmake: -------------------------------------------------------------------------------- 1 | # Apply board specific content here 2 | target_include_directories(${COMPONENT_LIB} PRIVATE .) 3 | 4 | idf_build_get_property(idf_target IDF_TARGET) 5 | 6 | message(STATUS "Apply ${BOARD}(${idf_target}) specific options for component: ${COMPONENT_TARGET}") 7 | 8 | if(NOT ${idf_target} STREQUAL "esp32s2") 9 | message(FATAL_ERROR "Incorrect target for board ${BOARD}: (${idf_target}), try to clean the build first." ) 10 | endif() 11 | 12 | set(IDF_TARGET "esp32s2" FORCE) 13 | 14 | target_compile_options(${COMPONENT_TARGET} PUBLIC 15 | "-DCFG_TUSB_MCU=OPT_MCU_ESP32S2" 16 | "-DCFG_TUSB_OS=OPT_OS_FREERTOS" 17 | ) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/esp32s2/boards/espressif_kaluga_1/board.cmake: -------------------------------------------------------------------------------- 1 | # Apply board specific content here 2 | target_include_directories(${COMPONENT_LIB} PRIVATE .) 3 | 4 | idf_build_get_property(idf_target IDF_TARGET) 5 | 6 | message(STATUS "Apply ${BOARD}(${idf_target}) specific options for component: ${COMPONENT_TARGET}") 7 | 8 | if(NOT ${idf_target} STREQUAL "esp32s2") 9 | message(FATAL_ERROR "Incorrect target for board ${BOARD}: (${idf_target}), try to clean the build first." ) 10 | endif() 11 | 12 | set(IDF_TARGET "esp32s2" FORCE) 13 | 14 | target_compile_options(${COMPONENT_TARGET} PUBLIC 15 | "-DCFG_TUSB_MCU=OPT_MCU_ESP32S2" 16 | "-DCFG_TUSB_OS=OPT_OS_FREERTOS" 17 | ) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/esp32s2/boards/espressif_saola_1/board.cmake: -------------------------------------------------------------------------------- 1 | # Apply board specific content here 2 | target_include_directories(${COMPONENT_LIB} PRIVATE .) 3 | 4 | idf_build_get_property(idf_target IDF_TARGET) 5 | 6 | message(STATUS "Apply ${BOARD}(${idf_target}) specific options for component: ${COMPONENT_TARGET}") 7 | 8 | if(NOT ${idf_target} STREQUAL "esp32s2") 9 | message(FATAL_ERROR "Incorrect target for board ${BOARD}: (${idf_target}), try to clean the build first." ) 10 | endif() 11 | 12 | set(IDF_TARGET "esp32s2" FORCE) 13 | 14 | target_compile_options(${COMPONENT_TARGET} PUBLIC 15 | "-DCFG_TUSB_MCU=OPT_MCU_ESP32S2" 16 | "-DCFG_TUSB_OS=OPT_OS_FREERTOS" 17 | ) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/esp32s2/components/led_strip/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(component_srcs "src/led_strip_rmt_ws2812.c") 2 | 3 | idf_component_register(SRCS "${component_srcs}" 4 | INCLUDE_DIRS "include" 5 | PRIV_INCLUDE_DIRS "" 6 | PRIV_REQUIRES "driver" 7 | REQUIRES "") 8 | 9 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/esp32s2/family.cmake: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | # Add example src and bsp directories 4 | set(EXTRA_COMPONENT_DIRS "src" "${TOP}/hw/bsp/esp32s2/boards" "${TOP}/hw/bsp/esp32s2/components") 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | set(SUPPORTED_TARGETS esp32s2) 7 | set(FAMILY_MCUS ESP32S2) 8 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/esp32s2/family.mk: -------------------------------------------------------------------------------- 1 | #DEPS_SUBMODULES += 2 | 3 | .PHONY: all clean flash bootloader-flash app-flash erase monitor dfu-flash dfu 4 | 5 | all: 6 | idf.py -B$(BUILD) -DFAMILY=$(FAMILY) -DBOARD=$(BOARD) $(CMAKE_DEFSYM) -DIDF_TARGET=esp32s2 build 7 | 8 | build: all 9 | 10 | fullclean: 11 | if test -f sdkconfig; then $(RM) -f sdkconfig ; fi 12 | if test -d $(BUILD); then $(RM) -rf $(BUILD) ; fi 13 | idf.py -B$(BUILD) -DFAMILY=$(FAMILY) -DBOARD=$(BOARD) $(CMAKE_DEFSYM) $@ 14 | 15 | clean flash bootloader-flash app-flash erase monitor dfu-flash dfu size size-components size-files: 16 | idf.py -B$(BUILD) -DFAMILY=$(FAMILY) -DBOARD=$(BOARD) $(CMAKE_DEFSYM) $@ 17 | 18 | uf2: $(BUILD)/$(PROJECT).uf2 19 | 20 | UF2_FAMILY_ID = 0xbfdd4eee 21 | $(BUILD)/$(PROJECT).uf2: $(BUILD)/$(PROJECT).bin 22 | @echo CREATE $@ 23 | $(PYTHON) $(TOP)/tools/uf2/utils/uf2conv.py -f $(UF2_FAMILY_ID) -b 0x0 -c -o $@ $^ 24 | 25 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/esp32s3/boards/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS esp32s3.c 2 | INCLUDE_DIRS "." "${BOARD}" 3 | PRIV_REQUIRES "driver" 4 | REQUIRES freertos src led_strip) 5 | 6 | # Apply board specific content 7 | include("${BOARD}/board.cmake") 8 | 9 | idf_component_get_property( FREERTOS_ORIG_INCLUDE_PATH freertos ORIG_INCLUDE_PATH) 10 | target_include_directories(${COMPONENT_TARGET} PUBLIC 11 | "${FREERTOS_ORIG_INCLUDE_PATH}" 12 | "${TOP}/hw" 13 | "${TOP}/src" 14 | ) 15 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/esp32s3/boards/espressif_addax_1/board.cmake: -------------------------------------------------------------------------------- 1 | # Apply board specific content here 2 | target_include_directories(${COMPONENT_LIB} PRIVATE .) 3 | 4 | target_compile_options(${COMPONENT_TARGET} PUBLIC 5 | "-DCFG_TUSB_MCU=OPT_MCU_ESP32S3" 6 | "-DCFG_TUSB_OS=OPT_OS_FREERTOS" 7 | ) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/esp32s3/boards/espressif_s3_devkitc/board.cmake: -------------------------------------------------------------------------------- 1 | # Apply board specific content here 2 | target_include_directories(${COMPONENT_LIB} PRIVATE .) 3 | 4 | target_compile_options(${COMPONENT_TARGET} PUBLIC 5 | "-DCFG_TUSB_MCU=OPT_MCU_ESP32S3" 6 | "-DCFG_TUSB_OS=OPT_OS_FREERTOS" 7 | ) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/esp32s3/boards/espressif_s3_devkitm/board.cmake: -------------------------------------------------------------------------------- 1 | # Apply board specific content here 2 | target_include_directories(${COMPONENT_LIB} PRIVATE .) 3 | 4 | target_compile_options(${COMPONENT_TARGET} PUBLIC 5 | "-DCFG_TUSB_MCU=OPT_MCU_ESP32S3" 6 | "-DCFG_TUSB_OS=OPT_OS_FREERTOS" 7 | ) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/esp32s3/components/led_strip/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(component_srcs "src/led_strip_rmt_ws2812.c") 2 | 3 | idf_component_register(SRCS "${component_srcs}" 4 | INCLUDE_DIRS "include" 5 | PRIV_INCLUDE_DIRS "" 6 | PRIV_REQUIRES "driver" 7 | REQUIRES "") 8 | 9 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/esp32s3/family.cmake: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | # Add example src and bsp directories 4 | set(EXTRA_COMPONENT_DIRS "src" "${TOP}/hw/bsp/esp32s3/boards" "${TOP}/hw/bsp/esp32s3/components") 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | set(SUPPORTED_TARGETS esp32s3) 7 | set(FAMILY_MCUS ESP32S3) 8 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/esp32s3/family.mk: -------------------------------------------------------------------------------- 1 | #DEPS_SUBMODULES += 2 | 3 | .PHONY: all clean flash bootloader-flash app-flash erase monitor dfu-flash dfu 4 | 5 | all: 6 | idf.py -B$(BUILD) -DFAMILY=$(FAMILY) -DBOARD=$(BOARD) $(CMAKE_DEFSYM) -DIDF_TARGET=esp32s3 build 7 | 8 | build: all 9 | 10 | clean: 11 | idf.py -B$(BUILD) -DFAMILY=$(FAMILY) -DBOARD=$(BOARD) $(CMAKE_DEFSYM) clean 12 | 13 | fullclean: 14 | if test -f sdkconfig; then $(RM) -f sdkconfig ; fi 15 | if test -d $(BUILD); then $(RM) -rf $(BUILD) ; fi 16 | 17 | flash bootloader-flash app-flash erase monitor dfu-flash dfu: 18 | idf.py -B$(BUILD) -DFAMILY=$(FAMILY) -DBOARD=$(BOARD) $(CMAKE_DEFSYM) $@ 19 | 20 | uf2: $(BUILD)/$(PROJECT).uf2 21 | 22 | UF2_FAMILY_ID = 0xc47e5767 23 | $(BUILD)/$(PROJECT).uf2: $(BUILD)/$(PROJECT).bin 24 | @echo CREATE $@ 25 | $(PYTHON) $(TOP)/tools/uf2/utils/uf2conv.py -f $(UF2_FAMILY_ID) -b 0x0 -c -o $@ $^ 26 | 27 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/f1c100s/board.h: -------------------------------------------------------------------------------- 1 | // Nothing valuable here -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/fomu/boards/fomu/board.mk: -------------------------------------------------------------------------------- 1 | # place holder -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/fomu/family.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += \ 2 | -flto \ 3 | -march=rv32i \ 4 | -mabi=ilp32 \ 5 | -nostdlib \ 6 | -DCFG_TUSB_MCU=OPT_MCU_VALENTYUSB_EPTRI 7 | 8 | # Toolchain from https://github.com/xpack-dev-tools/riscv-none-embed-gcc-xpack 9 | CROSS_COMPILE = riscv-none-embed- 10 | 11 | # All source paths should be relative to the top level. 12 | LD_FILE = $(FAMILY_PATH)/fomu.ld 13 | 14 | SRC_C += src/portable/valentyusb/eptri/dcd_eptri.c 15 | 16 | SRC_S += $(FAMILY_PATH)/crt0-vexriscv.S 17 | 18 | INC += \ 19 | $(TOP)/$(FAMILY_PATH)/include 20 | 21 | # For freeRTOS port source 22 | FREERTOS_PORT = RISC-V 23 | 24 | # flash using dfu-util 25 | $(BUILD)/$(PROJECT).dfu: $(BUILD)/$(PROJECT).bin 26 | @echo "Create $@" 27 | python $(TOP)/hw/bsp/$(BOARD)/dfu.py -b $^ -D 0x1209:0x5bf0 $@ 28 | 29 | flash: $(BUILD)/$(PROJECT).dfu 30 | dfu-util -D $^ 31 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/fomu/include/hw/common.h: -------------------------------------------------------------------------------- 1 | #ifndef _HW_COMMON_H_ 2 | #define _HW_COMMON_H_ 3 | #include 4 | static inline void csr_writeb(uint8_t value, uint32_t addr) 5 | { 6 | *((volatile uint8_t *)addr) = value; 7 | } 8 | 9 | static inline uint8_t csr_readb(uint32_t addr) 10 | { 11 | return *(volatile uint8_t *)addr; 12 | } 13 | 14 | static inline void csr_writew(uint16_t value, uint32_t addr) 15 | { 16 | *((volatile uint16_t *)addr) = value; 17 | } 18 | 19 | static inline uint16_t csr_readw(uint32_t addr) 20 | { 21 | return *(volatile uint16_t *)addr; 22 | } 23 | 24 | static inline void csr_writel(uint32_t value, uint32_t addr) 25 | { 26 | *((volatile uint32_t *)addr) = value; 27 | } 28 | 29 | static inline uint32_t csr_readl(uint32_t addr) 30 | { 31 | return *(volatile uint32_t *)addr; 32 | } 33 | #endif /* _HW_COMMON_H_ */ -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/fomu/output_format.ld: -------------------------------------------------------------------------------- 1 | OUTPUT_FORMAT("elf32-littleriscv") 2 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/gd32vf103/boards/sipeed_longan_nano/board.h: -------------------------------------------------------------------------------- 1 | #ifndef _NUCLEI_SDK_HAL_H 2 | #define _NUCLEI_SDK_HAL_H 3 | 4 | #include "gd32vf103c_longan_nano.h" 5 | 6 | // 4 bits for interrupt level, 0 for priority. 7 | // level 0 = lowest priority, level 15 = highest priority. 8 | #define __ECLIC_INTCTLBITS 4 9 | 10 | #define __SYSTEM_CLOCK 72000000 11 | #define HXTAL_VALUE ((uint32_t)8000000) 12 | 13 | #define SOC_DEBUG_UART GD32_COM0 14 | 15 | #define DBG_KEY_UNLOCK 0x4B5A6978 16 | #define DBG_CMD_RESET 0x1 17 | #define DBG_KEY REG32(DBG + 0x0C) 18 | #define DBG_CMD REG32(DBG + 0x08) 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/gd32vf103/boards/sipeed_longan_nano/board.mk: -------------------------------------------------------------------------------- 1 | LONGAN_NANO_SDK_BSP = $(GD32VF103_SDK_SOC)/Board/gd32vf103c_longan_nano 2 | LINKER_SCRIPTS = $(LONGAN_NANO_SDK_BSP)/Source/GCC 3 | 4 | # All source paths should be relative to the top level. 5 | LD_FILE = $(LINKER_SCRIPTS)/gcc_gd32vf103xb_flashxip.ld # Longan Nano 128k ROM 32k RAM 6 | #LD_FILE = $(LINKER_SCRIPTS)/gcc_gd32vf103x8_flashxip.ld # Longan Nano Lite 64k ROM 20k RAM 7 | 8 | SRC_C += $(LONGAN_NANO_SDK_BSP)/Source/gd32vf103c_longan_nano.c 9 | INC += $(TOP)/$(LONGAN_NANO_SDK_BSP)/Include 10 | 11 | # Longan Nano 128k ROM 32k RAM 12 | JLINK_DEVICE = gd32vf103cbt6 13 | #JLINK_DEVICE = gd32vf103c8t6 # Longan Nano Lite 64k ROM 20k RAM 14 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 = MIMXRT1011DAE5A 6 | 7 | # For flash-pyocd target 8 | PYOCD_TARGET = mimxrt1010 9 | 10 | # flash using pyocd 11 | flash: flash-pyocd 12 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 = MIMXRT1021DAG5A 6 | 7 | # For flash-pyocd target 8 | PYOCD_TARGET = mimxrt1020 9 | 10 | # flash using pyocd 11 | flash: flash-pyocd 12 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/imxrt/boards/mimxrt1050_evkb/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DCPU_MIMXRT1052DVL6B 2 | MCU_VARIANT = MIMXRT1052 3 | 4 | # For flash-pyocd target 5 | PYOCD_TARGET = mimxrt1050 6 | 7 | # flash using pyocd 8 | flash: flash-pyocd 9 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 = 1 11 | BOARD_TUH_RHPORT = 0 12 | 13 | # flash using pyocd 14 | flash: flash-pyocd 15 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 = 1 11 | BOARD_TUH_RHPORT = 0 12 | 13 | # flash using pyocd 14 | flash: flash-pyocd 15 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/lpc18/family.mk: -------------------------------------------------------------------------------- 1 | DEPS_SUBMODULES += hw/mcu/nxp/lpcopen 2 | 3 | include $(TOP)/$(BOARD_PATH)/board.mk 4 | 5 | CFLAGS += \ 6 | -flto \ 7 | -mthumb \ 8 | -mabi=aapcs \ 9 | -mcpu=cortex-m3 \ 10 | -nostdlib \ 11 | -DCORE_M3 \ 12 | -D__USE_LPCOPEN \ 13 | -DCFG_TUSB_MCU=OPT_MCU_LPC18XX 14 | 15 | # mcu driver cause following warnings 16 | CFLAGS += -Wno-error=unused-parameter -Wno-error=strict-prototypes -Wno-error=cast-qual 17 | 18 | MCU_DIR = hw/mcu/nxp/lpcopen/lpc18xx/lpc_chip_18xx 19 | 20 | SRC_C += \ 21 | src/portable/chipidea/ci_hs/dcd_ci_hs.c \ 22 | src/portable/chipidea/ci_hs/hcd_ci_hs.c \ 23 | src/portable/ehci/ehci.c \ 24 | $(MCU_DIR)/../gcc/cr_startup_lpc18xx.c \ 25 | $(MCU_DIR)/src/chip_18xx_43xx.c \ 26 | $(MCU_DIR)/src/clock_18xx_43xx.c \ 27 | $(MCU_DIR)/src/gpio_18xx_43xx.c \ 28 | $(MCU_DIR)/src/sysinit_18xx_43xx.c \ 29 | $(MCU_DIR)/src/uart_18xx_43xx.c 30 | 31 | INC += \ 32 | $(TOP)/$(BOARD_PATH) \ 33 | $(TOP)/$(MCU_DIR)/inc \ 34 | $(TOP)/$(MCU_DIR)/inc/config_18xx 35 | 36 | # For freeRTOS port source 37 | FREERTOS_PORT = ARM_CM3 38 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/lpc54/boards/lpcxpresso54628/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = LPC54628 2 | MCU_CORE = LPC54628 3 | 4 | PORT ?= 0 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 -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/mm32/boards/mm32f327x_mb39/board.mk: -------------------------------------------------------------------------------- 1 | LD_FILE = $(BOARD_PATH)/flash.ld 2 | SRC_S += $(SDK_DIR)/mm32f327x/MM32F327x/Source/GCC_StartAsm/startup_mm32m3ux_u_gcc.S 3 | 4 | # For flash-jlink target 5 | #JLINK_DEVICE = stm32f411ve 6 | 7 | # flash target using on-board stlink 8 | #flash: flash-jlink 9 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/nrf/boards/adafruit_clue/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = nrf52840 2 | CFLAGS += -DNRF52840_XXAA 3 | 4 | $(BUILD)/$(PROJECT).zip: $(BUILD)/$(PROJECT).hex 5 | adafruit-nrfutil dfu genpkg --dev-type 0x0052 --sd-req 0xFFFE --application $^ $@ 6 | 7 | # flash using adafruit-nrfutil dfu 8 | flash: $(BUILD)/$(PROJECT).zip 9 | @:$(call check_defined, SERIAL, example: SERIAL=/dev/ttyACM0) 10 | adafruit-nrfutil --verbose dfu serial --package $^ -p $(SERIAL) -b 115200 --singlebank --touch 1200 11 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/nrf/boards/adafruit_clue/nrf52840_s140_v6.ld: -------------------------------------------------------------------------------- 1 | /* Linker script to configure memory regions. */ 2 | 3 | SEARCH_DIR(.) 4 | GROUP(-lgcc -lc -lnosys) 5 | 6 | MEMORY 7 | { 8 | FLASH (rx) : ORIGIN = 0x26000, LENGTH = 0xED000 - 0x26000 9 | 10 | /* SRAM required by S132 depend on 11 | * - Attribute Table Size 12 | * - Vendor UUID count 13 | * - Max ATT MTU 14 | * - Concurrent connection peripheral + central + secure links 15 | * - Event Len, HVN queue, Write CMD queue 16 | */ 17 | RAM (rwx) : ORIGIN = 0x20003400, LENGTH = 0x20040000 - 0x20003400 18 | } 19 | 20 | SECTIONS 21 | { 22 | . = ALIGN(4); 23 | .svc_data : 24 | { 25 | PROVIDE(__start_svc_data = .); 26 | KEEP(*(.svc_data)) 27 | PROVIDE(__stop_svc_data = .); 28 | } > RAM 29 | 30 | .fs_data : 31 | { 32 | PROVIDE(__start_fs_data = .); 33 | KEEP(*(.fs_data)) 34 | PROVIDE(__stop_fs_data = .); 35 | } > RAM 36 | } INSERT AFTER .data; 37 | 38 | INCLUDE "nrf52_common.ld" 39 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/nrf/boards/arduino_nano33_ble/arduino_nano33_ble.ld: -------------------------------------------------------------------------------- 1 | /* Linker script to configure memory regions. */ 2 | 3 | SEARCH_DIR(.) 4 | GROUP(-lgcc -lc -lnosys) 5 | 6 | MEMORY 7 | { 8 | FLASH (rx) : ORIGIN = 0x10000, LENGTH = 0xf0000 9 | RAM_NVIC (rwx) : ORIGIN = 0x20000000, LENGTH = 0x100 10 | RAM_CRASH_DATA (rwx) : ORIGIN = (0x20000000 + 0x100), LENGTH = 0x100 11 | RAM (rwx) : ORIGIN = ((0x20000000 + 0x100) + 0x100), LENGTH = (0x40000 - (0x100 + 0x100)) 12 | } 13 | 14 | SECTIONS 15 | { 16 | . = ALIGN(4); 17 | .svc_data : 18 | { 19 | PROVIDE(__start_svc_data = .); 20 | KEEP(*(.svc_data)) 21 | PROVIDE(__stop_svc_data = .); 22 | } > RAM 23 | 24 | .fs_data : 25 | { 26 | PROVIDE(__start_fs_data = .); 27 | KEEP(*(.fs_data)) 28 | PROVIDE(__stop_fs_data = .); 29 | } > RAM 30 | } INSERT AFTER .data; 31 | 32 | INCLUDE "nrf52_common.ld" 33 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/nrf/boards/circuitplayground_bluefruit/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = nrf52840 2 | CFLAGS += -DNRF52840_XXAA 3 | 4 | $(BUILD)/$(PROJECT).zip: $(BUILD)/$(PROJECT).hex 5 | adafruit-nrfutil dfu genpkg --dev-type 0x0052 --sd-req 0xFFFE --application $^ $@ 6 | 7 | # flash using adafruit-nrfutil dfu 8 | flash: $(BUILD)/$(PROJECT).zip 9 | @:$(call check_defined, SERIAL, example: SERIAL=/dev/ttyACM0) 10 | adafruit-nrfutil --verbose dfu serial --package $^ -p $(SERIAL) -b 115200 --singlebank --touch 1200 11 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/nrf/boards/circuitplayground_bluefruit/nrf52840_s140_v6.ld: -------------------------------------------------------------------------------- 1 | /* Linker script to configure memory regions. */ 2 | 3 | SEARCH_DIR(.) 4 | GROUP(-lgcc -lc -lnosys) 5 | 6 | MEMORY 7 | { 8 | FLASH (rx) : ORIGIN = 0x26000, LENGTH = 0xED000 - 0x26000 9 | 10 | /* SRAM required by S132 depend on 11 | * - Attribute Table Size 12 | * - Vendor UUID count 13 | * - Max ATT MTU 14 | * - Concurrent connection peripheral + central + secure links 15 | * - Event Len, HVN queue, Write CMD queue 16 | */ 17 | RAM (rwx) : ORIGIN = 0x20003400, LENGTH = 0x20040000 - 0x20003400 18 | } 19 | 20 | SECTIONS 21 | { 22 | . = ALIGN(4); 23 | .svc_data : 24 | { 25 | PROVIDE(__start_svc_data = .); 26 | KEEP(*(.svc_data)) 27 | PROVIDE(__stop_svc_data = .); 28 | } > RAM 29 | 30 | .fs_data : 31 | { 32 | PROVIDE(__start_fs_data = .); 33 | KEEP(*(.fs_data)) 34 | PROVIDE(__stop_fs_data = .); 35 | } > RAM 36 | } INSERT AFTER .data; 37 | 38 | INCLUDE "nrf52_common.ld" 39 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/nrf/boards/feather_nrf52840_express/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = nrf52840 2 | CFLAGS += -DNRF52840_XXAA 3 | 4 | $(BUILD)/$(PROJECT).zip: $(BUILD)/$(PROJECT).hex 5 | adafruit-nrfutil dfu genpkg --dev-type 0x0052 --sd-req 0xFFFE --application $^ $@ 6 | 7 | # flash using adafruit-nrfutil dfu 8 | flash: $(BUILD)/$(PROJECT).zip 9 | @:$(call check_defined, SERIAL, example: SERIAL=/dev/ttyACM0) 10 | adafruit-nrfutil --verbose dfu serial --package $^ -p $(SERIAL) -b 115200 --singlebank --touch 1200 11 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/nrf/boards/feather_nrf52840_express/nrf52840_s140_v6.ld: -------------------------------------------------------------------------------- 1 | /* Linker script to configure memory regions. */ 2 | 3 | SEARCH_DIR(.) 4 | GROUP(-lgcc -lc -lnosys) 5 | 6 | MEMORY 7 | { 8 | FLASH (rx) : ORIGIN = 0x26000, LENGTH = 0xED000 - 0x26000 9 | 10 | /* SRAM required by S132 depend on 11 | * - Attribute Table Size 12 | * - Vendor UUID count 13 | * - Max ATT MTU 14 | * - Concurrent connection peripheral + central + secure links 15 | * - Event Len, HVN queue, Write CMD queue 16 | */ 17 | RAM (rwx) : ORIGIN = 0x20003400, LENGTH = 0x20040000 - 0x20003400 18 | } 19 | 20 | SECTIONS 21 | { 22 | . = ALIGN(4); 23 | .svc_data : 24 | { 25 | PROVIDE(__start_svc_data = .); 26 | KEEP(*(.svc_data)) 27 | PROVIDE(__stop_svc_data = .); 28 | } > RAM 29 | 30 | .fs_data : 31 | { 32 | PROVIDE(__start_fs_data = .); 33 | KEEP(*(.fs_data)) 34 | PROVIDE(__stop_fs_data = .); 35 | } > RAM 36 | } INSERT AFTER .data; 37 | 38 | INCLUDE "nrf52_common.ld" 39 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/nrf/boards/feather_nrf52840_sense/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = nrf52840 2 | CFLAGS += -DNRF52840_XXAA 3 | 4 | $(BUILD)/$(PROJECT).zip: $(BUILD)/$(PROJECT).hex 5 | adafruit-nrfutil dfu genpkg --dev-type 0x0052 --sd-req 0xFFFE --application $^ $@ 6 | 7 | # flash using adafruit-nrfutil dfu 8 | flash: $(BUILD)/$(PROJECT).zip 9 | @:$(call check_defined, SERIAL, example: SERIAL=/dev/ttyACM0) 10 | adafruit-nrfutil --verbose dfu serial --package $^ -p $(SERIAL) -b 115200 --singlebank --touch 1200 11 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/nrf/boards/feather_nrf52840_sense/nrf52840_s140_v6.ld: -------------------------------------------------------------------------------- 1 | /* Linker script to configure memory regions. */ 2 | 3 | SEARCH_DIR(.) 4 | GROUP(-lgcc -lc -lnosys) 5 | 6 | MEMORY 7 | { 8 | FLASH (rx) : ORIGIN = 0x26000, LENGTH = 0xED000 - 0x26000 9 | 10 | /* SRAM required by S132 depend on 11 | * - Attribute Table Size 12 | * - Vendor UUID count 13 | * - Max ATT MTU 14 | * - Concurrent connection peripheral + central + secure links 15 | * - Event Len, HVN queue, Write CMD queue 16 | */ 17 | RAM (rwx) : ORIGIN = 0x20003400, LENGTH = 0x20040000 - 0x20003400 18 | } 19 | 20 | SECTIONS 21 | { 22 | . = ALIGN(4); 23 | .svc_data : 24 | { 25 | PROVIDE(__start_svc_data = .); 26 | KEEP(*(.svc_data)) 27 | PROVIDE(__stop_svc_data = .); 28 | } > RAM 29 | 30 | .fs_data : 31 | { 32 | PROVIDE(__start_fs_data = .); 33 | KEEP(*(.fs_data)) 34 | PROVIDE(__stop_fs_data = .); 35 | } > RAM 36 | } INSERT AFTER .data; 37 | 38 | INCLUDE "nrf52_common.ld" 39 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/nrf/boards/itsybitsy_nrf52840/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = nrf52840 2 | CFLAGS += -DNRF52840_XXAA 3 | 4 | $(BUILD)/$(PROJECT).zip: $(BUILD)/$(PROJECT).hex 5 | adafruit-nrfutil dfu genpkg --dev-type 0x0052 --sd-req 0xFFFE --application $^ $@ 6 | 7 | # flash using adafruit-nrfutil dfu 8 | flash: $(BUILD)/$(PROJECT).zip 9 | @:$(call check_defined, SERIAL, example: SERIAL=/dev/ttyACM0) 10 | adafruit-nrfutil --verbose dfu serial --package $^ -p $(SERIAL) -b 115200 --singlebank --touch 1200 11 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/nrf/boards/itsybitsy_nrf52840/nrf52840_s140_v6.ld: -------------------------------------------------------------------------------- 1 | /* Linker script to configure memory regions. */ 2 | 3 | SEARCH_DIR(.) 4 | GROUP(-lgcc -lc -lnosys) 5 | 6 | MEMORY 7 | { 8 | FLASH (rx) : ORIGIN = 0x26000, LENGTH = 0xED000 - 0x26000 9 | 10 | /* SRAM required by S132 depend on 11 | * - Attribute Table Size 12 | * - Vendor UUID count 13 | * - Max ATT MTU 14 | * - Concurrent connection peripheral + central + secure links 15 | * - Event Len, HVN queue, Write CMD queue 16 | */ 17 | RAM (rwx) : ORIGIN = 0x20003400, LENGTH = 0x20040000 - 0x20003400 18 | } 19 | 20 | SECTIONS 21 | { 22 | . = ALIGN(4); 23 | .svc_data : 24 | { 25 | PROVIDE(__start_svc_data = .); 26 | KEEP(*(.svc_data)) 27 | PROVIDE(__stop_svc_data = .); 28 | } > RAM 29 | 30 | .fs_data : 31 | { 32 | PROVIDE(__start_fs_data = .); 33 | KEEP(*(.fs_data)) 34 | PROVIDE(__stop_fs_data = .); 35 | } > RAM 36 | } INSERT AFTER .data; 37 | 38 | INCLUDE "nrf52_common.ld" 39 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/nrf/boards/nrf52840_mdk_dongle/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = nrf52840 2 | CFLAGS += -DNRF52840_XXAA 3 | 4 | LD_FILE = $(BOARD_PATH)/$(BOARD).ld 5 | 6 | # flash using Nordic nrfutil (pip3 install nrfutil) 7 | # make BOARD=nrf52840_mdk_dongle SERIAL=/dev/ttyACM0 all flash 8 | NRFUTIL = nrfutil 9 | 10 | $(BUILD)/$(PROJECT).zip: $(BUILD)/$(PROJECT).hex 11 | $(NRFUTIL) pkg generate --hw-version 52 --sd-req 0x0000 --debug-mode --application $^ $@ 12 | 13 | flash: $(BUILD)/$(PROJECT).zip 14 | @:$(call check_defined, SERIAL, example: SERIAL=/dev/ttyACM0) 15 | $(NRFUTIL) dfu usb-serial --package $^ -p $(SERIAL) -b 115200 -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/nrf/boards/nrf52840_mdk_dongle/nrf52840_mdk_dongle.ld: -------------------------------------------------------------------------------- 1 | /* Linker script to configure memory regions. */ 2 | 3 | SEARCH_DIR(.) 4 | GROUP(-lgcc -lc -lnosys) 5 | 6 | MEMORY 7 | { 8 | FLASH (rx) : ORIGIN = 0x1000, LENGTH = 0xE0000-0x1000 9 | RAM (rwx) : ORIGIN = 0x20000008, LENGTH = 0x3fff8 10 | } 11 | 12 | 13 | INCLUDE "nrf_common.ld" 14 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/nrf/boards/pca10059/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = nrf52840 2 | CFLAGS += -DNRF52840_XXAA 3 | 4 | LD_FILE = $(BOARD_PATH)/$(BOARD).ld 5 | 6 | # flash using Nordic nrfutil (pip2 install nrfutil) 7 | # make BOARD=pca10059 SERIAL=/dev/ttyACM0 all flash 8 | NRFUTIL = nrfutil 9 | 10 | $(BUILD)/$(PROJECT).zip: $(BUILD)/$(PROJECT).hex 11 | $(NRFUTIL) pkg generate --hw-version 52 --sd-req 0x0000 --debug-mode --application $^ $@ 12 | 13 | flash: $(BUILD)/$(PROJECT).zip 14 | @:$(call check_defined, SERIAL, example: SERIAL=/dev/ttyACM0) 15 | $(NRFUTIL) dfu usb-serial --package $^ -p $(SERIAL) -b 115200 16 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/nrf/boards/pca10059/pca10059.ld: -------------------------------------------------------------------------------- 1 | /* Linker script to configure memory regions. */ 2 | 3 | SEARCH_DIR(.) 4 | GROUP(-lgcc -lc -lnosys) 5 | 6 | MEMORY 7 | { 8 | FLASH (rx) : ORIGIN = 0x1000, LENGTH = 0xff000 9 | RAM (rwx) : ORIGIN = 0x20000008, LENGTH = 0x3fff8 10 | } 11 | 12 | 13 | INCLUDE "nrf_common.ld" 14 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/nrf/boards/raytac_mdbt50q_rx/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/pic32mz/boards/olimex_emz64/board.mk: -------------------------------------------------------------------------------- 1 | JLINK_DEVICE=PIC32MZ2048EFH064 2 | JLINK_IF=ICSP 3 | 4 | CFLAGS += \ 5 | -mprocessor=32MZ2048EFH064 \ 6 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/pic32mz/boards/olimex_hmz144/board.mk: -------------------------------------------------------------------------------- 1 | JLINK_DEVICE=PIC32MZ2048EFM144 2 | JLINK_IF=ICSP 3 | 4 | CFLAGS += \ 5 | -mprocessor=32MZ2048EFM144 \ 6 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/rp2040/boards/adafruit_feather_rp2040/board.cmake: -------------------------------------------------------------------------------- 1 | set(PICO_BOARD adafruit_feather_rp2040) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/rp2040/boards/adafruit_itsybitsy_rp2040/board.cmake: -------------------------------------------------------------------------------- 1 | set(PICO_BOARD adafruit_itsybitsy_rp2040) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/rp2040/boards/adafruit_qtpy_rp2040/board.cmake: -------------------------------------------------------------------------------- 1 | set(PICO_BOARD adafruit_qtpy_rp2040) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/rp2040/boards/raspberry_pi_pico/board.cmake: -------------------------------------------------------------------------------- 1 | set(PICO_BOARD pico) -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/rp2040/family.mk: -------------------------------------------------------------------------------- 1 | JLINK_DEVICE = rp2040_m0_0 2 | PYOCD_TARGET = rp2040 3 | 4 | ifeq ($(DEBUG), 1) 5 | CMAKE_DEFSYM += -DCMAKE_BUILD_TYPE=Debug 6 | endif 7 | 8 | $(BUILD): 9 | cmake -S . -B $(BUILD) -DFAMILY=$(FAMILY) -DBOARD=$(BOARD) -DPICO_BUILD_DOCS=0 $(CMAKE_DEFSYM) 10 | 11 | all: $(BUILD) 12 | $(MAKE) -C $(BUILD) 13 | 14 | clean: 15 | $(RM) -rf $(BUILD) 16 | 17 | flash: flash-pyocd 18 | flash-uf2: 19 | @$(CP) $(BUILD)/$(PROJECT).uf2 /media/$(USER)/RPI-RP2 20 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/rx/boards/gr_citrus/board.mk: -------------------------------------------------------------------------------- 1 | DEPS_SUBMODULES += hw/mcu/renesas/rx 2 | 3 | CFLAGS += \ 4 | -mcpu=rx610 \ 5 | -misa=v1 \ 6 | -DCFG_TUSB_MCU=OPT_MCU_RX63X 7 | 8 | MCU_DIR = hw/mcu/renesas/rx/rx63n 9 | 10 | # All source paths should be relative to the top level. 11 | LD_FILE = $(BOARD_PATH)/r5f5631fd.ld 12 | 13 | # For freeRTOS port source 14 | FREERTOS_PORT = RX600 15 | 16 | # For flash-jlink target 17 | JLINK_DEVICE = R5F5631F 18 | JLINK_IF = JTAG 19 | 20 | # For flash-pyocd target 21 | PYOCD_TARGET = 22 | 23 | # flash using jlink 24 | flash: flash-jlink 25 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/rx/boards/rx65n_target/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += \ 2 | -mcpu=rx64m \ 3 | -misa=v2 \ 4 | -DCFG_TUSB_MCU=OPT_MCU_RX65X \ 5 | -DIR_USB0_USBI0=IR_PERIB_INTB185 \ 6 | -DIER_USB0_USBI0=IER_PERIB_INTB185 \ 7 | -DIEN_USB0_USBI0=IEN_PERIB_INTB185 8 | 9 | MCU_DIR = hw/mcu/renesas/rx/rx65n 10 | 11 | # All source paths should be relative to the top level. 12 | LD_FILE = $(BOARD_PATH)/r5f565ne.ld 13 | 14 | # For freeRTOS port source 15 | FREERTOS_PORT = RX600 16 | 17 | # For flash-jlink target 18 | JLINK_DEVICE = R5F565NE 19 | JLINK_IF = JTAG 20 | 21 | # For flash-pyocd target 22 | PYOCD_TARGET = 23 | 24 | # flash using rfp-cli 25 | flash: flash-rfp 26 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/rx/family.mk: -------------------------------------------------------------------------------- 1 | DEPS_SUBMODULES += hw/mcu/renesas/rx 2 | 3 | # Cross Compiler for RX 4 | CROSS_COMPILE = rx-elf- 5 | 6 | include $(TOP)/$(BOARD_PATH)/board.mk 7 | 8 | CFLAGS += \ 9 | -nostartfiles \ 10 | -ffunction-sections \ 11 | -fdata-sections \ 12 | -fshort-enums \ 13 | -mlittle-endian-data \ 14 | -DSSIZE_MAX=__INT_MAX__ 15 | 16 | SRC_C += \ 17 | src/portable/renesas/usba/dcd_usba.c \ 18 | src/portable/renesas/usba/hcd_usba.c \ 19 | $(MCU_DIR)/vects.c 20 | 21 | INC += \ 22 | $(TOP)/$(BOARD_PATH) \ 23 | $(TOP)/$(MCU_DIR) 24 | 25 | SRC_S += $(MCU_DIR)/start.S 26 | 27 | $(BUILD)/$(PROJECT).mot: $(BUILD)/$(PROJECT).elf 28 | @echo CREATE $@ 29 | $(OBJCOPY) -O srec -I elf32-rx-be-ns $^ $@ 30 | 31 | # flash using rfp-cli 32 | flash-rfp: $(BUILD)/$(PROJECT).mot 33 | rfp-cli -device rx65x -tool e2l -if fine -fo id FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF -auth id FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF -auto $^ 34 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/samd11/boards/luna_d11/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 dfu-util 10 | flash: $(BUILD)/$(PROJECT).bin 11 | dfu-util -a 0 -d 1d50:615c -D $< || dfu-util -a 0 -d 16d0:05a5 -D $< 12 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/samd21/boards/luna_d21/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -D__SAMD21G18A__ -DCFG_EXAMPLE_VIDEO_READONLY 2 | 3 | LD_FILE = $(BOARD_PATH)/samd21g18a_flash.ld 4 | 5 | # For flash-jlink target 6 | JLINK_DEVICE = ATSAMD21G18 7 | 8 | # flash using dfu-util 9 | flash: $(BUILD)/$(PROJECT).bin 10 | dfu-util -a 0 -d 1d50:615c -D $< || dfu-util -a 0 -d 16d0:05a5 -D $< 11 | 12 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | 6 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/samd51/boards/feather_m4_express/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -D__SAMD51J19A__ 2 | 3 | LD_FILE = $(BOARD_PATH)/$(BOARD).ld 4 | 5 | # For flash-jlink target 6 | JLINK_DEVICE = ATSAMD51J19 7 | 8 | flash: flash-bossac 9 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/samd51/boards/itsybitsy_m4/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -D__SAMD51J19A__ 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 = ATSAMD51J19 8 | 9 | flash: flash-bossac 10 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/samd51/boards/metro_m4_express/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -D__SAMD51J19A__ 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 = ATSAMD51J19 8 | 9 | flash: flash-bossac 10 | 11 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/samd51/boards/pybadge/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -D__SAMD51J19A__ 2 | 3 | LD_FILE = $(BOARD_PATH)/$(BOARD).ld 4 | 5 | # For flash-jlink target 6 | JLINK_DEVICE = ATSAMD51J19 7 | 8 | flash: flash-bossac 9 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/samd51/boards/pyportal/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -D__SAMD51J19A__ 2 | 3 | LD_FILE = $(BOARD_PATH)/$(BOARD).ld 4 | 5 | # For flash-jlink target 6 | JLINK_DEVICE = ATSAMD51J19 7 | 8 | flash: flash-bossac 9 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/saml2x/boards/atsaml21_xpro/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -D__SAML21J18B__ -DCFG_EXAMPLE_VIDEO_READONLY 2 | 3 | SAML_VARIANT = saml21 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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/saml2x/boards/saml22_feather/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -D__SAML22J18A__ -DCFG_EXAMPLE_VIDEO_READONLY 2 | 3 | SAML_VARIANT = saml22 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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/saml2x/boards/sensorwatch_m0/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -D__SAML22J18A__ -DCFG_EXAMPLE_VIDEO_READONLY 2 | 3 | SAML_VARIANT = saml22 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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32f0/boards/stm32f070rbnucleo/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DSTM32F070xB -DCFG_EXAMPLE_VIDEO_READONLY 2 | 3 | LD_FILE = $(BOARD_PATH)/stm32F070rbtx_flash.ld 4 | 5 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f070xb.s 6 | 7 | # For flash-jlink target 8 | JLINK_DEVICE = stm32f070rb 9 | 10 | # flash target using on-board stlink 11 | flash: flash-stlink 12 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32f0/boards/stm32f072disco/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DSTM32F072xB -DCFG_EXAMPLE_VIDEO_READONLY 2 | 3 | LD_FILE = $(BOARD_PATH)/STM32F072RBTx_FLASH.ld 4 | 5 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f072xb.s 6 | 7 | # For flash-jlink target 8 | JLINK_DEVICE = stm32f072rb 9 | 10 | # flash target using on-board stlink 11 | flash: flash-stlink 12 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32f0/boards/stm32f072eval/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DSTM32F072xB -DLSI_VALUE=40000 -DCFG_EXAMPLE_VIDEO_READONLY 2 | 3 | LD_FILE = $(BOARD_PATH)/STM32F072VBTx_FLASH.ld 4 | 5 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f072xb.s 6 | 7 | # For flash-jlink target 8 | JLINK_DEVICE = stm32f072vb 9 | 10 | # flash target using on-board stlink 11 | flash: flash-stlink 12 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32f1/boards/stm32f103_bluepill/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DSTM32F103xB -DHSE_VALUE=8000000U -DCFG_EXAMPLE_VIDEO_READONLY 2 | 3 | # All source paths should be relative to the top level. 4 | LD_FILE = $(BOARD_PATH)/STM32F103X8_FLASH.ld 5 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f103xb.s 6 | 7 | # For flash-jlink target 8 | JLINK_DEVICE = stm32f103c8 9 | 10 | # flash target ROM bootloader 11 | flash: flash-dfu-util 12 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32f1/boards/stm32f103_mini_2/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DSTM32F103xB -DHSE_VALUE=8000000U 2 | 3 | # All source paths should be relative to the top level. 4 | LD_FILE = $(BOARD_PATH)/STM32F103XC_FLASH.ld 5 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f103xb.s 6 | 7 | # For flash-jlink target 8 | JLINK_DEVICE = stm32f103rc 9 | 10 | # flash target ROM bootloader 11 | flash: flash-jlink 12 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32f4/boards/feather_stm32f405/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DSTM32F405xx 2 | 3 | LD_FILE = $(BOARD_PATH)/STM32F405RGTx_FLASH.ld 4 | 5 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f405xx.s 6 | 7 | # For flash-jlink target 8 | JLINK_DEVICE = stm32f405rg 9 | 10 | # flash target ROM bootloader 11 | flash: $(BUILD)/$(PROJECT).bin 12 | dfu-util -R -a 0 --dfuse-address 0x08000000 -D $< 13 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32f4/boards/pyboardv11/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DSTM32F405xx 2 | 3 | LD_FILE = $(BOARD_PATH)/STM32F405RGTx_FLASH.ld 4 | 5 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f405xx.s 6 | 7 | # For flash-jlink target 8 | JLINK_DEVICE = stm32f405rg 9 | 10 | # flash target using on-board stlink 11 | flash: flash-stlink 12 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32f4/boards/stm32f401blackpill/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DSTM32F401xC 2 | 3 | LD_FILE = $(BOARD_PATH)/STM32F401VCTx_FLASH.ld 4 | 5 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f401xc.s 6 | 7 | # For flash-jlink target 8 | JLINK_DEVICE = stm32f401cc 9 | 10 | # flash target ROM bootloader 11 | flash: $(BUILD)/$(PROJECT).bin 12 | dfu-util -R -a 0 --dfuse-address 0x08000000 -D $< 13 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32f4/boards/stm32f407disco/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DSTM32F407xx 2 | 3 | LD_FILE = $(BOARD_PATH)/STM32F407VGTx_FLASH.ld 4 | 5 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f407xx.s 6 | 7 | # For flash-jlink target 8 | JLINK_DEVICE = stm32f407vg 9 | 10 | # flash target using on-board stlink 11 | flash: flash-stlink 12 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32f4/boards/stm32f411blackpill/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DSTM32F411xE 2 | 3 | LD_FILE = $(BOARD_PATH)/STM32F411CEUx_FLASH.ld 4 | 5 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f411xe.s 6 | 7 | # For flash-jlink target 8 | JLINK_DEVICE = stm32f411ce 9 | 10 | # flash target ROM bootloader 11 | flash: $(BUILD)/$(PROJECT).bin 12 | dfu-util -R -a 0 --dfuse-address 0x08000000 -D $< 13 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32f4/boards/stm32f411disco/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DSTM32F411xE 2 | 3 | LD_FILE = $(BOARD_PATH)/STM32F411VETx_FLASH.ld 4 | 5 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f411xe.s 6 | 7 | # For flash-jlink target 8 | JLINK_DEVICE = stm32f411ve 9 | 10 | # flash target using on-board stlink 11 | flash: flash-stlink 12 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32f4/boards/stm32f412disco/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DSTM32F412Zx 2 | 3 | LD_FILE = $(BOARD_PATH)/STM32F412ZGTx_FLASH.ld 4 | 5 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f412zx.s 6 | 7 | # For flash-jlink target 8 | JLINK_DEVICE = stm32f412zg 9 | 10 | # flash target using on-board stlink 11 | flash: flash-stlink 12 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32f4/boards/stm32f412nucleo/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DSTM32F412Zx 2 | 3 | LD_FILE = $(BOARD_PATH)/STM32F412ZGTx_FLASH.ld 4 | 5 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f412zx.s 6 | 7 | # For flash-jlink target 8 | JLINK_DEVICE = stm32f412zg 9 | 10 | # flash target using on-board stlink 11 | flash: flash-stlink 12 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32f4/boards/stm32f439nucleo/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DSTM32F439xx 2 | 3 | LD_FILE = $(BOARD_PATH)/STM32F439ZITX_FLASH.ld 4 | 5 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f439xx.s 6 | 7 | # For flash-jlink target 8 | JLINK_DEVICE = stm32f439zi 9 | 10 | # flash target using on-board stlink 11 | flash: flash-stlink 12 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32f7/boards/stlinkv3mini/board.mk: -------------------------------------------------------------------------------- 1 | # Only OTG-HS has a connector on this board 2 | PORT ?= 1 3 | SPEED ?= high 4 | 5 | CFLAGS += \ 6 | -DSTM32F723xx \ 7 | -DHSE_VALUE=25000000 \ 8 | 9 | # All source paths should be relative to the top level. 10 | LD_FILE = $(BOARD_PATH)/STM32F723xE_FLASH.ld 11 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f723xx.s 12 | 13 | # flash target using on-board stlink 14 | flash: flash-stlink 15 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32f7/boards/stm32f723disco/board.mk: -------------------------------------------------------------------------------- 1 | PORT ?= 1 2 | SPEED ?= high 3 | 4 | CFLAGS += \ 5 | -DSTM32F723xx \ 6 | -DHSE_VALUE=25000000 \ 7 | 8 | LD_FILE = $(BOARD_PATH)/STM32F723xE_FLASH.ld 9 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f723xx.s 10 | 11 | # flash target using on-board stlink 12 | flash: flash-stlink 13 | 14 | # For flash-jlink target 15 | JLINK_DEVICE = stm32f723ie 16 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32f7/boards/stm32f746disco/board.mk: -------------------------------------------------------------------------------- 1 | PORT ?= 1 2 | SPEED ?= high 3 | 4 | CFLAGS += \ 5 | -DSTM32F746xx \ 6 | -DHSE_VALUE=25000000 7 | 8 | LD_FILE = $(BOARD_PATH)/STM32F746ZGTx_FLASH.ld 9 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f746xx.s 10 | 11 | # flash target using on-board stlink 12 | flash: flash-stlink 13 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32f7/boards/stm32f746nucleo/board.mk: -------------------------------------------------------------------------------- 1 | PORT ?= 0 2 | SPEED ?= full 3 | 4 | CFLAGS += \ 5 | -DSTM32F746xx \ 6 | -DHSE_VALUE=8000000 7 | 8 | LD_FILE = $(BOARD_PATH)/STM32F746ZGTx_FLASH.ld 9 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f746xx.s 10 | 11 | # flash target using on-board stlink 12 | flash: flash-stlink 13 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32f7/boards/stm32f767nucleo/board.mk: -------------------------------------------------------------------------------- 1 | PORT ?= 0 2 | SPEED ?= full 3 | 4 | CFLAGS += \ 5 | -DSTM32F767xx \ 6 | -DHSE_VALUE=8000000 \ 7 | 8 | LD_FILE = $(BOARD_PATH)/STM32F767ZITx_FLASH.ld 9 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f767xx.s 10 | 11 | # For flash-jlink target 12 | JLINK_DEVICE = stm32f767zi 13 | 14 | # flash target using on-board stlink 15 | flash: flash-stlink 16 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32f7/boards/stm32f769disco/board.mk: -------------------------------------------------------------------------------- 1 | # Only OTG-HS has a connector on this board 2 | PORT ?= 1 3 | SPEED ?= high 4 | 5 | CFLAGS += \ 6 | -DSTM32F769xx \ 7 | -DHSE_VALUE=25000000 \ 8 | 9 | LD_FILE = $(BOARD_PATH)/STM32F769ZITx_FLASH.ld 10 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f769xx.s 11 | 12 | # flash target using on-board stlink 13 | flash: flash-stlink 14 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32g4/boards/stm32g474nucleo/STM32G474RETx_FLASH.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robots/allwinner_t113/cd687978044fb5d74c0a08309f0005b8782e1e14/lib/tinyusb-ohci/hw/bsp/stm32g4/boards/stm32g474nucleo/STM32G474RETx_FLASH.ld -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32g4/boards/stm32g474nucleo/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += \ 2 | -DSTM32G474xx \ 3 | -DHSE_VALUE=24000000 4 | 5 | LD_FILE = $(BOARD_PATH)/STM32G474RETx_FLASH.ld 6 | 7 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32g474xx.s 8 | 9 | # For flash-jlink target 10 | JLINK_DEVICE = stm32g474re 11 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32h7/boards/stm32h743eval/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DSTM32H743xx -DHSE_VALUE=25000000 2 | 3 | # Default is Highspeed port 4 | PORT ?= 1 5 | SPEED ?= high 6 | 7 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32h743xx.s 8 | LD_FILE = $(BOARD_PATH)/stm32h743xx_flash.ld 9 | 10 | # For flash-jlink target 11 | JLINK_DEVICE = stm32h743xi 12 | 13 | # flash target using on-board stlink 14 | flash: flash-stlink 15 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32h7/boards/stm32h743nucleo/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DSTM32H743xx -DHSE_VALUE=8000000 2 | 3 | # Default is FulSpeed port 4 | PORT ?= 0 5 | 6 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32h743xx.s 7 | LD_FILE = $(BOARD_PATH)/stm32h743xx_flash.ld 8 | 9 | # For flash-jlink target 10 | JLINK_DEVICE = stm32h743zi 11 | 12 | # flash target using on-board stlink 13 | flash: flash-stlink 14 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32h7/boards/stm32h745disco/board.mk: -------------------------------------------------------------------------------- 1 | # STM32H745I-DISCO uses OTG_FS 2 | # FIXME: Reset enumerates, un/replug USB plug does not enumerate 3 | 4 | CFLAGS += -DSTM32H745xx -DCORE_CM7 -DHSE_VALUE=25000000 5 | 6 | # Default is FulSpeed port 7 | PORT ?= 0 8 | 9 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32h745xx.s 10 | LD_FILE = $(ST_CMSIS)/Source/Templates/gcc/linker/stm32h745xx_flash_CM7.ld 11 | 12 | # For flash-jlink target 13 | JLINK_DEVICE = stm32h745xi_m7 14 | 15 | # flash target using on-board stlink 16 | flash: flash-stlink 17 | 18 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32h7/boards/waveshare_openh743i/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DSTM32H743xx -DHSE_VALUE=8000000 2 | 3 | # Default is HS port 4 | PORT ?= 1 5 | 6 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32h743xx.s 7 | LD_FILE = $(BOARD_PATH)/STM32H743IITX_FLASH.ld 8 | 9 | # Use Timer module for ULPI PHY reset 10 | CFLAGS += -DHAL_TIM_MODULE_ENABLED 11 | SRC_C += \ 12 | $(ST_HAL_DRIVER)/Src/stm32$(ST_FAMILY)xx_hal_tim.c \ 13 | $(ST_HAL_DRIVER)/Src/stm32$(ST_FAMILY)xx_hal_tim_ex.c 14 | 15 | # For flash-jlink target 16 | JLINK_DEVICE = stm32h743ii 17 | 18 | # flash target using jlink 19 | flash: flash-jlink -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32l4/boards/stm32l476disco/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += \ 2 | -DSTM32L476xx \ 3 | 4 | # All source paths should be relative to the top level. 5 | LD_FILE = $(BOARD_PATH)/STM32L476VGTx_FLASH.ld 6 | 7 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32l476xx.s 8 | 9 | # For flash-jlink target 10 | JLINK_DEVICE = stm32l476vg 11 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32l4/boards/stm32l4p5nucleo/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += \ 2 | -DSTM32L4P5xx \ 3 | 4 | # All source paths should be relative to the top level. 5 | LD_FILE = $(BOARD_PATH)/STM32L4P5ZGTX_FLASH.ld 6 | 7 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32l4p5xx.s 8 | 9 | # For flash-jlink target 10 | JLINK_DEVICE = stm32l4p5zg 11 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32l4/boards/stm32l4r5nucleo/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += \ 2 | -DHSE_VALUE=8000000 \ 3 | -DSTM32L4R5xx \ 4 | 5 | # All source paths should be relative to the top level. 6 | LD_FILE = $(BOARD_PATH)/STM32L4RXxI_FLASH.ld 7 | 8 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32l4r5xx.s 9 | 10 | # For flash-jlink target 11 | JLINK_DEVICE = stm32l4r5zi 12 | 13 | # flash target using on-board stlink 14 | flash: flash-stlink 15 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/stm32wb/boards/stm32wb55nucleo/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += \ 2 | -DSTM32WB55xx 3 | 4 | LD_FILE = $(BOARD_PATH)/stm32wb55xx_flash_cm4.ld 5 | 6 | SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32wb55xx_cm4.s 7 | 8 | # For flash-jlink target 9 | JLINK_DEVICE = STM32WB55RG 10 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/tm4c123/boards/ek-tm4c123gxl/board.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DTM4C123GH6PM 2 | 3 | LD_FILE = $(BOARD_PATH)/tm4c123.ld 4 | 5 | # For flash-jlink target 6 | JLINK_DEVICE = TM4C123GH6PM 7 | 8 | # flash using openocd 9 | OPENOCD_OPTION = -f board/ti_ek-tm4c123gxl.cfg 10 | 11 | flash: flash-openocd 12 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/tm4c123/family.mk: -------------------------------------------------------------------------------- 1 | DEPS_SUBMODULES += hw/mcu/ti 2 | 3 | include $(TOP)/$(BOARD_PATH)/board.mk 4 | 5 | CFLAGS += \ 6 | -flto \ 7 | -mthumb \ 8 | -mabi=aapcs \ 9 | -mcpu=cortex-m4 \ 10 | -mfloat-abi=hard \ 11 | -mfpu=fpv4-sp-d16 \ 12 | -DCFG_TUSB_MCU=OPT_MCU_TM4C123 \ 13 | -uvectors \ 14 | -DTM4C123GH6PM 15 | 16 | # mcu driver cause following warnings 17 | CFLAGS += -Wno-error=strict-prototypes -Wno-error=cast-qual 18 | 19 | MCU_DIR=hw/mcu/ti/tm4c123xx/ 20 | 21 | # All source paths should be relative to the top level. 22 | LD_FILE = $(BOARD_PATH)/tm4c123.ld 23 | 24 | INC += \ 25 | $(TOP)/$(MCU_DIR)/CMSIS/5.7.0/CMSIS/Include \ 26 | $(TOP)/$(MCU_DIR)/Include/TM4C123 \ 27 | $(TOP)/$(BOARD_PATH) 28 | 29 | SRC_C += \ 30 | src/portable/mentor/musb/dcd_musb.c \ 31 | src/portable/mentor/musb/hcd_musb.c \ 32 | $(MCU_DIR)/Source/system_TM4C123.c \ 33 | $(MCU_DIR)/Source/GCC/tm4c123_startup.c 34 | 35 | # For freeRTOS port source 36 | FREERTOS_PORT = ARM_CM4F 37 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/bsp/xmc4000/boards/xmc4500_relax/board.mk: -------------------------------------------------------------------------------- 1 | MCU_VARIANT = XMC4500 2 | CFLAGS += \ 3 | -DXMC4500_F100x1024 \ 4 | 5 | LD_FILE = $(MCU_DIR)/CMSIS/Infineon/COMPONENT_$(MCU_VARIANT)/Source/TOOLCHAIN_GCC_ARM/XMC4500x1024.ld 6 | 7 | JLINK_DEVICE = XMC4500-1024 8 | 9 | flash: flash-jlink 10 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | 9 | 10 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/mcu/nordic/nrfx_config.h: -------------------------------------------------------------------------------- 1 | #ifndef NRFX_CONFIG_H__ 2 | #define NRFX_CONFIG_H__ 3 | 4 | #define NRFX_POWER_ENABLED 1 5 | #define NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY 7 6 | 7 | #define NRFX_CLOCK_ENABLED 0 8 | 9 | #define NRFX_UARTE_ENABLED 1 10 | #define NRFX_UARTE0_ENABLED 1 11 | 12 | #define NRFX_UARTE1_ENABLED 0 13 | #define NRFX_UARTE2_ENABLED 0 14 | #define NRFX_UARTE3_ENABLED 0 15 | 16 | #define NRFX_PRS_ENABLED 0 17 | 18 | #endif // NRFX_CONFIG_H__ 19 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/hw/mcu/sony/cxd56/mkspk/.gitignore: -------------------------------------------------------------------------------- 1 | /mkspk 2 | /mkspk.exe 3 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/lib/fatfs/integer.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------------------*/ 2 | /* Integer type definitions for FatFs module */ 3 | /*-------------------------------------------*/ 4 | 5 | #ifndef _INTEGER 6 | #define _INTEGER 7 | 8 | #ifdef _WIN32 /* FatFs development platform */ 9 | 10 | #include 11 | #include 12 | 13 | #else /* Embedded platform */ 14 | 15 | /* These types must be 16-bit, 32-bit or larger integer */ 16 | typedef int INT; 17 | typedef unsigned int UINT; 18 | 19 | /* These types must be 8-bit integer */ 20 | typedef unsigned char UCHAR; 21 | typedef unsigned char BYTE; 22 | 23 | /* These types must be 16-bit integer */ 24 | typedef short SHORT; 25 | typedef unsigned short USHORT; 26 | typedef unsigned short WORD; 27 | typedef unsigned short WCHAR; 28 | 29 | /* These types must be 32-bit integer */ 30 | typedef long LONG; 31 | typedef unsigned long ULONG; 32 | typedef unsigned long DWORD; 33 | 34 | #endif 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/pkg.yml: -------------------------------------------------------------------------------- 1 | pkg.name: tinyusb 2 | pkg.description: A silly USB stack for embedded 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 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | 15 | "0-dev": "0.0.0" # master 16 | "0-latest": "0.13.0" # latest stable release 17 | 18 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/ceedling: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ruby vendor/ceedling/bin/ceedling $* 4 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/docs/UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robots/allwinner_t113/cd687978044fb5d74c0a08309f0005b8782e1e14/lib/tinyusb-ohci/test/vendor/ceedling/docs/UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/lib/ceedling/cmock_builder.rb: -------------------------------------------------------------------------------- 1 | require 'cmock' 2 | 3 | class CmockBuilder 4 | 5 | attr_accessor :cmock 6 | 7 | def setup 8 | @cmock = nil 9 | end 10 | 11 | def manufacture(cmock_config) 12 | @cmock = CMock.new(cmock_config) 13 | end 14 | 15 | end 16 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/lib/ceedling/erb_wrapper.rb: -------------------------------------------------------------------------------- 1 | require 'erb' 2 | 3 | class ErbWrapper 4 | def generate_file(template, data, output_file) 5 | File.open(output_file, "w") do |f| 6 | f << ERB.new(template, 0, "<>").result(binding) 7 | end 8 | end 9 | end -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/lib/ceedling/file_system_wrapper.rb: -------------------------------------------------------------------------------- 1 | 2 | class FileSystemWrapper 3 | 4 | def cd(path) 5 | FileUtils.cd path do 6 | yield 7 | end 8 | end 9 | 10 | end -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/lib/ceedling/loginator.rb: -------------------------------------------------------------------------------- 1 | 2 | class Loginator 3 | 4 | constructor :configurator, :project_file_loader, :project_config_manager, :file_wrapper, :system_wrapper 5 | 6 | 7 | def setup_log_filepath 8 | config_files = [] 9 | config_files << @project_file_loader.main_file 10 | config_files << @project_file_loader.user_file 11 | config_files.concat( @project_config_manager.options_files ) 12 | config_files.compact! 13 | config_files.map! { |file| file.ext('') } 14 | 15 | log_name = config_files.join( '_' ) 16 | 17 | @project_log_filepath = File.join( @configurator.project_log_path, log_name.ext('.log') ) 18 | end 19 | 20 | 21 | def log(string, heading=nil) 22 | return if (not @configurator.project_logging) 23 | 24 | output = "\n[#{@system_wrapper.time_now}]" 25 | output += " :: #{heading}" if (not heading.nil?) 26 | output += "\n#{string.strip}\n" 27 | 28 | @file_wrapper.write(@project_log_filepath, output, 'a') 29 | end 30 | 31 | end 32 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/lib/ceedling/par_map.rb: -------------------------------------------------------------------------------- 1 | 2 | 3 | def par_map(n, things, &block) 4 | queue = Queue.new 5 | things.each { |thing| queue << thing } 6 | threads = (1..n).collect do 7 | Thread.new do 8 | begin 9 | while true 10 | yield queue.pop(true) 11 | end 12 | rescue ThreadError 13 | 14 | end 15 | end 16 | end 17 | threads.each { |t| t.join } 18 | end 19 | 20 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/lib/ceedling/plugin_manager_helper.rb: -------------------------------------------------------------------------------- 1 | 2 | class PluginManagerHelper 3 | 4 | def include?(plugins, name) 5 | include = false 6 | plugins.each do |plugin| 7 | if (plugin.name == name) 8 | include = true 9 | break 10 | end 11 | end 12 | return include 13 | end 14 | 15 | def instantiate_plugin_script(plugin, system_objects, name) 16 | return eval("#{plugin}.new(system_objects, name)") 17 | end 18 | 19 | end 20 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/lib/ceedling/preprocessinator_file_handler.rb: -------------------------------------------------------------------------------- 1 | 2 | 3 | class PreprocessinatorFileHandler 4 | 5 | constructor :preprocessinator_extractor, :configurator, :tool_executor, :file_path_utils, :file_wrapper 6 | 7 | 8 | def preprocess_file(filepath, includes) 9 | preprocessed_filepath = @file_path_utils.form_preprocessed_file_filepath(filepath) 10 | 11 | command = @tool_executor.build_command_line(@configurator.tools_test_file_preprocessor, [], filepath, preprocessed_filepath) 12 | @tool_executor.exec(command[:line], command[:options]) 13 | 14 | contents = @preprocessinator_extractor.extract_base_file_from_preprocessed_expansion(preprocessed_filepath) 15 | 16 | includes.each{|include| contents.unshift("#include \"#{include}\"")} 17 | 18 | @file_wrapper.write(preprocessed_filepath, contents.join("\n")) 19 | end 20 | 21 | end 22 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/lib/ceedling/rake_utils.rb: -------------------------------------------------------------------------------- 1 | 2 | class RakeUtils 3 | 4 | constructor :rake_wrapper 5 | 6 | def task_invoked?(task_regex) 7 | task_invoked = false 8 | @rake_wrapper.task_list.each do |task| 9 | if ((task.already_invoked) and (task.to_s =~ task_regex)) 10 | task_invoked = true 11 | break 12 | end 13 | end 14 | return task_invoked 15 | end 16 | 17 | end 18 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/lib/ceedling/rake_wrapper.rb: -------------------------------------------------------------------------------- 1 | require 'rubygems' 2 | require 'rake' 3 | require 'ceedling/makefile' # our replacement for rake's make-style dependency loader 4 | 5 | include Rake::DSL if defined?(Rake::DSL) 6 | 7 | class Rake::Task 8 | attr_reader :already_invoked 9 | end 10 | 11 | class RakeWrapper 12 | 13 | def initialize 14 | @makefile_loader = Rake::MakefileLoader.new # use our custom replacement noted above 15 | end 16 | 17 | def [](task) 18 | return Rake::Task[task] 19 | end 20 | 21 | def task_list 22 | return Rake::Task.tasks 23 | end 24 | 25 | def create_file_task(file_task, dependencies) 26 | file(file_task => dependencies) 27 | end 28 | 29 | def load_dependencies(dependencies_path) 30 | @makefile_loader.load(dependencies_path) 31 | end 32 | 33 | end 34 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/lib/ceedling/release_invoker_helper.rb: -------------------------------------------------------------------------------- 1 | 2 | 3 | class ReleaseInvokerHelper 4 | 5 | constructor :configurator, :dependinator, :task_invoker 6 | 7 | 8 | def process_deep_dependencies(dependencies_list) 9 | return if (not @configurator.project_use_deep_dependencies) 10 | 11 | if @configurator.project_generate_deep_dependencies 12 | @dependinator.enhance_release_file_dependencies( dependencies_list ) 13 | @task_invoker.invoke_release_dependencies_files( dependencies_list ) 14 | end 15 | 16 | @dependinator.load_release_object_deep_dependencies( dependencies_list ) 17 | end 18 | 19 | end 20 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/lib/ceedling/reportinator.rb: -------------------------------------------------------------------------------- 1 | ## 2 | # Pretifies reports 3 | class Reportinator 4 | 5 | ## 6 | # Generates a banner for a message based on the length of the message or a 7 | # given width. 8 | # ==== Attributes 9 | # 10 | # * _message_: The message to put. 11 | # * _width_: The width of the message. If nil the size of the banner is 12 | # determined by the length of the message. 13 | # 14 | # ==== Examples 15 | # 16 | # rp = Reportinator.new 17 | # rp.generate_banner("Hello world!") => "------------\nHello world!\n------------\n" 18 | # rp.generate_banner("Hello world!", 3) => "---\nHello world!\n---\n" 19 | # 20 | # 21 | def generate_banner(message, width=nil) 22 | dash_count = ((width.nil?) ? message.strip.length : width) 23 | return "#{'-' * dash_count}\n#{message}\n#{'-' * dash_count}\n" 24 | end 25 | 26 | end 27 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/lib/ceedling/rules_cmock.rake: -------------------------------------------------------------------------------- 1 | 2 | 3 | rule(/#{CMOCK_MOCK_PREFIX}[^\/\\]+#{'\\'+EXTENSION_SOURCE}$/ => [ 4 | proc do |task_name| 5 | @ceedling[:file_finder].find_header_input_for_mock_file(task_name) 6 | end 7 | ]) do |mock| 8 | @ceedling[:generator].generate_mock(TEST_SYM, mock.source) 9 | end 10 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/lib/ceedling/rules_release_deep_dependencies.rake: -------------------------------------------------------------------------------- 1 | 2 | 3 | rule(/#{PROJECT_RELEASE_DEPENDENCIES_PATH}\/#{'.+\\'+EXTENSION_DEPENDENCIES}$/ => [ 4 | proc do |task_name| 5 | @ceedling[:file_finder].find_compilation_input_file(task_name, :error, true) 6 | end 7 | ]) do |dep| 8 | @ceedling[:generator].generate_dependencies_file( 9 | TOOLS_RELEASE_DEPENDENCIES_GENERATOR, 10 | RELEASE_SYM, 11 | dep.source, 12 | @ceedling[:file_path_utils].form_release_build_c_object_filepath(dep.source), 13 | dep.name) 14 | end 15 | 16 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/lib/ceedling/rules_tests_deep_dependencies.rake: -------------------------------------------------------------------------------- 1 | 2 | 3 | rule(/#{PROJECT_TEST_DEPENDENCIES_PATH}\/#{'.+\\'+EXTENSION_DEPENDENCIES}$/ => [ 4 | proc do |task_name| 5 | @ceedling[:file_finder].find_compilation_input_file(task_name) 6 | end 7 | ]) do |dep| 8 | @ceedling[:generator].generate_dependencies_file( 9 | TOOLS_TEST_DEPENDENCIES_GENERATOR, 10 | TEST_SYM, 11 | dep.source, 12 | @ceedling[:file_path_utils].form_test_build_c_object_filepath(dep.source), 13 | dep.name) 14 | end 15 | 16 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/lib/ceedling/stream_wrapper.rb: -------------------------------------------------------------------------------- 1 | 2 | class StreamWrapper 3 | 4 | def stdout_override(&fnc) 5 | @stdout_overide_fnc = fnc 6 | end 7 | 8 | def stdout_puts(string) 9 | if @stdout_overide_fnc 10 | @stdout_overide_fnc.call(string) 11 | else 12 | $stdout.puts(string) 13 | end 14 | end 15 | 16 | def stdout_flush 17 | $stdout.flush 18 | end 19 | 20 | def stderr_puts(string) 21 | $stderr.puts(string) 22 | end 23 | 24 | def stderr_flush 25 | $stderr.flush 26 | end 27 | 28 | end 29 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/lib/ceedling/streaminator_helper.rb: -------------------------------------------------------------------------------- 1 | 2 | class StreaminatorHelper 3 | 4 | def extract_name(stream) 5 | name = case (stream.fileno) 6 | when 0 then '#' 7 | when 1 then '#' 8 | when 2 then '#' 9 | else stream.inspect 10 | end 11 | 12 | return name 13 | end 14 | 15 | end 16 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/lib/ceedling/system_utils.rb: -------------------------------------------------------------------------------- 1 | 2 | class Object 3 | def deep_clone 4 | Marshal::load(Marshal.dump(self)) 5 | end 6 | end 7 | 8 | 9 | ## 10 | # Class containing system utility funcions. 11 | class SystemUtils 12 | 13 | constructor :system_wrapper 14 | 15 | ## 16 | # Sets up the class. 17 | def setup 18 | @tcsh_shell = nil 19 | end 20 | 21 | ## 22 | # Checks the system shell to see if it a tcsh shell. 23 | def tcsh_shell? 24 | # once run a single time, return state determined at that execution 25 | return @tcsh_shell if not @tcsh_shell.nil? 26 | 27 | result = @system_wrapper.shell_backticks('echo $version') 28 | 29 | if ((result[:exit_code] == 0) and (result[:output].strip =~ /^tcsh/)) 30 | @tcsh_shell = true 31 | else 32 | @tcsh_shell = false 33 | end 34 | 35 | return @tcsh_shell 36 | end 37 | end 38 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/lib/ceedling/tasks_release_deep_dependencies.rake: -------------------------------------------------------------------------------- 1 | require 'ceedling/constants' 2 | 3 | namespace REFRESH_SYM do 4 | 5 | task RELEASE_SYM do 6 | @ceedling[:release_invoker].refresh_c_deep_dependencies 7 | end 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/lib/ceedling/tasks_tests_deep_dependencies.rake: -------------------------------------------------------------------------------- 1 | require 'ceedling/constants' 2 | 3 | namespace REFRESH_SYM do 4 | 5 | task TEST_SYM do 6 | @ceedling[:test_invoker].refresh_deep_dependencies 7 | end 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/lib/ceedling/verbosinator.rb: -------------------------------------------------------------------------------- 1 | 2 | class Verbosinator 3 | 4 | constructor :configurator 5 | 6 | def should_output?(level) 7 | return (level <= @configurator.project_verbosity) 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/lib/ceedling/version.rb.erb: -------------------------------------------------------------------------------- 1 | # @private 2 | module Ceedling 3 | module Version 4 | # @private 5 | GEM = "0.27.0" 6 | # @private 7 | CEEDLING = "<%= versions["CEEDLING"] %>" 8 | # @private 9 | CEXCEPTION = "<%= versions["CEXCEPTION"] %>" 10 | # @private 11 | CMOCK = "<%= versions["CMOCK"] %>" 12 | # @private 13 | UNITY = "<%= versions["UNITY"] %>" 14 | end 15 | end 16 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/lib/ceedling/yaml_wrapper.rb: -------------------------------------------------------------------------------- 1 | require 'yaml' 2 | require 'erb' 3 | 4 | 5 | class YamlWrapper 6 | 7 | def load(filepath) 8 | return YAML.load(ERB.new(File.read(filepath)).result) 9 | end 10 | 11 | def dump(filepath, structure) 12 | File.open(filepath, 'w') do |output| 13 | YAML.dump(structure, output) 14 | end 15 | end 16 | 17 | end 18 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/plugins/beep/README.md: -------------------------------------------------------------------------------- 1 | ceedling-beep 2 | ============= 3 | 4 | This is a simple plugin that just beeps at the end of a build and/or test sequence. Are you getting too distracted surfing 5 | the internet, chatting with coworkers, or swordfighting while it's building or testing? The friendly beep will let you know 6 | it's time to pay attention again. 7 | 8 | This plugin has very few configuration options. At this time it can beep on completion of a task and/or on an error condition. 9 | For each of these, you can configure the method that it should beep. 10 | 11 | ``` 12 | :tools: 13 | :beep_on_done: :bell 14 | :beep_on_error: :bell 15 | ``` 16 | 17 | Each of these have the following options: 18 | 19 | - :bell - this option uses the ASCII bell character out stdout 20 | - :speaker_test - this uses the linux speaker-test command if installed 21 | 22 | Very likely, we'll be adding to this list if people find this to be useful. 23 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/plugins/beep/lib/beep.rb: -------------------------------------------------------------------------------- 1 | require 'ceedling/plugin' 2 | require 'ceedling/constants' 3 | 4 | class Beep < Plugin 5 | 6 | attr_reader :config 7 | 8 | def setup 9 | @config = { 10 | :on_done => ((defined? TOOLS_BEEP_ON_DONE) ? TOOLS_BEEP_ON_DONE : :bell ), 11 | :on_error => ((defined? TOOLS_BEEP_ON_ERROR) ? TOOLS_BEEP_ON_ERROR : :bell ), 12 | } 13 | end 14 | 15 | def post_build 16 | beep @config[:on_done] 17 | end 18 | 19 | def post_error 20 | beep @config[:on_error] 21 | end 22 | 23 | private 24 | 25 | def beep(method = :none) 26 | case method 27 | when :bell 28 | if (SystemWrapper.windows?) 29 | puts "echo '\007'" 30 | else 31 | puts "echo -ne '\007'" 32 | end 33 | when :speaker_test 34 | `speaker-test -t sine -f 1000 -l 1` 35 | else 36 | #do nothing with illegal or :none 37 | end 38 | end 39 | end 40 | 41 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/plugins/bullseye/assets/template.erb: -------------------------------------------------------------------------------- 1 | % function_string = hash[:coverage][:functions].to_s 2 | % branch_string = hash[:coverage][:branches].to_s 3 | % format_string = "%#{[function_string.length, branch_string.length].max}i" 4 | <%=@ceedling[:plugin_reportinator].generate_banner("#{hash[:header]}: CODE COVERAGE SUMMARY")%> 5 | % if (!hash[:coverage][:functions].nil?) 6 | FUNCTIONS: <%=sprintf(format_string, hash[:coverage][:functions])%>% 7 | % else 8 | FUNCTIONS: none 9 | % end 10 | % if (!hash[:coverage][:branches].nil?) 11 | BRANCHES: <%=sprintf(format_string, hash[:coverage][:branches])%>% 12 | % else 13 | BRANCHES: none 14 | % end 15 | 16 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/plugins/bullseye/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robots/allwinner_t113/cd687978044fb5d74c0a08309f0005b8782e1e14/lib/tinyusb-ohci/test/vendor/ceedling/plugins/bullseye/readme.txt -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/plugins/colour_report/lib/colour_report.rb: -------------------------------------------------------------------------------- 1 | require 'ceedling/plugin' 2 | require 'ceedling/streaminator' 3 | require 'ceedling/constants' 4 | 5 | class ColourReport < Plugin 6 | 7 | def setup 8 | @ceedling[:stream_wrapper].stdout_override(&ColourReport.method(:colour_stdout)) 9 | end 10 | 11 | def self.colour_stdout(string) 12 | require 'colour_reporter.rb' 13 | report string 14 | end 15 | 16 | end 17 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/plugins/fake_function_framework/Rakefile: -------------------------------------------------------------------------------- 1 | require 'rake' 2 | require 'rspec/core/rake_task' 3 | 4 | desc "Run all rspecs" 5 | RSpec::Core::RakeTask.new(:spec) do |t| 6 | t.pattern = Dir.glob('spec/**/*_spec.rb') 7 | t.rspec_opts = '--format documentation' 8 | # t.rspec_opts << ' more options' 9 | end 10 | 11 | desc "Run integration test on example" 12 | task :integration_test do 13 | chdir("./examples/fff_example") do 14 | sh "rake clobber" 15 | sh "rake test:all" 16 | end 17 | end 18 | 19 | task :default => [:spec, :integration_test] -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/plugins/fake_function_framework/examples/fff_example/rakefile.rb: -------------------------------------------------------------------------------- 1 | # This change from the default is for running Ceedling out of another folder. 2 | PROJECT_CEEDLING_ROOT = "../../../.." 3 | load "#{PROJECT_CEEDLING_ROOT}/lib/ceedling.rb" 4 | 5 | Ceedling.load_project 6 | 7 | task :default => %w[ test:all release ] 8 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/plugins/fake_function_framework/examples/fff_example/src/bar.c: -------------------------------------------------------------------------------- 1 | #include "bar.h" 2 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/plugins/fake_function_framework/examples/fff_example/src/bar.h: -------------------------------------------------------------------------------- 1 | #ifndef bar_H 2 | #define bar_H 3 | 4 | #include "custom_types.h" 5 | 6 | void bar_turn_on(void); 7 | void bar_print_message(const char * message); 8 | void bar_print_message_formatted(const char * format, ...); 9 | void bar_numbers(int one, int two, char three); 10 | void bar_const_test(const char * a, char * const b, const int c); 11 | custom_t bar_needs_custom_type(void); 12 | const char * bar_return_const_ptr(int one); 13 | 14 | #endif // bar_H 15 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/plugins/fake_function_framework/examples/fff_example/src/custom_types.h: -------------------------------------------------------------------------------- 1 | #ifndef custom_types_H 2 | #define custom_types_H 3 | 4 | typedef int custom_t; 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/plugins/fake_function_framework/examples/fff_example/src/display.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "display.h" 3 | 4 | void display_turnOffStatusLed(void) 5 | { 6 | printf("Display: Status LED off"); 7 | } -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/plugins/fake_function_framework/examples/fff_example/src/display.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void display_turnOffStatusLed(void); 4 | void display_turnOnStatusLed(void); 5 | void display_setVolume(int level); 6 | void display_setModeToMinimum(void); 7 | void display_setModeToMaximum(void); 8 | void display_setModeToAverage(void); 9 | bool display_isError(void); 10 | void display_powerDown(void); 11 | void display_updateData(int data, void(*updateCompleteCallback)(void)); 12 | 13 | /* 14 | The entry is returned (up to `length` bytes) in the provided `entry` buffer. 15 | */ 16 | void display_getKeyboardEntry(char * entry, int length); 17 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/plugins/fake_function_framework/examples/fff_example/src/event_processor.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void event_deviceReset(void); 4 | void event_volumeKnobMaxed(void); 5 | void event_powerReadingUpdate(int powerReading); 6 | void event_modeSelectButtonPressed(void); 7 | void event_devicePoweredOn(void); 8 | void event_keyboardCheckTimerExpired(void); 9 | void event_newDataAvailable(int data); 10 | 11 | bool eventProcessor_isLastEventComplete(void); 12 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/plugins/fake_function_framework/examples/fff_example/src/foo.c: -------------------------------------------------------------------------------- 1 | #include "foo.h" 2 | #include "bar.h" 3 | #include "subfolder/zzz.h" 4 | 5 | void foo_turn_on(void) { 6 | bar_turn_on(); 7 | zzz_sleep(1, "sleepy"); 8 | } 9 | 10 | void foo_print_message(const char * message) { 11 | bar_print_message(message); 12 | } 13 | 14 | void foo_print_special_message(void) { 15 | bar_print_message_formatted("The numbers are %d, %d and %d", 1, 2, 3); 16 | } 17 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/plugins/fake_function_framework/examples/fff_example/src/foo.h: -------------------------------------------------------------------------------- 1 | #ifndef foo_H 2 | #define foo_H 3 | 4 | void foo_turn_on(void); 5 | void foo_print_message(const char * message); 6 | void foo_print_special_message(void); 7 | 8 | #endif // foo_H 9 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/plugins/fake_function_framework/examples/fff_example/src/subfolder/zzz.c: -------------------------------------------------------------------------------- 1 | #include "zzz.h" 2 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/plugins/fake_function_framework/examples/fff_example/src/subfolder/zzz.h: -------------------------------------------------------------------------------- 1 | #ifndef zzz_H 2 | #define zzz_H 3 | 4 | int zzz_sleep(int time, char * name); 5 | 6 | #endif // zzz_H 7 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/plugins/gcov/assets/template.erb: -------------------------------------------------------------------------------- 1 | % function_string = hash[:coverage][:functions].to_s 2 | % branch_string = hash[:coverage][:branches].to_s 3 | % format_string = "%#{[function_string.length, branch_string.length].max}i" 4 | <%=@ceedling[:plugin_reportinator].generate_banner("#{GCOV_ROOT_NAME.upcase}: CODE COVERAGE SUMMARY")%> 5 | % if (!hash[:coverage][:functions].nil?) 6 | FUNCTIONS: <%=sprintf(format_string, hash[:coverage][:functions])%>% 7 | % else 8 | FUNCTIONS: none 9 | % end 10 | % if (!hash[:coverage][:branches].nil?) 11 | BRANCHES: <%=sprintf(format_string, hash[:coverage][:branches])%>% 12 | % else 13 | BRANCHES: none 14 | % end 15 | 16 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/plugins/gcov/lib/gcov_constants.rb: -------------------------------------------------------------------------------- 1 | 2 | GCOV_ROOT_NAME = 'gcov'.freeze 3 | GCOV_TASK_ROOT = GCOV_ROOT_NAME + ':' 4 | GCOV_SYM = GCOV_ROOT_NAME.to_sym 5 | 6 | GCOV_BUILD_PATH = File.join(PROJECT_BUILD_ROOT, GCOV_ROOT_NAME) 7 | GCOV_BUILD_OUTPUT_PATH = File.join(GCOV_BUILD_PATH, "out") 8 | GCOV_RESULTS_PATH = File.join(GCOV_BUILD_PATH, "results") 9 | GCOV_DEPENDENCIES_PATH = File.join(GCOV_BUILD_PATH, "dependencies") 10 | GCOV_ARTIFACTS_PATH = File.join(PROJECT_BUILD_ARTIFACTS_ROOT, GCOV_ROOT_NAME) 11 | 12 | GCOV_ARTIFACTS_FILE = File.join(GCOV_ARTIFACTS_PATH, "GcovCoverageResults.html") 13 | GCOV_ARTIFACTS_FILE_XML = File.join(GCOV_ARTIFACTS_PATH, "GcovCoverageResults.xml") 14 | 15 | GCOV_IGNORE_SOURCES = %w(unity cmock cexception).freeze 16 | 17 | GCOV_FILTER_EXCLUDE = '^vendor.*|^build.*|^test.*|^lib.*' 18 | 19 | 20 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/plugins/module_generator/config/module_generator.yml: -------------------------------------------------------------------------------- 1 | :module_generator: 2 | :project_root: ./ 3 | :source_root: src/ 4 | :test_root: test/ -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/plugins/stdout_gtestlike_tests_report/config/stdout_gtestlike_tests_report.yml: -------------------------------------------------------------------------------- 1 | --- 2 | :plugins: 3 | # tell Ceedling we got results display taken care of 4 | :display_raw_test_results: FALSE 5 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/plugins/stdout_ide_tests_report/config/stdout_ide_tests_report.yml: -------------------------------------------------------------------------------- 1 | --- 2 | :plugins: 3 | # tell Ceedling we got results display taken care of 4 | :display_raw_test_results: FALSE 5 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/plugins/stdout_pretty_tests_report/config/stdout_pretty_tests_report.yml: -------------------------------------------------------------------------------- 1 | --- 2 | :plugins: 3 | # tell Ceedling we got results display taken care of 4 | :display_raw_test_results: FALSE 5 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/plugins/subprojects/config/defaults.yml: -------------------------------------------------------------------------------- 1 | --- 2 | #:extension: 3 | # :subprojects: '.a' 4 | 5 | :subprojects: 6 | :paths: [] 7 | # - :name: subprojectA 8 | # :source: 9 | # - ./first/subproject/dir 10 | # - ./second/subproject/dir 11 | # :include: 12 | # - ./first/include/dir 13 | # :build_root: ./subproject/build/dir 14 | # :defines: 15 | # - FIRST_DEFINE 16 | 17 | :tools: 18 | :subprojects_compiler: 19 | :executable: gcc 20 | :arguments: 21 | - -g 22 | - -I"$": COLLECTION_PATHS_SUBPROJECTS 23 | - -D$: COLLECTION_DEFINES_SUBPROJECTS 24 | - -c "${1}" 25 | - -o "${2}" 26 | :subprojects_linker: 27 | :executable: ar 28 | :arguments: 29 | - rcs 30 | - ${2} 31 | - ${1} 32 | 33 | ... 34 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/plugins/teamcity_tests_report/config/teamcity_tests_report.yml: -------------------------------------------------------------------------------- 1 | --- 2 | :plugins: 3 | # tell Ceedling we got results display taken care of 4 | :display_raw_test_results: FALSE 5 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/vendor/c_exception/release/build.info: -------------------------------------------------------------------------------- 1 | 18 2 | 3 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/vendor/c_exception/release/version.info: -------------------------------------------------------------------------------- 1 | 1.3.1 2 | 3 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/vendor/cmock/config/production_environment.rb: -------------------------------------------------------------------------------- 1 | # ========================================== 2 | # CMock Project - Automatic Mock Generation for C 3 | # Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams 4 | # [Released under MIT License. Please refer to license.txt for details] 5 | # ========================================== 6 | 7 | # Setup our load path: 8 | [ 9 | 'lib', 10 | ].each do |dir| 11 | $LOAD_PATH.unshift( File.join( File.expand_path(File.dirname(__FILE__)) + '/../', dir) ) 12 | end 13 | 14 | 15 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/vendor/cmock/config/test_environment.rb: -------------------------------------------------------------------------------- 1 | # ========================================== 2 | # CMock Project - Automatic Mock Generation for C 3 | # Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams 4 | # [Released under MIT License. Please refer to license.txt for details] 5 | # ========================================== 6 | 7 | # Setup our load path: 8 | [ 9 | './lib', 10 | './vendor/behaviors/lib', 11 | './vendor/hardmock/lib', 12 | './vendor/unity/auto/', 13 | './test/system/' 14 | ].each do |dir| 15 | $LOAD_PATH.unshift( File.join( File.expand_path(File.dirname(__FILE__) + "/../"), dir) ) 16 | end 17 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/vendor/cmock/release/build.info: -------------------------------------------------------------------------------- 1 | 217 2 | 3 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/vendor/cmock/release/version.info: -------------------------------------------------------------------------------- 1 | 2.4.6 2 | 3 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/vendor/diy/lib/diy/factory.rb: -------------------------------------------------------------------------------- 1 | module DIY #:nodoc:# 2 | class FactoryDef #:nodoc: 3 | attr_accessor :name, :target, :class_name, :library 4 | 5 | def initialize(opts) 6 | @name, @target, @library, @auto_require = 7 | opts[:name], opts[:target], opts[:library], opts[:auto_require] 8 | 9 | @class_name = Infl.camelize(@target) 10 | @library ||= Infl.underscore(@class_name) if @auto_require 11 | end 12 | end 13 | 14 | class Context 15 | def construct_factory(key) 16 | factory_def = @defs[key] 17 | # puts "requiring #{factory_def.library}" 18 | require factory_def.library if factory_def.library 19 | 20 | big_c = get_class_for_name_with_module_delimeters(factory_def.class_name) 21 | 22 | FactoryFactory.new(big_c) 23 | end 24 | end 25 | 26 | class FactoryFactory 27 | def initialize(clazz) 28 | @class_to_create = clazz 29 | end 30 | 31 | def create(*args) 32 | @class_to_create.new(*args) 33 | end 34 | end 35 | end 36 | 37 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/vendor/unity/auto/test_file_filter.rb: -------------------------------------------------------------------------------- 1 | # ========================================== 2 | # Unity Project - A Test Framework for C 3 | # Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams 4 | # [Released under MIT License. Please refer to license.txt for details] 5 | # ========================================== 6 | 7 | require'yaml' 8 | 9 | module RakefileHelpers 10 | class TestFileFilter 11 | def initialize(all_files = false) 12 | @all_files = all_files 13 | 14 | return unless @all_files 15 | return unless File.exist?('test_file_filter.yml') 16 | 17 | filters = YAML.load_file('test_file_filter.yml') 18 | @all_files = filters[:all_files] 19 | @only_files = filters[:only_files] 20 | @exclude_files = filters[:exclude_files] 21 | end 22 | 23 | attr_accessor :all_files, :only_files, :exclude_files 24 | end 25 | end 26 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/vendor/unity/auto/type_sanitizer.rb: -------------------------------------------------------------------------------- 1 | module TypeSanitizer 2 | def self.sanitize_c_identifier(unsanitized) 3 | # convert filename to valid C identifier by replacing invalid chars with '_' 4 | unsanitized.gsub(/[-\/\\\.\,\s]/, '_') 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/vendor/unity/release/build.info: -------------------------------------------------------------------------------- 1 | 122 2 | 3 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/vendor/unity/release/version.info: -------------------------------------------------------------------------------- 1 | 2.4.3 2 | 3 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/test/vendor/ceedling/vendor/unity/src/meson.build: -------------------------------------------------------------------------------- 1 | ################################################################################### 2 | # # 3 | # NAME: meson.build # 4 | # # 5 | # AUTHOR: Mike Karlesky, Mark VanderVoord, Greg Williams. # 6 | # WRITTEN BY: Michael Brockus. # 7 | # # 8 | # License: MIT # 9 | # # 10 | ################################################################################### 11 | 12 | unity_dir = include_directories('.') 13 | 14 | unity_lib = static_library(meson.project_name(), 15 | sources: ['unity.c'], 16 | include_directories: unity_dir) 17 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/tools/top.mk: -------------------------------------------------------------------------------- 1 | ifneq ($(lastword a b),b) 2 | $(error This Makefile require make 3.81 or newer) 3 | endif 4 | 5 | # Detect whether shell style is windows or not 6 | # https://stackoverflow.com/questions/714100/os-detecting-makefile/52062069#52062069 7 | ifeq '$(findstring ;,$(PATH))' ';' 8 | CMDEXE := 1 9 | endif 10 | 11 | # Set TOP to be the path to get from the current directory (where make was 12 | # invoked) to the top of the tree. $(lastword $(MAKEFILE_LIST)) returns 13 | # the name of this makefile relative to where make was invoked. 14 | 15 | THIS_MAKEFILE := $(lastword $(MAKEFILE_LIST)) 16 | TOP := $(patsubst %/tools/top.mk,%,$(THIS_MAKEFILE)) 17 | 18 | ifeq ($(CMDEXE),1) 19 | TOP := $(subst \,/,$(shell for %%i in ( $(TOP) ) do echo %%~fi)) 20 | else 21 | TOP := $(shell realpath $(TOP)) 22 | endif 23 | #$(info Top directory is $(TOP)) 24 | 25 | ifeq ($(CMDEXE),1) 26 | CURRENT_PATH := $(subst $(TOP)/,,$(subst \,/,$(shell echo %CD%))) 27 | else 28 | CURRENT_PATH := $(shell realpath --relative-to=$(TOP) `pwd`) 29 | endif 30 | #$(info Path from top is $(CURRENT_PATH)) 31 | -------------------------------------------------------------------------------- /lib/tinyusb-ohci/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 | --------------------------------------------------------------------------------