├── .circleci └── config.yml ├── .clang-format ├── .gdbinit ├── .github └── FUNDING.yml ├── .gitignore ├── .vscode ├── c_cpp_properties.json ├── launch.json ├── settings.json └── tasks.json ├── ChibiOS ├── demos.zip ├── doc │ ├── common │ │ └── rsc │ │ │ ├── custom.css │ │ │ ├── footer_chm.html │ │ │ ├── footer_html.html │ │ │ ├── header_chm.html │ │ │ ├── header_html.html │ │ │ └── layout.xml │ ├── hal │ │ ├── Doxyfile_chm │ │ ├── Doxyfile_html │ │ ├── index.html │ │ ├── makechm.bat │ │ ├── makehtml.bat │ │ ├── readme.txt │ │ ├── reports │ │ │ └── misra.txt │ │ ├── rsync_web.sh │ │ └── src │ │ │ └── main.dox │ ├── nil │ │ ├── Doxyfile_chm │ │ ├── Doxyfile_html │ │ ├── index.html │ │ ├── makechm.bat │ │ ├── makehtml.bat │ │ ├── readme.txt │ │ ├── reports │ │ │ ├── SPC560D-48-GCC.txt │ │ │ ├── STM32F303-72-GCC.txt │ │ │ ├── STM32F746-216-GCC.txt │ │ │ └── misra.txt │ │ ├── rsc │ │ │ ├── workspace.eps │ │ │ └── workspace.svg │ │ ├── rsync_web.sh │ │ └── src │ │ │ └── main.dox │ └── rt │ │ ├── Doxyfile_chm │ │ ├── Doxyfile_html │ │ ├── index.html │ │ ├── makechm.bat │ │ ├── makehtml.bat │ │ ├── readme.txt │ │ ├── reports │ │ ├── LPC2148-48-ARM.txt │ │ ├── LPC2148-48-THUMB.txt │ │ ├── SPC560D-48-CW.txt │ │ ├── SPC560D-48-GCC.txt │ │ ├── SPC560P-64-GCC.txt │ │ ├── SPC563M-80-GCC.txt │ │ ├── SPC56EC-120-CW.txt │ │ ├── SPC56EC-120-GCC.txt │ │ ├── SPC56EL-120-GCC.txt │ │ ├── STM32F051-48-GCC.txt │ │ ├── STM32F303-72-GCC-FPU.txt │ │ ├── STM32F303-72-GCC.txt │ │ ├── STM32F303-72-IAR-FPU.txt │ │ ├── STM32F303-72-IAR.txt │ │ ├── STM32F303-72-RVCT-FPU.txt │ │ ├── STM32F303-72-RVCT.txt │ │ ├── STM32F407-168-GCC-FPU.txt │ │ ├── STM32F407-168-GCC.txt │ │ ├── STM32F746-216-GCC-FPU.txt │ │ ├── STM32F746-216-GCC.txt │ │ ├── STM32L053-32-GCC.txt │ │ ├── STM32L152-32-GCC.txt │ │ ├── STM32L476-80-GCC-FPU.txt │ │ ├── STM32L476-80-GCC.txt │ │ └── testbuild.7z │ │ ├── rsc │ │ ├── workspace.eps │ │ └── workspace.svg │ │ ├── rsync_web.sh │ │ └── src │ │ ├── concepts.dox │ │ └── main.dox ├── documentation.html ├── ext │ ├── fatfs-0.10b-patched.7z │ ├── lwip-1.4.1_patched.7z │ └── readme.txt ├── license.txt ├── os │ ├── common │ │ ├── abstractions │ │ │ ├── cmsis_os │ │ │ │ ├── cmsis_os.c │ │ │ │ ├── cmsis_os.h │ │ │ │ └── cmsis_os.mk │ │ │ └── nasa_cfe │ │ │ │ ├── osal │ │ │ │ ├── cfe_osal.mk │ │ │ │ ├── include │ │ │ │ │ ├── common_types.h │ │ │ │ │ ├── osapi-os-core.h │ │ │ │ │ ├── osapi-os-custom.h │ │ │ │ │ ├── osapi-os-filesys.h │ │ │ │ │ ├── osapi-os-loader.h │ │ │ │ │ ├── osapi-os-net.h │ │ │ │ │ ├── osapi-os-timer.h │ │ │ │ │ ├── osapi-version.h │ │ │ │ │ └── osapi.h │ │ │ │ └── src │ │ │ │ │ └── osapi.c │ │ │ │ └── psp │ │ │ │ ├── cfe_psp.mk │ │ │ │ ├── include │ │ │ │ ├── cfe_psp.h │ │ │ │ ├── cfe_psp_config.h │ │ │ │ └── psp_version.h │ │ │ │ └── src │ │ │ │ ├── cfe_psp_exception.c │ │ │ │ ├── cfe_psp_memory.c │ │ │ │ ├── cfe_psp_support.c │ │ │ │ └── cfe_psp_timer.c │ │ ├── ext │ │ │ ├── CMSIS │ │ │ │ ├── ST │ │ │ │ │ ├── STM32F0xx │ │ │ │ │ │ ├── stm32f030x6.h │ │ │ │ │ │ ├── stm32f030x8.h │ │ │ │ │ │ ├── stm32f030xc.h │ │ │ │ │ │ ├── stm32f031x6.h │ │ │ │ │ │ ├── stm32f038xx.h │ │ │ │ │ │ ├── stm32f042x6.h │ │ │ │ │ │ ├── stm32f048xx.h │ │ │ │ │ │ ├── stm32f051x8.h │ │ │ │ │ │ ├── stm32f058xx.h │ │ │ │ │ │ ├── stm32f070x6.h │ │ │ │ │ │ ├── stm32f070xb.h │ │ │ │ │ │ ├── stm32f071xb.h │ │ │ │ │ │ ├── stm32f072xb.h │ │ │ │ │ │ ├── stm32f078xx.h │ │ │ │ │ │ ├── stm32f091xc.h │ │ │ │ │ │ ├── stm32f098xx.h │ │ │ │ │ │ ├── stm32f0xx.h │ │ │ │ │ │ └── system_stm32f0xx.h │ │ │ │ │ ├── STM32F1xx │ │ │ │ │ │ ├── stm32f100xb.h │ │ │ │ │ │ ├── stm32f100xe.h │ │ │ │ │ │ ├── stm32f101x6.h │ │ │ │ │ │ ├── stm32f101xb.h │ │ │ │ │ │ ├── stm32f101xe.h │ │ │ │ │ │ ├── stm32f101xg.h │ │ │ │ │ │ ├── stm32f102x6.h │ │ │ │ │ │ ├── stm32f102xb.h │ │ │ │ │ │ ├── stm32f103x6.h │ │ │ │ │ │ ├── stm32f103xb.h │ │ │ │ │ │ ├── stm32f103xe.h │ │ │ │ │ │ ├── stm32f103xg.h │ │ │ │ │ │ ├── stm32f105xc.h │ │ │ │ │ │ ├── stm32f107xc.h │ │ │ │ │ │ ├── stm32f1xx.h │ │ │ │ │ │ └── system_stm32f1xx.h │ │ │ │ │ ├── STM32F2xx │ │ │ │ │ │ ├── stm32f205xx.h │ │ │ │ │ │ ├── stm32f207xx.h │ │ │ │ │ │ ├── stm32f215xx.h │ │ │ │ │ │ ├── stm32f217xx.h │ │ │ │ │ │ ├── stm32f2xx.h │ │ │ │ │ │ └── system_stm32f2xx.h │ │ │ │ │ ├── STM32F3xx │ │ │ │ │ │ ├── stm32f301x8.h │ │ │ │ │ │ ├── stm32f302x8.h │ │ │ │ │ │ ├── stm32f302xc.h │ │ │ │ │ │ ├── stm32f302xe.h │ │ │ │ │ │ ├── stm32f303x8.h │ │ │ │ │ │ ├── stm32f303xc.h │ │ │ │ │ │ ├── stm32f303xe.h │ │ │ │ │ │ ├── stm32f318xx.h │ │ │ │ │ │ ├── stm32f328xx.h │ │ │ │ │ │ ├── stm32f334x8.h │ │ │ │ │ │ ├── stm32f358xx.h │ │ │ │ │ │ ├── stm32f373xc.h │ │ │ │ │ │ ├── stm32f378xx.h │ │ │ │ │ │ ├── stm32f398xx.h │ │ │ │ │ │ ├── stm32f3xx.h │ │ │ │ │ │ └── system_stm32f3xx.h │ │ │ │ │ ├── STM32F4xx │ │ │ │ │ │ ├── stm32f401xc.h │ │ │ │ │ │ ├── stm32f401xe.h │ │ │ │ │ │ ├── stm32f405xx.h │ │ │ │ │ │ ├── stm32f407xx.h │ │ │ │ │ │ ├── stm32f410cx.h │ │ │ │ │ │ ├── stm32f410rx.h │ │ │ │ │ │ ├── stm32f410tx.h │ │ │ │ │ │ ├── stm32f411xe.h │ │ │ │ │ │ ├── stm32f415xx.h │ │ │ │ │ │ ├── stm32f417xx.h │ │ │ │ │ │ ├── stm32f427xx.h │ │ │ │ │ │ ├── stm32f429xx.h │ │ │ │ │ │ ├── stm32f437xx.h │ │ │ │ │ │ ├── stm32f439xx.h │ │ │ │ │ │ ├── stm32f446xx.h │ │ │ │ │ │ ├── stm32f469xx.h │ │ │ │ │ │ ├── stm32f479xx.h │ │ │ │ │ │ ├── stm32f4xx.h │ │ │ │ │ │ └── system_stm32f4xx.h │ │ │ │ │ ├── STM32F7xx │ │ │ │ │ │ ├── stm32f745xx.h │ │ │ │ │ │ ├── stm32f746xx.h │ │ │ │ │ │ ├── stm32f756xx.h │ │ │ │ │ │ ├── stm32f7xx.h │ │ │ │ │ │ └── system_stm32f7xx.h │ │ │ │ │ ├── STM32L0xx │ │ │ │ │ │ ├── stm32l051xx.h │ │ │ │ │ │ ├── stm32l052xx.h │ │ │ │ │ │ ├── stm32l053xx.h │ │ │ │ │ │ ├── stm32l061xx.h │ │ │ │ │ │ ├── stm32l062xx.h │ │ │ │ │ │ ├── stm32l063xx.h │ │ │ │ │ │ ├── stm32l0xx.h │ │ │ │ │ │ └── system_stm32l0xx.h │ │ │ │ │ ├── STM32L1xx │ │ │ │ │ │ ├── stm32l100xb.h │ │ │ │ │ │ ├── stm32l100xba.h │ │ │ │ │ │ ├── stm32l100xc.h │ │ │ │ │ │ ├── stm32l151xb.h │ │ │ │ │ │ ├── stm32l151xba.h │ │ │ │ │ │ ├── stm32l151xc.h │ │ │ │ │ │ ├── stm32l151xca.h │ │ │ │ │ │ ├── stm32l151xd.h │ │ │ │ │ │ ├── stm32l151xdx.h │ │ │ │ │ │ ├── stm32l151xe.h │ │ │ │ │ │ ├── stm32l152xb.h │ │ │ │ │ │ ├── stm32l152xba.h │ │ │ │ │ │ ├── stm32l152xc.h │ │ │ │ │ │ ├── stm32l152xca.h │ │ │ │ │ │ ├── stm32l152xd.h │ │ │ │ │ │ ├── stm32l152xdx.h │ │ │ │ │ │ ├── stm32l152xe.h │ │ │ │ │ │ ├── stm32l162xc.h │ │ │ │ │ │ ├── stm32l162xca.h │ │ │ │ │ │ ├── stm32l162xd.h │ │ │ │ │ │ ├── stm32l162xdx.h │ │ │ │ │ │ ├── stm32l162xe.h │ │ │ │ │ │ ├── stm32l1xx.h │ │ │ │ │ │ └── system_stm32l1xx.h │ │ │ │ │ └── STM32L4xx │ │ │ │ │ │ ├── stm32l471xx.h │ │ │ │ │ │ ├── stm32l475xx.h │ │ │ │ │ │ ├── stm32l476xx.h │ │ │ │ │ │ ├── stm32l485xx.h │ │ │ │ │ │ ├── stm32l486xx.h │ │ │ │ │ │ ├── stm32l4xx.h │ │ │ │ │ │ └── system_stm32l4xx.h │ │ │ │ ├── include │ │ │ │ │ ├── arm_common_tables.h │ │ │ │ │ ├── arm_const_structs.h │ │ │ │ │ ├── arm_math.h │ │ │ │ │ ├── core_cm0.h │ │ │ │ │ ├── core_cm0plus.h │ │ │ │ │ ├── core_cm3.h │ │ │ │ │ ├── core_cm4.h │ │ │ │ │ ├── core_cm7.h │ │ │ │ │ ├── core_cmFunc.h │ │ │ │ │ ├── core_cmInstr.h │ │ │ │ │ └── core_cmSimd.h │ │ │ │ └── readme.txt │ │ │ └── readme.txt │ │ ├── oslib │ │ │ ├── include │ │ │ │ ├── chbsem.h │ │ │ │ ├── chheap.h │ │ │ │ ├── chmboxes.h │ │ │ │ ├── chmemcore.h │ │ │ │ └── chmempools.h │ │ │ ├── readme.txt │ │ │ └── src │ │ │ │ ├── chheap.c │ │ │ │ ├── chmboxes.c │ │ │ │ ├── chmemcore.c │ │ │ │ └── chmempools.c │ │ ├── ports │ │ │ ├── ARM │ │ │ │ ├── chcore.c │ │ │ │ ├── chcore.h │ │ │ │ ├── chcore_timer.h │ │ │ │ └── compilers │ │ │ │ │ └── GCC │ │ │ │ │ ├── chcoreasm.s │ │ │ │ │ ├── chtypes.h │ │ │ │ │ └── mk │ │ │ │ │ └── port_generic.mk │ │ │ ├── ARMCMx │ │ │ │ ├── chcore.c │ │ │ │ ├── chcore.h │ │ │ │ ├── chcore_timer.h │ │ │ │ ├── chcore_v6m.c │ │ │ │ ├── chcore_v6m.h │ │ │ │ ├── chcore_v7m.c │ │ │ │ ├── chcore_v7m.h │ │ │ │ ├── compilers │ │ │ │ │ ├── GCC │ │ │ │ │ │ ├── chcoreasm_v6m.s │ │ │ │ │ │ ├── chcoreasm_v7m.s │ │ │ │ │ │ ├── chtypes.h │ │ │ │ │ │ └── mk │ │ │ │ │ │ │ ├── port_v6m.mk │ │ │ │ │ │ │ └── port_v7m.mk │ │ │ │ │ ├── IAR │ │ │ │ │ │ ├── chcoreasm_v6m.s │ │ │ │ │ │ ├── chcoreasm_v7m.s │ │ │ │ │ │ └── chtypes.h │ │ │ │ │ └── RVCT │ │ │ │ │ │ ├── chcoreasm_v6m.s │ │ │ │ │ │ ├── chcoreasm_v7m.s │ │ │ │ │ │ └── chtypes.h │ │ │ │ └── mpu.h │ │ │ ├── AVR │ │ │ │ ├── chcore.c │ │ │ │ ├── chcore.h │ │ │ │ ├── chcore_timer.h │ │ │ │ └── compilers │ │ │ │ │ └── GCC │ │ │ │ │ ├── chtypes.h │ │ │ │ │ └── mk │ │ │ │ │ └── port.mk │ │ │ ├── SIMIA32 │ │ │ │ ├── chcore.c │ │ │ │ ├── chcore.h │ │ │ │ └── compilers │ │ │ │ │ └── GCC │ │ │ │ │ ├── chtypes.h │ │ │ │ │ └── port.mk │ │ │ ├── e200 │ │ │ │ ├── chcore.c │ │ │ │ ├── chcore.h │ │ │ │ └── compilers │ │ │ │ │ ├── CW │ │ │ │ │ ├── chcoreasm.s │ │ │ │ │ ├── chtypes.h │ │ │ │ │ └── ivor.s │ │ │ │ │ └── GCC │ │ │ │ │ ├── chcoreasm.s │ │ │ │ │ ├── chtypes.h │ │ │ │ │ ├── ivor.s │ │ │ │ │ └── mk │ │ │ │ │ └── port.mk │ │ │ ├── readme.txt │ │ │ └── templates │ │ │ │ ├── chcore.c │ │ │ │ ├── chcore.h │ │ │ │ └── chtypes.h │ │ └── startup │ │ │ ├── ARM │ │ │ ├── compilers │ │ │ │ └── GCC │ │ │ │ │ ├── crt0.s │ │ │ │ │ ├── crt1.c │ │ │ │ │ ├── ld │ │ │ │ │ └── LPC2148.ld │ │ │ │ │ ├── mk │ │ │ │ │ └── startup_lpc214x.mk │ │ │ │ │ ├── rules.ld │ │ │ │ │ ├── rules.mk │ │ │ │ │ └── vectors.s │ │ │ └── devices │ │ │ │ └── LPC214x │ │ │ │ ├── armparams.h │ │ │ │ └── lpc214x.h │ │ │ ├── ARMCMx │ │ │ ├── compilers │ │ │ │ ├── GCC │ │ │ │ │ ├── crt0_v6m.s │ │ │ │ │ ├── crt0_v7m.s │ │ │ │ │ ├── crt1.c │ │ │ │ │ ├── ld │ │ │ │ │ │ ├── STM32F030x4.ld │ │ │ │ │ │ ├── STM32F030x6.ld │ │ │ │ │ │ ├── STM32F030x8.ld │ │ │ │ │ │ ├── STM32F031x6.ld │ │ │ │ │ │ ├── STM32F042x6.ld │ │ │ │ │ │ ├── STM32F051x8.ld │ │ │ │ │ │ ├── STM32F072xB.ld │ │ │ │ │ │ ├── STM32F091xC.ld │ │ │ │ │ │ ├── STM32F100xB.ld │ │ │ │ │ │ ├── STM32F103x8.ld │ │ │ │ │ │ ├── STM32F103xB.ld │ │ │ │ │ │ ├── STM32F103xB_maplemini_bootloader.ld │ │ │ │ │ │ ├── STM32F103xD.ld │ │ │ │ │ │ ├── STM32F103xE.ld │ │ │ │ │ │ ├── STM32F103xG.ld │ │ │ │ │ │ ├── STM32F107xC.ld │ │ │ │ │ │ ├── STM32F207xG.ld │ │ │ │ │ │ ├── STM32F302x8.ld │ │ │ │ │ │ ├── STM32F303x8.ld │ │ │ │ │ │ ├── STM32F303xC.ld │ │ │ │ │ │ ├── STM32F303xE.ld │ │ │ │ │ │ ├── STM32F334x8.ld │ │ │ │ │ │ ├── STM32F373xC.ld │ │ │ │ │ │ ├── STM32F401xC.ld │ │ │ │ │ │ ├── STM32F401xE.ld │ │ │ │ │ │ ├── STM32F405xG.ld │ │ │ │ │ │ ├── STM32F407xG.ld │ │ │ │ │ │ ├── STM32F411xC.ld │ │ │ │ │ │ ├── STM32F411xE.ld │ │ │ │ │ │ ├── STM32F429xI.ld │ │ │ │ │ │ ├── STM32F446xC.ld │ │ │ │ │ │ ├── STM32F446xE.ld │ │ │ │ │ │ ├── STM32F469xI.ld │ │ │ │ │ │ ├── STM32F746xG.ld │ │ │ │ │ │ ├── STM32F746xG_ETH.ld │ │ │ │ │ │ ├── STM32F746xG_MAX.ld │ │ │ │ │ │ ├── STM32L052x6.ld │ │ │ │ │ │ ├── STM32L052x8.ld │ │ │ │ │ │ ├── STM32L053x6.ld │ │ │ │ │ │ ├── STM32L053x8.ld │ │ │ │ │ │ ├── STM32L151x6.ld │ │ │ │ │ │ ├── STM32L152xB.ld │ │ │ │ │ │ ├── STM32L152xE.ld │ │ │ │ │ │ ├── STM32L476xG.ld │ │ │ │ │ │ ├── rules.ld │ │ │ │ │ │ ├── rules_code.ld │ │ │ │ │ │ ├── rules_data.ld │ │ │ │ │ │ └── rules_stacks.ld │ │ │ │ │ ├── mk │ │ │ │ │ │ ├── startup_stm32f0xx.mk │ │ │ │ │ │ ├── startup_stm32f1xx.mk │ │ │ │ │ │ ├── startup_stm32f2xx.mk │ │ │ │ │ │ ├── startup_stm32f3xx.mk │ │ │ │ │ │ ├── startup_stm32f4xx.mk │ │ │ │ │ │ ├── startup_stm32f7xx.mk │ │ │ │ │ │ ├── startup_stm32l0xx.mk │ │ │ │ │ │ ├── startup_stm32l1xx.mk │ │ │ │ │ │ └── startup_stm32l4xx.mk │ │ │ │ │ ├── rules.mk │ │ │ │ │ ├── vectors.c │ │ │ │ │ └── vectors.h │ │ │ │ ├── IAR │ │ │ │ │ ├── cstartup.s │ │ │ │ │ └── vectors.s │ │ │ │ └── RVCT │ │ │ │ │ ├── cstartup.s │ │ │ │ │ └── vectors.s │ │ │ └── devices │ │ │ │ ├── STM32F0xx │ │ │ │ └── cmparams.h │ │ │ │ ├── STM32F1xx │ │ │ │ └── cmparams.h │ │ │ │ ├── STM32F2xx │ │ │ │ └── cmparams.h │ │ │ │ ├── STM32F3xx │ │ │ │ └── cmparams.h │ │ │ │ ├── STM32F4xx │ │ │ │ └── cmparams.h │ │ │ │ ├── STM32F7xx │ │ │ │ └── cmparams.h │ │ │ │ ├── STM32L0xx │ │ │ │ └── cmparams.h │ │ │ │ ├── STM32L1xx │ │ │ │ └── cmparams.h │ │ │ │ └── STM32L4xx │ │ │ │ └── cmparams.h │ │ │ ├── SIMIA32 │ │ │ └── compilers │ │ │ │ └── GCC │ │ │ │ └── rules.mk │ │ │ └── e200 │ │ │ ├── compilers │ │ │ ├── CW │ │ │ │ ├── crt0.s │ │ │ │ ├── unhandled.s │ │ │ │ ├── vectors.h │ │ │ │ └── vectors.s │ │ │ └── GCC │ │ │ │ ├── crt0.s │ │ │ │ ├── ld │ │ │ │ ├── SPC560B50.ld │ │ │ │ ├── SPC560B60.ld │ │ │ │ ├── SPC560B64.ld │ │ │ │ ├── SPC560D40.ld │ │ │ │ ├── SPC560P50.ld │ │ │ │ ├── SPC563M64.ld │ │ │ │ ├── SPC564A70.ld │ │ │ │ ├── SPC564A80.ld │ │ │ │ ├── SPC56EC74.ld │ │ │ │ ├── SPC56EL54_LSM.ld │ │ │ │ ├── SPC56EL60_LSM.ld │ │ │ │ ├── SPC56EL70_LSM.ld │ │ │ │ ├── SPC57EM80_HSM.ld │ │ │ │ ├── rules_z0.ld │ │ │ │ ├── rules_z3.ld │ │ │ │ └── rules_z4.ld │ │ │ │ ├── mk │ │ │ │ ├── startup_spc560bcxx.mk │ │ │ │ ├── startup_spc560bxx.mk │ │ │ │ ├── startup_spc560dxx.mk │ │ │ │ ├── startup_spc560pxx.mk │ │ │ │ ├── startup_spc563mxx.mk │ │ │ │ ├── startup_spc564axx.mk │ │ │ │ ├── startup_spc56ecxx.mk │ │ │ │ └── startup_spc56elxx.mk │ │ │ │ ├── rules.mk │ │ │ │ ├── vectors.h │ │ │ │ └── vectors.s │ │ │ └── devices │ │ │ ├── SPC560BCxx │ │ │ ├── boot.h │ │ │ ├── boot.s │ │ │ ├── intc.h │ │ │ └── ppcparams.h │ │ │ ├── SPC560Bxx │ │ │ ├── boot.h │ │ │ ├── boot.s │ │ │ ├── intc.h │ │ │ └── ppcparams.h │ │ │ ├── SPC560Dxx │ │ │ ├── boot.h │ │ │ ├── boot.s │ │ │ ├── boot_cw.s │ │ │ ├── intc.h │ │ │ └── ppcparams.h │ │ │ ├── SPC560Pxx │ │ │ ├── boot.h │ │ │ ├── boot.s │ │ │ ├── intc.h │ │ │ └── ppcparams.h │ │ │ ├── SPC563Mxx │ │ │ ├── boot.h │ │ │ ├── boot.s │ │ │ ├── intc.h │ │ │ └── ppcparams.h │ │ │ ├── SPC564Axx │ │ │ ├── boot.h │ │ │ ├── boot.s │ │ │ ├── intc.h │ │ │ └── ppcparams.h │ │ │ ├── SPC56ECxx │ │ │ ├── boot.h │ │ │ ├── boot.s │ │ │ ├── boot_cw.s │ │ │ ├── intc.h │ │ │ └── ppcparams.h │ │ │ ├── SPC56ELxx │ │ │ ├── boot.h │ │ │ ├── boot.s │ │ │ ├── intc.h │ │ │ └── ppcparams.h │ │ │ └── SPC57EMxx_HSM │ │ │ ├── boot.h │ │ │ ├── boot.s │ │ │ ├── intc.h │ │ │ └── ppcparams.h │ ├── ex │ │ └── ST │ │ │ ├── l3gd20.c │ │ │ ├── l3gd20.h │ │ │ ├── l3gd20.mk │ │ │ ├── lsm6ds0.c │ │ │ ├── lsm6ds0.h │ │ │ └── lsm6ds0.mk │ ├── hal │ │ ├── boards │ │ │ ├── ARDUINO_MEGA │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── ARDUINO_UNO │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── EA_LPCXPRESSO_11C24 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── EA_LPCXPRESSO_BB_1114 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── EA_LPCXPRESSO_BB_11U14 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── EA_LPCXPRESSO_BB_1343 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── EA_LPCXPRESSO_LPC812 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── MAPLEMINI_STM32_F103 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── MIKROE_CLICKER2_STM32 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── NGX_BB_LPC11U14 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── NONSTANDARD_STM32F4_BARTHESS1 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── OLIMEX_AVR_CAN │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── OLIMEX_AVR_MT_128 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── OLIMEX_LPC_P1227 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── OLIMEX_LPC_P1343 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── OLIMEX_LPC_P2148 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ ├── buzzer.c │ │ │ │ └── buzzer.h │ │ │ ├── OLIMEX_MSP430_P1611 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── OLIMEX_SAM7_EX256 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── OLIMEX_SAM7_P256 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── OLIMEX_STM32_103STK │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── OLIMEX_STM32_E407 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── OLIMEX_STM32_E407_REV_D │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── OLIMEX_STM32_H103 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── OLIMEX_STM32_H407 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── OLIMEX_STM32_LCD │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── OLIMEX_STM32_P103 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── OLIMEX_STM32_P107 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── OLIMEX_STM32_P407 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── RAISONANCE_REVA_STM8S │ │ │ │ ├── board.c │ │ │ │ └── board.h │ │ │ ├── STM32F103C8_MINIMAL │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── STUDIEL_AT91SAM7A3_EK │ │ │ │ ├── board.c │ │ │ │ └── board.h │ │ │ ├── ST_EVALKITST7580_1 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── ST_EVB_SPC560B │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── ST_EVB_SPC560BC │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── ST_EVB_SPC560D │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── ST_EVB_SPC560P │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── ST_EVB_SPC563M │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── ST_EVB_SPC564A │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── ST_EVB_SPC56EC │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── ST_EVB_SPC56EL │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── ST_INEMO_M1_DISCOVERY │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── ST_NUCLEO144_F303ZE │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_NUCLEO144_F429ZI │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_NUCLEO144_F446ZE │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_NUCLEO144_F746ZG │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_NUCLEO32_F031K6 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_NUCLEO32_F042K6 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_NUCLEO32_F303K8 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_NUCLEO64_F030R8 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_NUCLEO64_F072RB │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_NUCLEO64_F091RC │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_NUCLEO64_F103RB │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── ST_NUCLEO64_F302R8 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_NUCLEO64_F334R8 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_NUCLEO64_F401RE │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_NUCLEO64_F411RE │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_NUCLEO64_L053R8 │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_NUCLEO64_L152RE │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_NUCLEO64_L476RG │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_STM3210C_EVAL │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── ST_STM3210E_EVAL │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── ST_STM3220G_EVAL │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── ST_STM32373C_EVAL │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_STM32F072B_DISCOVERY │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_STM32F0_DISCOVERY │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_STM32F2_DISCOVERY │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_STM32F334_DISCOVERY │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_STM32F3_DISCOVERY │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_STM32F401C_DISCOVERY │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_STM32F429I_DISCOVERY │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_STM32F469I_DISCOVERY │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_STM32F4_DISCOVERY │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_STM32F746G_DISCOVERY │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_STM32L053_DISCOVERY │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_STM32L476_DISCOVERY │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_STM32L_DISCOVERY │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ ├── board.mk │ │ │ │ └── cfg │ │ │ │ │ └── board.chcfg │ │ │ ├── ST_STM32VL_DISCOVERY │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ │ ├── ST_STM8L_DISCOVERY │ │ │ │ ├── board.c │ │ │ │ └── board.h │ │ │ ├── ST_STM8S_DISCOVERY │ │ │ │ ├── board.c │ │ │ │ └── board.h │ │ │ ├── readme.txt │ │ │ └── simulator │ │ │ │ ├── board.c │ │ │ │ ├── board.h │ │ │ │ └── board.mk │ │ ├── dox │ │ │ ├── adc.dox │ │ │ ├── can.dox │ │ │ ├── dac.dox │ │ │ ├── ext.dox │ │ │ ├── gpt.dox │ │ │ ├── hal.dox │ │ │ ├── hal_buffers.dox │ │ │ ├── hal_channels.dox │ │ │ ├── hal_files.dox │ │ │ ├── hal_ioblock.dox │ │ │ ├── hal_queues.dox │ │ │ ├── hal_streams.dox │ │ │ ├── i2c.dox │ │ │ ├── i2s.dox │ │ │ ├── icu.dox │ │ │ ├── mac.dox │ │ │ ├── main.dox │ │ │ ├── mii.dox │ │ │ ├── mmc_spi.dox │ │ │ ├── mmcsd.dox │ │ │ ├── pal.dox │ │ │ ├── pwm.dox │ │ │ ├── rtc.dox │ │ │ ├── sdc.dox │ │ │ ├── serial.dox │ │ │ ├── serial_usb.dox │ │ │ ├── spi.dox │ │ │ ├── st.dox │ │ │ ├── uart.dox │ │ │ ├── usb.dox │ │ │ ├── usb_cdc.dox │ │ │ └── wdg.dox │ │ ├── hal.mk │ │ ├── include │ │ │ ├── hal.h │ │ │ ├── hal_adc.h │ │ │ ├── hal_buffers.h │ │ │ ├── hal_can.h │ │ │ ├── hal_channels.h │ │ │ ├── hal_dac.h │ │ │ ├── hal_ext.h │ │ │ ├── hal_files.h │ │ │ ├── hal_gpt.h │ │ │ ├── hal_i2c.h │ │ │ ├── hal_i2s.h │ │ │ ├── hal_icu.h │ │ │ ├── hal_ioblock.h │ │ │ ├── hal_mac.h │ │ │ ├── hal_mii.h │ │ │ ├── hal_mmc_spi.h │ │ │ ├── hal_mmcsd.h │ │ │ ├── hal_pal.h │ │ │ ├── hal_pwm.h │ │ │ ├── hal_queues.h │ │ │ ├── hal_rtc.h │ │ │ ├── hal_sdc.h │ │ │ ├── hal_serial.h │ │ │ ├── hal_serial_usb.h │ │ │ ├── hal_spi.h │ │ │ ├── hal_st.h │ │ │ ├── hal_streams.h │ │ │ ├── hal_uart.h │ │ │ ├── hal_usb.h │ │ │ ├── hal_usb_cdc.h │ │ │ └── hal_wdg.h │ │ ├── lib │ │ │ ├── peripherals │ │ │ │ ├── displays │ │ │ │ │ └── hal_displays.h │ │ │ │ └── sensors │ │ │ │ │ ├── hal_accelerometer.h │ │ │ │ │ ├── hal_compass.h │ │ │ │ │ ├── hal_gyroscope.h │ │ │ │ │ └── hal_sensors.h │ │ │ └── streams │ │ │ │ ├── chprintf.c │ │ │ │ ├── chprintf.h │ │ │ │ ├── memstreams.c │ │ │ │ ├── memstreams.h │ │ │ │ ├── nullstreams.c │ │ │ │ ├── nullstreams.h │ │ │ │ └── streams.mk │ │ ├── osal │ │ │ ├── nil │ │ │ │ ├── osal.c │ │ │ │ ├── osal.h │ │ │ │ └── osal.mk │ │ │ ├── os-less │ │ │ │ └── ARMCMx │ │ │ │ │ ├── osal.c │ │ │ │ │ ├── osal.h │ │ │ │ │ └── osal.mk │ │ │ └── rt │ │ │ │ ├── osal.c │ │ │ │ ├── osal.h │ │ │ │ └── osal.mk │ │ ├── ports │ │ │ ├── AVR │ │ │ │ ├── avr_pins.h │ │ │ │ ├── avr_timers.h │ │ │ │ ├── hal_adc_lld.c │ │ │ │ ├── hal_adc_lld.h │ │ │ │ ├── hal_gpt_lld.c │ │ │ │ ├── hal_gpt_lld.h │ │ │ │ ├── hal_i2c_lld.c │ │ │ │ ├── hal_i2c_lld.h │ │ │ │ ├── hal_icu_lld.c │ │ │ │ ├── hal_icu_lld.h │ │ │ │ ├── hal_lld.c │ │ │ │ ├── hal_lld.h │ │ │ │ ├── hal_pal_lld.c │ │ │ │ ├── hal_pal_lld.h │ │ │ │ ├── hal_pwm_lld.c │ │ │ │ ├── hal_pwm_lld.h │ │ │ │ ├── hal_serial_lld.c │ │ │ │ ├── hal_serial_lld.h │ │ │ │ ├── hal_spi_lld.c │ │ │ │ ├── hal_spi_lld.h │ │ │ │ ├── hal_st_lld.c │ │ │ │ ├── hal_st_lld.h │ │ │ │ └── platform.mk │ │ │ ├── LPC │ │ │ │ └── LPC214x │ │ │ │ │ ├── hal_lld.c │ │ │ │ │ ├── hal_lld.h │ │ │ │ │ ├── hal_pal_lld.c │ │ │ │ │ ├── hal_pal_lld.h │ │ │ │ │ ├── hal_serial_lld.c │ │ │ │ │ ├── hal_serial_lld.h │ │ │ │ │ ├── hal_spi_lld.c │ │ │ │ │ ├── hal_spi_lld.h │ │ │ │ │ ├── hal_st_lld.c │ │ │ │ │ ├── hal_st_lld.h │ │ │ │ │ ├── platform.mk │ │ │ │ │ ├── vic.c │ │ │ │ │ └── vic.h │ │ │ ├── STM32 │ │ │ │ ├── LLD │ │ │ │ │ ├── ADCv1 │ │ │ │ │ │ ├── hal_adc_lld.c │ │ │ │ │ │ ├── hal_adc_lld.h │ │ │ │ │ │ └── notes.txt │ │ │ │ │ ├── ADCv2 │ │ │ │ │ │ ├── hal_adc_lld.c │ │ │ │ │ │ ├── hal_adc_lld.h │ │ │ │ │ │ └── notes.txt │ │ │ │ │ ├── ADCv3 │ │ │ │ │ │ ├── hal_adc_lld.c │ │ │ │ │ │ ├── hal_adc_lld.h │ │ │ │ │ │ └── notes.txt │ │ │ │ │ ├── CANv1 │ │ │ │ │ │ ├── hal_can_lld.c │ │ │ │ │ │ └── hal_can_lld.h │ │ │ │ │ ├── DACv1 │ │ │ │ │ │ ├── hal_dac_lld.c │ │ │ │ │ │ └── hal_dac_lld.h │ │ │ │ │ ├── DMAv1 │ │ │ │ │ │ ├── notes.txt │ │ │ │ │ │ ├── stm32_dma.c │ │ │ │ │ │ └── stm32_dma.h │ │ │ │ │ ├── DMAv2 │ │ │ │ │ │ ├── notes.txt │ │ │ │ │ │ ├── stm32_dma.c │ │ │ │ │ │ └── stm32_dma.h │ │ │ │ │ ├── EXTIv1 │ │ │ │ │ │ ├── hal_ext_lld.c │ │ │ │ │ │ ├── hal_ext_lld.h │ │ │ │ │ │ └── notes.txt │ │ │ │ │ ├── GPIOv1 │ │ │ │ │ │ ├── hal_pal_lld.c │ │ │ │ │ │ └── hal_pal_lld.h │ │ │ │ │ ├── GPIOv2 │ │ │ │ │ │ ├── hal_pal_lld.c │ │ │ │ │ │ └── hal_pal_lld.h │ │ │ │ │ ├── GPIOv3 │ │ │ │ │ │ ├── hal_pal_lld.c │ │ │ │ │ │ └── hal_pal_lld.h │ │ │ │ │ ├── I2Cv1 │ │ │ │ │ │ ├── hal_i2c_lld.c │ │ │ │ │ │ └── hal_i2c_lld.h │ │ │ │ │ ├── I2Cv2 │ │ │ │ │ │ ├── hal_i2c_lld.c │ │ │ │ │ │ └── hal_i2c_lld.h │ │ │ │ │ ├── MACv1 │ │ │ │ │ │ ├── hal_mac_lld.c │ │ │ │ │ │ └── hal_mac_lld.h │ │ │ │ │ ├── OTGv1 │ │ │ │ │ │ ├── hal_usb_lld.c │ │ │ │ │ │ ├── hal_usb_lld.h │ │ │ │ │ │ └── stm32_otg.h │ │ │ │ │ ├── RTCv1 │ │ │ │ │ │ ├── hal_rtc_lld.c │ │ │ │ │ │ └── hal_rtc_lld.h │ │ │ │ │ ├── RTCv2 │ │ │ │ │ │ ├── hal_rtc_lld.c │ │ │ │ │ │ └── hal_rtc_lld.h │ │ │ │ │ ├── SDIOv1 │ │ │ │ │ │ ├── hal_sdc_lld.c │ │ │ │ │ │ └── hal_sdc_lld.h │ │ │ │ │ ├── SDMMCv1 │ │ │ │ │ │ ├── hal_sdc_lld.c │ │ │ │ │ │ └── hal_sdc_lld.h │ │ │ │ │ ├── SPIv1 │ │ │ │ │ │ ├── hal_i2s_lld.c │ │ │ │ │ │ ├── hal_i2s_lld.h │ │ │ │ │ │ ├── hal_spi_lld.c │ │ │ │ │ │ └── hal_spi_lld.h │ │ │ │ │ ├── SPIv2 │ │ │ │ │ │ ├── hal_i2s_lld.c │ │ │ │ │ │ ├── hal_i2s_lld.h │ │ │ │ │ │ ├── hal_spi_lld.c │ │ │ │ │ │ └── hal_spi_lld.h │ │ │ │ │ ├── TIMv1 │ │ │ │ │ │ ├── hal_gpt_lld.c │ │ │ │ │ │ ├── hal_gpt_lld.h │ │ │ │ │ │ ├── hal_icu_lld.c │ │ │ │ │ │ ├── hal_icu_lld.h │ │ │ │ │ │ ├── hal_pwm_lld.c │ │ │ │ │ │ ├── hal_pwm_lld.h │ │ │ │ │ │ ├── hal_st_lld.c │ │ │ │ │ │ ├── hal_st_lld.h │ │ │ │ │ │ ├── stm32_tim.c │ │ │ │ │ │ ├── stm32_tim.h │ │ │ │ │ │ └── tim_irq_mapping.txt │ │ │ │ │ ├── USARTv1 │ │ │ │ │ │ ├── hal_serial_lld.c │ │ │ │ │ │ ├── hal_serial_lld.h │ │ │ │ │ │ ├── hal_uart_lld.c │ │ │ │ │ │ └── hal_uart_lld.h │ │ │ │ │ ├── USARTv2 │ │ │ │ │ │ ├── hal_serial_lld.c │ │ │ │ │ │ ├── hal_serial_lld.h │ │ │ │ │ │ ├── hal_uart_lld.c │ │ │ │ │ │ └── hal_uart_lld.h │ │ │ │ │ ├── USBv1 │ │ │ │ │ │ ├── hal_usb_lld.c │ │ │ │ │ │ ├── hal_usb_lld.h │ │ │ │ │ │ └── stm32_usb.h │ │ │ │ │ └── xWDGv1 │ │ │ │ │ │ ├── hal_wdg_lld.c │ │ │ │ │ │ └── hal_wdg_lld.h │ │ │ │ ├── STM32F0xx │ │ │ │ │ ├── hal_ext_lld_isr.c │ │ │ │ │ ├── hal_ext_lld_isr.h │ │ │ │ │ ├── hal_lld.c │ │ │ │ │ ├── hal_lld.h │ │ │ │ │ ├── platform.mk │ │ │ │ │ ├── stm32_isr.h │ │ │ │ │ ├── stm32_rcc.h │ │ │ │ │ └── stm32_registry.h │ │ │ │ ├── STM32F1xx │ │ │ │ │ ├── hal_adc_lld.c │ │ │ │ │ ├── hal_adc_lld.h │ │ │ │ │ ├── hal_ext_lld_isr.c │ │ │ │ │ ├── hal_ext_lld_isr.h │ │ │ │ │ ├── hal_lld.c │ │ │ │ │ ├── hal_lld.h │ │ │ │ │ ├── hal_lld_f100.h │ │ │ │ │ ├── hal_lld_f103.h │ │ │ │ │ ├── hal_lld_f105_f107.h │ │ │ │ │ ├── platform.mk │ │ │ │ │ ├── platform_f105_f107.mk │ │ │ │ │ ├── stm32_isr.h │ │ │ │ │ ├── stm32_rcc.h │ │ │ │ │ └── stm32_registry.h │ │ │ │ ├── STM32F37x │ │ │ │ │ ├── hal_adc_lld.c │ │ │ │ │ ├── hal_adc_lld.h │ │ │ │ │ ├── hal_ext_lld_isr.c │ │ │ │ │ ├── hal_ext_lld_isr.h │ │ │ │ │ ├── hal_lld.c │ │ │ │ │ ├── hal_lld.h │ │ │ │ │ ├── platform.mk │ │ │ │ │ ├── stm32_isr.h │ │ │ │ │ ├── stm32_rcc.h │ │ │ │ │ └── stm32_registry.h │ │ │ │ ├── STM32F3xx │ │ │ │ │ ├── hal_ext_lld_isr.c │ │ │ │ │ ├── hal_ext_lld_isr.h │ │ │ │ │ ├── hal_lld.c │ │ │ │ │ ├── hal_lld.h │ │ │ │ │ ├── platform.mk │ │ │ │ │ ├── stm32_isr.h │ │ │ │ │ ├── stm32_rcc.h │ │ │ │ │ └── stm32_registry.h │ │ │ │ ├── STM32F4xx │ │ │ │ │ ├── hal_ext_lld_isr.c │ │ │ │ │ ├── hal_ext_lld_isr.h │ │ │ │ │ ├── hal_lld.c │ │ │ │ │ ├── hal_lld.h │ │ │ │ │ ├── platform.mk │ │ │ │ │ ├── stm32_isr.h │ │ │ │ │ ├── stm32_rcc.h │ │ │ │ │ └── stm32_registry.h │ │ │ │ ├── STM32F7xx │ │ │ │ │ ├── hal_ext_lld_isr.c │ │ │ │ │ ├── hal_ext_lld_isr.h │ │ │ │ │ ├── hal_lld.c │ │ │ │ │ ├── hal_lld.h │ │ │ │ │ ├── platform.mk │ │ │ │ │ ├── stm32_rcc.h │ │ │ │ │ └── stm32_registry.h │ │ │ │ ├── STM32L0xx │ │ │ │ │ ├── hal_ext_lld_isr.c │ │ │ │ │ ├── hal_ext_lld_isr.h │ │ │ │ │ ├── hal_lld.c │ │ │ │ │ ├── hal_lld.h │ │ │ │ │ ├── platform.mk │ │ │ │ │ ├── stm32_rcc.h │ │ │ │ │ └── stm32_registry.h │ │ │ │ ├── STM32L1xx │ │ │ │ │ ├── hal_adc_lld.c │ │ │ │ │ ├── hal_adc_lld.h │ │ │ │ │ ├── hal_ext_lld_isr.c │ │ │ │ │ ├── hal_ext_lld_isr.h │ │ │ │ │ ├── hal_lld.c │ │ │ │ │ ├── hal_lld.h │ │ │ │ │ ├── platform.dox │ │ │ │ │ ├── platform.mk │ │ │ │ │ ├── stm32_isr.h │ │ │ │ │ ├── stm32_rcc.h │ │ │ │ │ └── stm32_registry.h │ │ │ │ ├── STM32L4xx │ │ │ │ │ ├── hal_ext_lld_isr.c │ │ │ │ │ ├── hal_ext_lld_isr.h │ │ │ │ │ ├── hal_lld.c │ │ │ │ │ ├── hal_lld.h │ │ │ │ │ ├── platform.mk │ │ │ │ │ ├── stm32_rcc.h │ │ │ │ │ └── stm32_registry.h │ │ │ │ └── todo.txt │ │ │ ├── common │ │ │ │ ├── ARMCMx │ │ │ │ │ ├── nvic.c │ │ │ │ │ └── nvic.h │ │ │ │ └── platform.mk │ │ │ └── simulator │ │ │ │ ├── console.c │ │ │ │ ├── console.h │ │ │ │ ├── hal_pal_lld.c │ │ │ │ ├── hal_pal_lld.h │ │ │ │ ├── hal_st_lld.c │ │ │ │ ├── hal_st_lld.h │ │ │ │ └── win32 │ │ │ │ ├── hal_lld.c │ │ │ │ ├── hal_lld.h │ │ │ │ ├── hal_serial_lld.c │ │ │ │ ├── hal_serial_lld.h │ │ │ │ └── platform.mk │ │ ├── src │ │ │ ├── hal.c │ │ │ ├── hal_adc.c │ │ │ ├── hal_buffers.c │ │ │ ├── hal_can.c │ │ │ ├── hal_dac.c │ │ │ ├── hal_ext.c │ │ │ ├── hal_gpt.c │ │ │ ├── hal_i2c.c │ │ │ ├── hal_i2s.c │ │ │ ├── hal_icu.c │ │ │ ├── hal_mac.c │ │ │ ├── hal_mmc_spi.c │ │ │ ├── hal_mmcsd.c │ │ │ ├── hal_pal.c │ │ │ ├── hal_pwm.c │ │ │ ├── hal_queues.c │ │ │ ├── hal_rtc.c │ │ │ ├── hal_sdc.c │ │ │ ├── hal_serial.c │ │ │ ├── hal_serial_usb.c │ │ │ ├── hal_spi.c │ │ │ ├── hal_st.c │ │ │ ├── hal_uart.c │ │ │ ├── hal_usb.c │ │ │ └── hal_wdg.c │ │ └── templates │ │ │ ├── board │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ │ ├── hal_adc_lld.c │ │ │ ├── hal_adc_lld.h │ │ │ ├── hal_can_lld.c │ │ │ ├── hal_can_lld.h │ │ │ ├── hal_dac_lld.c │ │ │ ├── hal_dac_lld.h │ │ │ ├── hal_ext_lld.c │ │ │ ├── hal_ext_lld.h │ │ │ ├── hal_gpt_lld.c │ │ │ ├── hal_gpt_lld.h │ │ │ ├── hal_i2c_lld.c │ │ │ ├── hal_i2c_lld.h │ │ │ ├── hal_i2s_lld.c │ │ │ ├── hal_i2s_lld.h │ │ │ ├── hal_icu_lld.c │ │ │ ├── hal_icu_lld.h │ │ │ ├── hal_lld.c │ │ │ ├── hal_lld.h │ │ │ ├── hal_mac_lld.c │ │ │ ├── hal_mac_lld.h │ │ │ ├── hal_pal_lld.c │ │ │ ├── hal_pal_lld.h │ │ │ ├── hal_pwm_lld.c │ │ │ ├── hal_pwm_lld.h │ │ │ ├── hal_rtc_lld.c │ │ │ ├── hal_rtc_lld.h │ │ │ ├── hal_sdc_lld.c │ │ │ ├── hal_sdc_lld.h │ │ │ ├── hal_serial_lld.c │ │ │ ├── hal_serial_lld.h │ │ │ ├── hal_spi_lld.c │ │ │ ├── hal_spi_lld.h │ │ │ ├── hal_st_lld.c │ │ │ ├── hal_st_lld.h │ │ │ ├── hal_uart_lld.c │ │ │ ├── hal_uart_lld.h │ │ │ ├── hal_usb_lld.c │ │ │ ├── hal_usb_lld.h │ │ │ ├── hal_wdg_lld.c │ │ │ ├── hal_wdg_lld.h │ │ │ ├── halconf.h │ │ │ ├── mcuconf.h │ │ │ └── osal │ │ │ ├── osal.c │ │ │ ├── osal.h │ │ │ └── osal.mk │ ├── license │ │ ├── chcustomer.h │ │ └── chlicense.h │ ├── nil │ │ ├── dox │ │ │ └── nil.dox │ │ ├── include │ │ │ └── ch.h │ │ ├── nil.mk │ │ ├── src │ │ │ └── ch.c │ │ └── templates │ │ │ └── chconf.h │ ├── readme.txt │ ├── rt │ │ ├── dox │ │ │ └── rt.dox │ │ ├── include │ │ │ ├── ch.h │ │ │ ├── chalign.h │ │ │ ├── chchecks.h │ │ │ ├── chcond.h │ │ │ ├── chcustomer.h │ │ │ ├── chdebug.h │ │ │ ├── chdynamic.h │ │ │ ├── chevents.h │ │ │ ├── chmsg.h │ │ │ ├── chmtx.h │ │ │ ├── chregistry.h │ │ │ ├── chschd.h │ │ │ ├── chsem.h │ │ │ ├── chstats.h │ │ │ ├── chsys.h │ │ │ ├── chsystypes.h │ │ │ ├── chthreads.h │ │ │ ├── chtm.h │ │ │ ├── chtrace.h │ │ │ └── chvt.h │ │ ├── rt.mk │ │ ├── src │ │ │ ├── chcond.c │ │ │ ├── chdebug.c │ │ │ ├── chdynamic.c │ │ │ ├── chevents.c │ │ │ ├── chmsg.c │ │ │ ├── chmtx.c │ │ │ ├── chregistry.c │ │ │ ├── chschd.c │ │ │ ├── chsem.c │ │ │ ├── chstats.c │ │ │ ├── chsys.c │ │ │ ├── chthreads.c │ │ │ ├── chtm.c │ │ │ ├── chtrace.c │ │ │ └── chvt.c │ │ └── templates │ │ │ ├── chconf.h │ │ │ └── meta │ │ │ ├── module.c │ │ │ └── module.h │ └── various │ │ ├── cpp_wrappers │ │ ├── ch.cpp │ │ ├── ch.hpp │ │ ├── chcpp.mk │ │ ├── syscalls_cpp.cpp │ │ └── syscalls_cpp.hpp │ │ ├── devices_lib │ │ ├── accel │ │ │ ├── lis302dl.c │ │ │ ├── lis302dl.dox │ │ │ └── lis302dl.h │ │ └── lcd │ │ │ ├── lcd3310.c │ │ │ └── lcd3310.h │ │ ├── evtimer.c │ │ ├── evtimer.h │ │ ├── fatfs_bindings │ │ ├── fatfs.mk │ │ ├── fatfs_diskio.c │ │ ├── fatfs_syscall.c │ │ └── readme.txt │ │ ├── lwip_bindings │ │ ├── arch │ │ │ ├── cc.h │ │ │ ├── perf.h │ │ │ ├── sys_arch.c │ │ │ └── sys_arch.h │ │ ├── lwip.mk │ │ ├── lwipthread.c │ │ ├── lwipthread.h │ │ └── readme.txt │ │ ├── shell │ │ ├── shell.c │ │ ├── shell.h │ │ ├── shell.mk │ │ ├── shell_cmd.c │ │ └── shell_cmd.h │ │ ├── syscalls.c │ │ └── various.dox ├── readme.txt ├── release_note_next.txt ├── testhal.zip └── tools │ ├── stylecheck.pl │ └── test.c ├── FatFs ├── diskio.c ├── diskio.h ├── ff.c ├── ff.h ├── ffconf_072.h ├── ffconf_303.h ├── ffsystem.c ├── ffunicode.c └── integer.h ├── Makefile ├── NANOVNA_STM32_F072 ├── STM32F072xB.ld ├── adc_v1.c ├── board.c ├── board.h ├── board.mk ├── dac_v1.c ├── dma_v1.c ├── exti_v1.c ├── flash.c ├── gpio_v2.c ├── i2c_v2.c ├── i2s.c ├── mcuconf.h └── rtc_v2.c ├── NANOVNA_STM32_F303 ├── STM32F303xC.ld ├── adc_v3.c ├── board.c ├── board.h ├── board.mk ├── board │ └── stm32f3discovery.cfg ├── dac_v1.c ├── debug │ └── STM32F3xx-ADC (OpenOCD, Flash and Run).launch ├── dma_v1.c ├── exti_v1.c ├── flash.c ├── gpio_v2.c ├── i2c_v2.c ├── i2s.c ├── interface │ └── stlink.cfg ├── mcuconf.h ├── rtc_v2.c ├── run_openocd └── target │ ├── stm32f3x.cfg │ └── swj-dp.tcl ├── README.md ├── chconf.h ├── chprintf.c ├── common.c ├── data_storage.c ├── doc ├── nanovna-blockdiagram.png ├── nanovna-pcb-photo.jpg ├── nanovna-sch.pdf └── nanovna.jpg ├── dsp.c ├── dsp.h ├── fonts ├── Font11x14.c ├── Font5x7.c ├── Font6x10.c ├── Font7x11b.c └── numfont16x22.c ├── halconf.h ├── hardware.c ├── hardware.h ├── icons_marker.c ├── icons_menu.c ├── lcd.c ├── main.c ├── mcuconf.h ├── measure.c ├── nanovna.h ├── plot.c ├── prog.sh ├── python ├── NanoVNA-example.ipynb ├── README.md ├── nanovna.py └── requirements.txt ├── si5351.c ├── si5351.h ├── spi.h ├── tlv320aic3204.c ├── ui.c ├── usbcfg.c ├── usbcfg.h ├── vna_math.c ├── vna_math.h └── vna_modules └── vna_browser.c /.circleci/config.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | jobs: 3 | build: 4 | docker: 5 | - image: edy555/arm-embedded:8.2 6 | steps: 7 | - checkout 8 | - run: 9 | name: "Pull Submodules" 10 | command: | 11 | git submodule init 12 | git submodule update --remote 13 | - run: 14 | name: "Build Firmware" 15 | command: make 16 | - run: 17 | name: "Remove obj/lst files" 18 | command: rm -r build/obj build/lst 19 | - store_artifacts: 20 | path: build 21 | destination: build 22 | - persist_to_workspace: 23 | root: . 24 | paths: 25 | - build 26 | publish-github-release: 27 | docker: 28 | - image: circleci/golang:1.10 29 | steps: 30 | - attach_workspace: 31 | at: . 32 | - run: 33 | name: "Publish Release on GitHub" 34 | command: | 35 | go get github.com/tcnksm/ghr 36 | zip nanovna-firmware-${CIRCLE_TAG}.zip build/*.bin build/*.hex build/*.elf 37 | ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${CIRCLE_TAG} nanovna-firmware-${CIRCLE_TAG}.zip 38 | workflows: 39 | version: 2 40 | main: 41 | jobs: 42 | - build: 43 | filters: 44 | tags: 45 | # 1.0.0 46 | only: /^\d+\.\d+\.\d+$/ 47 | - publish-github-release: 48 | requires: 49 | - build 50 | filters: 51 | branches: 52 | ignore: /.*/ 53 | tags: 54 | # 1.0.0 55 | only: /^\d+\.\d+\.\d+$/ -------------------------------------------------------------------------------- /.gdbinit: -------------------------------------------------------------------------------- 1 | target extended-remote :4242 2 | b hard_fault_handler_c 3 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: ['https://paypal.me/DiSlord'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | .DS_Store 3 | .dep 4 | build* 5 | test 6 | python 7 | *.py 8 | *.ipynb 9 | TAGS 10 | .emacs-dirvars 11 | *png 12 | -------------------------------------------------------------------------------- /.vscode/c_cpp_properties.json: -------------------------------------------------------------------------------- 1 | { 2 | "configurations": [ 3 | { 4 | "name": "Mac", 5 | "includePath": [ 6 | "${workspaceFolder}/ChibiOS/os/hal/ports/STM32/**", 7 | "${workspaceFolder}/ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/**", 8 | "${workspaceFolder}/ChibiOS/os/common/startup/ARMCMx/**", 9 | "${workspaceFolder}/ChibiOS/os/hal/ports/common/ARMCMx/**", 10 | "${workspaceFolder}/**" 11 | ], 12 | "defines": ["STM32F072xB"], 13 | "macFrameworkPath": [], 14 | "compilerPath": "/usr/local/bin/arm-none-eabi-gcc", 15 | "cStandard": "c11", 16 | "cppStandard": "c++17" 17 | } 18 | ], 19 | "version": 4 20 | } -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.2.0", 3 | "configurations": [ 4 | { 5 | "name": "OpenOCD-Debug", 6 | "type": "cortex-debug", 7 | "request": "launch", 8 | "servertype": "openocd", 9 | "executable": "build/ch.elf", 10 | "configFiles": [ 11 | "interface/stlink.cfg", 12 | "target/stm32f0x.cfg" 13 | ], 14 | "cwd": "${workspaceRoot}", 15 | "svdFile": "STM32F0x2.svd", 16 | "device": "stm32f0x", 17 | "preLaunchTask": "build", 18 | }, 19 | { 20 | "name": "STLink-Debug", 21 | "type": "cortex-debug", 22 | "request": "launch", 23 | "servertype": "stutil", 24 | "executable": "build/ch.elf", 25 | "cwd": "${workspaceRoot}", 26 | "svdFile": "STM32F0x2.svd", 27 | "device": "stm32f0x", 28 | "preLaunchTask": "build", 29 | } 30 | ] 31 | } -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "C_Cpp.errorSquiggles": "Disabled", 3 | "cpplint.filters": ["-build/include_subdir", "-build/include_order", "-readability/casting", "-whitespace/comments"] 4 | } -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "2.0.0", 3 | "tasks": [ 4 | { 5 | "label": "build", 6 | "type": "shell", 7 | "command": "make", 8 | "group": { 9 | "kind": "build", 10 | "isDefault": true 11 | } 12 | }, 13 | { 14 | "label": "flash", 15 | "type": "shell", 16 | "command": "make dfu flash", 17 | "group": "build" 18 | } 19 | ] 20 | } -------------------------------------------------------------------------------- /ChibiOS/demos.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/demos.zip -------------------------------------------------------------------------------- /ChibiOS/doc/common/rsc/footer_chm.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /ChibiOS/doc/common/rsc/footer_html.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 13 | 14 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /ChibiOS/doc/hal/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ChibiOS/doc/hal/makechm.bat: -------------------------------------------------------------------------------- 1 | del html\*.* /Q 2 | doxygen Doxyfile_chm 3 | del html\*.md5 4 | del html\*.map 5 | pause 6 | -------------------------------------------------------------------------------- /ChibiOS/doc/hal/makehtml.bat: -------------------------------------------------------------------------------- 1 | del html\*.* /Q 2 | doxygen Doxyfile_html 3 | del html\*.md5 4 | del html\*.map 5 | pause 6 | -------------------------------------------------------------------------------- /ChibiOS/doc/hal/readme.txt: -------------------------------------------------------------------------------- 1 | *** Documentation build procedure *** 2 | 3 | The following software must be installed: 4 | - Doxygen 1.7.4 or later. 5 | - Graphviz 2.26.3 or later. The ./bin directory must be specified in the path 6 | in order to make Graphviz accessible by Doxygen. 7 | 8 | Build procedure: 9 | - Run Doxywizard. 10 | - Load ./docs/Doxyfile_html or ./docs/Doxyfile_chm from Doxywizard. 11 | - Start. 12 | -------------------------------------------------------------------------------- /ChibiOS/doc/hal/rsync_web.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | rsync -avP -e ssh --delete --exclude=.* ./html/ gdisirio,chibios@web.sourceforge.net:/home/groups/c/ch/chibios/htdocs/docs3/hal -------------------------------------------------------------------------------- /ChibiOS/doc/hal/src/main.dox: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio. 3 | 4 | This file is part of ChibiOS. 5 | 6 | ChibiOS is free software; you can redistribute it and/or modify 7 | it under the terms of the GNU General Public License as published by 8 | the Free Software Foundation; either version 3 of the License, or 9 | (at your option) any later version. 10 | 11 | ChibiOS is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | GNU General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this program. If not, see . 18 | */ 19 | 20 | /** 21 | * @mainpage Introdution 22 | * @author Giovanni Di Sirio (gdisirio@users.sourceforge.net). 23 | * 24 | *

