├── .gitignore ├── .project ├── boards ├── ARDUINO_MEGA │ ├── 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 ├── GENERIC_SPC560P │ ├── board.c │ ├── board.h │ └── board.mk ├── GENERIC_SPC563M │ ├── board.c │ ├── board.h │ └── board.mk ├── MAPLEMINI_STM32_F103 │ ├── 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_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_H103 │ ├── 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 ├── RASPBERRYPI_MODB │ ├── board.c │ ├── board.h │ └── board.mk ├── 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_STM32F0_DISCOVERY │ ├── board.c │ ├── board.h │ ├── board.mk │ └── cfg │ │ └── board.chcfg ├── ST_STM32F4_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 ├── demos ├── ARM11-BCM2835-G++ │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── main.cpp │ ├── mcuconf.h │ └── readme.txt ├── ARM11-BCM2835-GCC │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── main.c │ ├── mcuconf.h │ └── readme.txt ├── ARM7-AT91SAM7X-FATFS-GCC │ ├── Makefile │ ├── chconf.h │ ├── ffconf.h │ ├── halconf.h │ ├── main.c │ ├── mcuconf.h │ └── readme.txt ├── ARM7-AT91SAM7X-GCC │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── main.c │ ├── mcuconf.h │ └── readme.txt ├── ARM7-AT91SAM7X-LWIP-GCC │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── lwipopts.h │ ├── main.c │ ├── mcuconf.h │ ├── readme.txt │ └── web │ │ ├── web.c │ │ └── web.h ├── ARM7-AT91SAM7X-UIP-GCC │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── main.c │ ├── mcuconf.h │ ├── readme.txt │ └── web │ │ ├── cc-arch.h │ │ ├── clock-arch.h │ │ ├── uip-conf.h │ │ ├── webthread.c │ │ └── webthread.h ├── ARM7-LPC214x-FATFS-GCC │ ├── Makefile │ ├── chconf.h │ ├── ffconf.h │ ├── halconf.h │ ├── main.c │ ├── mcuconf.h │ └── readme.txt ├── ARM7-LPC214x-G++ │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── main.cpp │ ├── mcuconf.h │ └── readme.txt ├── ARM7-LPC214x-GCC │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── main.c │ ├── mcuconf.h │ └── readme.txt ├── ARMCM0-LPC1114-LPCXPRESSO │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── iar │ │ ├── ch.ewp │ │ ├── ch.eww │ │ └── ch.icf │ ├── keil │ │ └── ch.uvproj │ ├── main.c │ └── mcuconf.h ├── ARMCM0-LPC11U14-LPCXPRESSO │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── main.c │ └── mcuconf.h ├── ARMCM0-STM32F051-DISCOVERY │ ├── .cproject │ ├── .project │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── main.c │ ├── mcuconf.h │ └── readme.txt ├── ARMCM3-GENERIC-KERNEL │ ├── Makefile │ ├── chconf.h │ ├── main.c │ └── readme.txt ├── ARMCM3-LPC1343-LPCXPRESSO │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── iar │ │ ├── ch.ewp │ │ ├── ch.eww │ │ └── ch.icf │ ├── keil │ │ └── ch.uvproj │ ├── main.c │ └── mcuconf.h ├── ARMCM3-LPC1343-OLIMEX │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── main.c │ └── mcuconf.h ├── ARMCM3-STM32F100-DISCOVERY │ ├── .cproject │ ├── .project │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── iar │ │ ├── ch.ewp │ │ ├── ch.eww │ │ └── ch.icf │ ├── keil │ │ └── ch.uvproj │ ├── main.c │ ├── mcuconf.h │ └── readme.txt ├── ARMCM3-STM32F103-FATFS │ ├── .cproject │ ├── .project │ ├── Makefile │ ├── chconf.h │ ├── ffconf.h │ ├── halconf.h │ ├── main.c │ ├── mcuconf.h │ └── readme.txt ├── ARMCM3-STM32F103-G++ │ ├── .cproject │ ├── .project │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── main.cpp │ ├── mcuconf.h │ └── readme.txt ├── ARMCM3-STM32F103 │ ├── .cproject │ ├── .project │ ├── Makefile │ ├── chconf.h │ ├── codeblocks │ │ ├── ch.cbp │ │ └── ch.workspace │ ├── halconf.h │ ├── iar │ │ ├── ch.ewp │ │ ├── ch.eww │ │ └── ch.icf │ ├── keil │ │ └── ch.uvproj │ ├── main.c │ ├── mcuconf.h │ ├── readme.txt │ └── ride7 │ │ ├── ch.rapp │ │ └── ch.rprj ├── ARMCM3-STM32F103ZG-FATFS │ ├── .cproject │ ├── .project │ ├── Makefile │ ├── chconf.h │ ├── ffconf.h │ ├── halconf.h │ ├── iar │ │ ├── ch.ewp │ │ ├── ch.eww │ │ └── ch.icf │ ├── main.c │ ├── mcuconf.h │ └── readme.txt ├── ARMCM3-STM32F107-FATFS │ ├── .cproject │ ├── .project │ ├── Makefile │ ├── chconf.h │ ├── ffconf.h │ ├── halconf.h │ ├── main.c │ ├── mcuconf.h │ └── readme.txt ├── ARMCM3-STM32F107-LWIP │ ├── .cproject │ ├── .project │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── lwipopts.h │ ├── main.c │ ├── mcuconf.h │ ├── readme.txt │ └── web │ │ ├── web.c │ │ └── web.h ├── ARMCM3-STM32F107 │ ├── .cproject │ ├── .project │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── iar │ │ ├── ch.ewp │ │ ├── ch.eww │ │ └── ch.icf │ ├── keil │ │ └── ch.uvproj │ ├── main.c │ ├── mcuconf.h │ └── readme.txt ├── ARMCM3-STM32L152-DISCOVERY │ ├── .cproject │ ├── .project │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── iar │ │ ├── ch.ewp │ │ ├── ch.eww │ │ └── ch.icf │ ├── keil │ │ └── ch.uvproj │ ├── main.c │ ├── mcuconf.h │ └── readme.txt ├── ARMCM4-STM32F303-DISCOVERY │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── main.c │ ├── mcuconf.h │ └── readme.txt ├── ARMCM4-STM32F407-DISCOVERY-MEMS │ ├── .cproject │ ├── .project │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── main.c │ ├── mcuconf.h │ ├── readme.txt │ ├── usbcfg.c │ └── usbcfg.h ├── ARMCM4-STM32F407-DISCOVERY │ ├── .cproject │ ├── .project │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── iar │ │ ├── ch.ewp │ │ ├── ch.eww │ │ └── ch.icf │ ├── keil │ │ └── ch.uvproj │ ├── main.c │ ├── mcuconf.h │ └── readme.txt ├── ARMCM4-STM32F407-LWIP-FATFS-USB │ ├── .cproject │ ├── .project │ ├── Makefile │ ├── chconf.h │ ├── ffconf.h │ ├── halconf.h │ ├── lwipopts.h │ ├── main.c │ ├── mcuconf.h │ ├── readme.txt │ └── web │ │ ├── web.c │ │ └── web.h ├── ARMCM4-STM32F407-LWIP │ ├── .cproject │ ├── .project │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── lwipopts.h │ ├── main.c │ ├── mcuconf.h │ ├── readme.txt │ └── web │ │ ├── web.c │ │ └── web.h ├── AVR-AT90CANx-GCC │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── main.c │ ├── mcuconf.h │ └── readme.txt ├── AVR-ATmega128-GCC │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── lcd.c │ ├── lcd.h │ ├── main.c │ ├── mcuconf.h │ └── readme.txt ├── AVR-ArduinoMega-GCC │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── main.c │ ├── mcuconf.h │ └── readme.txt ├── MSP430-MSP430x1611-GCC │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── main.c │ ├── mcuconf.h │ ├── memory.x │ ├── msp430.x │ ├── periph.x │ └── readme.txt ├── PPC-SPC560P-GCC │ ├── .cproject │ ├── .project │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── main.c │ └── mcuconf.h ├── PPC-SPC563M-GCC │ ├── .cproject │ ├── .project │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ └── main.c ├── Posix-GCC │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── main.c │ └── readme.txt ├── STM8L-STM8L152-DISCOVERY-STVD │ ├── ChibiOS-RT.stw │ ├── cosmic │ │ ├── cosmic.stp │ │ └── vectors.c │ ├── demo │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ └── mcuconf.h │ └── raisonance │ │ └── raisonance.stp ├── STM8S-STM8S105-DISCOVERY-IAR │ ├── ch.ewp │ ├── ch.eww │ ├── chconf.h │ ├── halconf.h │ ├── main.c │ └── mcuconf.h ├── STM8S-STM8S105-DISCOVERY-STVD │ ├── ChibiOS-RT.stw │ ├── cosmic │ │ ├── cosmic.stp │ │ └── vectors.c │ ├── demo │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ └── mcuconf.h │ └── raisonance │ │ └── raisonance.stp ├── STM8S-STM8S208-RC │ ├── ch.rapp │ ├── ch.rprj │ ├── chconf.h │ ├── halconf.h │ ├── main.c │ ├── mcuconf.h │ └── readme.txt └── Win32-MinGW │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── main.c │ └── readme.txt ├── docs ├── Doxyfile_chm ├── Doxyfile_html ├── html │ └── logo_small.png ├── index.html ├── readme.txt ├── reports │ ├── AT91SAM7X-48-ARM.txt │ ├── AT91SAM7X-48-THUMB.txt │ ├── ATmega128-16.txt │ ├── LPC1114-48-GCC.txt │ ├── LPC1114-48-RVCT.txt │ ├── LPC1343-72-GCC.txt │ ├── LPC1343-72-IAR.txt │ ├── LPC1343-72-RVCT.txt │ ├── LPC2148-48-ARM.txt │ ├── LPC2148-48-THUMB.txt │ ├── MSP430F1611-0.75.txt │ ├── MSP430F1611-8.txt │ ├── SPC563M64-80.txt │ ├── STM32F051-48-GCC.txt │ ├── STM32F100-24-GCC.txt │ ├── STM32F100-24-IAR.txt │ ├── STM32F100-24-RVCT.txt │ ├── STM32F103-48-GCC.txt │ ├── STM32F103-72-GCC-compact.txt │ ├── STM32F103-72-GCC.txt │ ├── STM32F103-72-IAR-compact.txt │ ├── STM32F103-72-IAR.txt │ ├── STM32F103-72-RVCT-compact.txt │ ├── STM32F103-72-RVCT.txt │ ├── STM32F107-72-GCC.txt │ ├── STM32F407-168-GCC-FPU.txt │ ├── STM32F407-168-GCC.txt │ ├── STM32F407-168-IAR.txt │ ├── STM32F407-168-RVCT.txt │ ├── STM32L152-32-GCC.txt │ ├── STM32L152-32-IAR.txt │ ├── STM32L152-32-RVCT.txt │ ├── STM8L152-16-Cosmic.txt │ ├── STM8L152-16-Raisonance.txt │ ├── STM8S105-16-Cosmic.txt │ ├── STM8S105-16-Raisonance.txt │ ├── STM8S208-16-Raisonance.txt │ ├── build.txt │ ├── coverage.txt │ └── kernel.txt ├── rsc │ ├── custom.css │ ├── footer_chm.html │ ├── footer_html.html │ ├── header_chm.html │ ├── header_html.html │ ├── layout.xml │ ├── logo.png │ ├── workspace.png │ └── workspace.svg └── src │ ├── concepts.dox │ └── main.dox ├── documentation.html ├── ext ├── ext.dox ├── fatfs-0.9-patched.zip ├── lwip-1.4.0.zip ├── readme.txt ├── uip-1.0.patches.zip └── uip-1.0.tar.gz ├── license.txt ├── os ├── contrib │ ├── Adafruit_GFX.cpp │ ├── Adafruit_GFX.h │ ├── Adafruit_HX8340B.cpp │ ├── Adafruit_HX8340B.h │ ├── ChibiSerial.cpp │ ├── ChibiSerial.h │ ├── Print.cpp │ ├── Print.h │ ├── Printable.h │ ├── Stream.cpp │ ├── Stream.h │ └── glcdfont.c ├── hal │ ├── dox │ │ ├── adc.dox │ │ ├── can.dox │ │ ├── ext.dox │ │ ├── gpt.dox │ │ ├── hal.dox │ │ ├── i2c.dox │ │ ├── i2s.dox │ │ ├── icu.dox │ │ ├── mac.dox │ │ ├── mmc_spi.dox │ │ ├── pal.dox │ │ ├── pwm.dox │ │ ├── rtc.dox │ │ ├── sdc.dox │ │ ├── serial.dox │ │ ├── serial_usb.dox │ │ ├── spi.dox │ │ ├── tm.dox │ │ ├── uart.dox │ │ └── usb.dox │ ├── hal.dox │ ├── hal.mk │ ├── include │ │ ├── adc.h │ │ ├── can.h │ │ ├── ext.h │ │ ├── gpt.h │ │ ├── hal.h │ │ ├── i2c.h │ │ ├── i2s.h │ │ ├── icu.h │ │ ├── io_block.h │ │ ├── io_channel.h │ │ ├── mac.h │ │ ├── mii.h │ │ ├── mmc_spi.h │ │ ├── mmcsd.h │ │ ├── pal.h │ │ ├── pwm.h │ │ ├── rtc.h │ │ ├── sdc.h │ │ ├── serial.h │ │ ├── serial_usb.h │ │ ├── spi.h │ │ ├── tm.h │ │ ├── uart.h │ │ ├── usb.h │ │ └── usb_cdc.h │ ├── platforms │ │ ├── AT91SAM7 │ │ │ ├── at91lib │ │ │ │ ├── AT91SAM7S128.h │ │ │ │ ├── AT91SAM7S256.h │ │ │ │ ├── AT91SAM7S512.h │ │ │ │ ├── AT91SAM7S64.h │ │ │ │ ├── AT91SAM7X128.h │ │ │ │ ├── AT91SAM7X256.h │ │ │ │ ├── AT91SAM7X512.h │ │ │ │ ├── aic.c │ │ │ │ └── aic.h │ │ │ ├── at91sam7.h │ │ │ ├── at91sam7_mii.c │ │ │ ├── at91sam7_mii.h │ │ │ ├── ext_lld.c │ │ │ ├── ext_lld.h │ │ │ ├── hal_lld.c │ │ │ ├── hal_lld.h │ │ │ ├── mac_lld.c │ │ │ ├── mac_lld.h │ │ │ ├── pal_lld.c │ │ │ ├── pal_lld.h │ │ │ ├── platform.dox │ │ │ ├── platform.mk │ │ │ ├── serial_lld.c │ │ │ ├── serial_lld.h │ │ │ ├── spi_lld.c │ │ │ └── spi_lld.h │ │ ├── AVR │ │ │ ├── hal_lld.c │ │ │ ├── hal_lld.h │ │ │ ├── i2c_lld.c │ │ │ ├── i2c_lld.h │ │ │ ├── pal_lld.c │ │ │ ├── pal_lld.h │ │ │ ├── platform.dox │ │ │ ├── platform.mk │ │ │ ├── serial_lld.c │ │ │ └── serial_lld.h │ │ ├── BCM2835 │ │ │ ├── bcm2835.c │ │ │ ├── bcm2835.h │ │ │ ├── gpt_lld.c │ │ │ ├── gpt_lld.h │ │ │ ├── hal_lld.c │ │ │ ├── hal_lld.h │ │ │ ├── i2c_lld.c │ │ │ ├── i2c_lld.h │ │ │ ├── pal_lld.c │ │ │ ├── pal_lld.h │ │ │ ├── platform.dox │ │ │ ├── platform.mk │ │ │ ├── pwm_lld.c │ │ │ ├── pwm_lld.h │ │ │ ├── serial_lld.c │ │ │ ├── serial_lld.h │ │ │ ├── spi_lld.c │ │ │ └── spi_lld.h │ │ ├── LPC11Uxx │ │ │ ├── LPC11Uxx.h │ │ │ ├── gpt_lld.c │ │ │ ├── gpt_lld.h │ │ │ ├── hal_lld.c │ │ │ ├── hal_lld.h │ │ │ ├── pal_lld.c │ │ │ ├── pal_lld.h │ │ │ ├── platform.mk │ │ │ ├── serial_lld.c │ │ │ ├── serial_lld.h │ │ │ ├── spi_lld.c │ │ │ ├── spi_lld.h │ │ │ └── system_LPC11Uxx.h │ │ ├── LPC11xx │ │ │ ├── LPC11xx.h │ │ │ ├── gpt_lld.c │ │ │ ├── gpt_lld.h │ │ │ ├── hal_lld.c │ │ │ ├── hal_lld.h │ │ │ ├── pal_lld.c │ │ │ ├── pal_lld.h │ │ │ ├── platform.dox │ │ │ ├── platform.mk │ │ │ ├── serial_lld.c │ │ │ ├── serial_lld.h │ │ │ ├── spi_lld.c │ │ │ ├── spi_lld.h │ │ │ └── system_LPC11xx.h │ │ ├── LPC13xx │ │ │ ├── LPC13xx.h │ │ │ ├── gpt_lld.c │ │ │ ├── gpt_lld.h │ │ │ ├── hal_lld.c │ │ │ ├── hal_lld.h │ │ │ ├── pal_lld.c │ │ │ ├── pal_lld.h │ │ │ ├── platform.dox │ │ │ ├── platform.mk │ │ │ ├── serial_lld.c │ │ │ ├── serial_lld.h │ │ │ ├── spi_lld.c │ │ │ ├── spi_lld.h │ │ │ └── system_LPC13xx.h │ │ ├── LPC214x │ │ │ ├── hal_lld.c │ │ │ ├── hal_lld.h │ │ │ ├── lpc214x.h │ │ │ ├── pal_lld.c │ │ │ ├── pal_lld.h │ │ │ ├── platform.dox │ │ │ ├── platform.mk │ │ │ ├── serial_lld.c │ │ │ ├── serial_lld.h │ │ │ ├── spi_lld.c │ │ │ ├── spi_lld.h │ │ │ ├── vic.c │ │ │ └── vic.h │ │ ├── MSP430 │ │ │ ├── hal_lld.c │ │ │ ├── hal_lld.h │ │ │ ├── pal_lld.c │ │ │ ├── pal_lld.h │ │ │ ├── platform.dox │ │ │ ├── platform.mk │ │ │ ├── serial_lld.c │ │ │ └── serial_lld.h │ │ ├── Posix │ │ │ ├── console.c │ │ │ ├── console.h │ │ │ ├── hal_lld.c │ │ │ ├── hal_lld.h │ │ │ ├── pal_lld.c │ │ │ ├── pal_lld.h │ │ │ ├── platform.mk │ │ │ ├── serial_lld.c │ │ │ └── serial_lld.h │ │ ├── SPC560Pxx │ │ │ ├── hal_lld.c │ │ │ ├── hal_lld.h │ │ │ ├── platform.mk │ │ │ ├── spc560p_registry.h │ │ │ ├── typedefs.h │ │ │ └── xpc560p.h │ │ ├── SPC56x │ │ │ ├── hal_lld.c │ │ │ ├── hal_lld.h │ │ │ ├── mpc563m.h │ │ │ ├── platform.dox │ │ │ ├── platform.mk │ │ │ ├── serial_lld.c │ │ │ ├── serial_lld.h │ │ │ └── typedefs.h │ │ ├── SPC5xx │ │ │ ├── LINFlex_v1 │ │ │ │ ├── serial_lld.c │ │ │ │ └── serial_lld.h │ │ │ └── SIUL_v1 │ │ │ │ ├── pal_lld.c │ │ │ │ └── pal_lld.h │ │ ├── STM32 │ │ │ ├── GPIOv1 │ │ │ │ ├── pal_lld.c │ │ │ │ └── pal_lld.h │ │ │ ├── GPIOv2 │ │ │ │ ├── pal_lld.c │ │ │ │ └── pal_lld.h │ │ │ ├── I2Cv1 │ │ │ │ ├── i2c_lld.c │ │ │ │ └── i2c_lld.h │ │ │ ├── OTGv1 │ │ │ │ ├── stm32_otg.h │ │ │ │ ├── usb_lld.c │ │ │ │ └── usb_lld.h │ │ │ ├── RTCv1 │ │ │ │ ├── rtc_lld.c │ │ │ │ └── rtc_lld.h │ │ │ ├── RTCv2 │ │ │ │ ├── rtc_lld.c │ │ │ │ └── rtc_lld.h │ │ │ ├── USARTv1 │ │ │ │ ├── uart_lld.c │ │ │ │ └── uart_lld.h │ │ │ ├── USARTv2 │ │ │ │ ├── uart_lld.c │ │ │ │ └── uart_lld.h │ │ │ ├── USBv1 │ │ │ │ ├── stm32_usb.h │ │ │ │ ├── usb_lld.c │ │ │ │ └── usb_lld.h │ │ │ ├── can_lld.c │ │ │ ├── can_lld.h │ │ │ ├── ext_lld.c │ │ │ ├── ext_lld.h │ │ │ ├── gpt_lld.c │ │ │ ├── gpt_lld.h │ │ │ ├── i2s_lld.c │ │ │ ├── i2s_lld.h │ │ │ ├── icu_lld.c │ │ │ ├── icu_lld.h │ │ │ ├── mac_lld.c │ │ │ ├── mac_lld.h │ │ │ ├── pwm_lld.c │ │ │ ├── pwm_lld.h │ │ │ ├── sdc_lld.c │ │ │ ├── sdc_lld.h │ │ │ ├── serial_lld.c │ │ │ ├── serial_lld.h │ │ │ ├── spi_lld.c │ │ │ ├── spi_lld.h │ │ │ └── stm32.h │ │ ├── STM32F0xx │ │ │ ├── adc_lld.c │ │ │ ├── adc_lld.h │ │ │ ├── ext_lld_isr.c │ │ │ ├── ext_lld_isr.h │ │ │ ├── hal_lld.c │ │ │ ├── hal_lld.h │ │ │ ├── platform.dox │ │ │ ├── platform.mk │ │ │ ├── stm32_dma.c │ │ │ ├── stm32_dma.h │ │ │ ├── stm32_isr.h │ │ │ ├── stm32_rcc.h │ │ │ └── stm32f0xx.h │ │ ├── STM32F1xx │ │ │ ├── adc_lld.c │ │ │ ├── adc_lld.h │ │ │ ├── ext_lld_isr.c │ │ │ ├── ext_lld_isr.h │ │ │ ├── hal_lld.c │ │ │ ├── hal_lld.h │ │ │ ├── hal_lld_f100.h │ │ │ ├── hal_lld_f103.h │ │ │ ├── hal_lld_f105_f107.h │ │ │ ├── platform.dox │ │ │ ├── platform.mk │ │ │ ├── platform_f105_f107.mk │ │ │ ├── stm32_dma.c │ │ │ ├── stm32_dma.h │ │ │ ├── stm32_isr.h │ │ │ ├── stm32_rcc.h │ │ │ └── stm32f10x.h │ │ ├── STM32F3xx │ │ │ ├── hal_lld.h │ │ │ ├── platform.mk │ │ │ └── stm32f30x.h │ │ ├── STM32F4xx │ │ │ ├── adc_lld.c │ │ │ ├── adc_lld.h │ │ │ ├── ext_lld_isr.c │ │ │ ├── ext_lld_isr.h │ │ │ ├── hal_lld.c │ │ │ ├── hal_lld.h │ │ │ ├── platform.dox │ │ │ ├── platform.mk │ │ │ ├── stm32_dma.c │ │ │ ├── stm32_dma.h │ │ │ ├── stm32_isr.h │ │ │ ├── stm32_rcc.h │ │ │ ├── stm32f2xx.h │ │ │ └── stm32f4xx.h │ │ ├── STM32L1xx │ │ │ ├── adc_lld.c │ │ │ ├── adc_lld.h │ │ │ ├── ext_lld_isr.c │ │ │ ├── ext_lld_isr.h │ │ │ ├── hal_lld.c │ │ │ ├── hal_lld.h │ │ │ ├── platform.dox │ │ │ ├── platform.mk │ │ │ ├── stm32_dma.c │ │ │ ├── stm32_dma.h │ │ │ ├── stm32_isr.h │ │ │ ├── stm32_rcc.h │ │ │ └── stm32l1xx.h │ │ ├── STM8L │ │ │ ├── hal_lld.c │ │ │ ├── hal_lld.h │ │ │ ├── hal_lld_stm8l_hd.h │ │ │ ├── hal_lld_stm8l_md.h │ │ │ ├── hal_lld_stm8l_mdp.h │ │ │ ├── pal_lld.c │ │ │ ├── pal_lld.h │ │ │ ├── platform.dox │ │ │ ├── serial_lld.c │ │ │ ├── serial_lld.h │ │ │ ├── shared_isr.c │ │ │ └── stm8l15x.h │ │ ├── STM8S │ │ │ ├── hal_lld.c │ │ │ ├── hal_lld.h │ │ │ ├── pal_lld.c │ │ │ ├── pal_lld.h │ │ │ ├── platform.dox │ │ │ ├── serial_lld.c │ │ │ ├── serial_lld.h │ │ │ ├── spi_lld.c │ │ │ ├── spi_lld.h │ │ │ ├── stm8s.h │ │ │ └── stm8s_type.h │ │ ├── Win32 │ │ │ ├── console.c │ │ │ ├── console.h │ │ │ ├── hal_lld.c │ │ │ ├── hal_lld.h │ │ │ ├── pal_lld.c │ │ │ ├── pal_lld.h │ │ │ ├── platform.mk │ │ │ ├── serial_lld.c │ │ │ └── serial_lld.h │ │ └── platforms.dox │ ├── src │ │ ├── adc.c │ │ ├── can.c │ │ ├── ext.c │ │ ├── gpt.c │ │ ├── hal.c │ │ ├── i2c.c │ │ ├── i2s.c │ │ ├── icu.c │ │ ├── mac.c │ │ ├── mmc_spi.c │ │ ├── mmcsd.c │ │ ├── pal.c │ │ ├── pwm.c │ │ ├── rtc.c │ │ ├── sdc.c │ │ ├── serial.c │ │ ├── serial_usb.c │ │ ├── spi.c │ │ ├── tm.c │ │ ├── uart.c │ │ └── usb.c │ └── templates │ │ ├── adc_lld.c │ │ ├── adc_lld.h │ │ ├── can_lld.c │ │ ├── can_lld.h │ │ ├── ext_lld.c │ │ ├── ext_lld.h │ │ ├── gpt_lld.c │ │ ├── gpt_lld.h │ │ ├── hal_lld.c │ │ ├── hal_lld.h │ │ ├── halconf.h │ │ ├── i2c_lld.c │ │ ├── i2c_lld.h │ │ ├── icu_lld.c │ │ ├── icu_lld.h │ │ ├── mac_lld.c │ │ ├── mac_lld.h │ │ ├── meta │ │ ├── driver.c │ │ ├── driver.h │ │ ├── driver_lld.c │ │ └── driver_lld.h │ │ ├── pal_lld.c │ │ ├── pal_lld.h │ │ ├── pwm_lld.c │ │ ├── pwm_lld.h │ │ ├── serial_lld.c │ │ ├── serial_lld.h │ │ ├── spi_lld.c │ │ ├── spi_lld.h │ │ ├── uart_lld.c │ │ ├── uart_lld.h │ │ ├── usb_lld.c │ │ └── usb_lld.h ├── kernel │ ├── include │ │ ├── ch.h │ │ ├── chbsem.h │ │ ├── chcond.h │ │ ├── chdebug.h │ │ ├── chdynamic.h │ │ ├── chevents.h │ │ ├── chfiles.h │ │ ├── chheap.h │ │ ├── chinline.h │ │ ├── chlists.h │ │ ├── chmboxes.h │ │ ├── chmemcore.h │ │ ├── chmempools.h │ │ ├── chmsg.h │ │ ├── chmtx.h │ │ ├── chqueues.h │ │ ├── chregistry.h │ │ ├── chschd.h │ │ ├── chsem.h │ │ ├── chstreams.h │ │ ├── chsys.h │ │ ├── chthreads.h │ │ └── chvt.h │ ├── kernel.dox │ ├── kernel.mk │ ├── src │ │ ├── chcond.c │ │ ├── chdebug.c │ │ ├── chdynamic.c │ │ ├── chevents.c │ │ ├── chheap.c │ │ ├── chlists.c │ │ ├── chmboxes.c │ │ ├── chmemcore.c │ │ ├── chmempools.c │ │ ├── chmsg.c │ │ ├── chmtx.c │ │ ├── chqueues.c │ │ ├── chregistry.c │ │ ├── chschd.c │ │ ├── chsem.c │ │ ├── chsys.c │ │ ├── chthreads.c │ │ └── chvt.c │ └── templates │ │ ├── chconf.h │ │ ├── chcore.c │ │ ├── chcore.h │ │ └── chtypes.h ├── ports │ ├── GCC │ │ ├── ARM │ │ │ ├── AT91SAM7 │ │ │ │ ├── armparams.h │ │ │ │ ├── ld │ │ │ │ │ ├── AT91SAM7S256.ld │ │ │ │ │ └── AT91SAM7X256.ld │ │ │ │ ├── port.mk │ │ │ │ ├── vectors.s │ │ │ │ └── wfi.h │ │ │ ├── BCM2835 │ │ │ │ ├── armparams.h │ │ │ │ ├── ld │ │ │ │ │ └── BCM2835.ld │ │ │ │ ├── port.mk │ │ │ │ └── vectors.s │ │ │ ├── LPC214x │ │ │ │ ├── armparams.h │ │ │ │ ├── ld │ │ │ │ │ └── LPC2148.ld │ │ │ │ ├── port.mk │ │ │ │ ├── vectors.s │ │ │ │ └── wfi.h │ │ │ ├── chcore.c │ │ │ ├── chcore.h │ │ │ ├── chcoreasm.s │ │ │ ├── chtypes.h │ │ │ ├── crt0.s │ │ │ ├── port.dox │ │ │ └── rules.mk │ │ ├── ARMCMx │ │ │ ├── LPC11xx │ │ │ │ ├── cmparams.h │ │ │ │ ├── ld │ │ │ │ │ ├── LPC1114.ld │ │ │ │ │ └── LPC11U14.ld │ │ │ │ ├── port.mk │ │ │ │ └── vectors.c │ │ │ ├── LPC13xx │ │ │ │ ├── cmparams.h │ │ │ │ ├── ld │ │ │ │ │ └── LPC1343.ld │ │ │ │ ├── port.mk │ │ │ │ └── vectors.c │ │ │ ├── STM32F0xx │ │ │ │ ├── cmparams.h │ │ │ │ ├── ld │ │ │ │ │ └── STM32F051x8.ld │ │ │ │ ├── port.mk │ │ │ │ └── vectors.c │ │ │ ├── STM32F1xx │ │ │ │ ├── cmparams.h │ │ │ │ ├── ld │ │ │ │ │ ├── STM32F100xB.ld │ │ │ │ │ ├── STM32F103xB.ld │ │ │ │ │ ├── STM32F103xD.ld │ │ │ │ │ ├── STM32F103xE.ld │ │ │ │ │ ├── STM32F103xG.ld │ │ │ │ │ └── STM32F107xC.ld │ │ │ │ ├── port.mk │ │ │ │ └── vectors.c │ │ │ ├── STM32F2xx │ │ │ │ ├── cmparams.h │ │ │ │ ├── ld │ │ │ │ │ ├── STM32F205xB.ld │ │ │ │ │ └── STM32F207xG.ld │ │ │ │ ├── port.mk │ │ │ │ └── vectors.c │ │ │ ├── STM32F3xx │ │ │ │ ├── cmparams.h │ │ │ │ ├── ld │ │ │ │ │ └── STM32F303xC.ld │ │ │ │ ├── port.mk │ │ │ │ └── vectors.c │ │ │ ├── STM32F4xx │ │ │ │ ├── cmparams.h │ │ │ │ ├── ld │ │ │ │ │ ├── STM32F405xG.ld │ │ │ │ │ ├── STM32F407xG.ld │ │ │ │ │ └── STM32F407xG_CCM.ld │ │ │ │ ├── port.mk │ │ │ │ └── vectors.c │ │ │ ├── STM32L1xx │ │ │ │ ├── cmparams.h │ │ │ │ ├── ld │ │ │ │ │ └── STM32L152xB.ld │ │ │ │ ├── port.mk │ │ │ │ └── vectors.c │ │ │ ├── chcore.c │ │ │ ├── chcore.h │ │ │ ├── chcore_v6m.c │ │ │ ├── chcore_v6m.h │ │ │ ├── chcore_v7m.c │ │ │ ├── chcore_v7m.h │ │ │ ├── chtypes.h │ │ │ ├── crt0.c │ │ │ ├── port.dox │ │ │ └── rules.mk │ │ ├── AVR │ │ │ ├── chcore.c │ │ │ ├── chcore.h │ │ │ ├── chtypes.h │ │ │ ├── port.dox │ │ │ └── port.mk │ │ ├── MSP430 │ │ │ ├── chcore.c │ │ │ ├── chcore.h │ │ │ ├── chtypes.h │ │ │ ├── port.dox │ │ │ ├── port.mk │ │ │ └── rules.mk │ │ ├── PPC │ │ │ ├── SPC560Pxx │ │ │ │ ├── bam.s │ │ │ │ ├── ivor.s │ │ │ │ ├── ld │ │ │ │ │ └── SPC560P44.ld │ │ │ │ ├── port.mk │ │ │ │ ├── ppcparams.h │ │ │ │ └── vectors.s │ │ │ ├── SPC563Mxx │ │ │ │ ├── ivor.s │ │ │ │ ├── ld │ │ │ │ │ └── SPC563M64.ld │ │ │ │ ├── port.mk │ │ │ │ ├── ppcparams.h │ │ │ │ └── vectors.s │ │ │ ├── chcore.c │ │ │ ├── chcore.h │ │ │ ├── chtypes.h │ │ │ ├── crt0.s │ │ │ ├── port.dox │ │ │ └── rules.mk │ │ └── SIMIA32 │ │ │ ├── chcore.c │ │ │ ├── chcore.h │ │ │ ├── chtypes.h │ │ │ └── port.mk │ ├── IAR │ │ ├── ARMCMx │ │ │ ├── LPC11xx │ │ │ │ ├── cmparams.h │ │ │ │ └── vectors.s │ │ │ ├── LPC13xx │ │ │ │ ├── cmparams.h │ │ │ │ └── vectors.s │ │ │ ├── STM32F1xx │ │ │ │ ├── cmparams.h │ │ │ │ └── vectors.s │ │ │ ├── STM32F4xx │ │ │ │ ├── cmparams.h │ │ │ │ └── vectors.s │ │ │ ├── STM32L1xx │ │ │ │ ├── cmparams.h │ │ │ │ └── vectors.s │ │ │ ├── chcore.c │ │ │ ├── chcore.h │ │ │ ├── chcore_v6m.c │ │ │ ├── chcore_v6m.h │ │ │ ├── chcore_v7m.c │ │ │ ├── chcore_v7m.h │ │ │ ├── chcoreasm_v6m.s │ │ │ ├── chcoreasm_v7m.s │ │ │ ├── chtypes.h │ │ │ ├── cstartup.s │ │ │ └── port.dox │ │ └── STM8 │ │ │ ├── chcore.c │ │ │ ├── chcore.h │ │ │ ├── chcore_stm8.s │ │ │ ├── chtypes.h │ │ │ └── port.dox │ ├── RC │ │ └── STM8 │ │ │ ├── chcore.c │ │ │ ├── chcore.h │ │ │ ├── chtypes.h │ │ │ └── port.dox │ ├── RVCT │ │ └── ARMCMx │ │ │ ├── LPC11xx │ │ │ ├── cmparams.h │ │ │ └── vectors.s │ │ │ ├── LPC13xx │ │ │ ├── cmparams.h │ │ │ └── vectors.s │ │ │ ├── STM32F1xx │ │ │ ├── cmparams.h │ │ │ └── vectors.s │ │ │ ├── STM32F4xx │ │ │ ├── cmparams.h │ │ │ └── vectors.s │ │ │ ├── STM32L1xx │ │ │ ├── cmparams.h │ │ │ └── vectors.s │ │ │ ├── chcore.c │ │ │ ├── chcore.h │ │ │ ├── chcore_v6m.c │ │ │ ├── chcore_v6m.h │ │ │ ├── chcore_v7m.c │ │ │ ├── chcore_v7m.h │ │ │ ├── chcoreasm_v6m.s │ │ │ ├── chcoreasm_v7m.s │ │ │ ├── chtypes.h │ │ │ ├── cstartup.s │ │ │ └── port.dox │ ├── common │ │ └── ARMCMx │ │ │ ├── CMSIS │ │ │ ├── include │ │ │ │ ├── arm_common_tables.h │ │ │ │ ├── arm_math.h │ │ │ │ ├── core_cm0.h │ │ │ │ ├── core_cm0plus.h │ │ │ │ ├── core_cm3.h │ │ │ │ ├── core_cm4.h │ │ │ │ ├── core_cm4_simd.h │ │ │ │ ├── core_cmFunc.h │ │ │ │ └── core_cmInstr.h │ │ │ └── readme.txt │ │ │ ├── nvic.c │ │ │ ├── nvic.h │ │ │ └── port.dox │ ├── cosmic │ │ └── STM8 │ │ │ ├── chcore.c │ │ │ ├── chcore.h │ │ │ ├── chtypes.h │ │ │ └── port.dox │ └── ports.dox └── various │ ├── ch.cpp │ ├── ch.hpp │ ├── chprintf.c │ ├── chprintf.h │ ├── chrtclib.c │ ├── chrtclib.h │ ├── devices_lib │ └── accel │ │ ├── lis302dl.c │ │ ├── lis302dl.dox │ │ └── lis302dl.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 │ ├── memstreams.c │ ├── memstreams.h │ ├── shell.c │ ├── shell.h │ ├── syscalls.c │ ├── usb_msc.c │ ├── usb_msc.h │ └── various.dox ├── readme.txt ├── test ├── coverage │ ├── Makefile │ ├── chconf.h │ ├── halconf.h │ ├── main.c │ └── readme.txt ├── test.c ├── test.dox ├── test.h ├── test.mk ├── testbmk.c ├── testbmk.h ├── testdyn.c ├── testdyn.h ├── testevt.c ├── testevt.h ├── testheap.c ├── testheap.h ├── testmbox.c ├── testmbox.h ├── testmsg.c ├── testmsg.h ├── testmtx.c ├── testmtx.h ├── testpools.c ├── testpools.h ├── testqueues.c ├── testqueues.h ├── testsem.c ├── testsem.h ├── testthd.c └── testthd.h ├── testhal ├── BCM2835 │ ├── GPIO │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── GPT │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ ├── readme.txt │ │ ├── rtc_lld.c │ │ └── rtc_lld.h │ ├── I2C │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── PWM │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── RTC │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ ├── readme.txt │ │ ├── rtc_lld.c │ │ └── rtc_lld.h │ └── SPI │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt ├── LPC11xx │ └── IRQ_STORM │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt ├── LPC13xx │ └── IRQ_STORM │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt ├── STM32F0xx │ ├── ADC │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── EXT │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── IRQ_STORM │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── PWM-ICU │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ └── UART │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt ├── STM32F1xx │ ├── ADC │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── CAN │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── EXT │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── GPT │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── I2C │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── fake.c │ │ ├── fake.h │ │ ├── halconf.h │ │ ├── i2c_pns.c │ │ ├── i2c_pns.h │ │ ├── lis3.c │ │ ├── lis3.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ ├── tmp75.c │ │ └── tmp75.h │ ├── IRQ_STORM │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── PWM-ICU │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── RTC │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ └── mcuconf.h │ ├── RTC_FATTIME │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── ffconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── SDC │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── SPI │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── UART │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── USB_CDC │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── USB_CDC_F107 │ │ ├── .cproject │ │ ├── .project │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ └── USB_MSC │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ └── mcuconf.h ├── STM32F4xx │ ├── ADC │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── CAN │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── DMA_STORM │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ └── mcuconf.h │ ├── EXT │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── GPT │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── I2C │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ └── mcuconf.h │ ├── IRQ_STORM │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── iar │ │ │ ├── ch.ewp │ │ │ ├── ch.eww │ │ │ └── ch.icf │ │ ├── keil │ │ │ └── ch.uvproj │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── IRQ_STORM_FPU │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── extfunc.c │ │ ├── halconf.h │ │ ├── iar │ │ │ ├── ch.ewp │ │ │ ├── ch.eww │ │ │ └── ch.icf │ │ ├── keil │ │ │ └── ch.uvproj │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── PWM-ICU │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── RTC │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ └── mcuconf.h │ ├── RTC_FATTIME │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── ffconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── SDC │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── csd.txt │ │ ├── ffconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── SPI │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── UART │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ └── USB_CDC │ │ ├── .cproject │ │ ├── .project │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt ├── STM32L1xx │ ├── ADC │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── EXT │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── GPT │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── IRQ_STORM │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── PWM-ICU │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ ├── SPI │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt │ └── UART │ │ ├── Makefile │ │ ├── chconf.h │ │ ├── halconf.h │ │ ├── main.c │ │ ├── mcuconf.h │ │ └── readme.txt └── STM8S │ └── SPI │ ├── ChibiOS-RT.stw │ ├── cosmic │ ├── cosmic.stp │ └── vectors.c │ ├── demo │ ├── chconf.h │ ├── halconf.h │ ├── main.c │ └── mcuconf.h │ └── raisonance │ └── raisonance.stp ├── todo.txt └── tools ├── eclipse ├── config_wizard │ ├── .classpath │ ├── .project │ ├── .settings │ │ └── org.eclipse.jdt.core.prefs │ ├── META-INF │ │ └── MANIFEST.MF │ ├── build.properties │ ├── icons │ │ ├── check.gif │ │ ├── chibios.gif │ │ ├── generate.gif │ │ └── sample.gif │ ├── lib │ │ ├── bsh.jar │ │ ├── fmpp.jar │ │ ├── freemarker.jar │ │ ├── jdom-2.0.2.jar │ │ ├── oro.jar │ │ └── resolver.jar │ ├── plugin.xml │ ├── resources │ │ ├── app_templates │ │ │ └── c │ │ │ │ └── template.xml │ │ └── gencfg │ │ │ ├── lib │ │ │ ├── code_snippets.xml │ │ │ ├── libcode.ftl │ │ │ ├── liblicense.ftl │ │ │ ├── libsnippets.ftl │ │ │ ├── libstm32f4xx.ftl │ │ │ └── libutils.ftl │ │ │ ├── processors │ │ │ ├── boards │ │ │ │ ├── stm32f0xx │ │ │ │ │ └── templates │ │ │ │ │ │ ├── board.c.ftl │ │ │ │ │ │ ├── board.h.ftl │ │ │ │ │ │ └── board.mk.ftl │ │ │ │ ├── stm32f4xx │ │ │ │ │ └── templates │ │ │ │ │ │ ├── board.c.ftl │ │ │ │ │ │ ├── board.h.ftl │ │ │ │ │ │ └── board.mk.ftl │ │ │ │ └── stm32l1xx │ │ │ │ │ └── templates │ │ │ │ │ ├── board.c.ftl │ │ │ │ │ ├── board.h.ftl │ │ │ │ │ └── board.mk.ftl │ │ │ └── processors.xml │ │ │ ├── schema │ │ │ ├── boards │ │ │ │ ├── abstract_board.xsd │ │ │ │ ├── stm32f0xx_board.xsd │ │ │ │ ├── stm32f4xx_board.xsd │ │ │ │ └── stm32l1xx_board.xsd │ │ │ └── common │ │ │ │ ├── code_snippets.xsd │ │ │ │ ├── config_settings.xsd │ │ │ │ ├── doc.xsd │ │ │ │ └── stm32 │ │ │ │ └── stm32_gpiov2_port.xsd │ │ │ └── xml │ │ │ ├── stm32f0board.xml │ │ │ ├── stm32f4board.xml │ │ │ └── stm32l1board.xml │ └── src │ │ ├── config_wizard │ │ └── Activator.java │ │ └── org │ │ └── chibios │ │ └── tools │ │ └── eclipse │ │ └── config │ │ ├── handlers │ │ ├── CheckDescription.java │ │ └── GenerateFiles.java │ │ ├── process │ │ └── ApplicationGeneratorProcessRunner.java │ │ ├── utils │ │ ├── TemplateEngine.java │ │ └── TemplateException.java │ │ └── wizards │ │ ├── ConfigurationNewWizard.java │ │ ├── ConfigurationNewWizardPage.java │ │ ├── NewApplicationProjectWizard.java │ │ └── NewApplicationProjectWizardPage.java ├── debug_support │ ├── .classpath │ ├── .project │ ├── .settings │ │ └── org.eclipse.jdt.core.prefs │ ├── META-INF │ │ └── MANIFEST.MF │ ├── build.properties │ ├── contexts.xml │ ├── icons │ │ └── sample.gif │ ├── plugin.xml │ └── src │ │ └── org │ │ ├── chibios │ │ └── tools │ │ │ └── eclipse │ │ │ └── debug │ │ │ ├── activator │ │ │ └── Activator.java │ │ │ ├── utils │ │ │ ├── DebugProxy.java │ │ │ ├── DebugProxyException.java │ │ │ └── HexUtils.java │ │ │ └── views │ │ │ └── ChibiView.java │ │ └── eclipse │ │ └── wb │ │ └── swt │ │ ├── ResourceManager.java │ │ └── SWTResourceManager.java ├── plugins │ ├── org.chibios.tools.eclipse.config_1.1.0.jar │ └── org.chibios.tools.eclipse.debug_1.0.8.jar └── readme.txt ├── edit_aid └── rebalance_prio.sh └── gencfg ├── .externalToolBuilders ├── FMPP Builder (Linux).launch └── FMPP Builder (Windows).launch ├── .project ├── config.fmpp ├── fmpp.sh ├── lib ├── libcode.ftl ├── liblicense.ftl ├── libstm32f4xx.ftl └── libutils.ftl ├── processors ├── boards │ └── stm32f4xx │ │ ├── config.fmpp │ │ └── templates │ │ ├── board.c.ftl │ │ ├── board.h.ftl │ │ └── board.mk.ftl ├── hal │ └── stm32f4xx │ │ ├── config.fmpp │ │ └── templates │ │ ├── hal_cfg.c.ftl │ │ └── hal_cfg.h.ftl └── processors.xml ├── readme.txt ├── run.bat ├── schema ├── boards │ ├── abstract_board.xsd │ └── stm32f4xx_board.xsd ├── common │ ├── doc.xsd │ └── stm32 │ │ └── stm32_gpiov2_port.xsd └── hal │ ├── abstract_adc_cfg.xsd │ ├── abstract_cfg.xsd │ ├── abstract_driver_cfg.xsd │ └── stm32f4xx │ ├── stm32f4xx_adc_cfg.xsd │ └── stm32f4xx_cfg.xsd └── xml ├── stm32f0board.xml ├── stm32f4board.xml └── stm32f4xx_cfg.xml /.gitignore: -------------------------------------------------------------------------------- 1 | tags 2 | TAGS 3 | *.bak 4 | .dep/ 5 | build/ 6 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | ChibiOS-RT (whole tree) 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /boards/ARDUINO_MEGA/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/ARDUINO_MEGA/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/ARDUINO_MEGA 6 | -------------------------------------------------------------------------------- /boards/EA_LPCXPRESSO_BB_1114/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/EA_LPCXPRESSO_BB_1114/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/EA_LPCXPRESSO_BB_1114 6 | -------------------------------------------------------------------------------- /boards/EA_LPCXPRESSO_BB_11U14/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/EA_LPCXPRESSO_BB_11U14/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/EA_LPCXPRESSO_BB_11U14 6 | -------------------------------------------------------------------------------- /boards/EA_LPCXPRESSO_BB_1343/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/EA_LPCXPRESSO_BB_1343/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/EA_LPCXPRESSO_BB_1343 6 | -------------------------------------------------------------------------------- /boards/GENERIC_SPC560P/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/GENERIC_SPC560P/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/GENERIC_SPC560P 6 | -------------------------------------------------------------------------------- /boards/GENERIC_SPC563M/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/GENERIC_SPC563M/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/GENERIC_SPC563M 6 | -------------------------------------------------------------------------------- /boards/MAPLEMINI_STM32_F103/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/MAPLEMINI_STM32_F103/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/MAPLEMINI_STM32_F103 6 | -------------------------------------------------------------------------------- /boards/NONSTANDARD_STM32F4_BARTHESS1/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = $(CHIBIOS)/boards/NONSTANDARD_STM32F4_BARTHESS1/board.c 3 | 4 | # Required include directories 5 | BOARDINC = $(CHIBIOS)/boards/NONSTANDARD_STM32F4_BARTHESS1 6 | -------------------------------------------------------------------------------- /boards/OLIMEX_AVR_CAN/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/OLIMEX_AVR_CAN/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/OLIMEX_AVR_CAN 6 | -------------------------------------------------------------------------------- /boards/OLIMEX_AVR_MT_128/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/OLIMEX_AVR_MT_128/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/OLIMEX_AVR_MT_128 6 | -------------------------------------------------------------------------------- /boards/OLIMEX_LPC_P1343/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/OLIMEX_LPC_P1343/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/OLIMEX_LPC_P1343 6 | -------------------------------------------------------------------------------- /boards/OLIMEX_LPC_P2148/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the mandatory board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/OLIMEX_LPC_P2148/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/OLIMEX_LPC_P2148 6 | -------------------------------------------------------------------------------- /boards/OLIMEX_LPC_P2148/buzzer.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | #ifndef _BUZZER_H_ 22 | #define _BUZZER_H_ 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | void buzzInit(void); 28 | void buzzPlay(uint32_t freq, systime_t duration); 29 | void buzzPlayWait(uint32_t freq, systime_t duration); 30 | #ifdef __cplusplus 31 | } 32 | #endif 33 | 34 | extern EventSource BuzzerSilentEventSource; 35 | 36 | #endif /* _BUZZER_H_ */ 37 | -------------------------------------------------------------------------------- /boards/OLIMEX_MSP430_P1611/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/OLIMEX_MSP430_P1611/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/OLIMEX_MSP430_P1611 6 | -------------------------------------------------------------------------------- /boards/OLIMEX_SAM7_EX256/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/OLIMEX_SAM7_EX256/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/OLIMEX_SAM7_EX256 6 | -------------------------------------------------------------------------------- /boards/OLIMEX_SAM7_P256/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/OLIMEX_SAM7_P256/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/OLIMEX_SAM7_P256 6 | -------------------------------------------------------------------------------- /boards/OLIMEX_STM32_103STK/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/OLIMEX_STM32_103STK/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/OLIMEX_STM32_103STK 6 | -------------------------------------------------------------------------------- /boards/OLIMEX_STM32_E407/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/OLIMEX_STM32_E407/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/OLIMEX_STM32_E407 6 | -------------------------------------------------------------------------------- /boards/OLIMEX_STM32_H103/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/OLIMEX_STM32_H103/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/OLIMEX_STM32_H103 6 | -------------------------------------------------------------------------------- /boards/OLIMEX_STM32_P103/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/OLIMEX_STM32_P103/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/OLIMEX_STM32_P103 6 | -------------------------------------------------------------------------------- /boards/OLIMEX_STM32_P107/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/OLIMEX_STM32_P107/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/OLIMEX_STM32_P107 6 | -------------------------------------------------------------------------------- /boards/OLIMEX_STM32_P407/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/OLIMEX_STM32_P407/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/OLIMEX_STM32_P407 6 | -------------------------------------------------------------------------------- /boards/RASPBERRYPI_MODB/board.c: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | #include "ch.h" 22 | #include "hal.h" 23 | 24 | /** 25 | * @brief PAL setup. 26 | * @details Digital I/O ports static configuration as defined in @p board.h. 27 | */ 28 | #if HAL_USE_PAL || defined(__DOXYGEN__) 29 | const PALConfig pal_default_config = { 30 | // {0, 0, 0}, 31 | // {0, 0, 0} 32 | }; 33 | #endif 34 | 35 | /* 36 | * Board-specific initialization code. 37 | */ 38 | void boardInit(void) { 39 | } 40 | -------------------------------------------------------------------------------- /boards/RASPBERRYPI_MODB/board.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | #ifndef _BOARD_H_ 22 | #define _BOARD_H_ 23 | 24 | #if !defined(_FROM_ASM_) 25 | #ifdef __cplusplus 26 | extern "C" { 27 | #endif 28 | void boardInit(void); 29 | #ifdef __cplusplus 30 | } 31 | #endif 32 | #endif /* _FROM_ASM_ */ 33 | 34 | #endif /* _BOARD_H_ */ 35 | -------------------------------------------------------------------------------- /boards/RASPBERRYPI_MODB/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the simulator board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/RASPBERRYPI_MODB/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/RASPBERRYPI_MODB 6 | -------------------------------------------------------------------------------- /boards/ST_STM3210C_EVAL/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/ST_STM3210C_EVAL/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/ST_STM3210C_EVAL 6 | -------------------------------------------------------------------------------- /boards/ST_STM3210E_EVAL/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/ST_STM3210E_EVAL/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/ST_STM3210E_EVAL 6 | -------------------------------------------------------------------------------- /boards/ST_STM3220G_EVAL/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/ST_STM3220G_EVAL/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/ST_STM3220G_EVAL 6 | -------------------------------------------------------------------------------- /boards/ST_STM32F0_DISCOVERY/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/ST_STM32F0_DISCOVERY/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/ST_STM32F0_DISCOVERY 6 | -------------------------------------------------------------------------------- /boards/ST_STM32F4_DISCOVERY/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/ST_STM32F4_DISCOVERY/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/ST_STM32F4_DISCOVERY 6 | -------------------------------------------------------------------------------- /boards/ST_STM32L_DISCOVERY/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/ST_STM32L_DISCOVERY/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/ST_STM32L_DISCOVERY 6 | -------------------------------------------------------------------------------- /boards/ST_STM32VL_DISCOVERY/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/ST_STM32VL_DISCOVERY/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/ST_STM32VL_DISCOVERY 6 | -------------------------------------------------------------------------------- /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 ./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. -------------------------------------------------------------------------------- /boards/simulator/board.c: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | #include "ch.h" 22 | #include "hal.h" 23 | 24 | /** 25 | * @brief PAL setup. 26 | * @details Digital I/O ports static configuration as defined in @p board.h. 27 | */ 28 | #if HAL_USE_PAL || defined(__DOXYGEN__) 29 | const PALConfig pal_default_config = { 30 | {0, 0, 0}, 31 | {0, 0, 0} 32 | }; 33 | #endif 34 | 35 | /* 36 | * Board-specific initialization code. 37 | */ 38 | void boardInit(void) { 39 | } 40 | -------------------------------------------------------------------------------- /boards/simulator/board.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | #ifndef _BOARD_H_ 22 | #define _BOARD_H_ 23 | 24 | #if !defined(_FROM_ASM_) 25 | #ifdef __cplusplus 26 | extern "C" { 27 | #endif 28 | void boardInit(void); 29 | #ifdef __cplusplus 30 | } 31 | #endif 32 | #endif /* _FROM_ASM_ */ 33 | 34 | #endif /* _BOARD_H_ */ 35 | -------------------------------------------------------------------------------- /boards/simulator/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the simulator board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/simulator/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/simulator 6 | -------------------------------------------------------------------------------- /demos/ARM11-BCM2835-G++/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for BCM2835 using G++. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs some graphics tests using the Adafruit 2.2" 18-bit color 8 | TFT LCD display. http://www.adafruit.com/products/797 9 | 10 | ** The Demo ** 11 | 12 | The demonstration uses modified versions of the Adafruit_GFX and 13 | Adafruit_HX8340B classes. These were originally written for the Arduino. 14 | The Print and Printable support classes are also modified versions of 15 | the Arduino classes. The graphics test is based on the test provided 16 | with the Adafruit libraries, modified to run on the Pi. 17 | 18 | ** Build Procedure ** 19 | 20 | The demo was built using the YAGARTO toolchain but any toolchain based on GCC 21 | and GNU userspace programs will work. 22 | -------------------------------------------------------------------------------- /demos/ARM11-BCM2835-GCC/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for BCM2835 / ARM1176JZF-S 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Raspberry Pi RevB (BCM2835) board. 8 | 9 | ** The Demo ** 10 | 11 | One thread flashes the onboard LED. Another thread runs a simple 12 | command shell. Type 'help' to see the commands in the shell. 13 | 14 | ** Build Procedure ** 15 | 16 | This demo was built using the Yagarto GCC toolchain. Just type 'make' 17 | and the executable will be built to build/ch.bin. 18 | 19 | To enable additional shell commands, including a built-in test suite, 20 | add -DEXTENDED_SHELL to the make command line when building the 21 | code. 22 | 23 | ** Notes ** 24 | 25 | To use the shell, a serial interface to the Raspberry is required (a 26 | 3.3V USB to FTDI adapter, for example). 27 | 28 | -------------------------------------------------------------------------------- /demos/ARM7-AT91SAM7X-FATFS-GCC/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT + FatFS demo for SAM7. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Olimex SAM-EX256 board. The port on other boards or other 8 | members of the SAM7 family should be an easy task. 9 | 10 | ** The Demo ** 11 | 12 | This demo shows how to integrate the FatFs file system and use the SPI and MMC 13 | drivers. 14 | The demo flashes the board LCD background using a thread and monitors the MMC 15 | slot for a card insertion. When a card is inserted then the file system is 16 | mounted and the LCD background flashes faster. 17 | A command line shell is spawned on SD1, all the interaction with the demo is 18 | performed using the command shell, type "help" for a list of the available 19 | commands. 20 | 21 | ** Build Procedure ** 22 | 23 | The demo was built using the YAGARTO toolchain but any toolchain based on GCC 24 | and GNU userspace programs will work. 25 | -------------------------------------------------------------------------------- /demos/ARM7-AT91SAM7X-GCC/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for ARM7TDMI AT91SAM7X256. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Olimex SAM7-EX256 board. 8 | 9 | ** The Demo ** 10 | 11 | The demo currently just flashes the LCD background using a thread. 12 | The button SW1 prints an "Hello World!" string on COM1, the button SW2 13 | activates che ChibiOS/RT test suite, output on COM1. 14 | 15 | ** Build Procedure ** 16 | 17 | The demo was built using the YAGARTO toolchain but any toolchain based on GCC 18 | and GNU userspace programs will work. 19 | 20 | ** Notes ** 21 | 22 | Some files used by the demo are not part of ChibiOS/RT but are Atmel copyright 23 | and are licensed under a different license, see the header present in all the 24 | source files under ./demos/os/hal/platform/AT91SAM7/at91lib for details. 25 | Also note that not all the files present in the Atmel library are distribuited 26 | with ChibiOS/RT, you can find the whole library on the Atmel web site: 27 | 28 | http://www.atmel.com 29 | -------------------------------------------------------------------------------- /demos/ARM7-AT91SAM7X-UIP-GCC/web/cc-arch.h: -------------------------------------------------------------------------------- 1 | #ifndef __CC_ARCH_H__ 2 | #define __CC_ARCH_H__ 3 | 4 | #define PACK_STRUCT_FIELD(x) x __attribute__((packed)) 5 | #define PACK_STRUCT_STRUCT __attribute__((packed)) 6 | #define PACK_STRUCT_BEGIN 7 | #define PACK_STRUCT_END 8 | 9 | #endif /* __CC_ARCH_H__ */ 10 | -------------------------------------------------------------------------------- /demos/ARM7-AT91SAM7X-UIP-GCC/web/webthread.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | #ifndef _WEBTHREAD_H_ 22 | #define _WEBTHREAD_H_ 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | msg_t WebThread(void *p); 28 | #ifdef __cplusplus 29 | } 30 | #endif 31 | 32 | #endif /* _WEBTHREAD_H_ */ 33 | -------------------------------------------------------------------------------- /demos/ARM7-LPC214x-FATFS-GCC/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT + FatFS demo for LPC214x. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Olimex LPC-P2148 board. The port on other boards or other 8 | members of the LPC2000 family should be an easy task. 9 | 10 | ** The Demo ** 11 | 12 | The demo blinks the leds on the board by using multiple threads. 13 | By pressing button 1 a directory scan on the MMC slot is performed, by 14 | pressing the button 2 the test suite is activated on serial port 1. 15 | 16 | ** Build Procedure ** 17 | 18 | The demo was built using the YAGARTO toolchain but any toolchain based on GCC 19 | and GNU userspace programs will work. 20 | -------------------------------------------------------------------------------- /demos/ARM7-LPC214x-G++/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for ARM7TDMI LPC214X using G++. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Olimex LPC-P2148 board. The port on other boards or other 8 | members of the LPC2000 family should be an easy task. 9 | 10 | ** The Demo ** 11 | 12 | The demo blinks the leds on the board by using multiple threads implemented 13 | as C++ classes. Pressing both buttons activates the test procedure on the 14 | serial port 1. 15 | 16 | NOTE: the C++ GNU compiler can produce code sizes comparable to C if you 17 | don't use RTTI and standard libraries, those are disabled by default 18 | in the makefile. You can enable them if you have a lot of program space 19 | available. It is possible to use a lot of C++ features without using 20 | runtimes, just see the demo. 21 | 22 | ** Build Procedure ** 23 | 24 | The demo was built using the YAGARTO toolchain but any toolchain based on GCC 25 | and GNU userspace programs will work. 26 | -------------------------------------------------------------------------------- /demos/ARM7-LPC214x-GCC/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for ARM7TDMI LPC214X. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Olimex LPC-P2148 board. The port on other boards or other 8 | members of the LPC2000 family should be an easy task. 9 | 10 | ** The Demo ** 11 | 12 | The demo blinks the leds on the board by using multiple threads. By pressing 13 | the buttons on the board it is possible to send a message over the serial 14 | port or activate the test procedure. 15 | See main.c for details. Buzzer.c contains an interesting device driver 16 | example that uses a physical timer for the waveform generation and a virtual 17 | timer for the sound duration. 18 | 19 | ** Build Procedure ** 20 | 21 | The demo was built using the YAGARTO toolchain but any toolchain based on GCC 22 | and GNU userspace programs will work. 23 | -------------------------------------------------------------------------------- /demos/ARMCM0-LPC1114-LPCXPRESSO/iar/ch.eww: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $WS_DIR$\ch.ewp 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /demos/ARMCM0-STM32F051-DISCOVERY/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | ARMCM0-STM32F051-DISCOVERY 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 10 | clean,full,incremental, 11 | 12 | 13 | 14 | 15 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 16 | full,incremental, 17 | 18 | 19 | 20 | 21 | 22 | org.eclipse.cdt.core.cnature 23 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 24 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 25 | 26 | 27 | 28 | board 29 | 2 30 | CHIBIOS/boards/ST_STM32F0_DISCOVERY 31 | 32 | 33 | os 34 | 2 35 | CHIBIOS/os 36 | 37 | 38 | test 39 | 2 40 | CHIBIOS/test 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /demos/ARMCM0-STM32F051-DISCOVERY/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for ARM-Cortex-M0 STM32F051. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an ST STM32F0-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | 12 | ** Build Procedure ** 13 | 14 | The demo has been tested by using the free Codesourcery GCC-based toolchain 15 | and YAGARTO. just modify the TRGT line in the makefile in order to use 16 | different GCC toolchains. 17 | 18 | ** Notes ** 19 | 20 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 21 | ST Microelectronics and are licensed under a different license. 22 | Also note that not all the files present in the ST library are distributed 23 | with ChibiOS/RT, you can find the whole library on the ST web site: 24 | 25 | http://www.st.com 26 | -------------------------------------------------------------------------------- /demos/ARMCM3-GENERIC-KERNEL/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT demo for generict ARM Cortex-M3 processor, kernel only. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on any ARM Cortex-M3 processor after changing few constants 8 | in main.c, the defaults are setup for an STM32F1xx. 9 | 10 | ** Build Procedure ** 11 | 12 | The demo has been tested by using the free CodeSourcery GCC-based toolchain 13 | and YAGARTO. just modify the TRGT line in the makefile in order to use 14 | different GCC toolchains. 15 | -------------------------------------------------------------------------------- /demos/ARMCM3-LPC1343-LPCXPRESSO/iar/ch.eww: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $WS_DIR$\ch.ewp 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /demos/ARMCM3-STM32F100-DISCOVERY/iar/ch.eww: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $WS_DIR$\ch.ewp 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /demos/ARMCM3-STM32F103-G++/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for ARM-Cortex-M3 STM32F103. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Olimex STM32-P103 board. 8 | 9 | ** The Demo ** 10 | 11 | The demo flashes the board LED using a thread, by pressing the button located 12 | on the board the test procedure is activated with output on the serial port 13 | SD2 (USART2). 14 | 15 | ** Build Procedure ** 16 | 17 | The demo has been tested by using the free Codesourcery GCC-based toolchain 18 | and YAGARTO. 19 | Just modify the TRGT line in the makefile in order to use different GCC ports. 20 | 21 | ** Notes ** 22 | 23 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 24 | ST Microelectronics and are licensed under a different license. 25 | Also note that not all the files present in the ST library are distributed 26 | with ChibiOS/RT, you can find the whole library on the ST web site: 27 | 28 | http://www.st.com 29 | -------------------------------------------------------------------------------- /demos/ARMCM3-STM32F103/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | ARMCM3-STM32F103 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 10 | clean,full,incremental, 11 | 12 | 13 | 14 | 15 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 16 | full,incremental, 17 | 18 | 19 | 20 | 21 | 22 | org.eclipse.cdt.core.cnature 23 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 24 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 25 | 26 | 27 | 28 | board 29 | 2 30 | CHIBIOS/boards/OLIMEX_STM32_P103 31 | 32 | 33 | os 34 | 2 35 | CHIBIOS/os 36 | 37 | 38 | test 39 | 2 40 | CHIBIOS/test 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /demos/ARMCM3-STM32F103/codeblocks/ch.workspace: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /demos/ARMCM3-STM32F103/iar/ch.eww: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $WS_DIR$\ch.ewp 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /demos/ARMCM3-STM32F103/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for ARM-Cortex-M3 STM32F103. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Olimex STM32-P103 board. 8 | 9 | ** The Demo ** 10 | 11 | The demo flashes the board LED using a thread, by pressing the button located 12 | on the board the test procedure is activated with output on the serial port 13 | SD2 (USART2). 14 | 15 | ** Build Procedure ** 16 | 17 | The demo has been tested by using the free Codesourcery GCC-based toolchain 18 | and YAGARTO. 19 | Just modify the TRGT line in the makefile in order to use different GCC ports. 20 | 21 | ** Notes ** 22 | 23 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 24 | ST Microelectronics and are licensed under a different license. 25 | Also note that not all the files present in the ST library are distributed 26 | with ChibiOS/RT, you can find the whole library on the ST web site: 27 | 28 | http://www.st.com 29 | -------------------------------------------------------------------------------- /demos/ARMCM3-STM32F103/ride7/ch.rprj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /demos/ARMCM3-STM32F103ZG-FATFS/iar/ch.eww: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $WS_DIR$\ch.ewp 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /demos/ARMCM3-STM32F103ZG-FATFS/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for ARM-Cortex-M3 STM32F103ZG. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an STM3210E-EVAL board. 8 | 9 | ** The Demo ** 10 | 11 | The demo flashes the board LEDs using a thread, by pressing the button located 12 | on the board the test procedure is activated with output on the serial port 13 | SD1 (USART1). 14 | 15 | ** Build Procedure ** 16 | 17 | The demo has been tested by using the free Codesourcery GCC-based toolchain 18 | and YAGARTO. 19 | Just modify the TRGT line in the makefile in order to use different GCC ports. 20 | 21 | ** Notes ** 22 | 23 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 24 | ST Microelectronics and are licensed under a different license. 25 | Also note that not all the files present in the ST library are distributed 26 | with ChibiOS/RT, you can find the whole library on the ST web site: 27 | 28 | http://www.st.com 29 | -------------------------------------------------------------------------------- /demos/ARMCM3-STM32F107-LWIP/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for ARM-Cortex-M3 STM32F107. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Olimex STM32-P107 board. 8 | 9 | ** The Demo ** 10 | 11 | The demo currently just flashes a LED using a thread and serves HTTP requests 12 | at address 192.168.1.20 on port 80. 13 | The button activates che ChibiOS/RT test suite, output on SD3. 14 | 15 | ** Build Procedure ** 16 | 17 | The demo has been tested by using the free Codesourcery GCC-based toolchain 18 | and YAGARTO. 19 | Just modify the TRGT line in the makefile in order to use different GCC ports. 20 | 21 | ** Notes ** 22 | 23 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 24 | ST Microelectronics and are licensed under a different license. 25 | Also note that not all the files present in the ST library are distributed 26 | with ChibiOS/RT, you can find the whole library on the ST web site: 27 | 28 | http://www.st.com 29 | -------------------------------------------------------------------------------- /demos/ARMCM3-STM32F107/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | ARMCM3-STM32F107 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 10 | clean,full,incremental, 11 | 12 | 13 | 14 | 15 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 16 | full,incremental, 17 | 18 | 19 | 20 | 21 | 22 | org.eclipse.cdt.core.cnature 23 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 24 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 25 | 26 | 27 | 28 | board 29 | 2 30 | CHIBIOS/boards/OLIMEX_STM32_P107 31 | 32 | 33 | os 34 | 2 35 | CHIBIOS/os 36 | 37 | 38 | test 39 | 2 40 | CHIBIOS/test 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /demos/ARMCM3-STM32F107/iar/ch.eww: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $WS_DIR$\ch.ewp 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /demos/ARMCM3-STM32F107/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for ARM-Cortex-M3 STM32F107. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Olimex STM32-P107 board. 8 | 9 | ** The Demo ** 10 | 11 | The demo flashes the board LED using a thread, by pressing the button located 12 | on the board the test procedure is activated with output on the serial port 13 | SD3 (USART3). 14 | 15 | ** Build Procedure ** 16 | 17 | The demo has been tested by using the free Codesourcery GCC-based toolchain 18 | and YAGARTO. 19 | Just modify the TRGT line in the makefile in order to use different GCC ports. 20 | 21 | ** Notes ** 22 | 23 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 24 | ST Microelectronics and are licensed under a different license. 25 | Also note that not all the files present in the ST library are distributed 26 | with ChibiOS/RT, you can find the whole library on the ST web site: 27 | 28 | http://www.st.com 29 | -------------------------------------------------------------------------------- /demos/ARMCM3-STM32L152-DISCOVERY/iar/ch.eww: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $WS_DIR$\ch.ewp 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /demos/ARMCM4-STM32F303-DISCOVERY/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for ARM-Cortex-M4 STM32F303. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an ST STM32F3-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | 12 | ** Build Procedure ** 13 | 14 | The demo has been tested by using the free Codesourcery GCC-based toolchain 15 | and YAGARTO. just modify the TRGT line in the makefile in order to use 16 | different GCC toolchains. 17 | 18 | ** Notes ** 19 | 20 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 21 | ST Microelectronics and are licensed under a different license. 22 | Also note that not all the files present in the ST library are distributed 23 | with ChibiOS/RT, you can find the whole library on the ST web site: 24 | 25 | http://www.st.com 26 | -------------------------------------------------------------------------------- /demos/ARMCM4-STM32F407-DISCOVERY-MEMS/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for ARM-Cortex-M4 STM32F407. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an ST STM32F4-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The demo shows how to use PWM and SPI drivers using synchronous APIs. The PWM 12 | driver the four board lets with the data read from the LIS320DL accelerometer. 13 | The data is also transmitted on the SPI2 port. 14 | By pressing the button located on the board the test procedure is activated 15 | with output on the serial port SD2 (USART2). 16 | 17 | ** Build Procedure ** 18 | 19 | The demo has been tested by using the free Codesourcery GCC-based toolchain 20 | and YAGARTO. just modify the TRGT line in the makefile in order to use 21 | different GCC toolchains. 22 | 23 | ** Notes ** 24 | 25 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 26 | ST Microelectronics and are licensed under a different license. 27 | Also note that not all the files present in the ST library are distributed 28 | with ChibiOS/RT, you can find the whole library on the ST web site: 29 | 30 | http://www.st.com 31 | -------------------------------------------------------------------------------- /demos/ARMCM4-STM32F407-DISCOVERY-MEMS/usbcfg.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | #ifndef _USBCFG_H_ 22 | #define _USBCFG_H_ 23 | 24 | extern const USBConfig usbcfg; 25 | extern SerialUSBConfig serusbcfg; 26 | 27 | #endif /* _USBCFG_H_ */ 28 | 29 | /** @} */ 30 | -------------------------------------------------------------------------------- /demos/ARMCM4-STM32F407-DISCOVERY/iar/ch.eww: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $WS_DIR$\ch.ewp 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /demos/ARMCM4-STM32F407-LWIP-FATFS-USB/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for ARM-Cortex-M4 STM32F407. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Olimex STM32-E407 board. 8 | 9 | ** The Demo ** 10 | 11 | The demo currently just flashes a LED using a thread and serves HTTP requests 12 | at address 192.168.1.20 on port 80. 13 | FatFs integrated using SDIO. 14 | The USB-FS port is used as USB-CDC and a command shell is ready to accepts 15 | commands there. 16 | 17 | ** Build Procedure ** 18 | 19 | The demo has been tested by using the free Codesourcery GCC-based toolchain 20 | and YAGARTO. 21 | Just modify the TRGT line in the makefile in order to use different GCC ports. 22 | 23 | ** Notes ** 24 | 25 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 26 | ST Microelectronics and are licensed under a different license. 27 | Also note that not all the files present in the ST library are distributed 28 | with ChibiOS/RT, you can find the whole library on the ST web site: 29 | 30 | http://www.st.com 31 | -------------------------------------------------------------------------------- /demos/ARMCM4-STM32F407-LWIP/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for ARM-Cortex-M4 STM32F407. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Olimex STM32-P407 board. 8 | 9 | ** The Demo ** 10 | 11 | The demo currently just flashes a LED using a thread and serves HTTP requests 12 | at address 192.168.1.20 on port 80. 13 | The button activates che ChibiOS/RT test suite, output on SD6. 14 | 15 | ** Build Procedure ** 16 | 17 | The demo has been tested by using the free Codesourcery GCC-based toolchain 18 | and YAGARTO. 19 | Just modify the TRGT line in the makefile in order to use different GCC ports. 20 | 21 | ** Notes ** 22 | 23 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 24 | ST Microelectronics and are licensed under a different license. 25 | Also note that not all the files present in the ST library are distributed 26 | with ChibiOS/RT, you can find the whole library on the ST web site: 27 | 28 | http://www.st.com 29 | -------------------------------------------------------------------------------- /demos/AVR-AT90CANx-GCC/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steve-bate/ChibiOS-RPi/b1c6f6fb0be3e8b5dd76d6ad84ebd169623c5843/demos/AVR-AT90CANx-GCC/Makefile -------------------------------------------------------------------------------- /demos/AVR-AT90CANx-GCC/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for Atmel AVR AT90CAN128. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Olimex AVR-CAN board. 8 | 9 | ** The Demo ** 10 | 11 | The demo currently just flashes the board LED using a thread. It will be 12 | expanded in next releases. 13 | By pressing the board button the test suite is activated, output on serial 14 | port 2. 15 | 16 | ** Build Procedure ** 17 | 18 | The demo was built using the WinAVR toolchain. 19 | 20 | ** Notes ** 21 | 22 | The demo requires include files from WinAVR that are not part of the ChibiOS/RT 23 | distribution, please install WinAVR. 24 | 25 | http://winavr.sourceforge.net/ 26 | -------------------------------------------------------------------------------- /demos/AVR-ATmega128-GCC/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steve-bate/ChibiOS-RPi/b1c6f6fb0be3e8b5dd76d6ad84ebd169623c5843/demos/AVR-ATmega128-GCC/Makefile -------------------------------------------------------------------------------- /demos/AVR-ATmega128-GCC/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for Atmel AVR ATmega128. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Olimex AVR-MT-128 board. 8 | 9 | ** The Demo ** 10 | 11 | The demo currently just writes a hello world on the LCD and toggles the relay 12 | using a thread while button 2 is pressed. 13 | By pressing the button 1 the test suite is activated, output on serial port 2. 14 | 15 | ** Build Procedure ** 16 | 17 | The demo was built using the WinAVR toolchain. 18 | 19 | ** Notes ** 20 | 21 | The demo requires include files from WinAVR that are not part of the ChibiOS/RT 22 | distribution, please install WinAVR. 23 | 24 | http://winavr.sourceforge.net/ 25 | -------------------------------------------------------------------------------- /demos/AVR-ArduinoMega-GCC/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steve-bate/ChibiOS-RPi/b1c6f6fb0be3e8b5dd76d6ad84ebd169623c5843/demos/AVR-ArduinoMega-GCC/Makefile -------------------------------------------------------------------------------- /demos/AVR-ArduinoMega-GCC/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for Atmel AVR ATmega1280. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Arduino Mega board. 8 | 9 | ** The Demo ** 10 | 11 | The demo currently just prints the TestThread output on Serial0, which is 12 | available on the board USB connector (FT232 converter), and toggles the LED 13 | on PB7 (pin 13 on Arduino IDE) every second. 14 | 15 | ** Build Procedure ** 16 | 17 | The demo was built using the GCC AVR toolchain. It should build with WinAVR too! 18 | 19 | ** Notes ** 20 | 21 | This demo runs natively so the Arduino bootloader must be removed and the FUSEs 22 | reprogrammed. The values used for fuses are LFUSE=0xe7 and HFUSE=0x99. 23 | -------------------------------------------------------------------------------- /demos/MSP430-MSP430x1611-GCC/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for Texas Instruments MSP430. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Olimex MSP430-P1611 board with a 8MHz xtal installed. In 8 | order to execute the demo without an crystal you need to edit mcuconf.h 9 | and change: 10 | #define MSP430_USE_CLOCK MSP430_CLOCK_SOURCE_XT2CLK 11 | in: 12 | #define MSP430_USE_CLOCK MSP430_CLOCK_SOURCE_DCOCLK 13 | 14 | ** The Demo ** 15 | 16 | The demo flashes the board LED using a thread, by pressing the button located 17 | on the board the test procedure is activated with output on the serial port 18 | COM1 (USART0). 19 | 20 | ** Build Procedure ** 21 | 22 | The demo was built using the MSPGCC toolchain. 23 | 24 | ** Notes ** 25 | 26 | The demo requires include files from MSPGCC that are not part of the ChibiOS/RT 27 | distribution, please install MSPGCC. 28 | 29 | http://mspgcc.sourceforge.net/ 30 | -------------------------------------------------------------------------------- /demos/PPC-SPC560P-GCC/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | PPC-SPC560P-GCC 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 10 | clean,full,incremental, 11 | 12 | 13 | 14 | 15 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 16 | full,incremental, 17 | 18 | 19 | 20 | 21 | 22 | org.eclipse.cdt.core.cnature 23 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 24 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 25 | 26 | 27 | 28 | board 29 | 2 30 | CHIBIOS/boards/GENERIC_SPC560P 31 | 32 | 33 | os 34 | 2 35 | CHIBIOS/os 36 | 37 | 38 | test 39 | 2 40 | CHIBIOS/test 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /demos/PPC-SPC563M-GCC/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | PPC-SPC563M-GCC 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 10 | clean,full,incremental, 11 | 12 | 13 | 14 | 15 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 16 | full,incremental, 17 | 18 | 19 | 20 | 21 | 22 | org.eclipse.cdt.core.cnature 23 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 24 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 25 | 26 | 27 | 28 | board 29 | 2 30 | CHIBIOS/boards/GENERIC_SPC563M 31 | 32 | 33 | os 34 | 2 35 | CHIBIOS/os 36 | 37 | 38 | test 39 | 2 40 | CHIBIOS/test 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /demos/Posix-GCC/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for x86 into a Linux process ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs under x86 Linux as an application program. The serial 8 | I/O is simulated over TCP/IP sockets. 9 | 10 | ** The Demo ** 11 | 12 | The demo listens on the two serial ports, when a connection is detected a 13 | thread is started that serves a small command shell. 14 | The demo shows how create/terminate threads at runtime, how listen to events, 15 | how ho work with serial ports, how use the messages. 16 | You can develop your ChibiOS/RT application using this demo as a simulator 17 | then you can recompile it for a different architecture. 18 | See demo.c for details. 19 | 20 | ** Build Procedure ** 21 | 22 | GCC required. The Makefile defaults to building for a Linux host. 23 | To build on OS X, use the following command: `make HOST_OSX=yes` 24 | 25 | ** Connect to the demo ** 26 | 27 | In order to connect to the demo use telnet on the listening ports. 28 | -------------------------------------------------------------------------------- /demos/STM8L-STM8L152-DISCOVERY-STVD/ChibiOS-RT.stw: -------------------------------------------------------------------------------- 1 | ; STMicroelectronics Workspace file 2 | 3 | [Version] 4 | Keyword=ST7Workspace-V0.7 5 | 6 | [Project0] 7 | Filename=cosmic\cosmic.stp 8 | Dependencies= 9 | 10 | [Project1] 11 | Filename=raisonance\raisonance.stp 12 | Dependencies= 13 | [Options] 14 | ActiveProject=cosmic 15 | ActiveConfig=Release 16 | AddSortedElements=0 17 | -------------------------------------------------------------------------------- /demos/STM8S-STM8S105-DISCOVERY-IAR/ch.eww: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $WS_DIR$\ch.ewp 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /demos/STM8S-STM8S105-DISCOVERY-STVD/ChibiOS-RT.stw: -------------------------------------------------------------------------------- 1 | ; STMicroelectronics Workspace file 2 | 3 | [Version] 4 | Keyword=ST7Workspace-V0.7 5 | 6 | [Project0] 7 | Filename=cosmic\cosmic.stp 8 | Dependencies= 9 | 10 | [Project1] 11 | Filename=raisonance\raisonance.stp 12 | Dependencies= 13 | [Options] 14 | ActiveProject=cosmic 15 | ActiveConfig=Release 16 | AddSortedElements=0 17 | -------------------------------------------------------------------------------- /demos/STM8S-STM8S208-RC/ch.rprj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /demos/STM8S-STM8S208-RC/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT demo for STM8S208RB. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on a Raisonance REva+STM8S208RB board. 8 | 9 | ** The Demo ** 10 | 11 | The demo flashes the board LED using a thread, by pressing the button located 12 | on the board the test procedure is activated with output on the serial port. 13 | 14 | ** Build Procedure ** 15 | 16 | From withing the Ride7 IDE open the project, compile and run it. 17 | -------------------------------------------------------------------------------- /demos/Win32-MinGW/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for x86 into a Win32 process ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs under any Windows version as an application program. The serial 8 | I/O is simulated over TCP/IP sockets. 9 | 10 | ** The Demo ** 11 | 12 | The demo listens on the two serial ports, when a connection is detected a 13 | thread is started that serves a small command shell. 14 | The demo shows how create/terminate threads at runtime, how listen to events, 15 | how ho work with serial ports, how use the messages. 16 | You can develop your ChibiOS/RT application using this demo as a simulator 17 | then you can recompile it for a different architecture. 18 | See demo.c for details. 19 | 20 | ** Build Procedure ** 21 | 22 | The demo was built using the MinGW toolchain. 23 | 24 | ** Connect to the demo ** 25 | 26 | In order to connect to the demo a telnet client is required. A good choice 27 | is PuTTY: 28 | 29 | http://www.putty.org/ 30 | 31 | Host Name: 127.0.0.1 32 | Port: 29001 and/or 29002 33 | Connection Type: Raw 34 | -------------------------------------------------------------------------------- /docs/html/logo_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steve-bate/ChibiOS-RPi/b1c6f6fb0be3e8b5dd76d6ad84ebd169623c5843/docs/html/logo_small.png -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /docs/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 | -------------------------------------------------------------------------------- /docs/reports/STM8L152-16-Cosmic.txt: -------------------------------------------------------------------------------- 1 | *************************************************************************** 2 | Options: Optimized for speed 3 | Settings: CPUCLK=16MHz (HSI) 4 | Compiler: Cosmic STM8 compiler 4.3.6. 5 | *************************************************************************** 6 | 7 | FAILED (compiler regression) -------------------------------------------------------------------------------- /docs/reports/STM8S105-16-Cosmic.txt: -------------------------------------------------------------------------------- 1 | *************************************************************************** 2 | Options: Optimized for speed 3 | Settings: CPUCLK=16MHz (HSI) 4 | Compiler: Cosmic STM8 compiler 4.3.6. 5 | *************************************************************************** 6 | 7 | FAILED (compiler regression) -------------------------------------------------------------------------------- /docs/reports/build.txt: -------------------------------------------------------------------------------- 1 | Default maximum settings 2 | * Building...OK 3 | * Testing...OK 4 | CH_OPTIMIZE_SPEED=FALSE 5 | * Building...OK 6 | * Testing...OK 7 | CH_TIME_QUANTUM=0 8 | * Building...OK 9 | * Testing...OK 10 | CH_USE_REGISTRY=FALSE 11 | * Building...OK 12 | * Testing...OK 13 | CH_USE_SEMAPHORES_PRIORITY=TRUE 14 | * Building...OK 15 | * Testing...OK 16 | CH_USE_CONDVARS_TIMEOUT=FALSE 17 | * Building...OK 18 | * Testing...OK 19 | CH_USE_EVENTS_TIMEOUT=FALSE 20 | * Building...OK 21 | * Testing...OK 22 | CH_USE_MESSAGES_PRIORITY=TRUE 23 | * Building...OK 24 | * Testing...OK 25 | CH_USE_DYNAMIC=FALSE 26 | * Building...OK 27 | * Testing...OK 28 | CH_DBG_SYSTEM_STATE_CHECK=TRUE 29 | * Building...OK 30 | * Testing...OK 31 | CH_DBG_ENABLE_CHECKS=TRUE 32 | * Building...OK 33 | * Testing...OK 34 | CH_DBG_ENABLE_ASSERTS=TRUE 35 | * Building...OK 36 | * Testing...OK 37 | CH_DBG_ENABLE_TRACE=TRUE 38 | * Building...OK 39 | * Testing...OK 40 | CH_DBG_FILL_THREADS=TRUE 41 | * Building...OK 42 | * Testing...OK 43 | CH_DBG_THREADS_PROFILING=FALSE 44 | * Building...OK 45 | * Testing...OK 46 | -------------------------------------------------------------------------------- /docs/rsc/footer_chm.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /docs/rsc/footer_html.html: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | 12 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /docs/rsc/header_chm.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $title 6 | 7 | 8 | 9 | 10 |
11 |
12 | 13 | 14 | 15 | 18 | 19 | 20 |
16 |
ChibiOS/RT 2.5.0
17 |
21 |
22 | -------------------------------------------------------------------------------- /docs/rsc/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steve-bate/ChibiOS-RPi/b1c6f6fb0be3e8b5dd76d6ad84ebd169623c5843/docs/rsc/logo.png -------------------------------------------------------------------------------- /docs/rsc/workspace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steve-bate/ChibiOS-RPi/b1c6f6fb0be3e8b5dd76d6ad84ebd169623c5843/docs/rsc/workspace.png -------------------------------------------------------------------------------- /documentation.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ext/fatfs-0.9-patched.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steve-bate/ChibiOS-RPi/b1c6f6fb0be3e8b5dd76d6ad84ebd169623c5843/ext/fatfs-0.9-patched.zip -------------------------------------------------------------------------------- /ext/lwip-1.4.0.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steve-bate/ChibiOS-RPi/b1c6f6fb0be3e8b5dd76d6ad84ebd169623c5843/ext/lwip-1.4.0.zip -------------------------------------------------------------------------------- /ext/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** External Libraries. ** 3 | ***************************************************************************** 4 | 5 | The libraries under this directory are not part of ChibiOS/RT but are used by 6 | some of the demo applications. 7 | Please note that each item is covered by its own license, please read the 8 | instructions contained in the various distributions. 9 | 10 | The currently included items are: 11 | 12 | 1. uip-1.0, a minimal TCP/IP implementation: http://www.sics.se/~adam/uip/ 13 | 2. lwip-1.4.0, lightweight TCP/IP stack: http://savannah.nongnu.org/projects/lwip/ 14 | 3. FatFS 0.9 (patched), the original version is available from 15 | http://elm-chan.org/fsw/ff/00index_e.html 16 | 17 | The above files are included packed as downloaded from the original repository 18 | and without any modification, in order to use the libraries unpack them 19 | under ./ext as: 20 | 21 | ./ext/uip-1.0 22 | ./ext/lwip 23 | ./ext/fatfs 24 | ./ext/stm32lib (you also need to copy stm32f10x_conf.h in your project) 25 | 26 | Some patches are also present: 27 | 28 | 1. uip-1.0 patches, small fixes to the uIP required to make it work with 29 | ChibiOS/RT, unpack the archive over the uIP distribution and replace the 30 | files. 31 | -------------------------------------------------------------------------------- /ext/uip-1.0.patches.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steve-bate/ChibiOS-RPi/b1c6f6fb0be3e8b5dd76d6ad84ebd169623c5843/ext/uip-1.0.patches.zip -------------------------------------------------------------------------------- /ext/uip-1.0.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steve-bate/ChibiOS-RPi/b1c6f6fb0be3e8b5dd76d6ad84ebd169623c5843/ext/uip-1.0.tar.gz -------------------------------------------------------------------------------- /os/contrib/ChibiSerial.cpp: -------------------------------------------------------------------------------- 1 | #include "ChibiSerial.h" 2 | 3 | #include "ch.h" 4 | #include "hal.h" 5 | #include "chprintf.h" 6 | 7 | void ChibiSerial::print(char ch) { 8 | chprintf((BaseSequentialStream *)&SD1, "%c", ch); 9 | } 10 | 11 | void ChibiSerial::print(uint8_t n) { 12 | chprintf((BaseSequentialStream *)&SD1, "%d", n); 13 | } 14 | 15 | void ChibiSerial::print(uint16_t n) { 16 | chprintf((BaseSequentialStream *)&SD1, "%d", n); 17 | } 18 | 19 | void ChibiSerial::print(uint32_t n) { 20 | chprintf((BaseSequentialStream *)&SD1, "%d", n); 21 | } 22 | 23 | void ChibiSerial::print(int32_t n) { 24 | chprintf((BaseSequentialStream *)&SD1, "%d", n); 25 | } 26 | 27 | void ChibiSerial::print(const char* s) { 28 | chprintf((BaseSequentialStream *)&SD1, "%s", s); 29 | } 30 | 31 | void ChibiSerial::println() { 32 | chprintf((BaseSequentialStream *)&SD1, "\r\n"); 33 | } 34 | 35 | void ChibiSerial::println(const char* s) { 36 | print(s); 37 | println(); 38 | } 39 | 40 | void ChibiSerial::println(uint32_t n) { 41 | print(n); 42 | println(); 43 | } 44 | 45 | ChibiSerial Serial; 46 | 47 | -------------------------------------------------------------------------------- /os/contrib/ChibiSerial.h: -------------------------------------------------------------------------------- 1 | #ifndef _Serial_h_ 2 | #define _Serial_h_ 3 | 4 | #include "chtypes.h" 5 | 6 | class ChibiSerial { 7 | public: 8 | void print(char ch); 9 | 10 | void print(uint8_t ch); 11 | 12 | void print(uint16_t ch); 13 | 14 | void print(uint32_t n); 15 | 16 | void print(int32_t n); 17 | 18 | void print(const char* s); 19 | 20 | void println(); 21 | 22 | void println(const char* s); 23 | 24 | void println(uint32_t n); 25 | }; 26 | 27 | extern ChibiSerial Serial; 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /os/hal/dox/i2s.dox: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | /** 22 | * @defgroup I2S I2S Driver 23 | * @brief Generic I2S Driver. 24 | * @details This module implements a generic I2S driver. 25 | * @pre In order to use the I2S driver the @p HAL_USE_I2S option 26 | * must be enabled in @p halconf.h. 27 | * 28 | * @section i2s_1 Driver State Machine 29 | * 30 | * @ingroup IO 31 | */ 32 | -------------------------------------------------------------------------------- /os/hal/dox/mac.dox: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | /** 22 | * @defgroup MAC MAC Driver 23 | * @brief Generic MAC driver. 24 | * @details This module implements a generic MAC (Media Access Control) 25 | * driver for Ethernet controllers. 26 | * @pre In order to use the MAC driver the @p HAL_USE_MAC option 27 | * must be enabled in @p halconf.h. 28 | * 29 | * @ingroup IO 30 | */ 31 | -------------------------------------------------------------------------------- /os/hal/dox/rtc.dox: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | /** 22 | * @defgroup RTC RTC Driver 23 | * @brief Real Time Clock Abstraction Layer 24 | * @details This module defines an abstract interface for a Real Time Clock 25 | * Peripheral. 26 | * @pre In order to use the RTC driver the @p HAL_USE_RTC option 27 | * must be enabled in @p halconf.h. 28 | * 29 | * @ingroup IO 30 | */ 31 | -------------------------------------------------------------------------------- /os/hal/dox/tm.dox: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | /** 22 | * @defgroup TM Time Measurement Driver 23 | * 24 | * @brief Time Measurement unit. 25 | * @details This module implements a time measurement mechanism able to 26 | * monitor a portion of code and store the best/worst/last 27 | * measurement. The measurement is performed using the realtime 28 | * counter mechanism abstracted in the HAL driver. 29 | * 30 | * @ingroup IO 31 | */ 32 | -------------------------------------------------------------------------------- /os/hal/hal.mk: -------------------------------------------------------------------------------- 1 | # List of all the ChibiOS/RT HAL files, there is no need to remove the files 2 | # from this list, you can disable parts of the kernel by editing halconf.h. 3 | HALSRC = ${CHIBIOS}/os/hal/src/hal.c \ 4 | ${CHIBIOS}/os/hal/src/adc.c \ 5 | ${CHIBIOS}/os/hal/src/can.c \ 6 | ${CHIBIOS}/os/hal/src/ext.c \ 7 | ${CHIBIOS}/os/hal/src/gpt.c \ 8 | ${CHIBIOS}/os/hal/src/i2c.c \ 9 | ${CHIBIOS}/os/hal/src/icu.c \ 10 | ${CHIBIOS}/os/hal/src/mac.c \ 11 | ${CHIBIOS}/os/hal/src/mmc_spi.c \ 12 | ${CHIBIOS}/os/hal/src/mmcsd.c \ 13 | ${CHIBIOS}/os/hal/src/pal.c \ 14 | ${CHIBIOS}/os/hal/src/pwm.c \ 15 | ${CHIBIOS}/os/hal/src/rtc.c \ 16 | ${CHIBIOS}/os/hal/src/sdc.c \ 17 | ${CHIBIOS}/os/hal/src/serial.c \ 18 | ${CHIBIOS}/os/hal/src/serial_usb.c \ 19 | ${CHIBIOS}/os/hal/src/spi.c \ 20 | ${CHIBIOS}/os/hal/src/tm.c \ 21 | ${CHIBIOS}/os/hal/src/uart.c \ 22 | ${CHIBIOS}/os/hal/src/usb.c 23 | 24 | # Required include directories 25 | HALINC = ${CHIBIOS}/os/hal/include 26 | -------------------------------------------------------------------------------- /os/hal/platforms/AT91SAM7/platform.mk: -------------------------------------------------------------------------------- 1 | # List of all the AT91SAM7 platform files. 2 | PLATFORMSRC = ${CHIBIOS}/os/hal/platforms/AT91SAM7/hal_lld.c \ 3 | ${CHIBIOS}/os/hal/platforms/AT91SAM7/pal_lld.c \ 4 | ${CHIBIOS}/os/hal/platforms/AT91SAM7/ext_lld.c \ 5 | ${CHIBIOS}/os/hal/platforms/AT91SAM7/serial_lld.c \ 6 | ${CHIBIOS}/os/hal/platforms/AT91SAM7/spi_lld.c \ 7 | ${CHIBIOS}/os/hal/platforms/AT91SAM7/mac_lld.c \ 8 | ${CHIBIOS}/os/hal/platforms/AT91SAM7/at91sam7_mii.c \ 9 | ${CHIBIOS}/os/hal/platforms/AT91SAM7/at91lib/aic.c 10 | 11 | # Required include directories 12 | PLATFORMINC = ${CHIBIOS}/os/hal/platforms/AT91SAM7 13 | -------------------------------------------------------------------------------- /os/hal/platforms/AVR/platform.mk: -------------------------------------------------------------------------------- 1 | # List of all the AVR platform files. 2 | PLATFORMSRC = ${CHIBIOS}/os/hal/platforms/AVR/hal_lld.c \ 3 | ${CHIBIOS}/os/hal/platforms/AVR/pal_lld.c \ 4 | ${CHIBIOS}/os/hal/platforms/AVR/serial_lld.c \ 5 | ${CHIBIOS}/os/hal/platforms/AVR/i2c_lld.c 6 | 7 | # Required include directories 8 | PLATFORMINC = ${CHIBIOS}/os/hal/platforms/AVR 9 | -------------------------------------------------------------------------------- /os/hal/platforms/BCM2835/bcm2835.c: -------------------------------------------------------------------------------- 1 | #include "bcm2835.h" 2 | 3 | /** 4 | * @brief Set GPIO pin function/mode. Used in multiple peripherals. 5 | * 6 | * @param[in] gpio_pin BCM2835 pin number 7 | * @param[in] mode GPIO pin function 8 | * 9 | * @notapi 10 | */ 11 | void bcm2835_gpio_fnsel(uint32_t gpio_pin, uint32_t gpio_fn) 12 | { 13 | uint32_t gpfnbank = gpio_pin/10; 14 | uint32_t offset = (gpio_pin - (gpfnbank * 10)) * 3; 15 | volatile uint32_t *gpfnsel = &GPFSEL0 + gpfnbank; 16 | *gpfnsel &= ~(0x07 << offset); 17 | *gpfnsel |= (gpio_fn << offset); 18 | } 19 | 20 | void bcm2835_delay(uint32_t n) 21 | { 22 | volatile uint32_t i = 0; 23 | for(i = 0; i < n; i++); 24 | } 25 | 26 | -------------------------------------------------------------------------------- /os/hal/platforms/BCM2835/platform.mk: -------------------------------------------------------------------------------- 1 | # List of all the BCM2835 platform files. 2 | PLATFORMSRC = ${CHIBIOS}/os/hal/platforms/BCM2835/hal_lld.c \ 3 | ${CHIBIOS}/os/hal/platforms/BCM2835/pal_lld.c \ 4 | ${CHIBIOS}/os/hal/platforms/BCM2835/serial_lld.c \ 5 | ${CHIBIOS}/os/hal/platforms/BCM2835/i2c_lld.c \ 6 | ${CHIBIOS}/os/hal/platforms/BCM2835/spi_lld.c \ 7 | ${CHIBIOS}/os/hal/platforms/BCM2835/gpt_lld.c \ 8 | ${CHIBIOS}/os/hal/platforms/BCM2835/pwm_lld.c \ 9 | ${CHIBIOS}/os/hal/platforms/BCM2835/bcm2835.c 10 | 11 | # Required include directories 12 | PLATFORMINC = ${CHIBIOS}/os/hal/platforms/BCM2835 13 | -------------------------------------------------------------------------------- /os/hal/platforms/LPC11Uxx/platform.mk: -------------------------------------------------------------------------------- 1 | # List of all the LPC11Uxx platform files. 2 | PLATFORMSRC = ${CHIBIOS}/os/hal/platforms/LPC11Uxx/hal_lld.c \ 3 | ${CHIBIOS}/os/hal/platforms/LPC11Uxx/gpt_lld.c \ 4 | ${CHIBIOS}/os/hal/platforms/LPC11Uxx/pal_lld.c \ 5 | ${CHIBIOS}/os/hal/platforms/LPC11Uxx/spi_lld.c \ 6 | ${CHIBIOS}/os/hal/platforms/LPC11Uxx/serial_lld.c 7 | 8 | # Required include directories 9 | PLATFORMINC = ${CHIBIOS}/os/hal/platforms/LPC11Uxx 10 | -------------------------------------------------------------------------------- /os/hal/platforms/LPC11xx/platform.mk: -------------------------------------------------------------------------------- 1 | # List of all the LPC11xx platform files. 2 | PLATFORMSRC = ${CHIBIOS}/os/hal/platforms/LPC11xx/hal_lld.c \ 3 | ${CHIBIOS}/os/hal/platforms/LPC11xx/gpt_lld.c \ 4 | ${CHIBIOS}/os/hal/platforms/LPC11xx/pal_lld.c \ 5 | ${CHIBIOS}/os/hal/platforms/LPC11xx/serial_lld.c \ 6 | ${CHIBIOS}/os/hal/platforms/LPC11xx/spi_lld.c 7 | 8 | # Required include directories 9 | PLATFORMINC = ${CHIBIOS}/os/hal/platforms/LPC11xx 10 | -------------------------------------------------------------------------------- /os/hal/platforms/LPC13xx/platform.mk: -------------------------------------------------------------------------------- 1 | # List of all the LPC13xx platform files. 2 | PLATFORMSRC = ${CHIBIOS}/os/hal/platforms/LPC13xx/hal_lld.c \ 3 | ${CHIBIOS}/os/hal/platforms/LPC13xx/gpt_lld.c \ 4 | ${CHIBIOS}/os/hal/platforms/LPC13xx/pal_lld.c \ 5 | ${CHIBIOS}/os/hal/platforms/LPC13xx/serial_lld.c \ 6 | ${CHIBIOS}/os/hal/platforms/LPC13xx/spi_lld.c 7 | 8 | # Required include directories 9 | PLATFORMINC = ${CHIBIOS}/os/hal/platforms/LPC13xx 10 | -------------------------------------------------------------------------------- /os/hal/platforms/LPC214x/platform.mk: -------------------------------------------------------------------------------- 1 | # List of all the LPC214x platform files. 2 | PLATFORMSRC = ${CHIBIOS}/os/hal/platforms/LPC214x/hal_lld.c \ 3 | ${CHIBIOS}/os/hal/platforms/LPC214x/pal_lld.c \ 4 | ${CHIBIOS}/os/hal/platforms/LPC214x/serial_lld.c \ 5 | ${CHIBIOS}/os/hal/platforms/LPC214x/spi_lld.c \ 6 | ${CHIBIOS}/os/hal/platforms/LPC214x/vic.c 7 | 8 | # Required include directories 9 | PLATFORMINC = ${CHIBIOS}/os/hal/platforms/LPC214x 10 | -------------------------------------------------------------------------------- /os/hal/platforms/LPC214x/vic.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | /** 22 | * @file LPC214x/vic.h 23 | * @brief LPC214x VIC peripheral support header. 24 | * 25 | * @addtogroup LPC214x_VIC 26 | * @{ 27 | */ 28 | 29 | #ifndef _VIC_H_ 30 | #define _VIC_H_ 31 | 32 | #ifdef __cplusplus 33 | extern "C" { 34 | #endif 35 | void vic_init(void); 36 | void SetVICVector(void *handler, int vector, int source); 37 | #ifdef __cplusplus 38 | } 39 | #endif 40 | 41 | #endif /* _VIC_H_ */ 42 | 43 | /** @} */ 44 | -------------------------------------------------------------------------------- /os/hal/platforms/MSP430/platform.mk: -------------------------------------------------------------------------------- 1 | # List of all the MSP430 platform files. 2 | PLATFORMSRC = ${CHIBIOS}/os/hal/platforms/MSP430/hal_lld.c \ 3 | ${CHIBIOS}/os/hal/platforms/MSP430/pal_lld.c \ 4 | ${CHIBIOS}/os/hal/platforms/MSP430/serial_lld.c 5 | 6 | # Required include directories 7 | PLATFORMINC = ${CHIBIOS}/os/hal/platforms/MSP430 8 | -------------------------------------------------------------------------------- /os/hal/platforms/Posix/platform.mk: -------------------------------------------------------------------------------- 1 | # List of all the Posix platform files. 2 | PLATFORMSRC = ${CHIBIOS}/os/hal/platforms/Posix/hal_lld.c \ 3 | ${CHIBIOS}/os/hal/platforms/Posix/pal_lld.c \ 4 | ${CHIBIOS}/os/hal/platforms/Posix/serial_lld.c 5 | 6 | # Required include directories 7 | PLATFORMINC = ${CHIBIOS}/os/hal/platforms/Posix 8 | -------------------------------------------------------------------------------- /os/hal/platforms/SPC560Pxx/platform.mk: -------------------------------------------------------------------------------- 1 | # List of all the SPC560Pxx platform files. 2 | PLATFORMSRC = ${CHIBIOS}/os/hal/platforms/SPC560Pxx/hal_lld.c \ 3 | ${CHIBIOS}/os/hal/platforms/SPC5xx/SIUL_v1/pal_lld.c \ 4 | ${CHIBIOS}/os/hal/platforms/SPC5xx/LINFlex_v1/serial_lld.c 5 | 6 | # Required include directories 7 | PLATFORMINC = ${CHIBIOS}/os/hal/platforms/SPC560Pxx \ 8 | ${CHIBIOS}/os/hal/platforms/SPC5xx/SIUL_v1 \ 9 | ${CHIBIOS}/os/hal/platforms/SPC5xx/LINFlex_v1 10 | -------------------------------------------------------------------------------- /os/hal/platforms/SPC560Pxx/typedefs.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | /** 22 | * @file SPC560Pxx/typedefs.h 23 | * @brief Dummy typedefs file. 24 | */ 25 | 26 | #ifndef _TYPEDEFS_H_ 27 | #define _TYPEDEFS_H_ 28 | 29 | #include "chtypes.h" 30 | 31 | #endif /* _TYPEDEFS_H_ */ 32 | -------------------------------------------------------------------------------- /os/hal/platforms/SPC560Pxx/xpc560p.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steve-bate/ChibiOS-RPi/b1c6f6fb0be3e8b5dd76d6ad84ebd169623c5843/os/hal/platforms/SPC560Pxx/xpc560p.h -------------------------------------------------------------------------------- /os/hal/platforms/SPC56x/mpc563m.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steve-bate/ChibiOS-RPi/b1c6f6fb0be3e8b5dd76d6ad84ebd169623c5843/os/hal/platforms/SPC56x/mpc563m.h -------------------------------------------------------------------------------- /os/hal/platforms/SPC56x/platform.mk: -------------------------------------------------------------------------------- 1 | # List of all the SPC56x platform files. 2 | PLATFORMSRC = ${CHIBIOS}/os/hal/platforms/SPC56x/hal_lld.c \ 3 | ${CHIBIOS}/os/hal/platforms/SPC56x/serial_lld.c 4 | 5 | # Required include directories 6 | PLATFORMINC = ${CHIBIOS}/os/hal/platforms/SPC56x 7 | -------------------------------------------------------------------------------- /os/hal/platforms/SPC56x/typedefs.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | /** 22 | * @file SPC56x/typedefs.h 23 | * @brief Dummy typedefs file. 24 | */ 25 | 26 | #ifndef _TYPEDEFS_H_ 27 | #define _TYPEDEFS_H_ 28 | 29 | #include "chtypes.h" 30 | 31 | #endif /* _TYPEDEFS_H_ */ 32 | -------------------------------------------------------------------------------- /os/hal/platforms/STM32F0xx/platform.mk: -------------------------------------------------------------------------------- 1 | # List of all the STM32F0xx platform files. 2 | PLATFORMSRC = ${CHIBIOS}/os/hal/platforms/STM32F0xx/stm32_dma.c \ 3 | ${CHIBIOS}/os/hal/platforms/STM32F0xx/hal_lld.c \ 4 | ${CHIBIOS}/os/hal/platforms/STM32F0xx/adc_lld.c \ 5 | ${CHIBIOS}/os/hal/platforms/STM32F0xx/ext_lld_isr.c \ 6 | ${CHIBIOS}/os/hal/platforms/STM32/ext_lld.c \ 7 | ${CHIBIOS}/os/hal/platforms/STM32/gpt_lld.c \ 8 | ${CHIBIOS}/os/hal/platforms/STM32/icu_lld.c \ 9 | ${CHIBIOS}/os/hal/platforms/STM32/pwm_lld.c \ 10 | ${CHIBIOS}/os/hal/platforms/STM32/serial_lld.c \ 11 | ${CHIBIOS}/os/hal/platforms/STM32/spi_lld.c \ 12 | ${CHIBIOS}/os/hal/platforms/STM32/GPIOv2/pal_lld.c \ 13 | ${CHIBIOS}/os/hal/platforms/STM32/USARTv2/uart_lld.c 14 | 15 | # Required include directories 16 | PLATFORMINC = ${CHIBIOS}/os/hal/platforms/STM32F0xx \ 17 | ${CHIBIOS}/os/hal/platforms/STM32 \ 18 | ${CHIBIOS}/os/hal/platforms/STM32/GPIOv2 \ 19 | ${CHIBIOS}/os/hal/platforms/STM32/USARTv2 20 | -------------------------------------------------------------------------------- /os/hal/platforms/STM32F3xx/platform.mk: -------------------------------------------------------------------------------- 1 | # List of all the STM32F3xx platform files. 2 | PLATFORMSRC = ${CHIBIOS}/os/hal/platforms/STM32F3xx/hal_lld.c \ 3 | ${CHIBIOS}/os/hal/platforms/STM32/serial_lld.c \ 4 | ${CHIBIOS}/os/hal/platforms/STM32/GPIOv2/pal_lld.c 5 | 6 | # Required include directories 7 | PLATFORMINC = ${CHIBIOS}/os/hal/platforms/STM32F3xx \ 8 | ${CHIBIOS}/os/hal/platforms/STM32 \ 9 | ${CHIBIOS}/os/hal/platforms/STM32/GPIOv2 10 | -------------------------------------------------------------------------------- /os/hal/platforms/STM32F3xx/stm32f30x.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steve-bate/ChibiOS-RPi/b1c6f6fb0be3e8b5dd76d6ad84ebd169623c5843/os/hal/platforms/STM32F3xx/stm32f30x.h -------------------------------------------------------------------------------- /os/hal/platforms/Win32/platform.mk: -------------------------------------------------------------------------------- 1 | # List of all the Win32 platform files. 2 | PLATFORMSRC = ${CHIBIOS}/os/hal/platforms/Win32/hal_lld.c \ 3 | ${CHIBIOS}/os/hal/platforms/Win32/pal_lld.c \ 4 | ${CHIBIOS}/os/hal/platforms/Win32/serial_lld.c 5 | 6 | # Required include directories 7 | PLATFORMINC = ${CHIBIOS}/os/hal/platforms/Win32 8 | -------------------------------------------------------------------------------- /os/hal/platforms/platforms.dox: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | /** 22 | * @defgroup platforms Platforms 23 | * @brief Supported platforms. 24 | * @details The implementation of the device drivers can be slightly different 25 | * on the various platforms because architectural constrains. This section 26 | * describes the implementation of the various device drivers on the various 27 | * supported platforms. 28 | */ 29 | -------------------------------------------------------------------------------- /os/kernel/kernel.mk: -------------------------------------------------------------------------------- 1 | # List of all the ChibiOS/RT 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 | KERNSRC = ${CHIBIOS}/os/kernel/src/chsys.c \ 4 | ${CHIBIOS}/os/kernel/src/chdebug.c \ 5 | ${CHIBIOS}/os/kernel/src/chlists.c \ 6 | ${CHIBIOS}/os/kernel/src/chvt.c \ 7 | ${CHIBIOS}/os/kernel/src/chschd.c \ 8 | ${CHIBIOS}/os/kernel/src/chthreads.c \ 9 | ${CHIBIOS}/os/kernel/src/chdynamic.c \ 10 | ${CHIBIOS}/os/kernel/src/chregistry.c \ 11 | ${CHIBIOS}/os/kernel/src/chsem.c \ 12 | ${CHIBIOS}/os/kernel/src/chmtx.c \ 13 | ${CHIBIOS}/os/kernel/src/chcond.c \ 14 | ${CHIBIOS}/os/kernel/src/chevents.c \ 15 | ${CHIBIOS}/os/kernel/src/chmsg.c \ 16 | ${CHIBIOS}/os/kernel/src/chmboxes.c \ 17 | ${CHIBIOS}/os/kernel/src/chqueues.c \ 18 | ${CHIBIOS}/os/kernel/src/chmemcore.c \ 19 | ${CHIBIOS}/os/kernel/src/chheap.c \ 20 | ${CHIBIOS}/os/kernel/src/chmempools.c 21 | 22 | # Required include directories 23 | KERNINC = ${CHIBIOS}/os/kernel/include 24 | -------------------------------------------------------------------------------- /os/ports/GCC/ARM/AT91SAM7/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT ARM7 AT91SAM7 port files. 2 | PORTSRC = ${CHIBIOS}/os/ports/GCC/ARM/chcore.c 3 | 4 | PORTASM = ${CHIBIOS}/os/ports/GCC/ARM/crt0.s \ 5 | ${CHIBIOS}/os/ports/GCC/ARM/chcoreasm.s \ 6 | ${CHIBIOS}/os/ports/GCC/ARM/AT91SAM7/vectors.s 7 | 8 | PORTINC = ${CHIBIOS}/os/ports/GCC/ARM \ 9 | ${CHIBIOS}/os/ports/GCC/ARM/AT91SAM7 10 | 11 | PORTLD = ${CHIBIOS}/os/ports/GCC/ARM/AT91SAM7/ld 12 | -------------------------------------------------------------------------------- /os/ports/GCC/ARM/AT91SAM7/wfi.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | #ifndef _WFI_H_ 22 | #define _WFI_H_ 23 | 24 | #include "board.h" 25 | 26 | #ifndef port_wait_for_interrupt 27 | #if ENABLE_WFI_IDLE != 0 28 | #define port_wait_for_interrupt() { \ 29 | AT91C_BASE_SYS->PMC_SCDR = AT91C_PMC_PCK; \ 30 | } 31 | #else 32 | #define port_wait_for_interrupt() 33 | #endif 34 | #endif 35 | 36 | #endif /* _WFI_H_ */ 37 | -------------------------------------------------------------------------------- /os/ports/GCC/ARM/BCM2835/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT ARM7 BCM2835 port files. 2 | PORTSRC = ${CHIBIOS}/os/ports/GCC/ARM/chcore.c 3 | 4 | PORTASM = ${CHIBIOS}/os/ports/GCC/ARM/crt0.s \ 5 | ${CHIBIOS}/os/ports/GCC/ARM/chcoreasm.s \ 6 | ${CHIBIOS}/os/ports/GCC/ARM/BCM2835/vectors.s 7 | 8 | PORTINC = ${CHIBIOS}/os/ports/GCC/ARM \ 9 | ${CHIBIOS}/os/ports/GCC/ARM/BCM2835 10 | 11 | PORTLD = ${CHIBIOS}/os/ports/GCC/ARM/BCM2835/ld 12 | -------------------------------------------------------------------------------- /os/ports/GCC/ARM/LPC214x/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT ARM7 LPC214x port files. 2 | PORTSRC = ${CHIBIOS}/os/ports/GCC/ARM/chcore.c 3 | 4 | PORTASM = ${CHIBIOS}/os/ports/GCC/ARM/crt0.s \ 5 | ${CHIBIOS}/os/ports/GCC/ARM/chcoreasm.s \ 6 | ${CHIBIOS}/os/ports/GCC/ARM/LPC214x/vectors.s 7 | 8 | PORTINC = ${CHIBIOS}/os/ports/GCC/ARM \ 9 | ${CHIBIOS}/os/ports/GCC/ARM/LPC214x 10 | 11 | PORTLD = ${CHIBIOS}/os/ports/GCC/ARM/LPC214x/ld 12 | -------------------------------------------------------------------------------- /os/ports/GCC/ARM/LPC214x/wfi.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | #ifndef _WFI_H_ 22 | #define _WFI_H_ 23 | 24 | #include "lpc214x.h" 25 | 26 | #ifndef port_wait_for_interrupt 27 | #if ENABLE_WFI_IDLE != 0 28 | #define port_wait_for_interrupt() { \ 29 | PCON = 1; \ 30 | } 31 | #else 32 | #define port_wait_for_interrupt() 33 | #endif 34 | #endif 35 | 36 | #endif /* _WFI_H_ */ 37 | -------------------------------------------------------------------------------- /os/ports/GCC/ARM/chcore.c: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | /** 22 | * @file ARM/chcore.c 23 | * @brief ARM7/9 architecture port code. 24 | * 25 | * @addtogroup ARM_CORE 26 | * @{ 27 | */ 28 | 29 | #include "ch.h" 30 | 31 | /** 32 | * Halts the system. 33 | */ 34 | #if !defined(__DOXYGEN__) 35 | __attribute__((weak)) 36 | #endif 37 | void port_halt(void) { 38 | 39 | port_disable(); 40 | while (TRUE) { 41 | } 42 | } 43 | 44 | /** @} */ 45 | -------------------------------------------------------------------------------- /os/ports/GCC/ARMCMx/LPC11xx/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT Cortex-M0 LPC11xx port files. 2 | PORTSRC = $(CHIBIOS)/os/ports/GCC/ARMCMx/crt0.c \ 3 | $(CHIBIOS)/os/ports/GCC/ARMCMx/LPC11xx/vectors.c \ 4 | ${CHIBIOS}/os/ports/GCC/ARMCMx/chcore.c \ 5 | ${CHIBIOS}/os/ports/GCC/ARMCMx/chcore_v6m.c \ 6 | ${CHIBIOS}/os/ports/common/ARMCMx/nvic.c 7 | 8 | PORTASM = 9 | 10 | PORTINC = ${CHIBIOS}/os/ports/common/ARMCMx/CMSIS/include \ 11 | ${CHIBIOS}/os/ports/common/ARMCMx \ 12 | ${CHIBIOS}/os/ports/GCC/ARMCMx \ 13 | ${CHIBIOS}/os/ports/GCC/ARMCMx/LPC11xx 14 | 15 | PORTLD = ${CHIBIOS}/os/ports/GCC/ARMCMx/LPC11xx/ld 16 | -------------------------------------------------------------------------------- /os/ports/GCC/ARMCMx/LPC13xx/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT Cortex-M0 LPC13xx port files. 2 | PORTSRC = $(CHIBIOS)/os/ports/GCC/ARMCMx/crt0.c \ 3 | $(CHIBIOS)/os/ports/GCC/ARMCMx/LPC13xx/vectors.c \ 4 | ${CHIBIOS}/os/ports/GCC/ARMCMx/chcore.c \ 5 | ${CHIBIOS}/os/ports/GCC/ARMCMx/chcore_v7m.c \ 6 | ${CHIBIOS}/os/ports/common/ARMCMx/nvic.c 7 | 8 | PORTASM = 9 | 10 | PORTINC = ${CHIBIOS}/os/ports/common/ARMCMx/CMSIS/include \ 11 | ${CHIBIOS}/os/ports/common/ARMCMx \ 12 | ${CHIBIOS}/os/ports/GCC/ARMCMx \ 13 | ${CHIBIOS}/os/ports/GCC/ARMCMx/LPC13xx 14 | 15 | PORTLD = ${CHIBIOS}/os/ports/GCC/ARMCMx/LPC13xx/ld 16 | -------------------------------------------------------------------------------- /os/ports/GCC/ARMCMx/STM32F0xx/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT Cortex-M0 STM32 port files. 2 | PORTSRC = $(CHIBIOS)/os/ports/GCC/ARMCMx/crt0.c \ 3 | $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F0xx/vectors.c \ 4 | ${CHIBIOS}/os/ports/GCC/ARMCMx/chcore.c \ 5 | ${CHIBIOS}/os/ports/GCC/ARMCMx/chcore_v6m.c \ 6 | ${CHIBIOS}/os/ports/common/ARMCMx/nvic.c 7 | 8 | PORTASM = 9 | 10 | PORTINC = ${CHIBIOS}/os/ports/common/ARMCMx/CMSIS/include \ 11 | ${CHIBIOS}/os/ports/common/ARMCMx \ 12 | ${CHIBIOS}/os/ports/GCC/ARMCMx \ 13 | ${CHIBIOS}/os/ports/GCC/ARMCMx/STM32F0xx 14 | 15 | PORTLD = ${CHIBIOS}/os/ports/GCC/ARMCMx/STM32F0xx/ld 16 | -------------------------------------------------------------------------------- /os/ports/GCC/ARMCMx/STM32F1xx/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT Cortex-M3 STM32 port files. 2 | PORTSRC = $(CHIBIOS)/os/ports/GCC/ARMCMx/crt0.c \ 3 | $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F1xx/vectors.c \ 4 | ${CHIBIOS}/os/ports/GCC/ARMCMx/chcore.c \ 5 | ${CHIBIOS}/os/ports/GCC/ARMCMx/chcore_v7m.c \ 6 | ${CHIBIOS}/os/ports/common/ARMCMx/nvic.c 7 | 8 | PORTASM = 9 | 10 | PORTINC = ${CHIBIOS}/os/ports/common/ARMCMx/CMSIS/include \ 11 | ${CHIBIOS}/os/ports/common/ARMCMx \ 12 | ${CHIBIOS}/os/ports/GCC/ARMCMx \ 13 | ${CHIBIOS}/os/ports/GCC/ARMCMx/STM32F1xx 14 | 15 | PORTLD = ${CHIBIOS}/os/ports/GCC/ARMCMx/STM32F1xx/ld 16 | -------------------------------------------------------------------------------- /os/ports/GCC/ARMCMx/STM32F2xx/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT Cortex-M3 STM32 port files. 2 | PORTSRC = $(CHIBIOS)/os/ports/GCC/ARMCMx/crt0.c \ 3 | $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F2xx/vectors.c \ 4 | ${CHIBIOS}/os/ports/GCC/ARMCMx/chcore.c \ 5 | ${CHIBIOS}/os/ports/GCC/ARMCMx/chcore_v7m.c \ 6 | ${CHIBIOS}/os/ports/common/ARMCMx/nvic.c 7 | 8 | PORTASM = 9 | 10 | PORTINC = ${CHIBIOS}/os/ports/common/ARMCMx/CMSIS/include \ 11 | ${CHIBIOS}/os/ports/common/ARMCMx \ 12 | ${CHIBIOS}/os/ports/GCC/ARMCMx \ 13 | ${CHIBIOS}/os/ports/GCC/ARMCMx/STM32F2xx 14 | 15 | PORTLD = ${CHIBIOS}/os/ports/GCC/ARMCMx/STM32F2xx/ld 16 | -------------------------------------------------------------------------------- /os/ports/GCC/ARMCMx/STM32F3xx/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT Cortex-M4 STM32 port files. 2 | PORTSRC = $(CHIBIOS)/os/ports/GCC/ARMCMx/crt0.c \ 3 | $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F3xx/vectors.c \ 4 | ${CHIBIOS}/os/ports/GCC/ARMCMx/chcore.c \ 5 | ${CHIBIOS}/os/ports/GCC/ARMCMx/chcore_v7m.c \ 6 | ${CHIBIOS}/os/ports/common/ARMCMx/nvic.c 7 | 8 | PORTASM = 9 | 10 | PORTINC = ${CHIBIOS}/os/ports/common/ARMCMx/CMSIS/include \ 11 | ${CHIBIOS}/os/ports/common/ARMCMx \ 12 | ${CHIBIOS}/os/ports/GCC/ARMCMx \ 13 | ${CHIBIOS}/os/ports/GCC/ARMCMx/STM32F3xx 14 | 15 | PORTLD = ${CHIBIOS}/os/ports/GCC/ARMCMx/STM32F3xx/ld 16 | -------------------------------------------------------------------------------- /os/ports/GCC/ARMCMx/STM32F4xx/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT Cortex-M4 STM32 port files. 2 | PORTSRC = $(CHIBIOS)/os/ports/GCC/ARMCMx/crt0.c \ 3 | $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F4xx/vectors.c \ 4 | ${CHIBIOS}/os/ports/GCC/ARMCMx/chcore.c \ 5 | ${CHIBIOS}/os/ports/GCC/ARMCMx/chcore_v7m.c \ 6 | ${CHIBIOS}/os/ports/common/ARMCMx/nvic.c 7 | 8 | PORTASM = 9 | 10 | PORTINC = ${CHIBIOS}/os/ports/common/ARMCMx/CMSIS/include \ 11 | ${CHIBIOS}/os/ports/common/ARMCMx \ 12 | ${CHIBIOS}/os/ports/GCC/ARMCMx \ 13 | ${CHIBIOS}/os/ports/GCC/ARMCMx/STM32F4xx 14 | 15 | PORTLD = ${CHIBIOS}/os/ports/GCC/ARMCMx/STM32F4xx/ld 16 | -------------------------------------------------------------------------------- /os/ports/GCC/ARMCMx/STM32L1xx/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT Cortex-M3 STM32L1xx port files. 2 | PORTSRC = $(CHIBIOS)/os/ports/GCC/ARMCMx/crt0.c \ 3 | $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32L1xx/vectors.c \ 4 | ${CHIBIOS}/os/ports/GCC/ARMCMx/chcore.c \ 5 | ${CHIBIOS}/os/ports/GCC/ARMCMx/chcore_v7m.c \ 6 | ${CHIBIOS}/os/ports/common/ARMCMx/nvic.c 7 | 8 | PORTASM = 9 | 10 | PORTINC = ${CHIBIOS}/os/ports/common/ARMCMx/CMSIS/include \ 11 | ${CHIBIOS}/os/ports/common/ARMCMx \ 12 | ${CHIBIOS}/os/ports/GCC/ARMCMx \ 13 | ${CHIBIOS}/os/ports/GCC/ARMCMx/STM32L1xx 14 | 15 | PORTLD = ${CHIBIOS}/os/ports/GCC/ARMCMx/STM32L1xx/ld 16 | -------------------------------------------------------------------------------- /os/ports/GCC/AVR/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT AVR port files. 2 | PORTSRC = ${CHIBIOS}/os/ports/GCC/AVR/chcore.c 3 | 4 | PORTASM = 5 | 6 | PORTINC = ${CHIBIOS}/os/ports/GCC/AVR 7 | -------------------------------------------------------------------------------- /os/ports/GCC/MSP430/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT MSP430 port files. 2 | PORTSRC = ${CHIBIOS}/os/ports/GCC/MSP430/chcore.c 3 | 4 | PORTASM = 5 | 6 | PORTINC = ${CHIBIOS}/os/ports/GCC/MSP430 7 | -------------------------------------------------------------------------------- /os/ports/GCC/PPC/SPC560Pxx/bam.s: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | /** 22 | * @file SPC560Pxx/bam.s 23 | * @brief SPC560Pxx boot assistant record. 24 | * 25 | * @addtogroup PPC_CORE 26 | * @{ 27 | */ 28 | 29 | #if !defined(__DOXYGEN__) 30 | 31 | /* BAM info, SWT off, WTE off, VLE from settings.*/ 32 | .section .bam, "ax" 33 | .long 0x015A0000 34 | .long _boot_address 35 | 36 | #endif /* !defined(__DOXYGEN__) */ 37 | 38 | /** @} */ 39 | -------------------------------------------------------------------------------- /os/ports/GCC/PPC/SPC560Pxx/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT SPC560Pxx port files. 2 | PORTSRC = ${CHIBIOS}/os/ports/GCC/PPC/chcore.c 3 | 4 | PORTASM = ${CHIBIOS}/os/ports/GCC/PPC/bam.s \ 5 | ${CHIBIOS}/os/ports/GCC/PPC/crt0.s \ 6 | ${CHIBIOS}/os/ports/GCC/PPC/SPC560Pxx/ivor.s \ 7 | ${CHIBIOS}/os/ports/GCC/PPC/SPC560Pxx/vectors.s 8 | 9 | PORTINC = ${CHIBIOS}/os/ports/GCC/PPC \ 10 | ${CHIBIOS}/os/ports/GCC/PPC/SPC560Pxx 11 | 12 | PORTLD = ${CHIBIOS}/os/ports/GCC/PPC/SPC560Pxx/ld 13 | -------------------------------------------------------------------------------- /os/ports/GCC/PPC/SPC563Mxx/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT SPC563Mxx port files. 2 | PORTSRC = ${CHIBIOS}/os/ports/GCC/PPC/chcore.c 3 | 4 | PORTASM = ${CHIBIOS}/os/ports/GCC/PPC/SPC563Mxx/vectors.s \ 5 | ${CHIBIOS}/os/ports/GCC/PPC/SPC563Mxx/ivor.s \ 6 | ${CHIBIOS}/os/ports/GCC/PPC/crt0.s 7 | 8 | PORTINC = ${CHIBIOS}/os/ports/GCC/PPC \ 9 | ${CHIBIOS}/os/ports/GCC/PPC/SPC563Mxx 10 | 11 | PORTLD = ${CHIBIOS}/os/ports/GCC/PPC/SPC563Mxx/ld 12 | -------------------------------------------------------------------------------- /os/ports/GCC/SIMIA32/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT SIMIA32 port files. 2 | PORTSRC = ${CHIBIOS}/os/ports/GCC/SIMIA32/chcore.c 3 | 4 | PORTASM = 5 | 6 | PORTINC = ${CHIBIOS}/os/ports/GCC/SIMIA32 7 | -------------------------------------------------------------------------------- /os/ports/common/ARMCMx/CMSIS/readme.txt: -------------------------------------------------------------------------------- 1 | CMSIS is Copyright (C) 2011 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.onarm.com 7 | -------------------------------------------------------------------------------- /os/ports/common/ARMCMx/port.dox: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | /** 22 | * @defgroup COMMON_ARMCMx ARM Cortex-Mx Common Code 23 | * @ingroup port_common 24 | */ 25 | 26 | /** 27 | * @defgroup COMMON_ARMCMx_NVIC NVIC Support 28 | * @details ARM Cortex-Mx NVIC support. 29 | * 30 | * @ingroup COMMON_ARMCMx 31 | */ 32 | 33 | /** @} */ 34 | -------------------------------------------------------------------------------- /os/various/devices_lib/accel/lis302dl.dox: -------------------------------------------------------------------------------- 1 | * 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | /** 22 | * @defgroup lis302dl Interface module for LIS302DL MEMS 23 | * 24 | * @brief Interface module for LIS302DL MEMS. 25 | * @details This module implements a generic interface for the LIS302DL 26 | * STMicroelectronics MEMS device. The communication is performed 27 | * through a standard SPI driver. 28 | * 29 | * @ingroup accel 30 | */ 31 | -------------------------------------------------------------------------------- /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/ccsbcs.c \ 6 | 7 | FATFSINC = ${CHIBIOS}/ext/fatfs/src 8 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 FatFS within ChibiOS/RT project, unzip FatFS under 5 | ./ext/lwip-1.4.0 then include $(CHIBIOS)/os/various/lwip_bindings/lwip.mk 6 | in your makefile. 7 | -------------------------------------------------------------------------------- /test/coverage/readme.txt: -------------------------------------------------------------------------------- 1 | In order to compute the code coverage: 2 | 3 | - Build the test application: make 4 | - Run the test suite: ch 5 | - Compute the code coverage: make gcov 6 | - Clear everything: make clean 7 | -------------------------------------------------------------------------------- /test/test.mk: -------------------------------------------------------------------------------- 1 | # List of all the ChibiOS/RT test files. 2 | TESTSRC = ${CHIBIOS}/test/test.c \ 3 | ${CHIBIOS}/test/testthd.c \ 4 | ${CHIBIOS}/test/testsem.c \ 5 | ${CHIBIOS}/test/testmtx.c \ 6 | ${CHIBIOS}/test/testmsg.c \ 7 | ${CHIBIOS}/test/testmbox.c \ 8 | ${CHIBIOS}/test/testevt.c \ 9 | ${CHIBIOS}/test/testheap.c \ 10 | ${CHIBIOS}/test/testpools.c \ 11 | ${CHIBIOS}/test/testdyn.c \ 12 | ${CHIBIOS}/test/testqueues.c \ 13 | ${CHIBIOS}/test/testbmk.c 14 | 15 | # Required include directories 16 | TESTINC = ${CHIBIOS}/test 17 | -------------------------------------------------------------------------------- /test/testbmk.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | #ifndef _TESTBMK_H_ 22 | #define _TESTBMK_H_ 23 | 24 | extern ROMCONST struct testcase * ROMCONST patternbmk[]; 25 | 26 | #endif /* _TESTBMK_H_ */ 27 | -------------------------------------------------------------------------------- /test/testdyn.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | #ifndef _TESTDYN_H_ 22 | #define _TESTDYN_H_ 23 | 24 | extern ROMCONST struct testcase * ROMCONST patterndyn[]; 25 | 26 | #endif /* _TESTDYN_H_ */ 27 | -------------------------------------------------------------------------------- /test/testevt.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | #ifndef _TESTEVT_H_ 22 | #define _TESTEVT_H_ 23 | 24 | extern ROMCONST struct testcase * ROMCONST patternevt[]; 25 | 26 | #endif /* _TESTEVT_H_ */ 27 | -------------------------------------------------------------------------------- /test/testheap.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | #ifndef _TESTHEAP_H_ 22 | #define _TESTHEAP_H_ 23 | 24 | extern ROMCONST struct testcase * ROMCONST patternheap[]; 25 | 26 | #endif /* _TESTHEAP_H_ */ 27 | -------------------------------------------------------------------------------- /test/testmbox.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | #ifndef _TESTMBOX_H_ 22 | #define _TESTMBOX_H_ 23 | 24 | extern ROMCONST struct testcase * ROMCONST patternmbox[]; 25 | 26 | #endif /* _TESTMBOX_H_ */ 27 | -------------------------------------------------------------------------------- /test/testmsg.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | #ifndef _TESTMSG_H_ 22 | #define _TESTMSG_H_ 23 | 24 | extern ROMCONST struct testcase * ROMCONST patternmsg[]; 25 | 26 | #endif /* _TESTMSG_H_ */ 27 | -------------------------------------------------------------------------------- /test/testmtx.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | #ifndef _TESTMTX_H_ 22 | #define _TESTMTX_H_ 23 | 24 | extern ROMCONST struct testcase * ROMCONST patternmtx[]; 25 | 26 | #endif /* _TESTMTX_H_ */ 27 | -------------------------------------------------------------------------------- /test/testpools.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | #ifndef _TESTPOOLS_H_ 22 | #define _TESTPOOLS_H_ 23 | 24 | extern ROMCONST struct testcase * ROMCONST patternpools[]; 25 | 26 | #endif /* _TESTPOOLS_H_ */ 27 | -------------------------------------------------------------------------------- /test/testqueues.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | #ifndef _TESTQUEUES_H_ 22 | #define _TESTQUEUES_H_ 23 | 24 | extern ROMCONST struct testcase * ROMCONST patternqueues[]; 25 | 26 | #endif /* _TESTQUEUES_H_ */ 27 | -------------------------------------------------------------------------------- /test/testsem.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | #ifndef _TESTSEM_H_ 22 | #define _TESTSEM_H_ 23 | 24 | extern ROMCONST struct testcase * ROMCONST patternsem[]; 25 | 26 | #endif /* _TESTSEM_H_ */ 27 | -------------------------------------------------------------------------------- /test/testthd.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | #ifndef _TESTRDY_H_ 22 | #define _TESTRDY_H_ 23 | 24 | extern ROMCONST struct testcase * ROMCONST patternthd[]; 25 | 26 | #endif /* _TESTRDY_H_ */ 27 | -------------------------------------------------------------------------------- /testhal/BCM2835/GPIO/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for BCM2835 / ARM1176JZF-S 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The GPIO demo runs on an Raspberry Pi RevB board. 8 | 9 | ** The Demo ** 10 | 11 | The GPIO demonstration provides a simple example for polling and writing GPIO ports. 12 | 13 | ** Build Procedure ** 14 | 15 | This was built with the Yagarto GCC toolchain. 16 | 17 | ** Notes ** 18 | 19 | -------------------------------------------------------------------------------- /testhal/BCM2835/GPT/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for BCM2835 / ARM1176JZF-S 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The GPT demo runs on an Raspberry Pi RevB board. 8 | 9 | ** The Demo ** 10 | 11 | This shows use of the polling and oneshot/continuous async timers. 12 | 13 | ** Build Procedure ** 14 | 15 | This was built with the Yagarto GCC toolchain. 16 | 17 | ** Notes ** 18 | 19 | -------------------------------------------------------------------------------- /testhal/BCM2835/I2C/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for BCM2835 / ARM1176JZF-S 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The I2C demo runs on an Raspberry Pi RevB board. 8 | 9 | ** The Demo ** 10 | 11 | This demo reads a TMP102 temperature sensor and uses a MCP4725 12 bit DAC 12 | (Digital/Analog Converter) to generate a voltage representing the 13 | fahrenheit temperature in millivolts. For example, a temperature of 75 14 | degrees would generate 75 millivolts. Therefore, a digital voltmeter 15 | can be used as a digital temperature display. 16 | 17 | ** Build Procedure ** 18 | 19 | This was built with the Yagarto GCC toolchain. 20 | 21 | ** Notes ** 22 | 23 | -------------------------------------------------------------------------------- /testhal/BCM2835/PWM/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for BCM2835 / ARM1176JZF-S 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The PWM demo runs on an Raspberry Pi RevB board. 8 | 9 | ** The Demo ** 10 | 11 | This demo shows use of hardware PWM peripheral. 12 | 13 | ** Build Procedure ** 14 | 15 | This was built with the Yagarto GCC toolchain. 16 | 17 | ** Notes ** 18 | 19 | -------------------------------------------------------------------------------- /testhal/BCM2835/RTC/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for BCM2835 / ARM1176JZF-S 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The RTC demo runs on an Raspberry Pi RevB board. 8 | 9 | ** The Demo ** 10 | 11 | This demo uses a DS1307 RTC to provide a real-time clock for the Pi 12 | ** Build Procedure ** 13 | 14 | This was built with the Yagarto GCC toolchain. 15 | 16 | ** Notes ** 17 | 18 | -------------------------------------------------------------------------------- /testhal/BCM2835/SPI/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for BCM2835 / ARM1176JZF-S 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The SPI demo runs on an Raspberry Pi RevB board. 8 | 9 | ** The Demo ** 10 | 11 | This demo reads values from a MCP3008 ADC using SPI. 12 | 13 | ** Build Procedure ** 14 | 15 | This was built with the Yagarto GCC toolchain. 16 | 17 | ** Notes ** 18 | 19 | -------------------------------------------------------------------------------- /testhal/LPC11xx/IRQ_STORM/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - IRQ-STORM demo for LPC11xx. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo will on an LPCXpresso LPC1114 board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the LPC11xx GPT, PAL and Serial drivers 12 | in order to implement a system stress demo. 13 | 14 | ** Build Procedure ** 15 | 16 | The demo has been tested using the free LPCXpresso toolchain but also with 17 | Codesourcery and YAGARTO. 18 | Just modify the TRGT line in the makefile in order to use different GCC ports. 19 | 20 | ** Notes ** 21 | 22 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 23 | NXP and are licensed under a different license. 24 | 25 | http://www.nxp.com 26 | -------------------------------------------------------------------------------- /testhal/LPC13xx/IRQ_STORM/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - IRQ-STORM demo for LPC13xx. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo will on an LPCXpresso LPC1114 board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the LPC13xx GPT, PAL and Serial drivers 12 | in order to implement a system stress demo. 13 | 14 | ** Build Procedure ** 15 | 16 | The demo has been tested using the free LPCXpresso toolchain but also with 17 | Codesourcery and YAGARTO. 18 | Just modify the TRGT line in the makefile in order to use different GCC ports. 19 | 20 | ** Notes ** 21 | 22 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 23 | NXP and are licensed under a different license. 24 | 25 | http://www.nxp.com 26 | -------------------------------------------------------------------------------- /testhal/STM32F0xx/ADC/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - ADC driver demo for STM32F0xx. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo will on an STMicroelectronics STM32F0-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F0xx ADC driver. 12 | 13 | ** Board Setup ** 14 | 15 | - Remove the LCD module. 16 | - Connect PC0 to 3.3V and PC1 to GND for analog measurements. 17 | 18 | ** Build Procedure ** 19 | 20 | The demo has been tested using the free Codesourcery GCC-based toolchain 21 | and YAGARTO. 22 | Just modify the TRGT line in the makefile in order to use different GCC ports. 23 | 24 | ** Notes ** 25 | 26 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 27 | ST Microelectronics and are licensed under a different license. 28 | Also note that not all the files present in the ST library are distributed 29 | with ChibiOS/RT, you can find the whole library on the ST web site: 30 | 31 | http://www.st.com 32 | -------------------------------------------------------------------------------- /testhal/STM32F0xx/EXT/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - EXT driver demo for STM32F0xx. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo will on an STMicroelectronics STM32F0-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F0xx EXT driver. 12 | 13 | ** Board Setup ** 14 | 15 | None required. 16 | 17 | ** Build Procedure ** 18 | 19 | The demo has been tested using the free Codesourcery GCC-based toolchain 20 | and YAGARTO. 21 | Just modify the TRGT line in the makefile in order to use different GCC ports. 22 | 23 | ** Notes ** 24 | 25 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 26 | ST Microelectronics and are licensed under a different license. 27 | Also note that not all the files present in the ST library are distributed 28 | with ChibiOS/RT, you can find the whole library on the ST web site: 29 | 30 | http://www.st.com 31 | -------------------------------------------------------------------------------- /testhal/STM32F0xx/IRQ_STORM/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - IRQ_STORM stress test demo for STM32F0xx. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo will on an STMicroelectronics STM32F0-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F0xx GPT, PAL and Serial 12 | drivers in order to implement a system stress demo. 13 | 14 | ** Board Setup ** 15 | 16 | None. 17 | 18 | ** Build Procedure ** 19 | 20 | The demo has been tested using the free Codesourcery GCC-based toolchain 21 | and YAGARTO. 22 | Just modify the TRGT line in the makefile in order to use different GCC ports. 23 | 24 | ** Notes ** 25 | 26 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 27 | ST Microelectronics and are licensed under a different license. 28 | Also note that not all the files present in the ST library are distributed 29 | with ChibiOS/RT, you can find the whole library on the ST web site: 30 | 31 | http://www.st.com 32 | -------------------------------------------------------------------------------- /testhal/STM32F0xx/PWM-ICU/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - PWM-ICU drivers demo for STM32F0xx. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo will on an STMicroelectronics STM32F0-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F0xx PWM-ICU drivers. 12 | 13 | ** Board Setup ** 14 | 15 | - Connect PA15 and PC6 together. 16 | 17 | ** Build Procedure ** 18 | 19 | The demo has been tested using the free Codesourcery GCC-based toolchain 20 | and YAGARTO. 21 | Just modify the TRGT line in the makefile in order to use different GCC ports. 22 | 23 | ** Notes ** 24 | 25 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 26 | ST Microelectronics and are licensed under a different license. 27 | Also note that not all the files present in the ST library are distributed 28 | with ChibiOS/RT, you can find the whole library on the ST web site: 29 | 30 | http://www.st.com 31 | -------------------------------------------------------------------------------- /testhal/STM32F0xx/UART/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - UART driver demo for STM32F0xx. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an STMicroelectronics STM32F0-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F0xx UART driver. 12 | 13 | ** Board Setup ** 14 | 15 | - Connect an RS232 transceiver to pins PA9(TX) and PA10(RX). 16 | - Connect a terminal emulator to the transceiver (38400-N-8-1). 17 | 18 | ** Build Procedure ** 19 | 20 | The demo has been tested using the free Codesourcery GCC-based toolchain 21 | and YAGARTO. 22 | Just modify the TRGT line in the makefile in order to use different GCC ports. 23 | 24 | ** Notes ** 25 | 26 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 27 | ST Microelectronics and are licensed under a different license. 28 | Also note that not all the files present in the ST library are distributed 29 | with ChibiOS/RT, you can find the whole library on the ST web site: 30 | 31 | http://www.st.com 32 | -------------------------------------------------------------------------------- /testhal/STM32F1xx/ADC/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - ADC driver demo for STM32. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Olimex STM32-P103 board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32 ADC driver. 12 | 13 | ** Build Procedure ** 14 | 15 | The demo has been tested using the free Codesourcery GCC-based toolchain 16 | and YAGARTO. 17 | Just modify the TRGT line in the makefile in order to use different GCC ports. 18 | 19 | ** Notes ** 20 | 21 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 22 | ST Microelectronics and are licensed under a different license. 23 | Also note that not all the files present in the ST library are distributed 24 | with ChibiOS/RT, you can find the whole library on the ST web site: 25 | 26 | http://www.st.com 27 | -------------------------------------------------------------------------------- /testhal/STM32F1xx/CAN/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - CAN driver demo for STM32. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Olimex STM32-P103 board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32 CAN driver. 12 | 13 | ** Build Procedure ** 14 | 15 | The demo has been tested using the free Codesourcery GCC-based toolchain 16 | and YAGARTO. 17 | Just modify the TRGT line in the makefile in order to use different GCC ports. 18 | 19 | ** Notes ** 20 | 21 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 22 | ST Microelectronics and are licensed under a different license. 23 | Also note that not all the files present in the ST library are distributed 24 | with ChibiOS/RT, you can find the whole library on the ST web site: 25 | 26 | http://www.st.com 27 | -------------------------------------------------------------------------------- /testhal/STM32F1xx/EXT/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - EXT driver demo for STM32. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Olimex STM32-P103 board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32 EXT driver. 12 | 13 | ** Build Procedure ** 14 | 15 | The demo has been tested using the free Codesourcery GCC-based toolchain 16 | and YAGARTO. 17 | Just modify the TRGT line in the makefile in order to use different GCC ports. 18 | 19 | ** Notes ** 20 | 21 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 22 | ST Microelectronics and are licensed under a different license. 23 | Also note that not all the files present in the ST library are distributed 24 | with ChibiOS/RT, you can find the whole library on the ST web site: 25 | 26 | http://www.st.com 27 | -------------------------------------------------------------------------------- /testhal/STM32F1xx/GPT/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - GPT driver demo for STM32. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo will on an Olimex STM32-P103 board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32 GPT driver. 12 | 13 | ** Build Procedure ** 14 | 15 | The demo has been tested using the free Codesourcery GCC-based toolchain 16 | and YAGARTO. 17 | Just modify the TRGT line in the makefile in order to use different GCC ports. 18 | 19 | ** Notes ** 20 | 21 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 22 | ST Microelectronics and are licensed under a different license. 23 | Also note that not all the files present in the ST library are distributed 24 | with ChibiOS/RT, you can find the whole library on the ST web site: 25 | 26 | http://www.st.com 27 | -------------------------------------------------------------------------------- /testhal/STM32F1xx/I2C/fake.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | #ifndef FAKE_H_ 22 | #define FAKE_H_ 23 | 24 | void request_fake(void); 25 | 26 | #endif /* FAKE_H_ */ 27 | -------------------------------------------------------------------------------- /testhal/STM32F1xx/I2C/i2c_pns.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | #ifndef I2C_PNS_H_ 22 | #define I2C_PNS_H_ 23 | 24 | 25 | void I2CInit_pns(void); 26 | 27 | 28 | #endif /* I2C_PNS_H_ */ 29 | -------------------------------------------------------------------------------- /testhal/STM32F1xx/I2C/tmp75.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | #ifndef TMP75_H_ 22 | #define TMP75_H_ 23 | 24 | 25 | 26 | /* buffers depth */ 27 | #define TMP75_RX_DEPTH 2 28 | #define TMP75_TX_DEPTH 2 29 | 30 | void init_tmp75(void); 31 | void request_temperature(void); 32 | 33 | #endif /* TMP75_H_ */ 34 | -------------------------------------------------------------------------------- /testhal/STM32F1xx/IRQ_STORM/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - IRQ-STORM demo for STM32. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Olimex STM32-P103 board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F1xx GPT, PAL and Serial 12 | drivers in order to implement a system stress demo. 13 | 14 | ** Board Setup ** 15 | 16 | None. 17 | 18 | ** Build Procedure ** 19 | 20 | The demo has been tested using the free Codesourcery GCC-based toolchain 21 | and YAGARTO. 22 | Just modify the TRGT line in the makefile in order to use different GCC ports. 23 | 24 | ** Notes ** 25 | 26 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 27 | ST Microelectronics and are licensed under a different license. 28 | Also note that not all the files present in the ST library are distributed 29 | with ChibiOS/RT, you can find the whole library on the ST web site: 30 | 31 | http://www.st.com 32 | -------------------------------------------------------------------------------- /testhal/STM32F1xx/PWM-ICU/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - PWM/ICU driver demo for STM32. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Olimex STM32-P103 board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32 PWM and ICU drivers. Pins 12 | PA8 and PB6 must be connected in order to trigger the ICU input with the 13 | PWM output. The ICU unit will measure the generated PWM. 14 | 15 | ** Build Procedure ** 16 | 17 | The demo has been tested using the free Codesourcery GCC-based toolchain 18 | and YAGARTO. 19 | Just modify the TRGT line in the makefile in order to use different GCC ports. 20 | 21 | ** Notes ** 22 | 23 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 24 | ST Microelectronics and are licensed under a different license. 25 | Also note that not all the files present in the ST library are distributed 26 | with ChibiOS/RT, you can find the whole library on the ST web site: 27 | 28 | http://www.st.com 29 | -------------------------------------------------------------------------------- /testhal/STM32F1xx/RTC_FATTIME/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - USB-CDC driver demo for STM32. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Olimex STM32-P103 board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates checks timestamp correctness on FAT. 12 | 13 | ** Build Procedure ** 14 | 15 | The demo has been tested using the free Codesourcery GCC-based toolchain 16 | and YAGARTO. 17 | Just modify the TRGT line in the makefile in order to use different GCC ports. 18 | 19 | ** Notes ** 20 | 21 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 22 | ST Microelectronics and are licensed under a different license. 23 | Also note that not all the files present in the ST library are distributed 24 | with ChibiOS/RT, you can find the whole library on the ST web site: 25 | 26 | http://www.st.com 27 | -------------------------------------------------------------------------------- /testhal/STM32F1xx/SDC/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - SDC driver demo for STM32. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Olimex ST_STM3210E_EVAL board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32 SDC driver. 12 | 13 | ** Build Procedure ** 14 | 15 | The demo has been tested using the free Codesourcery GCC-based toolchain 16 | and YAGARTO. 17 | Just modify the TRGT line in the makefile in order to use different GCC ports. 18 | 19 | ** Notes ** 20 | 21 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 22 | ST Microelectronics and are licensed under a different license. 23 | Also note that not all the files present in the ST library are distributed 24 | with ChibiOS/RT, you can find the whole library on the ST web site: 25 | 26 | http://www.st.com 27 | -------------------------------------------------------------------------------- /testhal/STM32F1xx/SPI/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - SPI driver demo for STM32. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Olimex STM32-P103 board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32 SPI driver. 12 | 13 | ** Build Procedure ** 14 | 15 | The demo has been tested using the free Codesourcery GCC-based toolchain 16 | and YAGARTO. 17 | Just modify the TRGT line in the makefile in order to use different GCC ports. 18 | 19 | ** Notes ** 20 | 21 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 22 | ST Microelectronics and are licensed under a different license. 23 | Also note that not all the files present in the ST library are distributed 24 | with ChibiOS/RT, you can find the whole library on the ST web site: 25 | 26 | http://www.st.com 27 | -------------------------------------------------------------------------------- /testhal/STM32F1xx/UART/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - UART driver demo for STM32. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Olimex STM32-P103 board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32 UART driver. 12 | 13 | ** Build Procedure ** 14 | 15 | The demo has been tested using the free Codesourcery GCC-based toolchain 16 | and YAGARTO. 17 | Just modify the TRGT line in the makefile in order to use different GCC ports. 18 | 19 | ** Notes ** 20 | 21 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 22 | ST Microelectronics and are licensed under a different license. 23 | Also note that not all the files present in the ST library are distributed 24 | with ChibiOS/RT, you can find the whole library on the ST web site: 25 | 26 | http://www.st.com 27 | -------------------------------------------------------------------------------- /testhal/STM32F1xx/USB_CDC/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - USB-CDC driver demo for STM32. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Olimex STM32-P103 board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32 USB driver. 12 | 13 | ** Build Procedure ** 14 | 15 | The demo has been tested using the free Codesourcery GCC-based toolchain 16 | and YAGARTO. 17 | Just modify the TRGT line in the makefile in order to use different GCC ports. 18 | 19 | ** Notes ** 20 | 21 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 22 | ST Microelectronics and are licensed under a different license. 23 | Also note that not all the files present in the ST library are distributed 24 | with ChibiOS/RT, you can find the whole library on the ST web site: 25 | 26 | http://www.st.com 27 | -------------------------------------------------------------------------------- /testhal/STM32F1xx/USB_CDC_F107/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - USB-CDC driver demo for STM32. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Olimex STM32-P107 board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32 USB (OTG) driver. 12 | 13 | ** Build Procedure ** 14 | 15 | The demo has been tested using the free Codesourcery GCC-based toolchain 16 | and YAGARTO. 17 | Just modify the TRGT line in the makefile in order to use different GCC ports. 18 | 19 | ** Notes ** 20 | 21 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 22 | ST Microelectronics and are licensed under a different license. 23 | Also note that not all the files present in the ST library are distributed 24 | with ChibiOS/RT, you can find the whole library on the ST web site: 25 | 26 | http://www.st.com 27 | -------------------------------------------------------------------------------- /testhal/STM32F4xx/ADC/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - ADC driver demo for STM32F4xx. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo will on an STMicroelectronics STM32F4-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F4xx ADC driver. 12 | 13 | ** Board Setup ** 14 | 15 | - Connect PC1 to 3.3V and PC2 to GND for analog measurements. 16 | 17 | ** Build Procedure ** 18 | 19 | The demo has been tested using the free Codesourcery GCC-based toolchain 20 | and YAGARTO. 21 | Just modify the TRGT line in the makefile in order to use different GCC ports. 22 | 23 | ** Notes ** 24 | 25 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 26 | ST Microelectronics and are licensed under a different license. 27 | Also note that not all the files present in the ST library are distributed 28 | with ChibiOS/RT, you can find the whole library on the ST web site: 29 | 30 | http://www.st.com 31 | -------------------------------------------------------------------------------- /testhal/STM32F4xx/CAN/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - CAN driver demo for STM32. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo will on an STMicroelectronics STM32F4-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32 CAN driver. 12 | 13 | ** Build Procedure ** 14 | 15 | The demo has been tested using the free Codesourcery GCC-based toolchain 16 | and YAGARTO. 17 | Just modify the TRGT line in the makefile in order to use different GCC ports. 18 | 19 | ** Notes ** 20 | 21 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 22 | ST Microelectronics and are licensed under a different license. 23 | Also note that not all the files present in the ST library are distributed 24 | with ChibiOS/RT, you can find the whole library on the ST web site: 25 | 26 | http://www.st.com 27 | -------------------------------------------------------------------------------- /testhal/STM32F4xx/EXT/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - EXT driver demo for STM32F4xx. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo will on an STMicroelectronics STM32F4-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F4xx EXT driver. 12 | 13 | ** Board Setup ** 14 | 15 | None required. 16 | 17 | ** Build Procedure ** 18 | 19 | The demo has been tested using the free Codesourcery GCC-based toolchain 20 | and YAGARTO. 21 | Just modify the TRGT line in the makefile in order to use different GCC ports. 22 | 23 | ** Notes ** 24 | 25 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 26 | ST Microelectronics and are licensed under a different license. 27 | Also note that not all the files present in the ST library are distributed 28 | with ChibiOS/RT, you can find the whole library on the ST web site: 29 | 30 | http://www.st.com 31 | -------------------------------------------------------------------------------- /testhal/STM32F4xx/GPT/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - GPT driver demo for STM32F4xx. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo will on an STMicroelectronics STM32F4-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F4xx GPT driver. 12 | 13 | ** Board Setup ** 14 | 15 | None required. 16 | 17 | ** Build Procedure ** 18 | 19 | The demo has been tested using the free Codesourcery GCC-based toolchain 20 | and YAGARTO. 21 | Just modify the TRGT line in the makefile in order to use different GCC ports. 22 | 23 | ** Notes ** 24 | 25 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 26 | ST Microelectronics and are licensed under a different license. 27 | Also note that not all the files present in the ST library are distributed 28 | with ChibiOS/RT, you can find the whole library on the ST web site: 29 | 30 | http://www.st.com 31 | -------------------------------------------------------------------------------- /testhal/STM32F4xx/IRQ_STORM/iar/ch.eww: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $WS_DIR$\ch.ewp 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /testhal/STM32F4xx/IRQ_STORM/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - IRQ_STORM stress test demo for STM32F4xx. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo will on an STMicroelectronics STM32F4-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F4xx GPT, PAL and Serial 12 | drivers in order to implement a system stress demo. 13 | 14 | ** Board Setup ** 15 | 16 | None. 17 | 18 | ** Build Procedure ** 19 | 20 | The demo has been tested using the free Codesourcery GCC-based toolchain 21 | and YAGARTO. 22 | Just modify the TRGT line in the makefile in order to use different GCC ports. 23 | 24 | ** Notes ** 25 | 26 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 27 | ST Microelectronics and are licensed under a different license. 28 | Also note that not all the files present in the ST library are distributed 29 | with ChibiOS/RT, you can find the whole library on the ST web site: 30 | 31 | http://www.st.com 32 | -------------------------------------------------------------------------------- /testhal/STM32F4xx/IRQ_STORM_FPU/extfunc.c: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | float ff1(float par) { 22 | return par; 23 | } 24 | 25 | float ff2(float par1, float par2, float par3, float par4) { 26 | return (par1 + par2) * (par3 + par4); 27 | } 28 | -------------------------------------------------------------------------------- /testhal/STM32F4xx/IRQ_STORM_FPU/iar/ch.eww: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $WS_DIR$\ch.ewp 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /testhal/STM32F4xx/IRQ_STORM_FPU/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - IRQ_STORM_FPU stress test demo for STM32F4xx. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo will on an STMicroelectronics STM32F4-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F4xx GPT, PAL and Serial 12 | drivers in order to implement a system stress demo involving the FPU. 13 | 14 | ** Board Setup ** 15 | 16 | None. 17 | 18 | ** Build Procedure ** 19 | 20 | The demo has been tested using YAGARTO 4.6.2. 21 | Just modify the TRGT line in the makefile in order to use different GCC ports. 22 | 23 | ** Notes ** 24 | 25 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 26 | ST Microelectronics and are licensed under a different license. 27 | Also note that not all the files present in the ST library are distributed 28 | with ChibiOS/RT, you can find the whole library on the ST web site: 29 | 30 | http://www.st.com 31 | -------------------------------------------------------------------------------- /testhal/STM32F4xx/PWM-ICU/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - PWM-ICU drivers demo for STM32F4xx. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo will on an STMicroelectronics STM32F4-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F4xx PWM-ICU drivers. 12 | 13 | ** Board Setup ** 14 | 15 | - Connect PA15 and PC6 together. 16 | 17 | ** Build Procedure ** 18 | 19 | The demo has been tested using the free Codesourcery GCC-based toolchain 20 | and YAGARTO. 21 | Just modify the TRGT line in the makefile in order to use different GCC ports. 22 | 23 | ** Notes ** 24 | 25 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 26 | ST Microelectronics and are licensed under a different license. 27 | Also note that not all the files present in the ST library are distributed 28 | with ChibiOS/RT, you can find the whole library on the ST web site: 29 | 30 | http://www.st.com 31 | -------------------------------------------------------------------------------- /testhal/STM32F4xx/RTC_FATTIME/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - SDC driver demo for STM32. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Olimex ST_STM3210E_EVAL board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32 RTC driver for timestamping 12 | files on FAT. 13 | 14 | ** Build Procedure ** 15 | 16 | The demo has been tested using the free Codesourcery GCC-based toolchain 17 | and YAGARTO. 18 | Just modify the TRGT line in the makefile in order to use different GCC ports. 19 | 20 | ** Notes ** 21 | 22 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 23 | ST Microelectronics and are licensed under a different license. 24 | Also note that not all the files present in the ST library are distributed 25 | with ChibiOS/RT, you can find the whole library on the ST web site: 26 | 27 | http://www.st.com 28 | -------------------------------------------------------------------------------- /testhal/STM32F4xx/SDC/csd.txt: -------------------------------------------------------------------------------- 1 | 127 ... ... 0 2 | 3 | 00000000 00101110 00000000 00110010 - 01011011 01011010 10100011 10100000 - 11111111111111111111111110000000 - 00001010100000000000000010001110 kingmax 2 GB 4 | 00000000 00101110 00000000 00110010 - 01011011 01011010 10000011 10101001 - 11111111111111111111111110000000 - 00010110100000000000000010010000 kingstone 2 GB 5 | 01000000 00001110 00000000 00110010 - 01011011 01011001 00000000 00000000 - 00111011010010110111111110000000 - 00001010010000000100000001000000 samsung sdhc 8 GB 6 | 00000000 00100110 00000000 00110010 - 01011111 01011010 10000011 10101110 - 11111110111110111100111111111111 - 10010010100000000100000011011110 noname 2 GB 7 | 8 | -------------------------------------------------------------------------------- /testhal/STM32F4xx/SDC/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - SDC driver demo for STM32. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Olimex ST_STM3210E_EVAL board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32 SDC driver. 12 | 13 | ** Build Procedure ** 14 | 15 | The demo has been tested using the free Codesourcery GCC-based toolchain 16 | and YAGARTO. 17 | Just modify the TRGT line in the makefile in order to use different GCC ports. 18 | 19 | ** Notes ** 20 | 21 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 22 | ST Microelectronics and are licensed under a different license. 23 | Also note that not all the files present in the ST library are distributed 24 | with ChibiOS/RT, you can find the whole library on the ST web site: 25 | 26 | http://www.st.com 27 | -------------------------------------------------------------------------------- /testhal/STM32F4xx/SPI/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - SPI driver demo for STM32F4xx. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an ST STM32F4-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F4xx SPI driver. 12 | 13 | ** Board Setup ** 14 | 15 | - Connect PB14 and PB15 together for SPI loop-back. 16 | 17 | ** Build Procedure ** 18 | 19 | The demo has been tested using the free Codesourcery GCC-based toolchain 20 | and YAGARTO. 21 | Just modify the TRGT line in the makefile in order to use different GCC ports. 22 | 23 | ** Notes ** 24 | 25 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 26 | ST Microelectronics and are licensed under a different license. 27 | Also note that not all the files present in the ST library are distributed 28 | with ChibiOS/RT, you can find the whole library on the ST web site: 29 | 30 | http://www.st.com 31 | -------------------------------------------------------------------------------- /testhal/STM32F4xx/UART/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - UART driver demo for STM32F4xx. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an STMicroelectronics STM32F4-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F4xx UART driver. 12 | 13 | ** Board Setup ** 14 | 15 | - Connect an RS232 transceiver to pins PA2(TX) and PA3(RX). 16 | - Connect a terminal emulator to the transceiver (38400-N-8-1). 17 | 18 | ** Build Procedure ** 19 | 20 | The demo has been tested using the free Codesourcery GCC-based toolchain 21 | and YAGARTO. 22 | Just modify the TRGT line in the makefile in order to use different GCC ports. 23 | 24 | ** Notes ** 25 | 26 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 27 | ST Microelectronics and are licensed under a different license. 28 | Also note that not all the files present in the ST library are distributed 29 | with ChibiOS/RT, you can find the whole library on the ST web site: 30 | 31 | http://www.st.com 32 | -------------------------------------------------------------------------------- /testhal/STM32F4xx/USB_CDC/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - USB-CDC driver demo for STM32. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an Olimex STM32-E407 board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32 USB (OTG) driver. 12 | 13 | ** Build Procedure ** 14 | 15 | The demo has been tested using the free Codesourcery GCC-based toolchain 16 | and YAGARTO. 17 | Just modify the TRGT line in the makefile in order to use different GCC ports. 18 | 19 | ** Notes ** 20 | 21 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 22 | ST Microelectronics and are licensed under a different license. 23 | Also note that not all the files present in the ST library are distributed 24 | with ChibiOS/RT, you can find the whole library on the ST web site: 25 | 26 | http://www.st.com 27 | -------------------------------------------------------------------------------- /testhal/STM32L1xx/ADC/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - ADC driver demo for STM32L1xx. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo will on an STMicroelectronics STM32L-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32L1xx ADC driver. 12 | 13 | ** Board Setup ** 14 | 15 | - Remove the LCD module. 16 | - Connect PC0 to 3.3V and PC1 to GND for analog measurements. 17 | 18 | ** Build Procedure ** 19 | 20 | The demo has been tested using the free Codesourcery GCC-based toolchain 21 | and YAGARTO. 22 | Just modify the TRGT line in the makefile in order to use different GCC ports. 23 | 24 | ** Notes ** 25 | 26 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 27 | ST Microelectronics and are licensed under a different license. 28 | Also note that not all the files present in the ST library are distributed 29 | with ChibiOS/RT, you can find the whole library on the ST web site: 30 | 31 | http://www.st.com 32 | -------------------------------------------------------------------------------- /testhal/STM32L1xx/EXT/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - EXT driver demo for STM32L1xx. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo will on an STMicroelectronics STM32L-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32L1xx EXT driver. 12 | 13 | ** Board Setup ** 14 | 15 | None required. 16 | 17 | ** Build Procedure ** 18 | 19 | The demo has been tested using the free Codesourcery GCC-based toolchain 20 | and YAGARTO. 21 | Just modify the TRGT line in the makefile in order to use different GCC ports. 22 | 23 | ** Notes ** 24 | 25 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 26 | ST Microelectronics and are licensed under a different license. 27 | Also note that not all the files present in the ST library are distributed 28 | with ChibiOS/RT, you can find the whole library on the ST web site: 29 | 30 | http://www.st.com 31 | -------------------------------------------------------------------------------- /testhal/STM32L1xx/GPT/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - GPT driver demo for STM32L1xx. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo will on an STMicroelectronics STM32L-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32L1xx GPT driver. 12 | 13 | ** Board Setup ** 14 | 15 | None required. 16 | 17 | ** Build Procedure ** 18 | 19 | The demo has been tested using the free Codesourcery GCC-based toolchain 20 | and YAGARTO. 21 | Just modify the TRGT line in the makefile in order to use different GCC ports. 22 | 23 | ** Notes ** 24 | 25 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 26 | ST Microelectronics and are licensed under a different license. 27 | Also note that not all the files present in the ST library are distributed 28 | with ChibiOS/RT, you can find the whole library on the ST web site: 29 | 30 | http://www.st.com 31 | -------------------------------------------------------------------------------- /testhal/STM32L1xx/IRQ_STORM/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - IRQ_STORM stress test demo for STM32L1xx. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo will on an STMicroelectronics STM32L-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32L1xx GPT, PAL and Serial 12 | drivers in order to implement a system stress demo. 13 | 14 | ** Board Setup ** 15 | 16 | None. 17 | 18 | ** Build Procedure ** 19 | 20 | The demo has been tested using the free Codesourcery GCC-based toolchain 21 | and YAGARTO. 22 | Just modify the TRGT line in the makefile in order to use different GCC ports. 23 | 24 | ** Notes ** 25 | 26 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 27 | ST Microelectronics and are licensed under a different license. 28 | Also note that not all the files present in the ST library are distributed 29 | with ChibiOS/RT, you can find the whole library on the ST web site: 30 | 31 | http://www.st.com 32 | -------------------------------------------------------------------------------- /testhal/STM32L1xx/PWM-ICU/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - PWM-ICU drivers demo for STM32L1xx. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo will on an STMicroelectronics STM32L-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32L1xx PWM-ICU drivers. 12 | 13 | ** Board Setup ** 14 | 15 | - Remove the LCD module. 16 | - Connect PA15 and PC6 together. 17 | 18 | ** Build Procedure ** 19 | 20 | The demo has been tested using the free Codesourcery GCC-based toolchain 21 | and YAGARTO. 22 | Just modify the TRGT line in the makefile in order to use different GCC ports. 23 | 24 | ** Notes ** 25 | 26 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 27 | ST Microelectronics and are licensed under a different license. 28 | Also note that not all the files present in the ST library are distributed 29 | with ChibiOS/RT, you can find the whole library on the ST web site: 30 | 31 | http://www.st.com 32 | -------------------------------------------------------------------------------- /testhal/STM32L1xx/SPI/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - SPI driver demo for STM32L1xx. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an STMicroelectronics STM32L-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32L1xx SPI driver. 12 | 13 | ** Board Setup ** 14 | 15 | - Remove the LCD module. 16 | - Connect PB14 and PB15 together for SPI loop-back. 17 | 18 | ** Build Procedure ** 19 | 20 | The demo has been tested using the free Codesourcery GCC-based toolchain 21 | and YAGARTO. 22 | Just modify the TRGT line in the makefile in order to use different GCC ports. 23 | 24 | ** Notes ** 25 | 26 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 27 | ST Microelectronics and are licensed under a different license. 28 | Also note that not all the files present in the ST library are distributed 29 | with ChibiOS/RT, you can find the whole library on the ST web site: 30 | 31 | http://www.st.com 32 | -------------------------------------------------------------------------------- /testhal/STM32L1xx/UART/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - UART driver demo for STM32L1xx. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an STMicroelectronics STM32L-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32L1xx UART driver. 12 | 13 | ** Board Setup ** 14 | 15 | - Remove the LCD module. 16 | - Connect an RS232 transceiver to pins PA9(TX) and PA10(RX). 17 | - Connect a terminal emulator to the transceiver (38400-N-8-1). 18 | 19 | ** Build Procedure ** 20 | 21 | The demo has been tested using the free Codesourcery GCC-based toolchain 22 | and YAGARTO. 23 | Just modify the TRGT line in the makefile in order to use different GCC ports. 24 | 25 | ** Notes ** 26 | 27 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 28 | ST Microelectronics and are licensed under a different license. 29 | Also note that not all the files present in the ST library are distributed 30 | with ChibiOS/RT, you can find the whole library on the ST web site: 31 | 32 | http://www.st.com 33 | -------------------------------------------------------------------------------- /testhal/STM8S/SPI/ChibiOS-RT.stw: -------------------------------------------------------------------------------- 1 | ; STMicroelectronics Workspace file 2 | 3 | [Version] 4 | Keyword=ST7Workspace-V0.7 5 | 6 | [Project0] 7 | Filename=cosmic\cosmic.stp 8 | Dependencies= 9 | 10 | [Project1] 11 | Filename=raisonance\raisonance.stp 12 | Dependencies= 13 | [Options] 14 | ActiveProject=cosmic 15 | ActiveConfig=Release 16 | AddSortedElements=0 17 | -------------------------------------------------------------------------------- /tools/eclipse/config_wizard/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /tools/eclipse/config_wizard/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Tool Config Wizard 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.pde.PluginNature 26 | org.eclipse.jdt.core.javanature 27 | 28 | 29 | -------------------------------------------------------------------------------- /tools/eclipse/config_wizard/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Mon Jul 30 11:37:30 CEST 2012 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 5 | org.eclipse.jdt.core.compiler.compliance=1.6 6 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 7 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 8 | org.eclipse.jdt.core.compiler.source=1.6 9 | -------------------------------------------------------------------------------- /tools/eclipse/config_wizard/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: ChibiOS-RT_Configuration_Support 4 | Bundle-SymbolicName: org.chibios.tools.eclipse.config;singleton:=true 5 | Bundle-Version: 1.2.0 6 | Bundle-Activator: config_wizard.Activator 7 | Require-Bundle: org.eclipse.core.resources;bundle-version="3.7.101", 8 | org.eclipse.core.runtime;bundle-version="3.7.0", 9 | org.eclipse.ui;bundle-version="3.7.0", 10 | org.eclipse.ui.console;bundle-version="3.5.100", 11 | org.eclipse.ui.ide;bundle-version="3.7.0", 12 | org.eclipse.cdt.core;bundle-version="5.3.2", 13 | org.eclipse.cdt.managedbuilder.core;bundle-version="8.0.2", 14 | org.eclipse.cdt.ui;bundle-version="5.3.2" 15 | Bundle-ActivationPolicy: lazy 16 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6 17 | Bundle-Vendor: chibios.org 18 | Bundle-ClassPath: ., 19 | lib/jdom-2.0.2.jar, 20 | lib/freemarker.jar, 21 | lib/fmpp.jar, 22 | lib/bsh.jar, 23 | lib/oro.jar, 24 | lib/resolver.jar 25 | -------------------------------------------------------------------------------- /tools/eclipse/config_wizard/icons/check.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steve-bate/ChibiOS-RPi/b1c6f6fb0be3e8b5dd76d6ad84ebd169623c5843/tools/eclipse/config_wizard/icons/check.gif -------------------------------------------------------------------------------- /tools/eclipse/config_wizard/icons/chibios.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steve-bate/ChibiOS-RPi/b1c6f6fb0be3e8b5dd76d6ad84ebd169623c5843/tools/eclipse/config_wizard/icons/chibios.gif -------------------------------------------------------------------------------- /tools/eclipse/config_wizard/icons/generate.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steve-bate/ChibiOS-RPi/b1c6f6fb0be3e8b5dd76d6ad84ebd169623c5843/tools/eclipse/config_wizard/icons/generate.gif -------------------------------------------------------------------------------- /tools/eclipse/config_wizard/icons/sample.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steve-bate/ChibiOS-RPi/b1c6f6fb0be3e8b5dd76d6ad84ebd169623c5843/tools/eclipse/config_wizard/icons/sample.gif -------------------------------------------------------------------------------- /tools/eclipse/config_wizard/lib/bsh.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steve-bate/ChibiOS-RPi/b1c6f6fb0be3e8b5dd76d6ad84ebd169623c5843/tools/eclipse/config_wizard/lib/bsh.jar -------------------------------------------------------------------------------- /tools/eclipse/config_wizard/lib/fmpp.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steve-bate/ChibiOS-RPi/b1c6f6fb0be3e8b5dd76d6ad84ebd169623c5843/tools/eclipse/config_wizard/lib/fmpp.jar -------------------------------------------------------------------------------- /tools/eclipse/config_wizard/lib/freemarker.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steve-bate/ChibiOS-RPi/b1c6f6fb0be3e8b5dd76d6ad84ebd169623c5843/tools/eclipse/config_wizard/lib/freemarker.jar -------------------------------------------------------------------------------- /tools/eclipse/config_wizard/lib/jdom-2.0.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steve-bate/ChibiOS-RPi/b1c6f6fb0be3e8b5dd76d6ad84ebd169623c5843/tools/eclipse/config_wizard/lib/jdom-2.0.2.jar -------------------------------------------------------------------------------- /tools/eclipse/config_wizard/lib/oro.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steve-bate/ChibiOS-RPi/b1c6f6fb0be3e8b5dd76d6ad84ebd169623c5843/tools/eclipse/config_wizard/lib/oro.jar -------------------------------------------------------------------------------- /tools/eclipse/config_wizard/lib/resolver.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steve-bate/ChibiOS-RPi/b1c6f6fb0be3e8b5dd76d6ad84ebd169623c5843/tools/eclipse/config_wizard/lib/resolver.jar -------------------------------------------------------------------------------- /tools/eclipse/config_wizard/resources/gencfg/lib/code_snippets.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | thread_body 9 | Empty 10 | 15 | 16 | 17 | 18 | thread_body 19 | Checks for Termination 20 | 29 | 30 | 31 | 32 | thread_body 33 | Message Server 34 | 47 | 48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /tools/eclipse/config_wizard/resources/gencfg/processors/boards/stm32f0xx/templates/board.mk.ftl: -------------------------------------------------------------------------------- 1 | [#ftl] 2 | [#-- 3 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 4 | 2011,2012 Giovanni Di Sirio. 5 | 6 | This file is part of ChibiOS/RT. 7 | 8 | ChibiOS/RT is free software; you can redistribute it and/or modify 9 | it under the terms of the GNU General Public License as published by 10 | the Free Software Foundation; either version 3 of the License, or 11 | (at your option) any later version. 12 | 13 | ChibiOS/RT is distributed in the hope that it will be useful, 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | GNU General Public License for more details. 17 | 18 | You should have received a copy of the GNU General Public License 19 | along with this program. If not, see . 20 | --] 21 | [@pp.dropOutputFile /] 22 | [#import "/@lib/libutils.ftl" as utils /] 23 | [@pp.changeOutputFile name="board.mk" /] 24 | # List of all the board related files. 25 | BOARDSRC = ${'$'}{CHIBIOS}/boards/${doc1.board.board_id[0]}/board.c 26 | 27 | # Required include directories 28 | BOARDINC = ${'$'}{CHIBIOS}/boards/${doc1.board.board_id[0]} 29 | -------------------------------------------------------------------------------- /tools/eclipse/config_wizard/resources/gencfg/processors/boards/stm32f4xx/templates/board.mk.ftl: -------------------------------------------------------------------------------- 1 | [#ftl] 2 | [#-- 3 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 4 | 2011,2012 Giovanni Di Sirio. 5 | 6 | This file is part of ChibiOS/RT. 7 | 8 | ChibiOS/RT is free software; you can redistribute it and/or modify 9 | it under the terms of the GNU General Public License as published by 10 | the Free Software Foundation; either version 3 of the License, or 11 | (at your option) any later version. 12 | 13 | ChibiOS/RT is distributed in the hope that it will be useful, 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | GNU General Public License for more details. 17 | 18 | You should have received a copy of the GNU General Public License 19 | along with this program. If not, see . 20 | --] 21 | [@pp.dropOutputFile /] 22 | [#import "/@lib/libutils.ftl" as utils /] 23 | [@pp.changeOutputFile name="board.mk" /] 24 | # List of all the board related files. 25 | BOARDSRC = ${'$'}{CHIBIOS}/boards/${doc1.board.board_id[0]}/board.c 26 | 27 | # Required include directories 28 | BOARDINC = ${'$'}{CHIBIOS}/boards/${doc1.board.board_id[0]} 29 | -------------------------------------------------------------------------------- /tools/eclipse/config_wizard/resources/gencfg/processors/boards/stm32l1xx/templates/board.mk.ftl: -------------------------------------------------------------------------------- 1 | [#ftl] 2 | [#-- 3 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 4 | 2011,2012 Giovanni Di Sirio. 5 | 6 | This file is part of ChibiOS/RT. 7 | 8 | ChibiOS/RT is free software; you can redistribute it and/or modify 9 | it under the terms of the GNU General Public License as published by 10 | the Free Software Foundation; either version 3 of the License, or 11 | (at your option) any later version. 12 | 13 | ChibiOS/RT is distributed in the hope that it will be useful, 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | GNU General Public License for more details. 17 | 18 | You should have received a copy of the GNU General Public License 19 | along with this program. If not, see . 20 | --] 21 | [@pp.dropOutputFile /] 22 | [#import "/@lib/libutils.ftl" as utils /] 23 | [@pp.changeOutputFile name="board.mk" /] 24 | # List of all the board related files. 25 | BOARDSRC = ${'$'}{CHIBIOS}/boards/${doc1.board.board_id[0]}/board.c 26 | 27 | # Required include directories 28 | BOARDINC = ${'$'}{CHIBIOS}/boards/${doc1.board.board_id[0]} 29 | -------------------------------------------------------------------------------- /tools/eclipse/config_wizard/src/org/chibios/tools/eclipse/config/utils/TemplateException.java: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | package org.chibios.tools.eclipse.config.utils; 22 | 23 | public class TemplateException extends Exception { 24 | 25 | private static final long serialVersionUID = -3317410595937500925L; 26 | 27 | public TemplateException(String msg) { 28 | super(msg); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /tools/eclipse/debug_support/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /tools/eclipse/debug_support/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Tool Debug Support 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.pde.PluginNature 26 | org.eclipse.jdt.core.javanature 27 | 28 | 29 | -------------------------------------------------------------------------------- /tools/eclipse/debug_support/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Fri Jul 01 10:57:07 CEST 2011 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 5 | org.eclipse.jdt.core.compiler.compliance=1.6 6 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 7 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 8 | org.eclipse.jdt.core.compiler.source=1.6 9 | -------------------------------------------------------------------------------- /tools/eclipse/debug_support/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: ChibiOS-RT_Debug_Support 4 | Bundle-SymbolicName: org.chibios.tools.eclipse.debug; singleton:=true 5 | Bundle-Version: 1.1.0 6 | Bundle-Activator: org.chibios.tools.eclipse.debug.activator.Activator 7 | Bundle-Vendor: chibios.org 8 | Require-Bundle: org.eclipse.ui, 9 | org.eclipse.core.runtime, 10 | org.eclipse.cdt.debug.mi.core, 11 | org.eclipse.debug.ui, 12 | org.eclipse.cdt.debug.core 13 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6 14 | Bundle-ClassPath: . 15 | -------------------------------------------------------------------------------- /tools/eclipse/debug_support/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = plugin.xml,\ 4 | META-INF/,\ 5 | .,\ 6 | icons/,\ 7 | contexts.xml 8 | -------------------------------------------------------------------------------- /tools/eclipse/debug_support/contexts.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | This is the context help for the sample view with a table viewer. It was generated by a PDE template. 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /tools/eclipse/debug_support/icons/sample.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steve-bate/ChibiOS-RPi/b1c6f6fb0be3e8b5dd76d6ad84ebd169623c5843/tools/eclipse/debug_support/icons/sample.gif -------------------------------------------------------------------------------- /tools/eclipse/debug_support/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | 10 | 11 | 17 | 18 | 19 | 21 | 23 | 28 | 29 | 30 | 31 | 33 | 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /tools/eclipse/debug_support/src/org/chibios/tools/eclipse/debug/utils/DebugProxyException.java: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 3 | 2011,2012 Giovanni Di Sirio. 4 | 5 | This file is part of ChibiOS/RT. 6 | 7 | ChibiOS/RT is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | ChibiOS/RT is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | */ 20 | 21 | package org.chibios.tools.eclipse.debug.utils; 22 | 23 | public class DebugProxyException extends Exception { 24 | 25 | private static final long serialVersionUID = 6860700758297226746L; 26 | 27 | public DebugProxyException() { 28 | super("Debug Proxy Exception"); 29 | } 30 | 31 | public DebugProxyException(String s) { 32 | super(s); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /tools/eclipse/plugins/org.chibios.tools.eclipse.config_1.1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steve-bate/ChibiOS-RPi/b1c6f6fb0be3e8b5dd76d6ad84ebd169623c5843/tools/eclipse/plugins/org.chibios.tools.eclipse.config_1.1.0.jar -------------------------------------------------------------------------------- /tools/eclipse/plugins/org.chibios.tools.eclipse.debug_1.0.8.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steve-bate/ChibiOS-RPi/b1c6f6fb0be3e8b5dd76d6ad84ebd169623c5843/tools/eclipse/plugins/org.chibios.tools.eclipse.debug_1.0.8.jar -------------------------------------------------------------------------------- /tools/eclipse/readme.txt: -------------------------------------------------------------------------------- 1 | This folder contains ChibiOS/RT related Eclipse extensions: 2 | 3 | - org.chibios.tools.eclipse.debug_x.y.z.jar, debugger extension that allows to 4 | inspect the ChibiOS/RT internal data structures at debug time. This plugin 5 | is best used when the kernel debug options are turned on. 6 | Installation: 7 | - Copy the plugin under [eclipse]/plugins. 8 | - Start Eclipse and enable the plugin from: 9 | Window->Show View->Others...->ChibiOS/RT 10 | - Make sure that Eclipse is using the "Standard Debugger" from: 11 | Window->Preferences->Run/Debug->Launching->Default Launchers-> 12 | GDB Hardware Debugging->[Debug] 13 | - Start a debug session of a ChibiOS/RT demo or application and step until 14 | after chSysInit() has been invoked. 15 | - Inspect the various structures (Timers, Threads etc) using the ChibiOS/RT 16 | view by pressing the yellow refresh button. 17 | -------------------------------------------------------------------------------- /tools/edit_aid/rebalance_prio.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | FILES=`find -name 'mcuconf.h'` 3 | for i in $FILES 4 | do 5 | cp $i ${i}_backup 6 | cat ${i}_backup | \ 7 | sed -e 's/\(#define STM32_I2C_I2C[0-9]_IRQ_PRIORITY\)\([ ]*\)\([0-9]*\)/\1\25/' | \ 8 | sed -e 's/\(#define STM32_I2C_I2C[0-9]_DMA_PRIORITY\)\([ ]*\)\([0-9]*\)/\1\23/' | \ 9 | sed -e 's/\(#define STM32_ADC_IRQ_PRIORITY\)\([ ]*\)\([0-9]*\)/\1\26/' | \ 10 | sed -e 's/\(#define STM32_ADC_ADC[0-9]_IRQ_PRIORITY\)\([ ]*\)\([0-9]*\)/\1\26/' | \ 11 | sed -e 's/\(#define STM32_ADC_ADC[0-9]_DMA_IRQ_PRIORITY\)\([ ]*\)\([0-9]*\)/\1\26/' > $i 12 | rm ${i}_backup 13 | done 14 | -------------------------------------------------------------------------------- /tools/gencfg/.externalToolBuilders/FMPP Builder (Linux).launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /tools/gencfg/.externalToolBuilders/FMPP Builder (Windows).launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /tools/gencfg/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | _Configuration Tool 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.ui.externaltools.ExternalToolBuilder 10 | full,incremental, 11 | 12 | 13 | LaunchConfigHandle 14 | <project>/.externalToolBuilders/FMPP Builder (Windows).launch 15 | 16 | 17 | incclean 18 | true 19 | 20 | 21 | 22 | 23 | org.eclipse.ui.externaltools.ExternalToolBuilder 24 | full,incremental, 25 | 26 | 27 | LaunchConfigHandle 28 | <project>/.externalToolBuilders/FMPP Builder (Linux).launch 29 | 30 | 31 | incclean 32 | true 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /tools/gencfg/config.fmpp: -------------------------------------------------------------------------------- 1 | # Change the next line to point to the processor you want to use. Processors 2 | # are identified by a file named "config.fmpp" under the "processors" root 3 | # directory. 4 | inheritConfiguration: processors/boards/stm32f4xx/config.fmpp 5 | 6 | # Settings common to all processors. Do not change the following lines. 7 | freemarkerLinks: { 8 | lib: ./lib 9 | } 10 | logFile: ./log.fmpp 11 | -------------------------------------------------------------------------------- /tools/gencfg/fmpp.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | JAVA_HOME=/usr/lib/jvm/java-6-sun 3 | export JAVA_HOME 4 | PATH=$PATH:$JAVA_HOME/bin 5 | export PATH 6 | fmpp -C config.fmpp 7 | 8 | -------------------------------------------------------------------------------- /tools/gencfg/processors/boards/stm32f4xx/config.fmpp: -------------------------------------------------------------------------------- 1 | sourceRoot: templates 2 | outputRoot: output 3 | data: { 4 | doc1: xml(../input/stm32f4board.xml) 5 | } 6 | -------------------------------------------------------------------------------- /tools/gencfg/processors/boards/stm32f4xx/templates/board.mk.ftl: -------------------------------------------------------------------------------- 1 | [#ftl] 2 | [#-- 3 | ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 4 | 2011,2012 Giovanni Di Sirio. 5 | 6 | This file is part of ChibiOS/RT. 7 | 8 | ChibiOS/RT is free software; you can redistribute it and/or modify 9 | it under the terms of the GNU General Public License as published by 10 | the Free Software Foundation; either version 3 of the License, or 11 | (at your option) any later version. 12 | 13 | ChibiOS/RT is distributed in the hope that it will be useful, 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | GNU General Public License for more details. 17 | 18 | You should have received a copy of the GNU General Public License 19 | along with this program. If not, see . 20 | --] 21 | [@pp.dropOutputFile /] 22 | [#import "/@lib/libutils.ftl" as utils /] 23 | [@pp.changeOutputFile name="board.mk" /] 24 | # List of all the board related files. 25 | BOARDSRC = ${'$'}{CHIBIOS}/boards/${doc1.board.board_id[0]}/board.c 26 | 27 | # Required include directories 28 | BOARDINC = ${'$'}{CHIBIOS}/boards/${doc1.board.board_id[0]} 29 | -------------------------------------------------------------------------------- /tools/gencfg/processors/hal/stm32f4xx/config.fmpp: -------------------------------------------------------------------------------- 1 | sourceRoot: templates 2 | outputRoot: output 3 | data: { 4 | doc1: xml(../input/stm32f4xx_cfg.xml) 5 | } 6 | -------------------------------------------------------------------------------- /tools/gencfg/processors/processors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | STM32F4xx Board Configuration 4 | resources/gencfg/processors/boards/stm32f4xx/templates 5 | resources/gencfg/xml/stm32f4board.xml 6 | board 7 | 8 | 9 | STM32F0xx Board Configuration 10 | resources/gencfg/processors/boards/stm32f0xx/templates 11 | resources/gencfg/xml/stm32f0board.xml 12 | board 13 | 14 | 15 | -------------------------------------------------------------------------------- /tools/gencfg/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | *** Files Organization *** 3 | ***************************************************************************** 4 | 5 | --{root} - Configuration Generator tool. 6 | +--readme.txt - This file. 7 | +--config.fmpp - Tool configuration file, tool setup is done here. 8 | +--run.bat - Tool runner batch file. 9 | +--lib/ - FTL library files. 10 | +--processors/ - Various configuration generators. 11 | +--schema/ - Schema files used to validate XML configurations. 12 | +--xml/ - Templates of configuration files. 13 | 14 | Write requirements and setup documentation here. 15 | -------------------------------------------------------------------------------- /tools/gencfg/run.bat: -------------------------------------------------------------------------------- 1 | fmpp -C config.fmpp 2 | -------------------------------------------------------------------------------- /tools/gencfg/schema/hal/abstract_driver_cfg.xsd: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /tools/gencfg/schema/hal/stm32f4xx/stm32f4xx_cfg.xsd: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | --------------------------------------------------------------------------------