Features

25 | * - Hardware Abstraction Layer (HAL) supporting numerous high level device 26 | * drivers abstracting common features in modern MCUs. 27 | * - Driver models for: ADC, CAN, DAC, EXT, GPT, I2C, I2S, ICU, MAC, MMC, PAL, 28 | * PWM, RTC, SDC, Serial, UART, USB, USB-CDC, SPI, ST, WDG. 29 | * - Abstraction of streams. 30 | * - Abstraction of block devices. 31 | * - The drivers can be ported to virtually any MCU architecture thanks to 32 | * an high level API. 33 | * - The HAL can be used with or without an RTOS. 34 | * - The HAL can be adapted to any reasonable RTOS thanks to an Operating 35 | * System Abstraction Layer (OSAL). ChibiOS/RT and ChibiOS/NIL are supported 36 | * out of the box. 37 | * . 38 | */ 39 | -------------------------------------------------------------------------------- /ChibiOS/doc/nil/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ChibiOS/doc/nil/makechm.bat: -------------------------------------------------------------------------------- 1 | del html\*.* /Q 2 | doxygen Doxyfile_chm 3 | del html\*.md5 4 | del html\*.map 5 | pause 6 | -------------------------------------------------------------------------------- /ChibiOS/doc/nil/makehtml.bat: -------------------------------------------------------------------------------- 1 | del html\*.* /Q 2 | doxygen Doxyfile_html 3 | del html\*.md5 4 | del html\*.map 5 | pause 6 | -------------------------------------------------------------------------------- /ChibiOS/doc/nil/readme.txt: -------------------------------------------------------------------------------- 1 | *** Documentation build procedure *** 2 | 3 | The following software must be installed: 4 | - Doxygen 1.7.4 or later. 5 | - Graphviz 2.26.3 or later. The ./bin directory must be specified in the path 6 | in order to make Graphviz accessible by Doxygen. 7 | 8 | Build procedure: 9 | - Run Doxywizard. 10 | - Load ./docs/Doxyfile_html or ./docs/Doxyfile_chm from Doxywizard. 11 | - Start. 12 | -------------------------------------------------------------------------------- /ChibiOS/doc/nil/reports/SPC560D-48-GCC.txt: -------------------------------------------------------------------------------- 1 | 2 | *** ChibiOS/NIL Test Suite 3 | *** 4 | *** Compiled: Jul 9 2015 - 10:31:29 5 | *** Platform: SPC560Dxx Car Body and Convenience 6 | *** Test Board: EVB with SPC560Dxx Mini Module 7 | 8 | ---------------------------------------------------------------------------- 9 | --- Test Case 1.1 (System Tick Counter functionality) 10 | --- Result: SUCCESS 11 | ---------------------------------------------------------------------------- 12 | --- Test Case 1.2 (Thread Sleep functionality) 13 | --- Result: SUCCESS 14 | ---------------------------------------------------------------------------- 15 | --- Test Case 2.1 (semaphore primitives, no state change) 16 | --- Result: SUCCESS 17 | ---------------------------------------------------------------------------- 18 | --- Test Case 2.2 (semaphore primitives, with state change) 19 | --- Result: SUCCESS 20 | ---------------------------------------------------------------------------- 21 | --- Test Case 2.3 (semaphores timeout) 22 | --- Result: SUCCESS 23 | ---------------------------------------------------------------------------- 24 | --- Test Case 2.4 (suspend and resume functionality) 25 | --- Result: SUCCESS 26 | ---------------------------------------------------------------------------- 27 | --- Test Case 2.5 (events functionality) 28 | --- Result: SUCCESS 29 | ---------------------------------------------------------------------------- 30 | 31 | Final result: SUCCESS 32 | 33 | -------------------------------------------------------------------------------- /ChibiOS/doc/nil/reports/STM32F303-72-GCC.txt: -------------------------------------------------------------------------------- 1 | 2 | *** ChibiOS/NIL Test Suite 3 | *** 4 | *** Compiled: Jul 9 2015 - 10:52:02 5 | *** Platform: STM32F303xC Analog & DSP 6 | *** Test Board: STMicroelectronics STM32F3-Discovery 7 | 8 | ---------------------------------------------------------------------------- 9 | --- Test Case 1.1 (System Tick Counter functionality) 10 | --- Result: SUCCESS 11 | ---------------------------------------------------------------------------- 12 | --- Test Case 1.2 (Thread Sleep functionality) 13 | --- Result: SUCCESS 14 | ---------------------------------------------------------------------------- 15 | --- Test Case 2.1 (semaphore primitives, no state change) 16 | --- Result: SUCCESS 17 | ---------------------------------------------------------------------------- 18 | --- Test Case 2.2 (semaphore primitives, with state change) 19 | --- Result: SUCCESS 20 | ---------------------------------------------------------------------------- 21 | --- Test Case 2.3 (semaphores timeout) 22 | --- Result: SUCCESS 23 | ---------------------------------------------------------------------------- 24 | --- Test Case 2.4 (suspend and resume functionality) 25 | --- Result: SUCCESS 26 | ---------------------------------------------------------------------------- 27 | --- Test Case 2.5 (events functionality) 28 | --- Result: SUCCESS 29 | ---------------------------------------------------------------------------- 30 | 31 | Final result: SUCCESS 32 | 33 | -------------------------------------------------------------------------------- /ChibiOS/doc/nil/reports/STM32F746-216-GCC.txt: -------------------------------------------------------------------------------- 1 | 2 | *** ChibiOS/NIL Test Suite 3 | *** 4 | *** Compiled: Feb 16 2016 - 11:33:28 5 | *** Platform: STM32F746 Very High Performance with DSP and FPU 6 | *** Test Board: STMicroelectronics STM32F746G-Discovery 7 | 8 | ---------------------------------------------------------------------------- 9 | --- Test Case 1.1 (System Tick Counter functionality) 10 | --- Result: SUCCESS 11 | ---------------------------------------------------------------------------- 12 | --- Test Case 1.2 (Thread Sleep functionality) 13 | --- Result: SUCCESS 14 | ---------------------------------------------------------------------------- 15 | --- Test Case 2.1 (semaphore primitives, no state change) 16 | --- Result: SUCCESS 17 | ---------------------------------------------------------------------------- 18 | --- Test Case 2.2 (semaphore primitives, with state change) 19 | --- Result: SUCCESS 20 | ---------------------------------------------------------------------------- 21 | --- Test Case 2.3 (semaphores timeout) 22 | --- Result: SUCCESS 23 | ---------------------------------------------------------------------------- 24 | --- Test Case 2.4 (suspend and resume functionality) 25 | --- Result: SUCCESS 26 | ---------------------------------------------------------------------------- 27 | --- Test Case 2.5 (events functionality) 28 | --- Result: SUCCESS 29 | ---------------------------------------------------------------------------- 30 | 31 | Final result: SUCCESS 32 | 33 | -------------------------------------------------------------------------------- /ChibiOS/doc/nil/reports/misra.txt: -------------------------------------------------------------------------------- 1 | 2 | --- Module: ..\..\..\os\common\ports\ARMCMx\compilers\GCC\crt1.c (C) 3 | 4 | --- Module: ..\..\..\os\common\ports\ARMCMx\compilers\GCC\vectors.c (C) 5 | 6 | --- Module: ..\..\..\os\nil\src\nil.c (C) 7 | 8 | --- Module: ..\..\..\os\nil\ports\ARMCMx\nilcore.c (C) 9 | 10 | --- Module: ..\..\..\os\nil\ports\ARMCMx\nilcore_v7m.c (C) 11 | 12 | --- Module: main.c (C) 13 | -------------------------------------------------------------------------------- /ChibiOS/doc/nil/rsync_web.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | rsync -avP -e ssh --delete --exclude=.* ./html/ gdisirio,chibios@web.sourceforge.net:/home/groups/c/ch/chibios/htdocs/docs3/nil -------------------------------------------------------------------------------- /ChibiOS/doc/rt/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ChibiOS/doc/rt/makechm.bat: -------------------------------------------------------------------------------- 1 | del html\*.* /Q 2 | doxygen Doxyfile_chm 3 | del html\*.md5 4 | del html\*.map 5 | pause 6 | -------------------------------------------------------------------------------- /ChibiOS/doc/rt/makehtml.bat: -------------------------------------------------------------------------------- 1 | del html\*.* /Q 2 | doxygen Doxyfile_html 3 | del html\*.md5 4 | del html\*.map 5 | pause 6 | -------------------------------------------------------------------------------- /ChibiOS/doc/rt/readme.txt: -------------------------------------------------------------------------------- 1 | *** Documentation build procedure *** 2 | 3 | The following software must be installed: 4 | - Doxygen 1.7.4 or later. 5 | - Graphviz 2.26.3 or later. The ./bin directory must be specified in the path 6 | in order to make Graphviz accessible by Doxygen. 7 | 8 | Build procedure: 9 | - Run Doxywizard. 10 | - Load ./docs/Doxyfile_html or ./docs/Doxyfile_chm from Doxywizard. 11 | - Start. 12 | -------------------------------------------------------------------------------- /ChibiOS/doc/rt/reports/testbuild.7z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/doc/rt/reports/testbuild.7z -------------------------------------------------------------------------------- /ChibiOS/doc/rt/rsync_web.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | rsync -avP -e ssh --delete --exclude=.* ./html/ gdisirio,chibios@web.sourceforge.net:/home/groups/c/ch/chibios/htdocs/docs3/rt -------------------------------------------------------------------------------- /ChibiOS/documentation.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ChibiOS/ext/fatfs-0.10b-patched.7z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/ext/fatfs-0.10b-patched.7z -------------------------------------------------------------------------------- /ChibiOS/ext/lwip-1.4.1_patched.7z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/ext/lwip-1.4.1_patched.7z -------------------------------------------------------------------------------- /ChibiOS/ext/readme.txt: -------------------------------------------------------------------------------- 1 | All the code contained under ./ext is not part of the ChibiOS project and 2 | supplied as-is without any additional warranty by ChibiOS. For ownership and 3 | copyright statements see the license details inside the code. 4 | 5 | Some modules may contain changes from the ChibiOS team in order to increase 6 | compatibility or usability with ChibiOS itself. 7 | -------------------------------------------------------------------------------- /ChibiOS/os/common/abstractions/cmsis_os/cmsis_os.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT CMSIS RTOS wrapper. 2 | CMSISRTOSSRC = ${CHIBIOS}/os/common/abstractions/cmsis_os/cmsis_os.c 3 | 4 | CMSISRTOSINC = ${CHIBIOS}/os/common/abstractions/cmsis_os 5 | -------------------------------------------------------------------------------- /ChibiOS/os/common/abstractions/nasa_cfe/osal/cfe_osal.mk: -------------------------------------------------------------------------------- 1 | # NASA CFE OSAL files. 2 | CFEOSALSRC = $(CHIBIOS)/os/common/abstractions/nasa_cfe/osal/src/osapi.c 3 | 4 | CFEOSALINC = $(CHIBIOS)/os/common/abstractions/nasa_cfe/osal/include 5 | -------------------------------------------------------------------------------- /ChibiOS/os/common/abstractions/nasa_cfe/psp/cfe_psp.mk: -------------------------------------------------------------------------------- 1 | # NASA CFE PSP files. 2 | CFEPSPSRC = $(CHIBIOS)/os/common/abstractions/nasa_cfe/psp/src/cfe_psp_support.c \ 3 | $(CHIBIOS)/os/common/abstractions/nasa_cfe/psp/src/cfe_psp_timer.c \ 4 | $(CHIBIOS)/os/common/abstractions/nasa_cfe/psp/src/cfe_psp_memory.c \ 5 | $(CHIBIOS)/os/common/abstractions/nasa_cfe/psp/src/cfe_psp_exception.c 6 | 7 | CFEPSPINC = $(CHIBIOS)/os/common/abstractions/nasa_cfe/psp/include 8 | -------------------------------------------------------------------------------- /ChibiOS/os/common/abstractions/nasa_cfe/psp/include/cfe_psp_config.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** cfe_psp_config.h 3 | ** 4 | ** Copyright (c) 2004-2006, United States government as represented by the 5 | ** administrator of the National Aeronautics Space Administration. 6 | ** All rights reserved. This software(cFE) was created at NASA Goddard 7 | ** Space Flight Center pursuant to government contracts. 8 | ** 9 | ** This software may be used only pursuant to a United States government 10 | ** sponsored project and the United States government may not be charged 11 | ** for use thereof. 12 | ** 13 | ** 14 | */ 15 | 16 | #ifndef _cfe_psp_config_ 17 | #define _cfe_psp_config_ 18 | 19 | #include "common_types.h" 20 | 21 | #endif /* _cfe_psp_config_ */ 22 | -------------------------------------------------------------------------------- /ChibiOS/os/common/abstractions/nasa_cfe/psp/include/psp_version.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** $Id: psp_version.h 1.2.2.3 2014/10/01 15:41:27GMT-05:00 sstrege Exp $ 3 | ** 4 | ** 5 | ** Copyright (c) 2004-2006, United States government as represented by the 6 | ** administrator of the National Aeronautics Space Administration. 7 | ** All rights reserved. This software(cFE) was created at NASA's Goddard 8 | ** Space Flight Center pursuant to government contracts. 9 | ** 10 | ** This software may be used only pursuant to a United States government 11 | ** sponsored project and the United States government may not be charged 12 | ** for use thereof. 13 | ** 14 | ** 15 | ** 16 | ** Purpose: 17 | ** Provide version identifiers for the cFE Platform Support Packages (PSP). 18 | ** 19 | */ 20 | 21 | #ifndef _psp_version_ 22 | #define _psp_version_ 23 | 24 | 25 | /* 26 | ** Macro Definitions 27 | */ 28 | #define CFE_PSP_MAJOR_VERSION 1 29 | #define CFE_PSP_MINOR_VERSION 2 30 | #define CFE_PSP_REVISION 0 31 | #define CFE_PSP_MISSION_REV 0 32 | 33 | /* For backwards compatibility */ 34 | #define CFE_PSP_SUBMINOR_VERSION CFE_PSP_REVISION 35 | 36 | 37 | #endif /* _psp_version_ */ 38 | 39 | -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f030x6.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f030x6.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f030x8.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f030x8.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f030xc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f030xc.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f031x6.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f031x6.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f038xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f038xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f042x6.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f042x6.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f048xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f048xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f051x8.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f051x8.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f058xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f058xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f070x6.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f070x6.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f070xb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f070xb.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f071xb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f071xb.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f072xb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f072xb.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f078xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f078xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f091xc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f091xc.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f098xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f098xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f0xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F0xx/stm32f0xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f100xb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f100xb.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f100xe.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f100xe.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f101x6.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f101x6.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f101xb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f101xb.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f101xe.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f101xe.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f101xg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f101xg.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f102x6.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f102x6.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f102xb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f102xb.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f103x6.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f103x6.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f103xb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f103xb.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f103xe.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f103xe.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f103xg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f103xg.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f105xc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f105xc.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f107xc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f107xc.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f1xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F1xx/stm32f1xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F2xx/stm32f205xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F2xx/stm32f205xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F2xx/stm32f207xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F2xx/stm32f207xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F2xx/stm32f215xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F2xx/stm32f215xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F2xx/stm32f217xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F2xx/stm32f217xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F2xx/stm32f2xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F2xx/stm32f2xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f301x8.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f301x8.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f302x8.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f302x8.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f302xc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f302xc.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f302xe.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f302xe.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f303x8.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f303x8.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f303xc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f303xc.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f303xe.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f303xe.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f318xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f318xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f328xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f328xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f334x8.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f334x8.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f358xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f358xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f373xc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f373xc.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f378xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f378xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f398xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f398xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f3xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F3xx/stm32f3xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f401xc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f401xc.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f401xe.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f401xe.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f405xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f405xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f407xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f407xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f410cx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f410cx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f410rx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f410rx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f410tx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f410tx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f411xe.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f411xe.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f415xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f415xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f417xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f417xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f427xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f427xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f429xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f429xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f437xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f437xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f439xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f439xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f446xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f446xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f469xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f469xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f479xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f479xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f4xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F4xx/stm32f4xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F7xx/stm32f745xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F7xx/stm32f745xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F7xx/stm32f746xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F7xx/stm32f746xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F7xx/stm32f756xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F7xx/stm32f756xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32F7xx/stm32f7xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32F7xx/stm32f7xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l100xb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l100xb.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l100xba.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l100xba.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l100xc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l100xc.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l151xb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l151xb.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l151xba.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l151xba.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l151xc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l151xc.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l151xca.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l151xca.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l151xd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l151xd.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l151xdx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l151xdx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l151xe.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l151xe.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l152xb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l152xb.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l152xba.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l152xba.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l152xc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l152xc.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l152xca.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l152xca.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l152xd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l152xd.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l152xdx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l152xdx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l152xe.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l152xe.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l162xc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l162xc.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l162xca.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l162xca.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l162xd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l162xd.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l162xdx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l162xdx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l162xe.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l162xe.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l1xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L1xx/stm32l1xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L4xx/stm32l471xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L4xx/stm32l471xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L4xx/stm32l475xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L4xx/stm32l475xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L4xx/stm32l476xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L4xx/stm32l476xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L4xx/stm32l485xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L4xx/stm32l485xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L4xx/stm32l486xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L4xx/stm32l486xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/ST/STM32L4xx/stm32l4xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/common/ext/CMSIS/ST/STM32L4xx/stm32l4xx.h -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/CMSIS/readme.txt: -------------------------------------------------------------------------------- 1 | CMSIS is Copyright (C) 2011-2013 ARM Limited. All rights reserved. 2 | 3 | This directory contains only part of the CMSIS package. If you need the whole 4 | package please download it from: 5 | 6 | http://www.arm.com 7 | -------------------------------------------------------------------------------- /ChibiOS/os/common/ext/readme.txt: -------------------------------------------------------------------------------- 1 | All the code contained under ./os/common/ext is not part of the ChibiOS 2 | project and supplied as-is without any additional warranty by ChibiOS. 3 | For ownership and copyright statements see the license details inside the 4 | code. 5 | 6 | Some modules may contain changes from the ChibiOS team in order to increase 7 | compatibility or usability with ChibiOS itself. 8 | -------------------------------------------------------------------------------- /ChibiOS/os/common/oslib/readme.txt: -------------------------------------------------------------------------------- 1 | All the code contained under ./os/common/oslib are optional RTOS modules 2 | compatible with both RT and NIL. The code is placed under ./os/common in 3 | order to prevent code duplication and disalignments. 4 | -------------------------------------------------------------------------------- /ChibiOS/os/common/ports/ARM/compilers/GCC/mk/port_generic.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT ARM generic port files. 2 | PORTSRC = ${CHIBIOS}/os/common/ports/ARM/chcore.c 3 | 4 | PORTASM = $(CHIBIOS)/os/common/ports/ARM/compilers/GCC/chcoreasm.s 5 | 6 | PORTINC = ${CHIBIOS}/os/common/ports/ARM \ 7 | ${CHIBIOS}/os/common/ports/ARM/compilers/GCC 8 | -------------------------------------------------------------------------------- /ChibiOS/os/common/ports/ARMCMx/compilers/GCC/mk/port_v6m.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT Cortex-M0 STM32F0xx port files. 2 | PORTSRC = $(CHIBIOS)/os/common/ports/ARMCMx/chcore.c \ 3 | $(CHIBIOS)/os/common/ports/ARMCMx/chcore_v6m.c 4 | 5 | PORTASM = $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC/chcoreasm_v6m.s 6 | 7 | PORTINC = $(CHIBIOS)/os/common/ports/ARMCMx \ 8 | $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC 9 | -------------------------------------------------------------------------------- /ChibiOS/os/common/ports/ARMCMx/compilers/GCC/mk/port_v7m.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT ARMv7M generic port files. 2 | PORTSRC = $(CHIBIOS)/os/common/ports/ARMCMx/chcore.c \ 3 | $(CHIBIOS)/os/common/ports/ARMCMx/chcore_v7m.c 4 | 5 | PORTASM = $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.s 6 | 7 | PORTINC = $(CHIBIOS)/os/common/ports/ARMCMx \ 8 | $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC 9 | -------------------------------------------------------------------------------- /ChibiOS/os/common/ports/AVR/compilers/GCC/mk/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT AVR port files. 2 | PORTSRC = ${CHIBIOS}/os/common/ports/AVR/chcore.c 3 | 4 | PORTASM = 5 | 6 | PORTINC = ${CHIBIOS}/os/common/ports/AVR \ 7 | ${CHIBIOS}/os/common/ports/AVR/compilers/GCC 8 | -------------------------------------------------------------------------------- /ChibiOS/os/common/ports/SIMIA32/compilers/GCC/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT SIMIA32 port files. 2 | PORTSRC = ${CHIBIOS}/os/common/ports/SIMIA32/chcore.c 3 | 4 | PORTASM = 5 | 6 | PORTINC = ${CHIBIOS}/os/common/ports/SIMIA32/compilers/GCC \ 7 | ${CHIBIOS}/os/common/ports/SIMIA32 8 | -------------------------------------------------------------------------------- /ChibiOS/os/common/ports/e200/compilers/GCC/mk/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT e200 generic port files. 2 | PORTSRC = $(CHIBIOS)/os/common/ports/e200/chcore.c 3 | 4 | PORTASM = $(CHIBIOS)/os/common/ports/e200/compilers/GCC/ivor.s \ 5 | $(CHIBIOS)/os/common/ports/e200/compilers/GCC/chcoreasm.s 6 | 7 | PORTINC = $(CHIBIOS)/os/common/ports/e200 \ 8 | $(CHIBIOS)/os/common/ports/e200/compilers/GCC 9 | -------------------------------------------------------------------------------- /ChibiOS/os/common/ports/readme.txt: -------------------------------------------------------------------------------- 1 | All the code contained under ./os/common/ports are RTOS ports compatible 2 | with both RT and NIL. The code is placed under ./os/common in order to 3 | prevent code duplication and disalignments. 4 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/ARM/compilers/GCC/ld/LPC2148.ld: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /* 18 | * LPC2148 memory setup. 19 | */ 20 | MEMORY 21 | { 22 | flash : org = 0x00000000, len = 512k - 12k 23 | ram0 : org = 0x40000200, len = 32k - 0x200 - 288 24 | ram1 : org = 0x00000000, len = 0 25 | ram2 : org = 0x00000000, len = 0 26 | ram3 : org = 0x00000000, len = 0 27 | ram4 : org = 0x00000000, len = 0 28 | ram5 : org = 0x00000000, len = 0 29 | ram6 : org = 0x00000000, len = 0 30 | ram7 : org = 0x00000000, len = 0 31 | } 32 | 33 | /* RAM region to be used for stacks. This stack accommodates the processing 34 | of all exceptions and interrupts*/ 35 | REGION_ALIAS("STACKS_RAM", ram0); 36 | 37 | /* RAM region to be used for data segment.*/ 38 | REGION_ALIAS("DATA_RAM", ram0); 39 | 40 | /* RAM region to be used for BSS segment.*/ 41 | REGION_ALIAS("BSS_RAM", ram0); 42 | 43 | INCLUDE rules.ld 44 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/ARM/compilers/GCC/mk/startup_lpc214x.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS generic LPC214x file. 2 | STARTUPSRC = $(CHIBIOS)/os/common/startup/ARM/compilers/GCC/crt1.c 3 | 4 | STARTUPASM = $(CHIBIOS)/os/common/startup/ARM/compilers/GCC/vectors.s \ 5 | $(CHIBIOS)/os/common/startup/ARM/compilers/GCC/crt0.s 6 | 7 | STARTUPINC = ${CHIBIOS}/os/common/startup/ARM/devices/LPC214x 8 | 9 | STARTUPLD = ${CHIBIOS}/os/common/startup/ARM/compilers/GCC/ld 10 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/ARM/devices/LPC214x/armparams.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @file LPC214x/armparams.h 19 | * @brief ARM parameters for the LPC214x. 20 | * 21 | * @defgroup ARM_LPC214x LPC214x Specific Parameters 22 | * @ingroup ARM_SPECIFIC 23 | * @details This file contains the ARM specific parameters for the 24 | * LPC214x platform. 25 | * @{ 26 | */ 27 | 28 | #ifndef ARMPARAMS_H 29 | #define ARMPARAMS_H 30 | 31 | /** 32 | * @brief ARM core model. 33 | */ 34 | #define ARM_CORE ARM_CORE_ARM7TDMI 35 | 36 | /** 37 | * @brief Thumb-capable. 38 | */ 39 | #define ARM_SUPPORTS_THUMB 1 40 | 41 | /** 42 | * @brief Thumb2-capable. 43 | */ 44 | #define ARM_SUPPORTS_THUMB2 0 45 | 46 | /** 47 | * @brief Implementation of the wait-for-interrupt state enter. 48 | */ 49 | #define ARM_WFI_IMPL (PCON = 1) 50 | 51 | #if !defined(_FROM_ASM_) || defined(__DOXYGEN__) 52 | /** 53 | * @brief Address of the IRQ vector register in the interrupt controller. 54 | */ 55 | #define ARM_IRQ_VECTOR_REG 0xFFFFF030U 56 | #else 57 | #define ARM_IRQ_VECTOR_REG 0xFFFFF030 58 | #endif 59 | 60 | #endif /* ARMPARAMS_H */ 61 | 62 | /** @} */ 63 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/ARMCMx/compilers/GCC/ld/rules.ld: -------------------------------------------------------------------------------- 1 | /* Stack rules inclusion.*/ 2 | INCLUDE rules_stacks.ld 3 | 4 | /* Code rules inclusion.*/ 5 | INCLUDE rules_code.ld 6 | 7 | /* Data rules inclusion.*/ 8 | INCLUDE rules_data.ld 9 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/ARMCMx/compilers/GCC/ld/rules_stacks.ld: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | SECTIONS 17 | { 18 | /* Special section for exceptions stack.*/ 19 | .mstack : 20 | { 21 | . = ALIGN(8); 22 | __main_stack_base__ = .; 23 | . += __main_stack_size__; 24 | . = ALIGN(8); 25 | __main_stack_end__ = .; 26 | } > MAIN_STACK_RAM 27 | 28 | /* Special section for process stack.*/ 29 | .pstack : 30 | { 31 | __process_stack_base__ = .; 32 | __main_thread_stack_base__ = .; 33 | . += __process_stack_size__; 34 | . = ALIGN(8); 35 | __process_stack_end__ = .; 36 | __main_thread_stack_end__ = .; 37 | } > PROCESS_STACK_RAM 38 | } 39 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32f0xx.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS generic STM32F0xx startup and CMSIS files. 2 | STARTUPSRC = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/crt1.c \ 3 | $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/vectors.c 4 | 5 | STARTUPASM = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/crt0_v6m.s 6 | 7 | STARTUPINC = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC \ 8 | $(CHIBIOS)/os/common/startup/ARMCMx/devices/STM32F0xx \ 9 | $(CHIBIOS)/os/common/ext/CMSIS/include \ 10 | $(CHIBIOS)/os/common/ext/CMSIS/ST/STM32F0xx 11 | 12 | STARTUPLD = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/ld 13 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32f1xx.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS generic STM32F1xx startup and CMSIS files. 2 | STARTUPSRC = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/crt1.c \ 3 | $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/vectors.c 4 | 5 | STARTUPASM = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/crt0_v7m.s 6 | 7 | STARTUPINC = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC \ 8 | $(CHIBIOS)/os/common/startup/ARMCMx/devices/STM32F1xx \ 9 | $(CHIBIOS)/os/common/ext/CMSIS/include \ 10 | $(CHIBIOS)/os/common/ext/CMSIS/ST/STM32F1xx 11 | 12 | STARTUPLD = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/ld 13 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32f2xx.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS generic STM32F2xx startup and CMSIS files. 2 | STARTUPSRC = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/crt1.c \ 3 | $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/vectors.c 4 | 5 | STARTUPASM = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/crt0_v7m.s 6 | 7 | STARTUPINC = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC \ 8 | $(CHIBIOS)/os/common/startup/ARMCMx/devices/STM32F2xx \ 9 | $(CHIBIOS)/os/common/ext/CMSIS/include \ 10 | $(CHIBIOS)/os/common/ext/CMSIS/ST/STM32F2xx 11 | 12 | STARTUPLD = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/ld 13 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32f3xx.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS generic STM32F3xx startup and CMSIS files. 2 | STARTUPSRC = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/crt1.c \ 3 | $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/vectors.c 4 | 5 | STARTUPASM = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/crt0_v7m.s 6 | 7 | STARTUPINC = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC \ 8 | $(CHIBIOS)/os/common/startup/ARMCMx/devices/STM32F3xx \ 9 | $(CHIBIOS)/os/common/ext/CMSIS/include \ 10 | $(CHIBIOS)/os/common/ext/CMSIS/ST/STM32F3xx 11 | 12 | STARTUPLD = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/ld 13 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32f4xx.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS generic STM32F4xx startup and CMSIS files. 2 | STARTUPSRC = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/crt1.c \ 3 | $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/vectors.c 4 | 5 | STARTUPASM = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/crt0_v7m.s 6 | 7 | STARTUPINC = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC \ 8 | $(CHIBIOS)/os/common/startup/ARMCMx/devices/STM32F4xx \ 9 | $(CHIBIOS)/os/common/ext/CMSIS/include \ 10 | $(CHIBIOS)/os/common/ext/CMSIS/ST/STM32F4xx 11 | 12 | STARTUPLD = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/ld 13 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32f7xx.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS generic STM32F7xx startup and CMSIS files. 2 | STARTUPSRC = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/crt1.c \ 3 | $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/vectors.c 4 | 5 | STARTUPASM = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/crt0_v7m.s 6 | 7 | STARTUPINC = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC \ 8 | $(CHIBIOS)/os/common/startup/ARMCMx/devices/STM32F7xx \ 9 | $(CHIBIOS)/os/common/ext/CMSIS/include \ 10 | $(CHIBIOS)/os/common/ext/CMSIS/ST/STM32F7xx 11 | 12 | STARTUPLD = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/ld 13 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32l0xx.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS generic STM32L0xx startup and CMSIS files. 2 | STARTUPSRC = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/crt1.c \ 3 | $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/vectors.c 4 | 5 | STARTUPASM = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/crt0_v6m.s 6 | 7 | STARTUPINC = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC \ 8 | $(CHIBIOS)/os/common/startup/ARMCMx/devices/STM32L0xx \ 9 | $(CHIBIOS)/os/common/ext/CMSIS/include \ 10 | $(CHIBIOS)/os/common/ext/CMSIS/ST/STM32L0xx 11 | 12 | STARTUPLD = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/ld 13 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32l1xx.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS generic STM32L1xx startup and CMSIS files. 2 | STARTUPSRC = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/crt1.c \ 3 | $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/vectors.c 4 | 5 | STARTUPASM = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/crt0_v7m.s 6 | 7 | STARTUPINC = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC \ 8 | $(CHIBIOS)/os/common/startup/ARMCMx/devices/STM32L1xx \ 9 | $(CHIBIOS)/os/common/ext/CMSIS/include \ 10 | $(CHIBIOS)/os/common/ext/CMSIS/ST/STM32L1xx 11 | 12 | STARTUPLD = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/ld 13 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32l4xx.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS generic STM32L4xx startup and CMSIS files. 2 | STARTUPSRC = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/crt1.c \ 3 | $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/vectors.c 4 | 5 | STARTUPASM = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/crt0_v7m.s 6 | 7 | STARTUPINC = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC \ 8 | $(CHIBIOS)/os/common/startup/ARMCMx/devices/STM32L4xx \ 9 | $(CHIBIOS)/os/common/ext/CMSIS/include \ 10 | $(CHIBIOS)/os/common/ext/CMSIS/ST/STM32L4xx 11 | 12 | STARTUPLD = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/ld 13 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/e200/compilers/GCC/ld/SPC560B50.ld: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /* 18 | * SPC560B50 memory setup. 19 | */ 20 | MEMORY 21 | { 22 | flash : org = 0x00000000, len = 512k 23 | dataflash : org = 0x00800000, len = 64k 24 | ram : org = 0x40000000, len = 32k 25 | } 26 | 27 | INCLUDE rules_z0.ld 28 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/e200/compilers/GCC/ld/SPC560B60.ld: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /* 18 | * SPC560B60 memory setup. 19 | */ 20 | MEMORY 21 | { 22 | flash : org = 0x00000000, len = 1024k 23 | dataflash : org = 0x00800000, len = 64k 24 | ram : org = 0x40000000, len = 80k 25 | } 26 | 27 | INCLUDE rules_z0.ld 28 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/e200/compilers/GCC/ld/SPC560B64.ld: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /* 18 | * SPC560B64 memory setup. 19 | */ 20 | MEMORY 21 | { 22 | flash : org = 0x00000000, len = 1536k 23 | dataflash : org = 0x00800000, len = 64k 24 | ram : org = 0x40000000, len = 96k 25 | } 26 | 27 | INCLUDE rules_z0.ld 28 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/e200/compilers/GCC/ld/SPC560D40.ld: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /* 18 | * SPC560D40 memory setup. 19 | */ 20 | MEMORY 21 | { 22 | flash : org = 0x00000000, len = 256k 23 | dataflash : org = 0x00800000, len = 64k 24 | ram : org = 0x40000000, len = 16k 25 | } 26 | 27 | INCLUDE rules_z0.ld 28 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/e200/compilers/GCC/ld/SPC560P50.ld: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /* 18 | * SPC560P50 memory setup. 19 | */ 20 | MEMORY 21 | { 22 | flash : org = 0x00000000, len = 512k 23 | dataflash : org = 0x00800000, len = 64k 24 | ram : org = 0x40000000, len = 40k 25 | } 26 | 27 | INCLUDE rules_z0.ld 28 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/e200/compilers/GCC/ld/SPC563M64.ld: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /* 18 | * SPC563M64 memory setup. 19 | */ 20 | MEMORY 21 | { 22 | flash : org = 0x00000000, len = 1536k 23 | ram : org = 0x40000000, len = 94k 24 | } 25 | 26 | INCLUDE rules_z3.ld 27 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/e200/compilers/GCC/ld/SPC564A70.ld: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /* 18 | * SPC563A70 memory setup. 19 | */ 20 | MEMORY 21 | { 22 | flash : org = 0x00000000, len = 2M 23 | ram : org = 0x40000000, len = 128k 24 | } 25 | 26 | INCLUDE rules_z4.ld 27 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/e200/compilers/GCC/ld/SPC564A80.ld: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /* 18 | * SPC563A80 memory setup. 19 | */ 20 | MEMORY 21 | { 22 | flash : org = 0x00000000, len = 4M 23 | ram : org = 0x40000000, len = 192k 24 | } 25 | 26 | INCLUDE rules_z4.ld 27 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/e200/compilers/GCC/ld/SPC56EC74.ld: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /* 18 | * SPC56EC74 memory setup. 19 | */ 20 | MEMORY 21 | { 22 | flash : org = 0x00000000, len = 3M 23 | dataflash : org = 0x00800000, len = 64k 24 | ram : org = 0x40000000, len = 256k 25 | } 26 | 27 | INCLUDE rules_z4.ld 28 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/e200/compilers/GCC/ld/SPC56EL54_LSM.ld: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /* 18 | * SPC56EL54 memory setup in LSM mode. 19 | */ 20 | MEMORY 21 | { 22 | flash : org = 0x00000000, len = 768k 23 | ram : org = 0x40000000, len = 128k 24 | } 25 | 26 | INCLUDE rules_z4.ld 27 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/e200/compilers/GCC/ld/SPC56EL60_LSM.ld: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /* 18 | * SPC56EL60 memory setup in LSM mode. 19 | */ 20 | MEMORY 21 | { 22 | flash : org = 0x00000000, len = 1M 23 | ram : org = 0x40000000, len = 128k 24 | } 25 | 26 | INCLUDE rules_z4.ld 27 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/e200/compilers/GCC/ld/SPC56EL70_LSM.ld: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /* 18 | * SPC56EL70 memory setup in LSM mode. 19 | */ 20 | MEMORY 21 | { 22 | flash : org = 0x00000000, len = 2M 23 | ram : org = 0x40000000, len = 192k 24 | } 25 | 26 | INCLUDE rules_z4.ld 27 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/e200/compilers/GCC/ld/SPC57EM80_HSM.ld: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /* 18 | * SPC57EM80-HSM memory setup. 19 | */ 20 | MEMORY 21 | { 22 | flash : org = 0x0060C000, len = 144k 23 | dflash0 : org = 0x00680000, len = 16k 24 | dflash1 : org = 0x00684000, len = 16k 25 | ram : org = 0xA0000000, len = 40k 26 | } 27 | 28 | INCLUDE rules_z0.ld 29 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/e200/compilers/GCC/mk/startup_spc560bcxx.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS e200z0 SPC560BCxx startup files. 2 | STARTUPSRC = 3 | 4 | STARTUPASM = $(CHIBIOS)/os/common/startup/e200/devices/SPC560BCxx/boot.s \ 5 | $(CHIBIOS)/os/common/startup/e200/compilers/GCC/vectors.s \ 6 | $(CHIBIOS)/os/common/startup/e200/compilers/GCC/crt0.s 7 | 8 | STARTUPINC = ${CHIBIOS}/os/common/startup/e200/compilers/GCC \ 9 | ${CHIBIOS}/os/common/startup/e200/devices/SPC560BCxx 10 | 11 | STARTUPLD = ${CHIBIOS}/os/common/startup/e200/compilers/GCC/ld 12 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/e200/compilers/GCC/mk/startup_spc560bxx.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS e200z0 SPC560Bxx startup files. 2 | STARTUPSRC = 3 | 4 | STARTUPASM = $(CHIBIOS)/os/common/startup/e200/devices/SPC560Bxx/boot.s \ 5 | $(CHIBIOS)/os/common/startup/e200/compilers/GCC/vectors.s \ 6 | $(CHIBIOS)/os/common/startup/e200/compilers/GCC/crt0.s 7 | 8 | STARTUPINC = ${CHIBIOS}/os/common/startup/e200/compilers/GCC \ 9 | ${CHIBIOS}/os/common/startup/e200/devices/SPC560Bxx 10 | 11 | STARTUPLD = ${CHIBIOS}/os/common/startup/e200/compilers/GCC/ld 12 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/e200/compilers/GCC/mk/startup_spc560dxx.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS e200z0 SPC560Dxx startup files. 2 | STARTUPSRC = 3 | 4 | STARTUPASM = $(CHIBIOS)/os/common/startup/e200/devices/SPC560Dxx/boot.s \ 5 | $(CHIBIOS)/os/common/startup/e200/compilers/GCC/vectors.s \ 6 | $(CHIBIOS)/os/common/startup/e200/compilers/GCC/crt0.s 7 | 8 | STARTUPINC = ${CHIBIOS}/os/common/startup/e200/compilers/GCC \ 9 | ${CHIBIOS}/os/common/startup/e200/devices/SPC560Dxx 10 | 11 | STARTUPLD = ${CHIBIOS}/os/common/startup/e200/compilers/GCC/ld 12 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/e200/compilers/GCC/mk/startup_spc560pxx.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS e200z0 SPC560Pxx startup files. 2 | STARTUPSRC = 3 | 4 | STARTUPASM = $(CHIBIOS)/os/common/startup/e200/devices/SPC560Pxx/boot.s \ 5 | $(CHIBIOS)/os/common/startup/e200/compilers/GCC/vectors.s \ 6 | $(CHIBIOS)/os/common/startup/e200/compilers/GCC/crt0.s 7 | 8 | STARTUPINC = ${CHIBIOS}/os/common/startup/e200/compilers/GCC \ 9 | ${CHIBIOS}/os/common/startup/e200/devices/SPC560Pxx 10 | 11 | STARTUPLD = ${CHIBIOS}/os/common/startup/e200/compilers/GCC/ld 12 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/e200/compilers/GCC/mk/startup_spc563mxx.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS e200z3 SPC563Mxx startup files. 2 | STARTUPSRC = 3 | 4 | STARTUPASM = $(CHIBIOS)/os/common/startup/e200/devices/SPC563Mxx/boot.s \ 5 | $(CHIBIOS)/os/common/startup/e200/compilers/GCC/vectors.s \ 6 | $(CHIBIOS)/os/common/startup/e200/compilers/GCC/crt0.s 7 | 8 | STARTUPINC = ${CHIBIOS}/os/common/startup/e200/compilers/GCC \ 9 | ${CHIBIOS}/os/common/startup/e200/devices/SPC563Mxx 10 | 11 | STARTUPLD = ${CHIBIOS}/os/common/startup/e200/compilers/GCC/ld 12 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/e200/compilers/GCC/mk/startup_spc564axx.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS e200z4 SPC564Axx startup files. 2 | STARTUPSRC = 3 | 4 | STARTUPASM = $(CHIBIOS)/os/common/startup/e200/devices/SPC564Axx/boot.s \ 5 | $(CHIBIOS)/os/common/startup/e200/compilers/GCC/vectors.s \ 6 | $(CHIBIOS)/os/common/startup/e200/compilers/GCC/crt0.s 7 | 8 | STARTUPINC = ${CHIBIOS}/os/common/startup/e200/compilers/GCC \ 9 | ${CHIBIOS}/os/common/startup/e200/devices/SPC564Axx 10 | 11 | STARTUPLD = ${CHIBIOS}/os/common/startup/e200/compilers/GCC/ld 12 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/e200/compilers/GCC/mk/startup_spc56ecxx.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS e200z4 SPC56ECxx startup files. 2 | STARTUPSRC = 3 | 4 | STARTUPASM = $(CHIBIOS)/os/common/startup/e200/devices/SPC56ECxx/boot.s \ 5 | $(CHIBIOS)/os/common/startup/e200/compilers/GCC/vectors.s \ 6 | $(CHIBIOS)/os/common/startup/e200/compilers/GCC/crt0.s 7 | 8 | STARTUPINC = ${CHIBIOS}/os/common/startup/e200/compilers/GCC \ 9 | ${CHIBIOS}/os/common/startup/e200/devices/SPC56ECxx 10 | 11 | STARTUPLD = ${CHIBIOS}/os/common/startup/e200/compilers/GCC/ld 12 | -------------------------------------------------------------------------------- /ChibiOS/os/common/startup/e200/compilers/GCC/mk/startup_spc56elxx.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS e200z4 SPC56ELxx startup files. 2 | STARTUPSRC = 3 | 4 | STARTUPASM = $(CHIBIOS)/os/common/startup/e200/devices/SPC56ELxx/boot.s \ 5 | $(CHIBIOS)/os/common/startup/e200/compilers/GCC/vectors.s \ 6 | $(CHIBIOS)/os/common/startup/e200/compilers/GCC/crt0.s 7 | 8 | STARTUPINC = ${CHIBIOS}/os/common/startup/e200/compilers/GCC \ 9 | ${CHIBIOS}/os/common/startup/e200/devices/SPC56ELxx 10 | 11 | STARTUPLD = ${CHIBIOS}/os/common/startup/e200/compilers/GCC/ld 12 | -------------------------------------------------------------------------------- /ChibiOS/os/ex/ST/l3gd20.mk: -------------------------------------------------------------------------------- 1 | # List of all the L3GD20 device files. 2 | L3GD20SRC := $(CHIBIOS)/os/ex/ST/l3gd20.c 3 | 4 | # Required include directories 5 | L3GD20INC := $(CHIBIOS)/os/hal/lib/peripherals/sensors \ 6 | $(CHIBIOS)/os/ex/ST -------------------------------------------------------------------------------- /ChibiOS/os/ex/ST/lsm6ds0.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/os/ex/ST/lsm6ds0.h -------------------------------------------------------------------------------- /ChibiOS/os/ex/ST/lsm6ds0.mk: -------------------------------------------------------------------------------- 1 | # List of all the LSM6DS0 device files. 2 | LSM6DS0SRC := $(CHIBIOS)/os/ex/ST/lsm6ds0.c 3 | 4 | # Required include directories 5 | LSM6DS0INC := $(CHIBIOS)/os/hal/lib/peripherals/sensors \ 6 | $(CHIBIOS)/os/ex/ST -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ARDUINO_MEGA/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ARDUINO_MEGA/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ARDUINO_MEGA 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ARDUINO_UNO/board.c: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #include "hal.h" 18 | 19 | /** 20 | * @brief PAL setup. 21 | * @details Digital I/O ports static configuration as defined in @p board.h. 22 | * This variable is used by the HAL when initializing the PAL driver. 23 | */ 24 | #if HAL_USE_PAL || defined(__DOXYGEN__) 25 | const PALConfig pal_default_config = 26 | { 27 | #if defined(PORTB) 28 | {VAL_PORTB, VAL_DDRB}, 29 | #endif 30 | #if defined(PORTC) 31 | {VAL_PORTC, VAL_DDRC}, 32 | #endif 33 | #if defined(PORTD) 34 | {VAL_PORTD, VAL_DDRD}, 35 | #endif 36 | }; 37 | #endif /* HAL_USE_PAL */ 38 | 39 | /** 40 | * Board-specific initialization code. 41 | */ 42 | void boardInit(void) { 43 | 44 | /* 45 | * External interrupts setup, all disabled initially. 46 | */ 47 | EICRA = 0x00; 48 | EIMSK = 0x00; 49 | 50 | } 51 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ARDUINO_UNO/board.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef _BOARD_H_ 18 | #define _BOARD_H_ 19 | 20 | /* 21 | * Setup for the Arduino Uno or board. 22 | */ 23 | 24 | /* 25 | * Board identifier. 26 | */ 27 | #define BOARD_ARDUINO_UNO 28 | #define BOARD_NAME "Arduino Uno" 29 | 30 | /* All inputs except PB5 which has a LED connected */ 31 | #define VAL_DDRB 0x20 32 | #define VAL_PORTB 0xFF 33 | 34 | /* All inputs with pull-ups */ 35 | #define VAL_DDRC 0x00 36 | #define VAL_PORTC 0xFF 37 | 38 | /* All inputs except PD1 (Serial TX0) */ 39 | #define VAL_DDRD 0x02 40 | #define VAL_PORTD 0xFF 41 | 42 | #define PORTB_LED1 5 43 | 44 | #if !defined(_FROM_ASM_) 45 | #ifdef __cplusplus 46 | extern "C" { 47 | #endif 48 | void boardInit(void); 49 | #ifdef __cplusplus 50 | } 51 | #endif 52 | #endif /* _FROM_ASM_ */ 53 | 54 | #endif /* _BOARD_H_ */ 55 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ARDUINO_UNO/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ARDUINO_UNO/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ARDUINO_UNO 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/EA_LPCXPRESSO_11C24/board.c: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #include "hal.h" 18 | 19 | /** 20 | * @brief PAL setup. 21 | * @details Digital I/O ports static configuration as defined in @p board.h. 22 | * This variable is used by the HAL when initializing the PAL driver. 23 | */ 24 | #if HAL_USE_PAL || defined(__DOXYGEN__) 25 | const PALConfig pal_default_config = { 26 | {VAL_GPIO0DATA, VAL_GPIO0DIR}, 27 | {VAL_GPIO1DATA, VAL_GPIO1DIR}, 28 | {VAL_GPIO2DATA, VAL_GPIO2DIR}, 29 | {VAL_GPIO3DATA, VAL_GPIO3DIR}, 30 | }; 31 | #endif 32 | 33 | /* 34 | * Early initialization code. 35 | * This initialization must be performed just after stack setup and before 36 | * any other initialization. 37 | */ 38 | void __early_init(void) { 39 | 40 | lpc111x_clock_init(); 41 | } 42 | 43 | /* 44 | * Board-specific initialization code. 45 | */ 46 | void boardInit(void) { 47 | 48 | /* 49 | * Extra, board-specific, initializations. 50 | */ 51 | LPC_IOCON->PIO0_7 = 0xC0; /* Disables pull-up on LED2 output. */ 52 | } 53 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/EA_LPCXPRESSO_11C24/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/EA_LPCXPRESSO_11C24/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/EA_LPCXPRESSO_11C24 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/EA_LPCXPRESSO_BB_1114/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/EA_LPCXPRESSO_BB_1114/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/EA_LPCXPRESSO_BB_1114 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/EA_LPCXPRESSO_BB_11U14/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/EA_LPCXPRESSO_BB_11U14/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/EA_LPCXPRESSO_BB_11U14 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/EA_LPCXPRESSO_BB_1343/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/EA_LPCXPRESSO_BB_1343/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/EA_LPCXPRESSO_BB_1343 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/EA_LPCXPRESSO_LPC812/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/EA_LPCXPRESSO_LPC812/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/EA_LPCXPRESSO_LPC812 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/MAPLEMINI_STM32_F103/board.c: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #include "hal.h" 18 | 19 | /** 20 | * @brief PAL setup. 21 | * @details Digital I/O ports static configuration as defined in @p board.h. 22 | * This variable is used by the HAL when initializing the PAL driver. 23 | */ 24 | #if HAL_USE_PAL || defined(__DOXYGEN__) 25 | const PALConfig pal_default_config = 26 | { 27 | {VAL_GPIOAODR, VAL_GPIOACRL, VAL_GPIOACRH}, 28 | {VAL_GPIOBODR, VAL_GPIOBCRL, VAL_GPIOBCRH}, 29 | {VAL_GPIOCODR, VAL_GPIOCCRL, VAL_GPIOCCRH}, 30 | {VAL_GPIODODR, VAL_GPIODCRL, VAL_GPIODCRH}, 31 | {VAL_GPIOEODR, VAL_GPIOECRL, VAL_GPIOECRH}, 32 | }; 33 | #endif 34 | 35 | /* 36 | * Early initialization code. 37 | * This initialization must be performed just after stack setup and before 38 | * any other initialization. 39 | */ 40 | void __early_init(void) { 41 | 42 | stm32_clock_init(); 43 | } 44 | 45 | /* 46 | * Board-specific initialization code. 47 | */ 48 | void boardInit(void) { 49 | } 50 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/MAPLEMINI_STM32_F103/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/MAPLEMINI_STM32_F103/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/MAPLEMINI_STM32_F103 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/MIKROE_CLICKER2_STM32/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/MIKROE_CLICKER_2_FOR_STM32/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/MIKROE_CLICKER_2_FOR_STM32 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/NGX_BB_LPC11U14/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/NGX_BB_LPC11U14/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/NGX_BB_LPC11U14 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/NONSTANDARD_STM32F4_BARTHESS1/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = $(CHIBIOS)/os/hal/boards/NONSTANDARD_STM32F4_BARTHESS1/board.c 3 | 4 | # Required include directories 5 | BOARDINC = $(CHIBIOS)/os/hal/boards/NONSTANDARD_STM32F4_BARTHESS1 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/OLIMEX_AVR_CAN/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/OLIMEX_AVR_CAN/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/OLIMEX_AVR_CAN 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/OLIMEX_AVR_MT_128/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/OLIMEX_AVR_MT_128/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/OLIMEX_AVR_MT_128 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/OLIMEX_LPC_P1227/board.c: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #include "hal.h" 18 | 19 | /** 20 | * @brief PAL setup. 21 | * @details Digital I/O ports static configuration as defined in @p board.h. 22 | * This variable is used by the HAL when initializing the PAL driver. 23 | */ 24 | #if HAL_USE_PAL || defined(__DOXYGEN__) 25 | const PALConfig pal_default_config = { 26 | {VAL_GPIO0DATA, VAL_GPIO0DIR}, 27 | {VAL_GPIO1DATA, VAL_GPIO1DIR}, 28 | {VAL_GPIO2DATA, VAL_GPIO2DIR}, 29 | }; 30 | #endif 31 | 32 | /* 33 | * Early initialization code. 34 | * This initialization must be performed just after stack setup and before 35 | * any other initialization. 36 | */ 37 | void __early_init(void) { 38 | 39 | lpc122x_clock_init(); 40 | } 41 | 42 | /* 43 | * Board-specific initialization code. 44 | */ 45 | void boardInit(void) { 46 | 47 | /* 48 | * Extra, board-specific, initializations. 49 | */ 50 | LPC_IOCON->PIO1_4 = 0x80; /* Disables pull-up on LED2 output. */ 51 | LPC_IOCON->PIO1_5 = 0x80; /* Disables pull-up on LED1 output */ 52 | LPC_IOCON->PIO1_6 = 0x80; /* Disables pull-up on Buzzer output */ 53 | } 54 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/OLIMEX_LPC_P1227/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/OLIMEX_LPC-P1227/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/OLIMEX_LPC-P1227 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/OLIMEX_LPC_P1343/board.c: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #include "hal.h" 18 | 19 | /** 20 | * @brief PAL setup. 21 | * @details Digital I/O ports static configuration as defined in @p board.h. 22 | * This variable is used by the HAL when initializing the PAL driver. 23 | */ 24 | #if HAL_USE_PAL || defined(__DOXYGEN__) 25 | const PALConfig pal_default_config = { 26 | {VAL_GPIO0DATA, VAL_GPIO0DIR}, 27 | {VAL_GPIO1DATA, VAL_GPIO1DIR}, 28 | {VAL_GPIO2DATA, VAL_GPIO2DIR}, 29 | {VAL_GPIO3DATA, VAL_GPIO3DIR}, 30 | }; 31 | #endif 32 | 33 | /* 34 | * Early initialization code. 35 | * This initialization must be performed just after stack setup and before 36 | * any other initialization. 37 | */ 38 | void __early_init(void) { 39 | 40 | LPC13xx_clock_init(); 41 | } 42 | 43 | /* 44 | * Board-specific initialization code. 45 | */ 46 | void boardInit(void) { 47 | 48 | /* 49 | * Extra, board-specific, initializations. 50 | */ 51 | } 52 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/OLIMEX_LPC_P1343/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/OLIMEX_LPC_P1343/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/OLIMEX_LPC_P1343 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/OLIMEX_LPC_P2148/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the mandatory board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/OLIMEX_LPC_P2148/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/OLIMEX_LPC_P2148 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/OLIMEX_LPC_P2148/buzzer.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef _BUZZER_H_ 18 | #define _BUZZER_H_ 19 | 20 | #ifdef __cplusplus 21 | extern "C" { 22 | #endif 23 | void buzzInit(void); 24 | void buzzPlay(uint32_t freq, systime_t duration); 25 | void buzzPlayWait(uint32_t freq, systime_t duration); 26 | #ifdef __cplusplus 27 | } 28 | #endif 29 | 30 | extern EventSource BuzzerSilentEventSource; 31 | 32 | #endif /* _BUZZER_H_ */ 33 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/OLIMEX_MSP430_P1611/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/OLIMEX_MSP430_P1611/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/OLIMEX_MSP430_P1611 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/OLIMEX_SAM7_EX256/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/OLIMEX_SAM7_EX256/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/OLIMEX_SAM7_EX256 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/OLIMEX_SAM7_P256/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/OLIMEX_SAM7_P256/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/OLIMEX_SAM7_P256 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/OLIMEX_STM32_103STK/board.c: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #include "hal.h" 18 | 19 | /** 20 | * @brief PAL setup. 21 | * @details Digital I/O ports static configuration as defined in @p board.h. 22 | * This variable is used by the HAL when initializing the PAL driver. 23 | */ 24 | #if HAL_USE_PAL || defined(__DOXYGEN__) 25 | const PALConfig pal_default_config = 26 | { 27 | {VAL_GPIOAODR, VAL_GPIOACRL, VAL_GPIOACRH}, 28 | {VAL_GPIOBODR, VAL_GPIOBCRL, VAL_GPIOBCRH}, 29 | {VAL_GPIOCODR, VAL_GPIOCCRL, VAL_GPIOCCRH}, 30 | {VAL_GPIODODR, VAL_GPIODCRL, VAL_GPIODCRH}, 31 | {VAL_GPIOEODR, VAL_GPIOECRL, VAL_GPIOECRH}, 32 | }; 33 | #endif 34 | 35 | /* 36 | * Early initialization code. 37 | * This initialization must be performed just after stack setup and before 38 | * any other initialization. 39 | */ 40 | void __early_init(void) { 41 | 42 | stm32_clock_init(); 43 | } 44 | 45 | /* 46 | * Board-specific initialization code. 47 | */ 48 | void boardInit(void) { 49 | } 50 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/OLIMEX_STM32_103STK/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/OLIMEX_STM32_103STK/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/OLIMEX_STM32_103STK 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/OLIMEX_STM32_E407/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/OLIMEX_STM32_E407/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/OLIMEX_STM32_E407 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/OLIMEX_STM32_E407_REV_D/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/OLIMEX_STM32_E407_REV_D/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/OLIMEX_STM32_E407_REV_D 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/OLIMEX_STM32_H103/board.c: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #include "hal.h" 18 | 19 | /** 20 | * @brief PAL setup. 21 | * @details Digital I/O ports static configuration as defined in @p board.h. 22 | * This variable is used by the HAL when initializing the PAL driver. 23 | */ 24 | #if HAL_USE_PAL || defined(__DOXYGEN__) 25 | const PALConfig pal_default_config = 26 | { 27 | {VAL_GPIOAODR, VAL_GPIOACRL, VAL_GPIOACRH}, 28 | {VAL_GPIOBODR, VAL_GPIOBCRL, VAL_GPIOBCRH}, 29 | {VAL_GPIOCODR, VAL_GPIOCCRL, VAL_GPIOCCRH}, 30 | {VAL_GPIODODR, VAL_GPIODCRL, VAL_GPIODCRH}, 31 | {VAL_GPIOEODR, VAL_GPIOECRL, VAL_GPIOECRH}, 32 | }; 33 | #endif 34 | 35 | /* 36 | * Early initialization code. 37 | * This initialization must be performed just after stack setup and before 38 | * any other initialization. 39 | */ 40 | void __early_init(void) { 41 | 42 | stm32_clock_init(); 43 | } 44 | 45 | /* 46 | * Board-specific initialization code. 47 | */ 48 | void boardInit(void) { 49 | } 50 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/OLIMEX_STM32_H103/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/OLIMEX_STM32_H103/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/OLIMEX_STM32_H103 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/OLIMEX_STM32_H407/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/OLIMEX_STM32_H407/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/OLIMEX_STM32_H407 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/OLIMEX_STM32_LCD/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/OLIMEX_STM32_LCD/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/OLIMEX_STM32_LCD 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/OLIMEX_STM32_P103/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/OLIMEX_STM32_P103/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/OLIMEX_STM32_P103 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/OLIMEX_STM32_P107/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/OLIMEX_STM32_P107/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/OLIMEX_STM32_P107 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/OLIMEX_STM32_P407/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/OLIMEX_STM32_P407/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/OLIMEX_STM32_P407 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/STM32F103C8_MINIMAL/board.c: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #include "hal.h" 18 | 19 | /** 20 | * @brief PAL setup. 21 | * @details Digital I/O ports static configuration as defined in @p board.h. 22 | * This variable is used by the HAL when initializing the PAL driver. 23 | */ 24 | #if HAL_USE_PAL || defined(__DOXYGEN__) 25 | const PALConfig pal_default_config = 26 | { 27 | {VAL_GPIOAODR, VAL_GPIOACRL, VAL_GPIOACRH}, 28 | {VAL_GPIOBODR, VAL_GPIOBCRL, VAL_GPIOBCRH}, 29 | {VAL_GPIOCODR, VAL_GPIOCCRL, VAL_GPIOCCRH}, 30 | {VAL_GPIODODR, VAL_GPIODCRL, VAL_GPIODCRH}, 31 | {VAL_GPIOEODR, VAL_GPIOECRL, VAL_GPIOECRH}, 32 | }; 33 | #endif 34 | 35 | /* 36 | * Early initialization code. 37 | * This initialization must be performed just after stack setup and before 38 | * any other initialization. 39 | */ 40 | void __early_init(void) { 41 | 42 | stm32_clock_init(); 43 | } 44 | 45 | /* 46 | * Board-specific initialization code. 47 | */ 48 | void boardInit(void) { 49 | } 50 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/STM32F103C8_MINIMAL/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/STM32F103C8_MINIMAL/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/STM32F103C8_MINIMAL 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_EVALKITST7580_1/board.c: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /* 18 | Concepts and parts of this file have been contributed by Rocco Marco 19 | Guglielmi. 20 | */ 21 | #include "hal.h" 22 | 23 | /** 24 | * @brief PAL setup. 25 | * @details Digital I/O ports static configuration as defined in @p board.h. 26 | * This variable is used by the HAL when initializing the PAL driver. 27 | */ 28 | #if HAL_USE_PAL || defined(__DOXYGEN__) 29 | const PALConfig pal_default_config = 30 | { 31 | {VAL_GPIOAODR, VAL_GPIOACRL, VAL_GPIOACRH}, 32 | {VAL_GPIOBODR, VAL_GPIOBCRL, VAL_GPIOBCRH}, 33 | {VAL_GPIOCODR, VAL_GPIOCCRL, VAL_GPIOCCRH}, 34 | {VAL_GPIODODR, VAL_GPIODCRL, VAL_GPIODCRH}, 35 | {VAL_GPIOEODR, VAL_GPIOECRL, VAL_GPIOECRH}, 36 | }; 37 | #endif 38 | 39 | /* 40 | * Early initialization code. 41 | * This initialization must be performed just after stack setup and before 42 | * any other initialization. 43 | */ 44 | void __early_init(void) { 45 | 46 | stm32_clock_init(); 47 | } 48 | 49 | /* 50 | * Board-specific initialization code. 51 | */ 52 | void boardInit(void) { 53 | } 54 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_EVALKITST7580_1/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = $(CHIBIOS)/os/hal/boards/ST_EVALKITST7580_1/board.c 3 | 4 | # Required include directories 5 | BOARDINC = $(CHIBIOS)/os/hal/boards/ST_EVALKITST7580_1 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_EVB_SPC560B/board.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef _BOARD_H_ 18 | #define _BOARD_H_ 19 | 20 | /* 21 | * Setup for a generic SPC560Bxx proto board. 22 | */ 23 | 24 | /* 25 | * Board identifiers. 26 | */ 27 | #define BOARD_GENERIC_SPC560BC 28 | #define BOARD_NAME "EVB with SPC560Bxx Mini Module" 29 | 30 | /* 31 | * Device identifier. 32 | */ 33 | #define _SPC560B60L7_ 34 | 35 | /* 36 | * Board frequencies. 37 | */ 38 | #if !defined(SPC5_XOSC_CLK) 39 | #define SPC5_XOSC_CLK 8000000 40 | #endif 41 | 42 | /* 43 | * I/O definitions. 44 | */ 45 | #define PB_LIN0_TDX 2 46 | #define PB_LIN0_RDX 3 47 | 48 | #define PE_BUTTON1 0 49 | #define PE_BUTTON2 1 50 | #define PE_BUTTON3 2 51 | #define PE_BUTTON4 3 52 | 53 | #define PE_LED1 4 54 | #define PE_LED2 5 55 | #define PE_LED3 6 56 | #define PE_LED4 7 57 | 58 | /* 59 | * Support macros. 60 | */ 61 | #define PCR(port, pin) (((port) * 16) + (pin)) 62 | 63 | #if !defined(_FROM_ASM_) 64 | #ifdef __cplusplus 65 | extern "C" { 66 | #endif 67 | void boardInit(void); 68 | #ifdef __cplusplus 69 | } 70 | #endif 71 | #endif /* _FROM_ASM_ */ 72 | 73 | #endif /* _BOARD_H_ */ 74 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_EVB_SPC560B/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_EVB_SPC560B/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_EVB_SPC560B 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_EVB_SPC560BC/board.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef _BOARD_H_ 18 | #define _BOARD_H_ 19 | 20 | /* 21 | * Setup for a generic SPC560B/Cxx proto board. 22 | */ 23 | 24 | /* 25 | * Board identifiers. 26 | */ 27 | #define BOARD_GENERIC_SPC560BC 28 | #define BOARD_NAME "Generic SPC560B/Cxx" 29 | 30 | /* 31 | * Board frequencies. 32 | */ 33 | #if !defined(SPC5_XOSC_CLK) 34 | #define SPC5_XOSC_CLK 8000000 35 | #endif 36 | 37 | /* 38 | * I/O definitions. 39 | */ 40 | #define PB_LIN0_TDX 2 41 | #define PB_LIN0_RDX 3 42 | 43 | #define PE_BUTTON1 0 44 | #define PE_BUTTON2 1 45 | #define PE_BUTTON3 2 46 | #define PE_BUTTON4 3 47 | 48 | #define PE_LED1 4 49 | #define PE_LED2 5 50 | #define PE_LED3 6 51 | #define PE_LED4 7 52 | 53 | /* 54 | * Support macros. 55 | */ 56 | #define PCR(port, pin) (((port) * 16) + (pin)) 57 | 58 | #if !defined(_FROM_ASM_) 59 | #ifdef __cplusplus 60 | extern "C" { 61 | #endif 62 | void boardInit(void); 63 | #ifdef __cplusplus 64 | } 65 | #endif 66 | #endif /* _FROM_ASM_ */ 67 | 68 | #endif /* _BOARD_H_ */ 69 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_EVB_SPC560BC/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_EVB_SPC560BC/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_EVB_SPC560BC 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_EVB_SPC560D/board.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef _BOARD_H_ 18 | #define _BOARD_H_ 19 | 20 | /* 21 | * Setup for a generic SPC560Dxx board. 22 | */ 23 | 24 | /* 25 | * Board identifiers. 26 | */ 27 | #define BOARD_SPC560DXX_EVB 28 | #define BOARD_NAME "EVB with SPC560Dxx Mini Module" 29 | 30 | /* 31 | * Board frequencies. 32 | */ 33 | #if !defined(SPC5_XOSC_CLK) 34 | #define SPC5_XOSC_CLK 8000000 35 | #endif 36 | 37 | /* 38 | * I/O definitions. 39 | */ 40 | #define PB_LIN0_TDX 2 41 | #define PB_LIN0_RDX 3 42 | #define PE_BUTTON1 0 43 | #define PE_BUTTON2 1 44 | #define PE_BUTTON3 2 45 | #define PE_BUTTON4 3 46 | #define PE_LED1 4 47 | #define PE_LED2 5 48 | #define PE_LED3 6 49 | #define PE_LED4 7 50 | 51 | /* 52 | * Support macros. 53 | */ 54 | #define PCR(port, pin) (((port) * 16) + (pin)) 55 | 56 | #if !defined(_FROM_ASM_) 57 | #ifdef __cplusplus 58 | extern "C" { 59 | #endif 60 | void boardInit(void); 61 | #ifdef __cplusplus 62 | } 63 | #endif 64 | #endif /* _FROM_ASM_ */ 65 | 66 | #endif /* _BOARD_H_ */ 67 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_EVB_SPC560D/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_EVB_SPC560D/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_EVB_SPC560D 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_EVB_SPC560P/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_EVB_SPC560P/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_EVB_SPC560P 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_EVB_SPC563M/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_EVB_SPC563M/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_EVB_SPC563M 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_EVB_SPC564A/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_EVB_SPC564A/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_EVB_SPC564A 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_EVB_SPC56EC/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_EVB_SPC56EC/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_EVB_SPC56EC 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_EVB_SPC56EL/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_EVB_SPC56EL/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_EVB_SPC56EL 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_INEMO_M1_DISCOVERY/board.c: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #include "hal.h" 18 | 19 | /** 20 | * @brief PAL setup. 21 | * @details Digital I/O ports static configuration as defined in @p board.h. 22 | * This variable is used by the HAL when initializing the PAL driver. 23 | */ 24 | #if HAL_USE_PAL || defined(__DOXYGEN__) 25 | const PALConfig pal_default_config = 26 | { 27 | {VAL_GPIOAODR, VAL_GPIOACRL, VAL_GPIOACRH}, 28 | {VAL_GPIOBODR, VAL_GPIOBCRL, VAL_GPIOBCRH}, 29 | {VAL_GPIOCODR, VAL_GPIOCCRL, VAL_GPIOCCRH}, 30 | {VAL_GPIODODR, VAL_GPIODCRL, VAL_GPIODCRH}, 31 | {VAL_GPIOEODR, VAL_GPIOECRL, VAL_GPIOECRH}, 32 | {VAL_GPIOFODR, VAL_GPIOFCRL, VAL_GPIOFCRH}, 33 | {VAL_GPIOGODR, VAL_GPIOGCRL, VAL_GPIOGCRH}, 34 | }; 35 | #endif 36 | 37 | /* 38 | * Early initialization code. 39 | * This initialization must be performed just after stack setup and before 40 | * any other initialization. 41 | */ 42 | void __early_init(void) { 43 | 44 | stm32_clock_init(); 45 | } 46 | 47 | /* 48 | * Board-specific initialization code. 49 | */ 50 | void boardInit(void) { 51 | } 52 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_INEMO_M1_DISCOVERY/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_INEMO_M1_DISCOVERY/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_INEMO_M1_DISCOVERY 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_NUCLEO144_F303ZE/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = $(CHIBIOS)/os/hal/boards/ST_NUCLEO144_F303ZE/board.c 3 | 4 | # Required include directories 5 | BOARDINC = $(CHIBIOS)/os/hal/boards/ST_NUCLEO144_F303ZE 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_NUCLEO144_F429ZI/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = $(CHIBIOS)/os/hal/boards/ST_NUCLEO144_F429ZI/board.c 3 | 4 | # Required include directories 5 | BOARDINC = $(CHIBIOS)/os/hal/boards/ST_NUCLEO144_F429ZI 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_NUCLEO144_F446ZE/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = $(CHIBIOS)/os/hal/boards/ST_NUCLEO144_F446ZE/board.c 3 | 4 | # Required include directories 5 | BOARDINC = $(CHIBIOS)/os/hal/boards/ST_NUCLEO144_F446ZE 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_NUCLEO144_F746ZG/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = $(CHIBIOS)/os/hal/boards/ST_NUCLEO144_F746ZG/board.c 3 | 4 | # Required include directories 5 | BOARDINC = $(CHIBIOS)/os/hal/boards/ST_NUCLEO144_F746ZG 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_NUCLEO32_F031K6/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO32_F031K6/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO32_F031K6 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_NUCLEO32_F042K6/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO32_F042K6/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO32_F042K6 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_NUCLEO32_F303K8/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO32_F303K8/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO32_F303K8 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_NUCLEO64_F030R8/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_F030R8/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_F030R8 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_NUCLEO64_F072RB/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_F072RB/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_F072RB 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_NUCLEO64_F091RC/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_F091RC/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_F091RC 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_NUCLEO64_F103RB/board.c: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #include "hal.h" 18 | 19 | /** 20 | * @brief PAL setup. 21 | * @details Digital I/O ports static configuration as defined in @p board.h. 22 | * This variable is used by the HAL when initializing the PAL driver. 23 | */ 24 | #if HAL_USE_PAL || defined(__DOXYGEN__) 25 | const PALConfig pal_default_config = 26 | { 27 | {VAL_GPIOAODR, VAL_GPIOACRL, VAL_GPIOACRH}, 28 | {VAL_GPIOBODR, VAL_GPIOBCRL, VAL_GPIOBCRH}, 29 | {VAL_GPIOCODR, VAL_GPIOCCRL, VAL_GPIOCCRH}, 30 | {VAL_GPIODODR, VAL_GPIODCRL, VAL_GPIODCRH}, 31 | {VAL_GPIOEODR, VAL_GPIOECRL, VAL_GPIOECRH}, 32 | }; 33 | #endif 34 | 35 | /* 36 | * Early initialization code. 37 | * This initialization must be performed just after stack setup and before 38 | * any other initialization. 39 | */ 40 | void __early_init(void) { 41 | 42 | stm32_clock_init(); 43 | } 44 | 45 | /* 46 | * Board-specific initialization code. 47 | */ 48 | void boardInit(void) { 49 | } 50 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_NUCLEO64_F103RB/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_F103RB/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_F103RB 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_NUCLEO64_F302R8/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_F302R8/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_F302R8 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_NUCLEO64_F334R8/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_F334R8/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_F334R8 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_NUCLEO64_F401RE/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_F401RE/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_F401RE 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_NUCLEO64_F411RE/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_F411RE/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_F411RE 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_NUCLEO64_L053R8/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_L053R8/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_L053R8 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_NUCLEO64_L152RE/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_L152RE/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_L152RE 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_NUCLEO64_L476RG/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_L476RG/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_L476RG 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_STM3210C_EVAL/board.c: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #include "hal.h" 18 | 19 | /** 20 | * @brief PAL setup. 21 | * @details Digital I/O ports static configuration as defined in @p board.h. 22 | * This variable is used by the HAL when initializing the PAL driver. 23 | */ 24 | #if HAL_USE_PAL || defined(__DOXYGEN__) 25 | const PALConfig pal_default_config = 26 | { 27 | {VAL_GPIOAODR, VAL_GPIOACRL, VAL_GPIOACRH}, 28 | {VAL_GPIOBODR, VAL_GPIOBCRL, VAL_GPIOBCRH}, 29 | {VAL_GPIOCODR, VAL_GPIOCCRL, VAL_GPIOCCRH}, 30 | {VAL_GPIODODR, VAL_GPIODCRL, VAL_GPIODCRH}, 31 | {VAL_GPIOEODR, VAL_GPIOECRL, VAL_GPIOECRH}, 32 | }; 33 | #endif 34 | 35 | /* 36 | * Early initialization code. 37 | * This initialization must be performed just after stack setup and before 38 | * any other initialization. 39 | */ 40 | void __early_init(void) { 41 | 42 | stm32_clock_init(); 43 | } 44 | 45 | /* 46 | * Board-specific initialization code. 47 | */ 48 | void boardInit(void) { 49 | 50 | /* 51 | * Remap USART2 to the PD5/PD6 pins. 52 | */ 53 | AFIO->MAPR |= AFIO_MAPR_USART2_REMAP; 54 | } 55 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_STM3210C_EVAL/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_STM3210C_EVAL/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_STM3210C_EVAL 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_STM3210E_EVAL/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_STM3210E_EVAL/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_STM3210E_EVAL 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_STM3220G_EVAL/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_STM3220G_EVAL/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_STM3220G_EVAL 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_STM32373C_EVAL/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_STM32373C_EVAL/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_STM32373C_EVAL 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_STM32F072B_DISCOVERY/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_STM32F072B_DISCOVERY/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_STM32F072B_DISCOVERY 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_STM32F0_DISCOVERY/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_STM32F0_DISCOVERY/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_STM32F0_DISCOVERY 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_STM32F2_DISCOVERY/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_STM32F2_DISCOVERY/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_STM32F2_DISCOVERY 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_STM32F334_DISCOVERY/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_STM32F334_DISCOVERY/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_STM32F334_DISCOVERY 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_STM32F3_DISCOVERY/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_STM32F3_DISCOVERY/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_STM32F3_DISCOVERY 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_STM32F401C_DISCOVERY/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_STM32F401C_DISCOVERY/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_STM32F401C_DISCOVERY 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_STM32F429I_DISCOVERY/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_STM32F429I_DISCOVERY/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_STM32F429I_DISCOVERY 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_STM32F469I_DISCOVERY/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_STM32F469I_DISCOVERY/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_STM32F469I_DISCOVERY 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_STM32F4_DISCOVERY/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_STM32F4_DISCOVERY/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_STM32F4_DISCOVERY 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_STM32F746G_DISCOVERY/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_STM32F746G_DISCOVERY/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_STM32F746G_DISCOVERY 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_STM32L053_DISCOVERY/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = $(CHIBIOS)/os/hal/boards/ST_STM32L053_DISCOVERY/board.c 3 | 4 | # Required include directories 5 | BOARDINC = $(CHIBIOS)/os/hal/boards/ST_STM32L053_DISCOVERY 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_STM32L476_DISCOVERY/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_STM32L476_DISCOVERY/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_STM32L476_DISCOVERY 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_STM32L_DISCOVERY/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_STM32L_DISCOVERY/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_STM32L_DISCOVERY 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_STM32VL_DISCOVERY/board.c: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #include "hal.h" 18 | 19 | /** 20 | * @brief PAL setup. 21 | * @details Digital I/O ports static configuration as defined in @p board.h. 22 | * This variable is used by the HAL when initializing the PAL driver. 23 | */ 24 | #if HAL_USE_PAL || defined(__DOXYGEN__) 25 | const PALConfig pal_default_config = 26 | { 27 | {VAL_GPIOAODR, VAL_GPIOACRL, VAL_GPIOACRH}, 28 | {VAL_GPIOBODR, VAL_GPIOBCRL, VAL_GPIOBCRH}, 29 | {VAL_GPIOCODR, VAL_GPIOCCRL, VAL_GPIOCCRH}, 30 | {VAL_GPIODODR, VAL_GPIODCRL, VAL_GPIODCRH}, 31 | {VAL_GPIOEODR, VAL_GPIOECRL, VAL_GPIOECRH}, 32 | }; 33 | #endif 34 | 35 | /* 36 | * Early initialization code. 37 | * This initialization must be performed just after stack setup and before 38 | * any other initialization. 39 | */ 40 | void __early_init(void) { 41 | 42 | stm32_clock_init(); 43 | } 44 | 45 | /* 46 | * Board-specific initialization code. 47 | */ 48 | void boardInit(void) { 49 | } 50 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/ST_STM32VL_DISCOVERY/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_STM32VL_DISCOVERY/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/ST_STM32VL_DISCOVERY 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/readme.txt: -------------------------------------------------------------------------------- 1 | This directory contains the support files for various board models. If you 2 | want to support a new board: 3 | - Create a new directory under ./os/hal/boards, give it the name of your board. 4 | - Copy inside the new directory the files from a similar board. 5 | - Customize board.c, board.h and board.mk in order to correctly initialize 6 | your board. 7 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/simulator/board.c: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #include "hal.h" 18 | 19 | /** 20 | * @brief PAL setup. 21 | * @details Digital I/O ports static configuration as defined in @p board.h. 22 | */ 23 | #if HAL_USE_PAL || defined(__DOXYGEN__) 24 | const PALConfig pal_default_config = { 25 | {0, 0, 0}, 26 | {0, 0, 0} 27 | }; 28 | #endif 29 | 30 | /* 31 | * Board-specific initialization code. 32 | */ 33 | void boardInit(void) { 34 | } 35 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/simulator/board.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef _BOARD_H_ 18 | #define _BOARD_H_ 19 | 20 | #if !defined(_FROM_ASM_) 21 | #ifdef __cplusplus 22 | extern "C" { 23 | #endif 24 | void boardInit(void); 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | #endif /* _FROM_ASM_ */ 29 | 30 | #endif /* _BOARD_H_ */ 31 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/boards/simulator/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the simulator board related files. 2 | BOARDSRC = ${CHIBIOS}/os/hal/boards/simulator/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/os/hal/boards/simulator 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/dox/dac.dox: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @defgroup DAC DAC Driver 19 | * @brief Generic DAC Driver. 20 | * @details This module implements a generic DAC (Digital to Analog Converter) 21 | * driver. 22 | * @pre In order to use the MAC driver the @p HAL_USE_DAC option 23 | * must be enabled in @p halconf.h. 24 | * 25 | * @ingroup HAL_NORMAL_DRIVERS 26 | */ 27 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/dox/hal.dox: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @defgroup HAL HAL Driver 19 | * @brief Hardware Abstraction Layer. 20 | * @details The HAL (Hardware Abstraction Layer) driver performs the system 21 | * initialization and includes the platform support code shared by 22 | * the other drivers. This driver does contain any API function 23 | * except for a general initialization function @p halInit() that 24 | * must be invoked before any HAL service can be used, usually the 25 | * HAL initialization should be performed immediately before the 26 | * kernel initialization.
27 | * Some HAL driver implementations also offer a custom early clock 28 | * setup function that can be invoked before the C runtime 29 | * initialization in order to accelerate the startup time. 30 | * 31 | * @ingroup HAL_NORMAL_DRIVERS 32 | */ 33 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/dox/hal_buffers.dox: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @defgroup HAL_BUFFERS I/O Buffers Queues 19 | * @ingroup HAL_INNER_CODE 20 | */ 21 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/dox/hal_channels.dox: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @defgroup IO_CHANNEL Abstract I/O Channel 19 | * @ingroup HAL_INTERFACES 20 | */ 21 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/dox/hal_files.dox: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @defgroup HAL_FILES Abstract Files 19 | * @ingroup HAL_INTERFACES 20 | */ 21 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/dox/hal_queues.dox: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @defgroup HAL_QUEUES I/O Bytes Queues 19 | * @ingroup HAL_INNER_CODE 20 | */ 21 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/dox/hal_streams.dox: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @defgroup HAL_STREAMS Abstract Streams 19 | * @ingroup HAL_INTERFACES 20 | */ 21 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/dox/i2s.dox: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @defgroup I2S I2S Driver 19 | * @brief Generic I2S Driver. 20 | * @details This module implements a generic I2S driver. 21 | * @pre In order to use the I2S driver the @p HAL_USE_I2S option 22 | * must be enabled in @p halconf.h. 23 | * 24 | * @section i2s_1 Driver State Machine 25 | * 26 | * @ingroup HAL_NORMAL_DRIVERS 27 | */ 28 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/dox/mac.dox: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @defgroup MAC MAC Driver 19 | * @brief Generic MAC Driver. 20 | * @details This module implements a generic MAC (Media Access Control) 21 | * driver for Ethernet controllers. 22 | * @pre In order to use the MAC driver the @p HAL_USE_MAC option 23 | * must be enabled in @p halconf.h. 24 | * 25 | * @ingroup HAL_NORMAL_DRIVERS 26 | */ 27 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/dox/mii.dox: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @defgroup MII MII/RMII Header 19 | * @brief MII/RMII Support Header 20 | * @details This header contains definitions and types related to MII/RMII. 21 | * 22 | * @ingroup HAL_SUPPORT 23 | */ 24 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/dox/mmc_spi.dox: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @defgroup MMC_SPI MMC over SPI Driver 19 | * @brief Generic MMC driver. 20 | * @details This module implements a portable MMC/SD driver that uses a SPI 21 | * driver as physical layer. Hot plugging and removal are supported 22 | * through kernel events. 23 | * @pre In order to use the MMC_SPI driver the @p HAL_USE_MMC_SPI and 24 | * @p HAL_USE_SPI options must be enabled in @p halconf.h. 25 | * 26 | * @section mmc_spi_1 Driver State Machine 27 | * This driver implements a state machine internally, see the @ref IO_BLOCK 28 | * module documentation for details. 29 | * 30 | * @section mmc_spi_2 Driver Operations 31 | * This driver allows to read or write single or multiple 512 bytes blocks 32 | * on a SD Card. 33 | * 34 | * @ingroup HAL_COMPLEX_DRIVERS 35 | */ 36 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/dox/mmcsd.dox: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @defgroup MMCSD MMC/SD Block Device 19 | * @details This module implements a common ancestor for all device drivers 20 | * accessing MMC or SD cards. This interface inherits the state 21 | * machine and the interface from the @ref IO_BLOCK module. 22 | * 23 | * @ingroup HAL_INNER_CODE 24 | */ 25 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/dox/rtc.dox: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @defgroup RTC RTC Driver 19 | * @brief Generic RTC Driver. 20 | * @details This module defines an abstract interface for a Real Time Clock 21 | * Peripheral. 22 | * @pre In order to use the RTC driver the @p HAL_USE_RTC option 23 | * must be enabled in @p halconf.h. 24 | * 25 | * @ingroup HAL_NORMAL_DRIVERS 26 | */ 27 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/dox/sdc.dox: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @defgroup SDC SDC Driver 19 | * @brief Generic SD Card Driver. 20 | * @details This module implements a generic SDC (Secure Digital Card) driver. 21 | * @pre In order to use the SDC driver the @p HAL_USE_SDC option 22 | * must be enabled in @p halconf.h. 23 | * 24 | * @section sdc_1 Driver State Machine 25 | * This driver implements a state machine internally, see the @ref IO_BLOCK 26 | * module documentation for details. 27 | * 28 | * @section sdc_2 Driver Operations 29 | * This driver allows to read or write single or multiple 512 bytes blocks 30 | * on a SD Card. 31 | * 32 | * @ingroup HAL_NORMAL_DRIVERS 33 | */ 34 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/dox/st.dox: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @defgroup ST ST Driver 19 | * @brief Generic System Tick Driver. 20 | * @details This module implements a system tick timer in order to support 21 | * the underlying operating system. 22 | * 23 | * @ingroup HAL_NORMAL_DRIVERS 24 | */ 25 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/dox/usb_cdc.dox: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @defgroup USB_CDC USB CDC Header 19 | * @brief USB CDC Support Header 20 | * @details This header contains definitions and types related to USB CDC. 21 | * 22 | * @ingroup HAL_SUPPORT 23 | */ 24 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/dox/wdg.dox: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @defgroup WDG WDG Driver 19 | * @brief Generic WDG Driver 20 | * @details This module defines an abstract interface for a watchdog 21 | * timer. 22 | * @pre In order to use the WDG driver the @p HAL_USE_WDG option 23 | * must be enabled in @p halconf.h. 24 | * 25 | * @ingroup HAL_NORMAL_DRIVERS 26 | */ 27 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/lib/streams/chprintf.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @file chprintf.h 19 | * @brief Mini printf-like functionality. 20 | * 21 | * @addtogroup chprintf 22 | * @{ 23 | */ 24 | 25 | #ifndef _CHPRINTF_H_ 26 | #define _CHPRINTF_H_ 27 | 28 | #include 29 | 30 | /** 31 | * @brief Float type support. 32 | */ 33 | #if !defined(CHPRINTF_USE_FLOAT) || defined(__DOXYGEN__) 34 | #define CHPRINTF_USE_FLOAT FALSE 35 | #endif 36 | 37 | #ifdef __cplusplus 38 | extern "C" { 39 | #endif 40 | int chvprintf(BaseSequentialStream *chp, const char *fmt, va_list ap); 41 | int chprintf(BaseSequentialStream *chp, const char *fmt, ...); 42 | int chsnprintf(char *str, size_t size, const char *fmt, ...); 43 | #ifdef __cplusplus 44 | } 45 | #endif 46 | 47 | #endif /* _CHPRINTF_H_ */ 48 | 49 | /** @} */ 50 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/lib/streams/streams.mk: -------------------------------------------------------------------------------- 1 | # RT Shell files. 2 | STREAMSSRC = $(CHIBIOS)/os/hal/lib/streams/chprintf.c \ 3 | $(CHIBIOS)/os/hal/lib/streams/memstreams.c \ 4 | $(CHIBIOS)/os/hal/lib/streams/nullstreams.c 5 | 6 | STREAMSINC = $(CHIBIOS)/os/hal/lib/streams 7 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/osal/nil/osal.mk: -------------------------------------------------------------------------------- 1 | # OSAL files. 2 | OSALSRC += ${CHIBIOS}/os/hal/osal/nil/osal.c 3 | 4 | # Required include directories 5 | OSALINC += ${CHIBIOS}/os/hal/osal/nil 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/osal/os-less/ARMCMx/osal.mk: -------------------------------------------------------------------------------- 1 | # OSAL files. 2 | OSALSRC += ${CHIBIOS}/os/hal/osal/os-less/ARMCMx/osal.c 3 | 4 | # Required include directories 5 | OSALINC += ${CHIBIOS}/os/hal/osal/os-less/ARMCMx 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/osal/rt/osal.mk: -------------------------------------------------------------------------------- 1 | # OSAL files. 2 | OSALSRC += ${CHIBIOS}/os/hal/osal/rt/osal.c 3 | 4 | # Required include directories 5 | OSALINC += ${CHIBIOS}/os/hal/osal/rt 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/ports/AVR/platform.mk: -------------------------------------------------------------------------------- 1 | # List of all the AVR platform files. 2 | PLATFORMSRC = ${CHIBIOS}/os/hal/ports/AVR/hal_lld.c \ 3 | ${CHIBIOS}/os/hal/ports/AVR/hal_pal_lld.c \ 4 | ${CHIBIOS}/os/hal/ports/AVR/hal_serial_lld.c \ 5 | ${CHIBIOS}/os/hal/ports/AVR/hal_adc_lld.c \ 6 | ${CHIBIOS}/os/hal/ports/AVR/hal_i2c_lld.c \ 7 | ${CHIBIOS}/os/hal/ports/AVR/hal_spi_lld.c \ 8 | ${CHIBIOS}/os/hal/ports/AVR/hal_gpt_lld.c \ 9 | ${CHIBIOS}/os/hal/ports/AVR/hal_pwm_lld.c \ 10 | ${CHIBIOS}/os/hal/ports/AVR/hal_icu_lld.c \ 11 | ${CHIBIOS}/os/hal/ports/AVR/hal_st_lld.c 12 | 13 | # Required include directories 14 | PLATFORMINC = ${CHIBIOS}/os/hal/ports/AVR 15 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/ports/LPC/LPC214x/platform.mk: -------------------------------------------------------------------------------- 1 | # List of all the LPC214x platform files. 2 | PLATFORMSRC = ${CHIBIOS}/os/hal/ports/LPC/LPC214x/hal_lld.c \ 3 | ${CHIBIOS}/os/hal/ports/LPC/LPC214x/hal_pal_lld.c \ 4 | ${CHIBIOS}/os/hal/ports/LPC/LPC214x/hal_serial_lld.c \ 5 | ${CHIBIOS}/os/hal/ports/LPC/LPC214x/hal_spi_lld.c \ 6 | ${CHIBIOS}/os/hal/ports/LPC/LPC214x/hal_st_lld.c \ 7 | ${CHIBIOS}/os/hal/ports/LPC/LPC214x/vic.c 8 | 9 | # Required include directories 10 | PLATFORMINC = ${CHIBIOS}/os/hal/ports/LPC/LPC214x 11 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/ports/LPC/LPC214x/vic.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @file LPC214x/vic.h 19 | * @brief LPC214x VIC peripheral support header. 20 | * 21 | * @addtogroup LPC214x_VIC 22 | * @{ 23 | */ 24 | 25 | #ifndef VIC_H 26 | #define VIC_H 27 | 28 | #ifdef __cplusplus 29 | extern "C" { 30 | #endif 31 | void vic_init(void); 32 | void SetVICVector(void *handler, int vector, int source); 33 | #ifdef __cplusplus 34 | } 35 | #endif 36 | 37 | #endif /* VIC_H */ 38 | 39 | /** @} */ 40 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/ports/STM32/LLD/ADCv1/notes.txt: -------------------------------------------------------------------------------- 1 | STM32 ADCv1 driver. 2 | 3 | Driver capability: 4 | 5 | - Supports the STM32 "simple" ADC, the one found on small devices (F0, L0). 6 | 7 | The file registry must export: 8 | 9 | STM32_HAS_ADC1 - ADC1 presence flag. 10 | STM32_ADC_SUPPORTS_PRESCALER - Support of CCR PRESC field. 11 | STM32_ADC_SUPPORTS_OVERSAMPLING - Support of oversampling-related fields. 12 | STM32_ADC1_IRQ_SHARED_WITH_EXTI - TRUE if the IRQ is shared with EXTI. 13 | STM32_ADC1_HANDLER - IRQ vector name. 14 | STM32_ADC1_NUMBER - IRQ vector number. 15 | STM32_ADC1_DMA_MSK - Mask of the compatible DMA channels. 16 | STM32_ADC1_DMA_CHN - Mask of the channels mapping. 17 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/ports/STM32/LLD/ADCv2/notes.txt: -------------------------------------------------------------------------------- 1 | STM32 ADCv2 driver. 2 | 3 | Driver capability: 4 | 5 | - Supports the STM32 "advanced" ADC found on F2, F4 and F7 sub-families. 6 | 7 | The file registry must export: 8 | 9 | STM32_HAS_ADCx - ADCx presence flag (1..3). 10 | STM32_ADC_HANDLER - IRQ vector name for ADCs (shared). 11 | STM32_ADC_NUMBER - IRQ vector number for ADCs (shared). 12 | STM32_ADCx_DMA_MSK - Mask of the compatible DMA channels. 13 | STM32_ADCx_DMA_CHN - Mask of the channels mapping. 14 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/ports/STM32/LLD/ADCv3/notes.txt: -------------------------------------------------------------------------------- 1 | STM32 ADCv3 driver. 2 | 3 | Driver capability: 4 | 5 | - Supports the STM32 "fast" ADC found on F3 and L4 sub-families. 6 | 7 | The file registry must export: 8 | 9 | STM32_HAS_ADCx - ADCx presence flag (1..4). 10 | STM32_ADC1_HANDLER - IRQ vector name for ADC1. 11 | STM32_ADC1_NUMBER - IRQ vector number for ADC1. 12 | STM32_ADC2_HANDLER - IRQ vector name for ADC2. 13 | STM32_ADC2_NUMBER - IRQ vector number for ADC2. 14 | STM32_ADC3_HANDLER - IRQ vector name for ADC3. 15 | STM32_ADC3_NUMBER - IRQ vector number for ADC3. 16 | STM32_ADC4_HANDLER - IRQ vector name for ADC4. 17 | STM32_ADC4_NUMBER - IRQ vector number for ADC4. 18 | STM32_ADCx_DMA_MSK - Mask of the compatible DMA channels (1..4). 19 | STM32_ADCx_DMA_CHN - Mask of the channels mapping (1..4). 20 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/ports/STM32/LLD/DMAv1/notes.txt: -------------------------------------------------------------------------------- 1 | STM32 DMAv1 driver. 2 | 3 | Driver capability: 4 | 5 | - The driver supports the STM32 traditional DMA controller in the following 6 | configurations: 5ch, 7ch, 7ch+5ch, 7ch+7ch. 7 | - Support for automatic the channel selection through the CSELR register. 8 | - For devices without CSELR register it is possible to select channels but 9 | the SYSCFG CFGR register is not configured, the user has to configure it 10 | before starting the DMA driver. 11 | - The driver supports shared ISR handlers with a quirk: the IRQ priority is 12 | established by the first allocated channel among the channels sharing the 13 | ISR. 14 | 15 | The file registry must export: 16 | 17 | STM32_ADVANCED_DMA - TRUE not used by the DMA drivers but other 18 | drivers use it to enable checks on DMA 19 | channels. Probably will be removed in the 20 | future. 21 | STM32_DMA_SUPPORTS_CSELR - TRUE if the DMA have a CSELR register. 22 | STM32_DMAn_NUM_CHANNELS - Number of channels in DMAs "n" (1..2). 23 | STM32_DMAn_CHx_HANDLER - Vector name for IRQ "x" (1..7). If the macro 24 | is not exported then the ISR is not declared. 25 | STM32_DMAn_CHx_NUMBER - Vector number for IRQ "x" (1..7). 26 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/ports/STM32/LLD/DMAv2/notes.txt: -------------------------------------------------------------------------------- 1 | STM32 DMAv2 driver. 2 | 3 | Driver capability: 4 | 5 | - The driver supports the STM32 enhanced DMA controller found on F2, F4 and 6 | F7 sub-families. 7 | - Support for automatic the channel selection. 8 | - Support for cache flushing and invalidation. 9 | 10 | The file registry must export: 11 | 12 | STM32_ADVANCED_DMA - TRUE not used by the DMA drivers but other 13 | drivers use it to enable checks on DMA 14 | channels. Probably will be removed in the 15 | future. 16 | STM32_HAS_DMAx - Support for DMA unit "x" (1..2). 17 | STM32_DMAx_CHn_HANDLER - Vector name for channel "n" (0..7). 18 | STM32_DMAn_CHx_NUMBER - Vector number for channel "n" (0..7). 19 | STM32_DMA_CACHE_HANDLING - TRUE if the device requires explicit cache 20 | handling on DMA buffers. -------------------------------------------------------------------------------- /ChibiOS/os/hal/ports/STM32/LLD/EXTIv1/notes.txt: -------------------------------------------------------------------------------- 1 | STM32 EXT driver implementation through EXTI unit. 2 | 3 | There are several kind of EXTI lines: 4 | 5 | 1) GPIO lines. Always in range 0..15, always handled by the EXT driver. 6 | 2) Configurable peripheral events not shared, always handled by the EXT driver. 7 | 3) Configurable peripheral events shared with other, non EXTI, interrupts. 8 | The EXTI driver declares the ISR and has to call the IRQ handler of the 9 | other driver. 10 | 4) Direct lines (1 in IMR register after reset). The EXTI driver never touches 11 | the default configuration for direct lines and does not declare ISRs. 12 | 5) Unused lines. The EXTI driver does not declare ISRs. 13 | 14 | The file registry must export: 15 | STM32_EXTI_NUM_LINES - Range of configurable lines, it can have holes of 16 | unused or direct lines. Configurable line numbers go 17 | from 0 to STM32_EXTI_NUM_LINES-1. 18 | STM32_EXTI_IMR_MASK - Direct lines and unused lines marked as 1 in this 19 | mask, configurable lines marked as 0. 20 | STM32_EXTI_IMR2_MASK - Optional, for lines 32...63. 21 | 22 | ISRs are not declared inside the driver, each sub-family must have its own 23 | ext_lld_isr.h and ext_lld_isr.c files. 24 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/ports/STM32/LLD/TIMv1/tim_irq_mapping.txt: -------------------------------------------------------------------------------- 1 | TIM units IRQ collisions mapping. 2 | 3 | 1B 1UP 1TC 1CC 2 3 4 5 6 7 8B 8UP 8TC 8CC 9 10 11 12 13 14 15 16 17 18 19 20 21 22 LP1 LP2 4 | F0xx 1---1 2---2 * * * * * * * * 5 | F030 1---1 2---2 * * * * * 6 | F1xx 1 2 3 * * * * * * * 1 2 3 7 | F100 1 2 3 * * * * * * * 1 2 3 8 | F3xx 1 2 3 * * * * * * * * * * 1 2 3 9 | F37x * * * * * * * * * * * * * * 10 | F4xx 1 2 3 * * * * * * * 4 5 6 * 1 2 3 4 5 6 11 | F7xx 1 2 3 * * * * * * * 4 5 6 * 1 2 3 4 5 6 * 12 | L0xx * * * * * 13 | L1xx * * * * * * * * * 14 | L4xx 1 2 3 * * * * * * * * * * * 1 2 3 * * 15 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/ports/STM32/todo.txt: -------------------------------------------------------------------------------- 1 | - BOFF handling in DACv1. 2 | - Oversampling support for ADCv1 and ADCv3. 3 | - Implement missing ICU/PWM/GPT/ST units using shared IRQ handlers. 4 | - Implement I2S driver over SAI interfaces. 5 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/ports/simulator/win32/platform.mk: -------------------------------------------------------------------------------- 1 | # List of all the Win32 platform files. 2 | PLATFORMSRC = ${CHIBIOS}/os/hal/ports/simulator/win32/hal_lld.c \ 3 | ${CHIBIOS}/os/hal/ports/simulator/win32/hal_serial_lld.c \ 4 | ${CHIBIOS}/os/hal/ports/simulator/console.c \ 5 | ${CHIBIOS}/os/hal/ports/simulator/hal_pal_lld.c \ 6 | ${CHIBIOS}/os/hal/ports/simulator/hal_st_lld.c 7 | 8 | # Required include directories 9 | PLATFORMINC = ${CHIBIOS}/os/hal/ports/simulator/win32 \ 10 | ${CHIBIOS}/os/hal/ports/simulator 11 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/templates/board/board.c: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #include "hal.h" 18 | 19 | /** 20 | * @brief Board-specific initialization code. 21 | * @todo Add your board-specific code, if any. 22 | */ 23 | void boardInit(void) { 24 | } 25 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/templates/board/board.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef BOARD_H 18 | #define BOARD_H 19 | 20 | /* 21 | * Setup for a generic board. 22 | */ 23 | 24 | /* 25 | * Board identifier. 26 | */ 27 | #define BOARD_GENERIC 28 | #define BOARD_NAME "Generic Board" 29 | 30 | #if !defined(_FROM_ASM_) 31 | #ifdef __cplusplus 32 | extern "C" { 33 | #endif 34 | void boardInit(void); 35 | #ifdef __cplusplus 36 | } 37 | #endif 38 | #endif /* _FROM_ASM_ */ 39 | 40 | #endif /* BOARD_H */ 41 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/templates/board/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = $(CHIBIOS)/os/hal/templates/board/board.c 3 | 4 | # Required include directories 5 | BOARDINC = $(CHIBIOS)/os/hal/templates/board 6 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/templates/mcuconf.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef MCUCONF_H 18 | #define MCUCONF_H 19 | 20 | /* 21 | * Platform drivers configuration. 22 | * The following settings override the default settings present in 23 | * the various device driver implementation headers. 24 | * Note that the settings for each driver only have effect if the whole 25 | * driver is enabled in halconf.h. 26 | */ 27 | 28 | #define PLATFORM_MCUCONF 29 | 30 | #endif /* MCUCONF_H */ 31 | -------------------------------------------------------------------------------- /ChibiOS/os/hal/templates/osal/osal.mk: -------------------------------------------------------------------------------- 1 | # OSAL files. 2 | OSALSRC += ${CHIBIOS}/os/hal/templates/osal/osal.c 3 | 4 | # Required include directories 5 | OSALINC += ${CHIBIOS}/os/hal/templates/osal 6 | -------------------------------------------------------------------------------- /ChibiOS/os/nil/dox/nil.dox: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio. 3 | 4 | This file is part of ChibiOS. 5 | 6 | ChibiOS is free software; you can redistribute it and/or modify 7 | it under the terms of the GNU General Public License as published by 8 | the Free Software Foundation; either version 3 of the License, or 9 | (at your option) any later version. 10 | 11 | ChibiOS is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | GNU General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this program. If not, see . 18 | */ 19 | 20 | /** 21 | * @defgroup NIL NIL Kernel 22 | * @details The kernel is the portable part of ChibiOS/NIL, this section 23 | * documents the various kernel subsystems. 24 | */ 25 | 26 | /** 27 | * @defgroup NIL_CONFIG Configuration 28 | * @ingroup NIL 29 | */ 30 | 31 | /** 32 | * @defgroup NIL_TYPES Kernel Types 33 | * @ingroup NIL 34 | */ 35 | 36 | /** 37 | * @defgroup NIL_KERNEL API 38 | * @ingroup NIL 39 | */ 40 | 41 | /** 42 | * @defgroup NIL_CORE Port Layer 43 | * @ingroup NIL 44 | */ 45 | 46 | /** 47 | * @defgroup NIL_TIMER Timer Interface 48 | * @ingroup NIL 49 | */ 50 | 51 | -------------------------------------------------------------------------------- /ChibiOS/os/nil/nil.mk: -------------------------------------------------------------------------------- 1 | # List of all the ChibiOS/NIL kernel files, there is no need to remove the files 2 | # from this list, you can disable parts of the kernel by editing chconf.h. 3 | ifeq ($(USE_SMART_BUILD),yes) 4 | CHCONF := $(strip $(shell cat chconf.h | egrep -e "\#define")) 5 | KERNSRC := ${CHIBIOS}/os/nil/src/ch.c 6 | ifneq ($(findstring CH_CFG_USE_MAILBOXES TRUE,$(CHCONF)),) 7 | KERNSRC += $(CHIBIOS)/os/common/oslib/src/chmboxes.c 8 | endif 9 | ifneq ($(findstring CH_CFG_USE_MEMCORE TRUE,$(CHCONF)),) 10 | KERNSRC += $(CHIBIOS)/os/common/oslib/src/chmemcore.c 11 | endif 12 | ifneq ($(findstring CH_CFG_USE_HEAP TRUE,$(CHCONF)),) 13 | KERNSRC += $(CHIBIOS)/os/common/oslib/src/chheap.c 14 | endif 15 | ifneq ($(findstring CH_CFG_USE_MEMPOOLS TRUE,$(CHCONF)),) 16 | KERNSRC += $(CHIBIOS)/os/common/oslib/src/chmempools.c 17 | endif 18 | else 19 | KERNSRC := ${CHIBIOS}/os/nil/src/ch.c \ 20 | ${CHIBIOS}/os/common/oslib/src/chmboxes.c \ 21 | ${CHIBIOS}/os/common/oslib/src/chmemcore.c \ 22 | ${CHIBIOS}/os/common/oslib/src/chmempools.c \ 23 | ${CHIBIOS}/os/common/oslib/src/chheap.c 24 | endif 25 | 26 | # Required include directories 27 | KERNINC := ${CHIBIOS}/os/nil/include \ 28 | ${CHIBIOS}/os/common/oslib/include 29 | -------------------------------------------------------------------------------- /ChibiOS/os/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | *** ChibiOS products directory organization *** 3 | ***************************************************************************** 4 | 5 | --{root} - Distribution directory. 6 | +--os/ - ChibiOS products, this directory. 7 | | +--rt/ - ChibiOS/RT product. 8 | | | +--include/ - RT kernel headers. 9 | | | +--src/ - RT kernel sources. 10 | | | +--templates/ - RT kernel port template files. 11 | | | +--ports/ - RT kernel port files. 12 | | | +--osal/ - RT kernel OSAL module for HAL interface. 13 | | +--nil/ - ChibiOS/NIL product. 14 | | | +--include/ - Nil kernel headers. 15 | | | +--src/ - Nil kernel sources. 16 | | | +--templates/ - Nil kernel port template files. 17 | | | +--ports/ - Nil kernel port files. 18 | | | +--osal/ - Nil kernel OSAL module for HAL interface. 19 | | +--hal/ - ChibiOS/HAL product. 20 | | | +--include/ - HAL high level headers. 21 | | | +--src/ - HAL high level sources. 22 | | | +--templates/ - HAL port template files. 23 | | | +--ports/ - HAL port files (low level drivers implementations). 24 | | | +--boards/ - HAL board files. 25 | | +--common/ - Files used by multiple ChibiOS products. 26 | | | +--ports - Common port files for various architectures and 27 | | | compilers. 28 | | +--various/ - Various portable support files. 29 | | +--ext/ - Vendor files used by ChibiOS products. 30 | -------------------------------------------------------------------------------- /ChibiOS/os/various/cpp_wrappers/chcpp.mk: -------------------------------------------------------------------------------- 1 | # C++ wrapper files. 2 | CHCPPSRC = $(CHIBIOS)/os/various/cpp_wrappers/ch.cpp \ 3 | $(CHIBIOS)/os/various/cpp_wrappers/syscalls_cpp.cpp 4 | 5 | CHCPPINC = $(CHIBIOS)/os/various/cpp_wrappers 6 | -------------------------------------------------------------------------------- /ChibiOS/os/various/cpp_wrappers/syscalls_cpp.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #include "osal.h" 5 | 6 | #include "syscalls_cpp.hpp" 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | void _exit(int status){ 13 | (void) status; 14 | osalSysHalt("Unrealized"); 15 | while(TRUE){} 16 | } 17 | 18 | pid_t _getpid(void){ 19 | return 1; 20 | } 21 | 22 | #undef errno 23 | extern int errno; 24 | int _kill(int pid, int sig) { 25 | (void)pid; 26 | (void)sig; 27 | errno = EINVAL; 28 | return -1; 29 | } 30 | 31 | void _open_r(void){ 32 | return; 33 | } 34 | 35 | void __cxa_pure_virtual() { 36 | osalSysHalt("Pure virtual function call."); 37 | } 38 | 39 | #ifdef __cplusplus 40 | } 41 | #endif 42 | -------------------------------------------------------------------------------- /ChibiOS/os/various/cpp_wrappers/syscalls_cpp.hpp: -------------------------------------------------------------------------------- 1 | #ifndef SYSCALLS_CPP_HPP_ 2 | #define SYSCALLS_CPP_HPP_ 3 | 4 | /* The ABI requires a 32-bit type.*/ 5 | typedef int __guard; 6 | 7 | int __cxa_guard_acquire(__guard *); 8 | void __cxa_guard_release (__guard *); 9 | void __cxa_guard_abort (__guard *); 10 | 11 | void *__dso_handle = NULL; 12 | 13 | #endif /* SYSCALLS_CPP_HPP_ */ 14 | -------------------------------------------------------------------------------- /ChibiOS/os/various/devices_lib/accel/lis302dl.dox: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @defgroup lis302dl Interface module for LIS302DL MEMS 19 | * 20 | * @brief Interface module for LIS302DL MEMS. 21 | * @details This module implements a generic interface for the LIS302DL 22 | * STMicroelectronics MEMS device. The communication is performed 23 | * through a standard SPI driver. 24 | * 25 | * @ingroup accel 26 | */ 27 | -------------------------------------------------------------------------------- /ChibiOS/os/various/fatfs_bindings/fatfs.mk: -------------------------------------------------------------------------------- 1 | # FATFS files. 2 | FATFSSRC = $(CHIBIOS)/os/various/fatfs_bindings/fatfs_diskio.c \ 3 | $(CHIBIOS)/os/various/fatfs_bindings/fatfs_syscall.c \ 4 | $(CHIBIOS)/ext/fatfs/src/ff.c \ 5 | $(CHIBIOS)/ext/fatfs/src/option/unicode.c 6 | 7 | FATFSINC = $(CHIBIOS)/ext/fatfs/src 8 | -------------------------------------------------------------------------------- /ChibiOS/os/various/fatfs_bindings/readme.txt: -------------------------------------------------------------------------------- 1 | This directory contains the ChibiOS/RT "official" bindings with the FatFS 2 | library by ChaN: http://elm-chan.org 3 | 4 | In order to use FatFS within ChibiOS/RT project, unzip FatFS under 5 | ./ext/fatfs then include $(CHIBIOS)/os/various/fatfs_bindings/fatfs.mk 6 | in your makefile. 7 | -------------------------------------------------------------------------------- /ChibiOS/os/various/lwip_bindings/lwip.mk: -------------------------------------------------------------------------------- 1 | # List of the required lwIP files. 2 | LWIP = $(CHIBIOS)/ext/lwip 3 | 4 | LWBINDSRC = \ 5 | $(CHIBIOS)/os/various/lwip_bindings/lwipthread.c \ 6 | $(CHIBIOS)/os/various/lwip_bindings/arch/sys_arch.c 7 | 8 | LWNETIFSRC = \ 9 | $(LWIP)/src/netif/etharp.c 10 | 11 | LWCORESRC = \ 12 | $(LWIP)/src/core/dhcp.c \ 13 | $(LWIP)/src/core/dns.c \ 14 | $(LWIP)/src/core/init.c \ 15 | $(LWIP)/src/core/mem.c \ 16 | $(LWIP)/src/core/memp.c \ 17 | $(LWIP)/src/core/netif.c \ 18 | $(LWIP)/src/core/pbuf.c \ 19 | $(LWIP)/src/core/raw.c \ 20 | $(LWIP)/src/core/stats.c \ 21 | $(LWIP)/src/core/sys.c \ 22 | $(LWIP)/src/core/tcp.c \ 23 | $(LWIP)/src/core/tcp_in.c \ 24 | $(LWIP)/src/core/tcp_out.c \ 25 | $(LWIP)/src/core/udp.c 26 | 27 | LWIPV4SRC = \ 28 | $(LWIP)/src/core/ipv4/autoip.c \ 29 | $(LWIP)/src/core/ipv4/icmp.c \ 30 | $(LWIP)/src/core/ipv4/igmp.c \ 31 | $(LWIP)/src/core/ipv4/inet.c \ 32 | $(LWIP)/src/core/ipv4/inet_chksum.c \ 33 | $(LWIP)/src/core/ipv4/ip.c \ 34 | $(LWIP)/src/core/ipv4/ip_addr.c \ 35 | $(LWIP)/src/core/ipv4/ip_frag.c \ 36 | $(LWIP)/src/core/def.c \ 37 | $(LWIP)/src/core/timers.c 38 | 39 | LWAPISRC = \ 40 | $(LWIP)/src/api/api_lib.c \ 41 | $(LWIP)/src/api/api_msg.c \ 42 | $(LWIP)/src/api/err.c \ 43 | $(LWIP)/src/api/netbuf.c \ 44 | $(LWIP)/src/api/netdb.c \ 45 | $(LWIP)/src/api/netifapi.c \ 46 | $(LWIP)/src/api/sockets.c \ 47 | $(LWIP)/src/api/tcpip.c 48 | 49 | LWSRC = $(LWBINDSRC) $(LWNETIFSRC) $(LWCORESRC) $(LWIPV4SRC) $(LWAPISRC) 50 | 51 | LWINC = \ 52 | $(CHIBIOS)/os/various/lwip_bindings \ 53 | $(LWIP)/src/include \ 54 | $(LWIP)/src/include/ipv4 55 | -------------------------------------------------------------------------------- /ChibiOS/os/various/lwip_bindings/readme.txt: -------------------------------------------------------------------------------- 1 | This directory contains the ChibiOS/RT "official" bindings with the lwIP 2 | TCP/IP stack: http://savannah.nongnu.org/projects/lwip 3 | 4 | In order to use lwIP within ChibiOS/RT project, unzip lwIP under 5 | ./ext/lwip-1.4.0 then include $(CHIBIOS)/os/various/lwip_bindings/lwip.mk 6 | in your makefile. 7 | -------------------------------------------------------------------------------- /ChibiOS/os/various/shell/shell.mk: -------------------------------------------------------------------------------- 1 | # RT Shell files. 2 | SHELLSRC = $(CHIBIOS)/os/various/shell/shell.c \ 3 | $(CHIBIOS)/os/various/shell/shell_cmd.c 4 | 5 | SHELLINC = $(CHIBIOS)/os/various/shell 6 | -------------------------------------------------------------------------------- /ChibiOS/testhal.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/ChibiOS/testhal.zip -------------------------------------------------------------------------------- /ChibiOS/tools/test.c: -------------------------------------------------------------------------------- 1 | static struct pippo **pluto (void) { 2 | 3 | } 4 | 5 | static struct pp qq (void) { 6 | 7 | } 8 | 9 | static cc ss (void) { 10 | 11 | } 12 | 13 | static aa bb (int a, 14 | char *p) { 15 | 16 | } 17 | 18 | dd *ee (void) { 19 | 20 | bb(0, "pip\"po", "pluto"); 21 | } 22 | -------------------------------------------------------------------------------- /FatFs/integer.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------------------*/ 2 | /* Integer type definitions for FatFs module */ 3 | /*-------------------------------------------*/ 4 | 5 | #ifndef FF_INTEGER 6 | #define FF_INTEGER 7 | 8 | #ifdef _WIN32 /* FatFs development platform */ 9 | 10 | #include 11 | #include 12 | typedef unsigned __int64 QWORD; 13 | 14 | 15 | #else /* Embedded platform */ 16 | 17 | /* These types MUST be 16-bit or 32-bit */ 18 | typedef int INT; 19 | typedef unsigned int UINT; 20 | 21 | /* This type MUST be 8-bit */ 22 | typedef unsigned char BYTE; 23 | 24 | /* These types MUST be 16-bit */ 25 | typedef short SHORT; 26 | typedef unsigned short WORD; 27 | typedef unsigned short WCHAR; 28 | 29 | /* These types MUST be 32-bit */ 30 | typedef long LONG; 31 | typedef unsigned long DWORD; 32 | 33 | /* This type MUST be 64-bit (Remove this for ANSI C (C89) compatibility) */ 34 | typedef unsigned long long QWORD; 35 | 36 | #endif 37 | 38 | #endif 39 | -------------------------------------------------------------------------------- /NANOVNA_STM32_F072/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${PROJ}/NANOVNA_STM32_F072/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${PROJ}/NANOVNA_STM32_F072 6 | -------------------------------------------------------------------------------- /NANOVNA_STM32_F072/dac_v1.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2019-2021, Dmitry (DiSlord) dislordlive@gmail.com 3 | * Based on TAKAHASHI Tomohiro (TTRFTECH) edy555@gmail.com 4 | * All rights reserved. 5 | * 6 | * This is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3, or (at your option) 9 | * any later version. 10 | * 11 | * The software is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with GNU Radio; see the file COPYING. If not, write to 18 | * the Free Software Foundation, Inc., 51 Franklin Street, 19 | * Boston, MA 02110-1301, USA. 20 | */ 21 | 22 | void dac_init(void) { 23 | rccEnableDAC1(false); // Use DAC1 24 | DAC->CR|= DAC_CR_EN2; // Enable DAC1 ch2 25 | } 26 | 27 | void dac_setvalue_ch1(uint16_t v) {DAC->DHR12R1 = v;} 28 | void dac_setvalue_ch2(uint16_t v) {DAC->DHR12R2 = v;} 29 | -------------------------------------------------------------------------------- /NANOVNA_STM32_F303/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${PROJ}/NANOVNA_STM32_F303/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${PROJ}/NANOVNA_STM32_F303 6 | -------------------------------------------------------------------------------- /NANOVNA_STM32_F303/board/stm32f3discovery.cfg: -------------------------------------------------------------------------------- 1 | # This is an STM32F3 discovery board with a single STM32F303VCT6 chip. 2 | # http://www.st.com/internet/evalboard/product/254044.jsp 3 | 4 | source [find interface/stlink.cfg] 5 | 6 | transport select hla_swd 7 | 8 | source [find target/stm32f3x.cfg] 9 | 10 | #reset_config srst_only 11 | reset_config none 12 | 13 | -------------------------------------------------------------------------------- /NANOVNA_STM32_F303/dac_v1.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2019-2021, Dmitry (DiSlord) dislordlive@gmail.com 3 | * Based on TAKAHASHI Tomohiro (TTRFTECH) edy555@gmail.com 4 | * All rights reserved. 5 | * 6 | * This is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3, or (at your option) 9 | * any later version. 10 | * 11 | * The software is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with GNU Radio; see the file COPYING. If not, write to 18 | * the Free Software Foundation, Inc., 51 Franklin Street, 19 | * Boston, MA 02110-1301, USA. 20 | */ 21 | 22 | void dac_init(void) { 23 | rccEnableDAC1(false); // Use DAC1 24 | DAC->CR|= DAC_CR_EN2; // Enable DAC1 ch2 25 | } 26 | 27 | void dac_setvalue_ch1(uint16_t v) {DAC->DHR12R1 = v;} 28 | void dac_setvalue_ch2(uint16_t v) {DAC->DHR12R2 = v;} 29 | -------------------------------------------------------------------------------- /NANOVNA_STM32_F303/flash.c: -------------------------------------------------------------------------------- 1 | static inline void flash_wait_for_last_operation(void) 2 | { 3 | while (FLASH->SR == FLASH_SR_BSY) { 4 | //WWDG->CR = WWDG_CR_T; 5 | } 6 | // return FLASH->SR; 7 | } 8 | 9 | static void flash_erase_page0(uint32_t page_address) 10 | { 11 | flash_wait_for_last_operation(); 12 | FLASH->CR|= FLASH_CR_PER; 13 | FLASH->AR = page_address; 14 | FLASH->CR|= FLASH_CR_STRT; 15 | flash_wait_for_last_operation(); 16 | FLASH->CR&=~FLASH_CR_PER; 17 | } 18 | 19 | static inline void flash_unlock(void) 20 | { 21 | // unlock sequence 22 | FLASH->KEYR = FLASH_KEY1; 23 | FLASH->KEYR = FLASH_KEY2; 24 | } 25 | 26 | void flash_erase_pages(uint32_t page_address, uint32_t size) 27 | { 28 | // Unlock for erase 29 | flash_unlock(); 30 | // erase flash pages 31 | size+=page_address; 32 | for (; page_address < size; page_address+= FLASH_PAGESIZE) 33 | flash_erase_page0(page_address); 34 | } 35 | 36 | void flash_program_half_word_buffer(uint16_t* dst, uint16_t *data, uint16_t size) 37 | { 38 | uint32_t i; 39 | // unlock, and erase flash pages for buffer (aligned to FLASH_PAGESIZE) 40 | flash_erase_pages((uint32_t)dst, size); 41 | // Save buffer 42 | __IO uint16_t* p = dst; 43 | for (i = 0; i < size/sizeof(uint16_t); i++){ 44 | flash_wait_for_last_operation(); 45 | FLASH->CR|= FLASH_CR_PG; 46 | p[i] = data[i]; 47 | flash_wait_for_last_operation(); 48 | FLASH->CR&=~FLASH_CR_PG; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /NANOVNA_STM32_F303/interface/stlink.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # STMicroelectronics ST-LINK/V1, ST-LINK/V2, ST-LINK/V2-1, STLINK-V3 in-circuit 3 | # debugger/programmer 4 | # 5 | 6 | interface hla 7 | hla_layout stlink 8 | hla_device_desc "ST-LINK" 9 | hla_vid_pid 0x0483 0x3744 0x0483 0x3748 0x0483 0x374b 0x0483 0x374d 0x0483 0x374e 0x0483 0x374f 0x0483 0x3752 0x0483 0x3753 10 | 11 | # Optionally specify the serial number of ST-LINK/V2 usb device. ST-LINK/V2 12 | # devices seem to have serial numbers with unreadable characters. ST-LINK/V2 13 | # firmware version >= V2.J21.S4 recommended to avoid issues with adapter serial 14 | # number reset issues. 15 | # eg. 16 | #hla_serial "\xaa\xbc\x6e\x06\x50\x75\xff\x55\x17\x42\x19\x3f" 17 | 18 | -------------------------------------------------------------------------------- /NANOVNA_STM32_F303/run_openocd: -------------------------------------------------------------------------------- 1 | ~/opt/xPacks/@gnu-mcu-eclipse/openocd/0.10.0-12.1/.content/bin/openocd -f board/stm32f3discovery.cfg 2 | -------------------------------------------------------------------------------- /NANOVNA_STM32_F303/target/swj-dp.tcl: -------------------------------------------------------------------------------- 1 | # ARM Debug Interface V5 (ADI_V5) utility 2 | # ... Mostly for SWJ-DP (not SW-DP or JTAG-DP, since 3 | # SW-DP and JTAG-DP targets don't need to switch based 4 | # on which transport is active. 5 | # 6 | # declare a JTAG or SWD Debug Access Point (DAP) 7 | # based on the transport in use with this session. 8 | # You can't access JTAG ops when SWD is active, etc. 9 | 10 | # params are currently what "jtag newtap" uses 11 | # because OpenOCD internals are still strongly biased 12 | # to JTAG .... but for SWD, "irlen" etc are ignored, 13 | # and the internals work differently 14 | 15 | # for now, ignore non-JTAG and non-SWD transports 16 | # (e.g. initial flash programming via SPI or UART) 17 | 18 | # split out "chip" and "tag" so we can someday handle 19 | # them more uniformly irlen too...) 20 | 21 | if [catch {transport select}] { 22 | echo "Error: unable to select a session transport. Can't continue." 23 | shutdown 24 | } 25 | 26 | proc swj_newdap {chip tag args} { 27 | if [using_hla] { 28 | eval hla newtap $chip $tag $args 29 | } elseif [using_jtag] { 30 | eval jtag newtap $chip $tag $args 31 | } elseif [using_swd] { 32 | eval swd newdap $chip $tag $args 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /doc/nanovna-blockdiagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/doc/nanovna-blockdiagram.png -------------------------------------------------------------------------------- /doc/nanovna-pcb-photo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/doc/nanovna-pcb-photo.jpg -------------------------------------------------------------------------------- /doc/nanovna-sch.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/doc/nanovna-sch.pdf -------------------------------------------------------------------------------- /doc/nanovna.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiSlord/NanoVNA-D/1166b5c24f5fdf1b2362c7583912a3ad14c8dbc9/doc/nanovna.jpg -------------------------------------------------------------------------------- /mcuconf.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifdef NANOVNA_F303 18 | #include "NANOVNA_STM32_F303/mcuconf.h" 19 | #else 20 | #include "NANOVNA_STM32_F072/mcuconf.h" 21 | #endif 22 | -------------------------------------------------------------------------------- /prog.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | DFU_UTIL=../chibios-stm/dfu-util/src/dfu-util 3 | $DFU_UTIL -d 0483:df11 -a 0 -s 0x08000000:leave -D build/ch.bin 4 | -------------------------------------------------------------------------------- /python/README.md: -------------------------------------------------------------------------------- 1 | # Control NanoVNA from python script 2 | 3 | NanoVNA is able to be controlled via USB serial interface from PC. There are sample scripts in this directory. 4 | 5 | ## Preparation 6 | 7 | $ cd python 8 | $ pip3 install -r requirements.txt 9 | 10 | ## Run 11 | 12 | ### Plot reflection LOGMAG. 13 | 14 | $ ./nanovna.py -p 15 | 16 | ### Plot transmission LOGMAG. 17 | 18 | $ ./nanovna.py -p -P 1 19 | 20 | ### Plot smithchart. 21 | 22 | $ ./nanovna.py -s 23 | 24 | ### Capture display 25 | 26 | $ ./nanovna.py -C out.png 27 | 28 | ### Show usage. 29 | 30 | $ ./nanovna.py -h 31 | 32 | ## Using in Jupyter Notebook 33 | 34 | To use NanoVNA from Jupyter notebook, see [this page](/python/NanoVNA-example.ipynb). 35 | -------------------------------------------------------------------------------- /python/requirements.txt: -------------------------------------------------------------------------------- 1 | matplotlib 2 | scikit-rf 3 | pillow 4 | pyserial 5 | -------------------------------------------------------------------------------- /usbcfg.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef _USBCFG_H_ 18 | #define _USBCFG_H_ 19 | 20 | extern const USBConfig usbcfg; 21 | extern SerialUSBConfig serusbcfg; 22 | extern SerialUSBDriver SDU1; 23 | 24 | #endif /* _USBCFG_H_ */ 25 | 26 | /** @} */ 27 | --------------------------------------------------------------------------------