├── .gitignore ├── .gitmodules ├── .travis.yml ├── CMakeLists.txt ├── LICENSE ├── README.md ├── doc └── images │ └── hardware │ ├── portapack_h1_operating.jpg │ └── portapack_h1_parts.jpg ├── firmware ├── CMakeLists.txt ├── application │ ├── CMakeLists.txt │ ├── apps │ │ ├── ais_app.cpp │ │ ├── ais_app.hpp │ │ ├── analog_audio_app.cpp │ │ ├── analog_audio_app.hpp │ │ ├── capture_app.cpp │ │ ├── capture_app.hpp │ │ ├── ert_app.cpp │ │ ├── ert_app.hpp │ │ ├── tpms_app.cpp │ │ ├── tpms_app.hpp │ │ ├── ui_debug.cpp │ │ ├── ui_debug.hpp │ │ ├── ui_touch_calibration.cpp │ │ └── ui_touch_calibration.hpp │ ├── audio.cpp │ ├── audio.hpp │ ├── baseband_api.cpp │ ├── baseband_api.hpp │ ├── bitmap.hpp │ ├── capture_thread.cpp │ ├── capture_thread.hpp │ ├── chconf.h │ ├── clock_manager.cpp │ ├── clock_manager.hpp │ ├── core_control.cpp │ ├── core_control.hpp │ ├── dirty_registers.hpp │ ├── event_m0.cpp │ ├── event_m0.hpp │ ├── ffconf.h │ ├── file.cpp │ ├── file.hpp │ ├── firmware_info.c │ ├── halconf.h │ ├── hw │ │ ├── debounce.cpp │ │ ├── debounce.hpp │ │ ├── encoder.cpp │ │ ├── encoder.hpp │ │ ├── max2837.cpp │ │ ├── max2837.hpp │ │ ├── max2839.cpp │ │ ├── max2839.hpp │ │ ├── max283x.hpp │ │ ├── max5864.cpp │ │ ├── max5864.hpp │ │ ├── rffc507x.cpp │ │ ├── rffc507x.hpp │ │ ├── rffc507x_spi.cpp │ │ ├── rffc507x_spi.hpp │ │ ├── si5351.cpp │ │ ├── si5351.hpp │ │ ├── spi_arbiter.hpp │ │ ├── spi_pp.cpp │ │ ├── spi_pp.hpp │ │ ├── touch_adc.cpp │ │ └── touch_adc.hpp │ ├── io.hpp │ ├── io_file.cpp │ ├── io_file.hpp │ ├── io_wave.cpp │ ├── io_wave.hpp │ ├── irq_controls.cpp │ ├── irq_controls.hpp │ ├── irq_lcd_frame.cpp │ ├── irq_lcd_frame.hpp │ ├── irq_rtc.cpp │ ├── irq_rtc.hpp │ ├── log_file.cpp │ ├── log_file.hpp │ ├── main.cpp │ ├── mcuconf.h │ ├── portapack.cpp │ ├── portapack.hpp │ ├── radio.cpp │ ├── radio.hpp │ ├── receiver_model.cpp │ ├── receiver_model.hpp │ ├── recent_entries.cpp │ ├── recent_entries.hpp │ ├── rf_path.cpp │ ├── rf_path.hpp │ ├── rtc_time.cpp │ ├── rtc_time.hpp │ ├── sd_card.cpp │ ├── sd_card.hpp │ ├── signal.hpp │ ├── spectrum_color_lut.cpp │ ├── spectrum_color_lut.hpp │ ├── string_format.cpp │ ├── string_format.hpp │ ├── temperature_logger.cpp │ ├── temperature_logger.hpp │ ├── touch.cpp │ ├── touch.hpp │ ├── tuning.cpp │ ├── tuning.hpp │ ├── ui │ │ ├── ui_audio.cpp │ │ ├── ui_audio.hpp │ │ ├── ui_channel.cpp │ │ ├── ui_channel.hpp │ │ ├── ui_font_fixed_8x16.cpp │ │ ├── ui_font_fixed_8x16.hpp │ │ ├── ui_menu.cpp │ │ ├── ui_menu.hpp │ │ ├── ui_receiver.cpp │ │ ├── ui_receiver.hpp │ │ ├── ui_rssi.cpp │ │ ├── ui_rssi.hpp │ │ ├── ui_spectrum.cpp │ │ └── ui_spectrum.hpp │ ├── ui_baseband_stats_view.cpp │ ├── ui_baseband_stats_view.hpp │ ├── ui_console.cpp │ ├── ui_console.hpp │ ├── ui_navigation.cpp │ ├── ui_navigation.hpp │ ├── ui_record_view.cpp │ ├── ui_record_view.hpp │ ├── ui_sd_card_debug.cpp │ ├── ui_sd_card_debug.hpp │ ├── ui_sd_card_status_view.cpp │ ├── ui_sd_card_status_view.hpp │ ├── ui_setup.cpp │ └── ui_setup.hpp ├── baseband │ ├── CMakeLists.txt │ ├── audio_compressor.cpp │ ├── audio_compressor.hpp │ ├── audio_dma.cpp │ ├── audio_dma.hpp │ ├── audio_output.cpp │ ├── audio_output.hpp │ ├── audio_stats_collector.cpp │ ├── audio_stats_collector.hpp │ ├── baseband.cpp │ ├── baseband_dma.cpp │ ├── baseband_dma.hpp │ ├── baseband_processor.cpp │ ├── baseband_processor.hpp │ ├── baseband_stats_collector.cpp │ ├── baseband_stats_collector.hpp │ ├── baseband_thread.cpp │ ├── baseband_thread.hpp │ ├── block_decimator.hpp │ ├── channel_decimator.cpp │ ├── channel_decimator.hpp │ ├── channel_stats_collector.hpp │ ├── chconf.h │ ├── clock_recovery.cpp │ ├── clock_recovery.hpp │ ├── dsp_decimate.cpp │ ├── dsp_decimate.hpp │ ├── dsp_demodulate.cpp │ ├── dsp_demodulate.hpp │ ├── dsp_squelch.cpp │ ├── dsp_squelch.hpp │ ├── event_m4.cpp │ ├── event_m4.hpp │ ├── fxpt_atan2.cpp │ ├── fxpt_atan2.hpp │ ├── gpdma_lli.hpp │ ├── halconf.h │ ├── linear_resampler.hpp │ ├── matched_filter.cpp │ ├── matched_filter.hpp │ ├── mcuconf.h │ ├── ook.hpp │ ├── packet_builder.cpp │ ├── packet_builder.hpp │ ├── phase_accumulator.hpp │ ├── phase_detector.hpp │ ├── proc_ais.cpp │ ├── proc_ais.hpp │ ├── proc_am_audio.cpp │ ├── proc_am_audio.hpp │ ├── proc_capture.cpp │ ├── proc_capture.hpp │ ├── proc_ert.cpp │ ├── proc_ert.hpp │ ├── proc_nfm_audio.cpp │ ├── proc_nfm_audio.hpp │ ├── proc_tpms.cpp │ ├── proc_tpms.hpp │ ├── proc_wfm_audio.cpp │ ├── proc_wfm_audio.hpp │ ├── proc_wideband_spectrum.cpp │ ├── proc_wideband_spectrum.hpp │ ├── rssi.cpp │ ├── rssi.hpp │ ├── rssi_dma.cpp │ ├── rssi_dma.hpp │ ├── rssi_stats_collector.hpp │ ├── rssi_thread.cpp │ ├── rssi_thread.hpp │ ├── spectrum_collector.cpp │ ├── spectrum_collector.hpp │ ├── stream_input.cpp │ ├── stream_input.hpp │ ├── symbol_coding.hpp │ ├── touch_dma.cpp │ └── touch_dma.hpp ├── chibios-portapack │ ├── boards │ │ ├── PORTAPACK_APPLICATION │ │ │ ├── board.cmake │ │ │ ├── board.cpp │ │ │ ├── board.h │ │ │ └── board.mk │ │ └── PORTAPACK_BASEBAND │ │ │ ├── board.c │ │ │ ├── board.cmake │ │ │ ├── board.h │ │ │ └── board.mk │ ├── ext │ │ └── fatfs │ │ │ ├── doc │ │ │ ├── 00index_e.html │ │ │ ├── 00index_j.html │ │ │ ├── css_e.css │ │ │ ├── css_j.css │ │ │ ├── en │ │ │ │ ├── appnote.html │ │ │ │ ├── chdir.html │ │ │ │ ├── chdrive.html │ │ │ │ ├── chmod.html │ │ │ │ ├── close.html │ │ │ │ ├── closedir.html │ │ │ │ ├── config.html │ │ │ │ ├── dinit.html │ │ │ │ ├── dioctl.html │ │ │ │ ├── dread.html │ │ │ │ ├── dstat.html │ │ │ │ ├── dwrite.html │ │ │ │ ├── eof.html │ │ │ │ ├── error.html │ │ │ │ ├── expand.html │ │ │ │ ├── fattime.html │ │ │ │ ├── fdisk.html │ │ │ │ ├── filename.html │ │ │ │ ├── findfirst.html │ │ │ │ ├── findnext.html │ │ │ │ ├── forward.html │ │ │ │ ├── getcwd.html │ │ │ │ ├── getfree.html │ │ │ │ ├── getlabel.html │ │ │ │ ├── gets.html │ │ │ │ ├── lseek.html │ │ │ │ ├── mkdir.html │ │ │ │ ├── mkfs.html │ │ │ │ ├── mount.html │ │ │ │ ├── open.html │ │ │ │ ├── opendir.html │ │ │ │ ├── printf.html │ │ │ │ ├── putc.html │ │ │ │ ├── puts.html │ │ │ │ ├── rc.html │ │ │ │ ├── read.html │ │ │ │ ├── readdir.html │ │ │ │ ├── rename.html │ │ │ │ ├── sdir.html │ │ │ │ ├── setlabel.html │ │ │ │ ├── sfatfs.html │ │ │ │ ├── sfile.html │ │ │ │ ├── sfileinfo.html │ │ │ │ ├── size.html │ │ │ │ ├── stat.html │ │ │ │ ├── sync.html │ │ │ │ ├── tell.html │ │ │ │ ├── truncate.html │ │ │ │ ├── unlink.html │ │ │ │ ├── utime.html │ │ │ │ └── write.html │ │ │ ├── ja │ │ │ │ ├── appnote.html │ │ │ │ ├── chdir.html │ │ │ │ ├── chdrive.html │ │ │ │ ├── chmod.html │ │ │ │ ├── close.html │ │ │ │ ├── closedir.html │ │ │ │ ├── config.html │ │ │ │ ├── dinit.html │ │ │ │ ├── dioctl.html │ │ │ │ ├── dread.html │ │ │ │ ├── dstat.html │ │ │ │ ├── dwrite.html │ │ │ │ ├── eof.html │ │ │ │ ├── error.html │ │ │ │ ├── expand.html │ │ │ │ ├── fattime.html │ │ │ │ ├── fdisk.html │ │ │ │ ├── filename.html │ │ │ │ ├── findfirst.html │ │ │ │ ├── findnext.html │ │ │ │ ├── forward.html │ │ │ │ ├── getcwd.html │ │ │ │ ├── getfree.html │ │ │ │ ├── getlabel.html │ │ │ │ ├── gets.html │ │ │ │ ├── lseek.html │ │ │ │ ├── mkdir.html │ │ │ │ ├── mkfs.html │ │ │ │ ├── mount.html │ │ │ │ ├── open.html │ │ │ │ ├── opendir.html │ │ │ │ ├── printf.html │ │ │ │ ├── putc.html │ │ │ │ ├── puts.html │ │ │ │ ├── rc.html │ │ │ │ ├── read.html │ │ │ │ ├── readdir.html │ │ │ │ ├── rename.html │ │ │ │ ├── sdir.html │ │ │ │ ├── setlabel.html │ │ │ │ ├── sfatfs.html │ │ │ │ ├── sfile.html │ │ │ │ ├── sfileinfo.html │ │ │ │ ├── size.html │ │ │ │ ├── stat.html │ │ │ │ ├── sync.html │ │ │ │ ├── tell.html │ │ │ │ ├── truncate.html │ │ │ │ ├── unlink.html │ │ │ │ ├── utime.html │ │ │ │ └── write.html │ │ │ ├── res │ │ │ │ ├── app1.c │ │ │ │ ├── app2.c │ │ │ │ ├── app3.c │ │ │ │ ├── app4.c │ │ │ │ ├── f1.png │ │ │ │ ├── f2.png │ │ │ │ ├── f3.png │ │ │ │ ├── f4.png │ │ │ │ ├── f5.png │ │ │ │ ├── f6.png │ │ │ │ ├── f7.png │ │ │ │ ├── funcs.png │ │ │ │ ├── layers.png │ │ │ │ ├── layers1.png │ │ │ │ ├── layers2.png │ │ │ │ ├── mkfatimg.zip │ │ │ │ ├── mkfs.xls │ │ │ │ ├── modules.png │ │ │ │ ├── rwtest1.png │ │ │ │ ├── rwtest2.png │ │ │ │ └── rwtest3.png │ │ │ └── updates.txt │ │ │ └── src │ │ │ ├── 00history.txt │ │ │ ├── 00readme.txt │ │ │ ├── diskio.c │ │ │ ├── diskio.h │ │ │ ├── ff.c │ │ │ ├── ff.h │ │ │ ├── integer.h │ │ │ └── option │ │ │ ├── cc932.c │ │ │ ├── cc936.c │ │ │ ├── cc949.c │ │ │ ├── cc950.c │ │ │ ├── ccsbcs.c │ │ │ ├── syscall.c │ │ │ └── unicode.c │ └── os │ │ ├── hal │ │ └── platforms │ │ │ ├── LPC43xx │ │ │ ├── adc_lld.c │ │ │ ├── adc_lld.h │ │ │ ├── gpt_lld.c │ │ │ ├── gpt_lld.h │ │ │ ├── i2c_lld.c │ │ │ ├── i2c_lld.h │ │ │ ├── lpc43xx.c │ │ │ ├── lpc43xx.h │ │ │ ├── lpc43xx.inc │ │ │ ├── pal_lld.c │ │ │ ├── pal_lld.h │ │ │ ├── rtc_lld.c │ │ │ ├── rtc_lld.h │ │ │ ├── sdc_lld.c │ │ │ ├── sdc_lld.h │ │ │ ├── serial_lld.c │ │ │ ├── serial_lld.h │ │ │ ├── spi_lld.c │ │ │ └── spi_lld.h │ │ │ ├── LPC43xx_M0 │ │ │ ├── hal_lld.c │ │ │ ├── hal_lld.h │ │ │ ├── lpc43xx_m0.h │ │ │ ├── platform.cmake │ │ │ └── platform.mk │ │ │ └── LPC43xx_M4 │ │ │ ├── hal_lld.c │ │ │ ├── hal_lld.h │ │ │ ├── lpc43xx_m4.h │ │ │ ├── platform.cmake │ │ │ └── platform.mk │ │ ├── ports │ │ └── GCC │ │ │ └── ARMCMx │ │ │ ├── LPC43xx_M0 │ │ │ ├── cmparams.h │ │ │ ├── ld │ │ │ │ └── LPC43xx_M0.ld │ │ │ ├── port.cmake │ │ │ ├── port.mk │ │ │ └── vectors.c │ │ │ └── LPC43xx_M4 │ │ │ ├── cmparams.h │ │ │ ├── ld │ │ │ ├── LPC43xx_M4.ld │ │ │ └── LPC43xx_M4_ram.ld │ │ │ ├── port.cmake │ │ │ ├── port.mk │ │ │ └── vectors.c │ │ └── various │ │ └── fatfs_bindings │ │ ├── fatfs.cmake │ │ ├── fatfs.mk │ │ ├── fatfs_diskio.c │ │ ├── fatfs_syscall.c │ │ └── readme.txt ├── chibios │ ├── .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 │ │ ├── EA_LPCXPRESSO_LPC812 │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ ├── MAPLEMINI_STM32_F103 │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ ├── NGX_BB_LPC11U14 │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ ├── NONSTANDARD_STM32F4_BARTHESS1 │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ ├── OLIMEX_AVR_CAN │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ ├── OLIMEX_AVR_MT_128 │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ ├── OLIMEX_LPC-P1227 │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ ├── OLIMEX_LPC_P1343 │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ ├── OLIMEX_LPC_P2148 │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ ├── board.mk │ │ │ ├── buzzer.c │ │ │ └── buzzer.h │ │ ├── OLIMEX_MSP430_P1611 │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ ├── OLIMEX_SAM7_EX256 │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ ├── OLIMEX_SAM7_P256 │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ ├── OLIMEX_STM32_103STK │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ ├── OLIMEX_STM32_E407 │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ ├── board.mk │ │ │ └── cfg │ │ │ │ └── board.chcfg │ │ ├── OLIMEX_STM32_E407_REV_D │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ ├── board.mk │ │ │ └── cfg │ │ │ │ └── board.chcfg │ │ ├── OLIMEX_STM32_H103 │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ ├── OLIMEX_STM32_H407 │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ ├── board.mk │ │ │ └── cfg │ │ │ │ └── board.chcfg │ │ ├── OLIMEX_STM32_LCD │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ ├── OLIMEX_STM32_P103 │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ ├── OLIMEX_STM32_P107 │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ ├── OLIMEX_STM32_P407 │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ ├── STUDIEL_AT91SAM7A3_EK │ │ │ ├── board.c │ │ │ └── board.h │ │ ├── ST_EVB_SPC560BC │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ ├── ST_EVB_SPC560P │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ ├── ST_EVB_SPC563M │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ ├── ST_EVB_SPC564A │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ ├── ST_EVB_SPC56EL │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ ├── ST_INEMO_M1_DISCOVERY │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ ├── ST_NUCLEO_F030R8 │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ ├── board.mk │ │ │ └── cfg │ │ │ │ └── board.chcfg │ │ ├── ST_NUCLEO_F103RB │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ ├── ST_NUCLEO_F401RE │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ ├── board.mk │ │ │ └── cfg │ │ │ │ └── board.chcfg │ │ ├── ST_NUCLEO_L152RE │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ ├── board.mk │ │ │ └── cfg │ │ │ │ └── board.chcfg │ │ ├── ST_STM3210C_EVAL │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ ├── ST_STM3210E_EVAL │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ ├── ST_STM3220G_EVAL │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ ├── ST_STM32373C_EVAL │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ ├── board.mk │ │ │ └── cfg │ │ │ │ └── board.chcfg │ │ ├── ST_STM32F0_DISCOVERY │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ ├── board.mk │ │ │ └── cfg │ │ │ │ └── board.chcfg │ │ ├── ST_STM32F3_DISCOVERY │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ ├── board.mk │ │ │ └── cfg │ │ │ │ └── board.chcfg │ │ ├── ST_STM32F401C_DISCOVERY │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ │ ├── ST_STM32F429I_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 │ │ ├── readme.txt │ │ └── simulator │ │ │ ├── board.c │ │ │ ├── board.h │ │ │ └── board.mk │ ├── demos │ │ ├── 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 │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── iar │ │ │ │ ├── ch.ewp │ │ │ │ ├── ch.eww │ │ │ │ └── ch.icf │ │ │ ├── keil │ │ │ │ └── ch.uvproj │ │ │ ├── main.c │ │ │ └── mcuconf.h │ │ ├── ARMCM0-LPC11U14-LPCXPRESSO │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ └── mcuconf.h │ │ ├── ARMCM0-STM32F030R8-NUCLEO │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── ARMCM0-STM32F051-DISCOVERY │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── ARMCM0P-LPC812-LPCXPRESSO │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── lpc8xx_isp.py │ │ │ ├── main.c │ │ │ └── mcuconf.h │ │ ├── ARMCM3-GENERIC-KERNEL │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── main.c │ │ │ └── readme.txt │ │ ├── ARMCM3-LPC1343-LPCXPRESSO │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── iar │ │ │ │ ├── ch.ewp │ │ │ │ ├── ch.eww │ │ │ │ └── ch.icf │ │ │ ├── keil │ │ │ │ └── ch.uvproj │ │ │ ├── main.c │ │ │ └── mcuconf.h │ │ ├── ARMCM3-LPC1343-OLIMEX │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── 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 │ │ │ ├── halconf.h │ │ │ ├── iar │ │ │ │ ├── ch.ewp │ │ │ │ ├── ch.eww │ │ │ │ └── ch.icf │ │ │ ├── keil │ │ │ │ └── ch.uvproj │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── ARMCM3-STM32F103RB-NUCLEO │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── ARMCM3-STM32F103ZG-FATFS │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── ffconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── ARMCM3-STM32F103_INEMO_DISCOVERY │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── 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 │ │ ├── ARMCM3-STM32L152RE-NUCLEO │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── ARMCM4-SAM4L │ │ │ └── ARMCM4-SAM4L.7z │ │ ├── ARMCM4-STM32F303-DISCOVERY │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── ARMCM4-STM32F373-STM32373C_EVAL │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── ARMCM4-STM32F401C-DISCOVERY │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ ├── readme.txt │ │ │ ├── usbcfg.c │ │ │ └── usbcfg.h │ │ ├── ARMCM4-STM32F401RE-NUCLEO │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── ARMCM4-STM32F407-DISCOVERY-G++ │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.cpp │ │ │ ├── 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 │ │ ├── ARMCM4-STM32F429-DISCOVERY │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ ├── readme.txt │ │ │ ├── usbcfg.c │ │ │ └── usbcfg.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-SPC560B-GCC │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ └── mcuconf.h │ │ ├── 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 │ │ │ └── mcuconf.h │ │ ├── PPC-SPC564A-GCC │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ └── mcuconf.h │ │ ├── PPC-SPC56EL-GCC │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ └── mcuconf.h │ │ ├── Posix-GCC │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ └── 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 │ │ │ ├── SPC560B50-64.txt │ │ │ ├── SPC560P50-64.txt │ │ │ ├── SPC563M64-80.txt │ │ │ ├── SPC564A64-150.txt │ │ │ ├── SPC56EL60-120.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 │ │ │ ├── STM32F303-72-GCC.txt │ │ │ ├── STM32F373-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 │ │ │ ├── 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.eps │ │ │ ├── workspace.png │ │ │ └── workspace.svg │ │ └── src │ │ │ ├── concepts.dox │ │ │ └── main.dox │ ├── documentation.html │ ├── exception.txt │ ├── ext │ │ ├── ext.dox │ │ ├── fatfs-0.9-patched.zip │ │ ├── lwip-1.4.1_patched.zip │ │ ├── readme.txt │ │ ├── uip-1.0.patches.zip │ │ └── uip-1.0.tar.gz │ ├── license.txt │ ├── os │ │ ├── hal │ │ │ ├── dox │ │ │ │ ├── adc.dox │ │ │ │ ├── can.dox │ │ │ │ ├── ext.dox │ │ │ │ ├── gpt.dox │ │ │ │ ├── hal.dox │ │ │ │ ├── i2c.dox │ │ │ │ ├── i2s.dox │ │ │ │ ├── icu.dox │ │ │ │ ├── io_block.dox │ │ │ │ ├── io_channel.dox │ │ │ │ ├── mac.dox │ │ │ │ ├── mmc_spi.dox │ │ │ │ ├── mmcsd.dox │ │ │ │ ├── pal.dox │ │ │ │ ├── pwm.dox │ │ │ │ ├── rtc.dox │ │ │ │ ├── sdc.dox │ │ │ │ ├── serial.dox │ │ │ │ ├── serial_usb.dox │ │ │ │ ├── spi.dox │ │ │ │ ├── tm.dox │ │ │ │ ├── uart.dox │ │ │ │ └── usb.dox │ │ │ ├── hal.cmake │ │ │ ├── hal.dox │ │ │ ├── hal.mk │ │ │ ├── include │ │ │ │ ├── adc.h │ │ │ │ ├── can.h │ │ │ │ ├── ext.h │ │ │ │ ├── gpt.h │ │ │ │ ├── hal.h │ │ │ │ ├── i2c.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 │ │ │ ├── platforms │ │ │ │ ├── AT91SAM7 │ │ │ │ │ ├── adc_lld.c │ │ │ │ │ ├── adc_lld.h │ │ │ │ │ ├── at91lib │ │ │ │ │ │ ├── AT91SAM7A3.h │ │ │ │ │ │ ├── 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 │ │ │ │ │ ├── gpt_lld.c │ │ │ │ │ ├── gpt_lld.h │ │ │ │ │ ├── hal_lld.c │ │ │ │ │ ├── hal_lld.h │ │ │ │ │ ├── i2c_lld.c │ │ │ │ │ ├── i2c_lld.h │ │ │ │ │ ├── mac_lld.c │ │ │ │ │ ├── mac_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 │ │ │ │ ├── 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 │ │ │ │ ├── LPC11Uxx │ │ │ │ │ ├── LPC11Uxx.h │ │ │ │ │ ├── ext_lld.c │ │ │ │ │ ├── ext_lld.h │ │ │ │ │ ├── ext_lld_isr.c │ │ │ │ │ ├── ext_lld_isr.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 │ │ │ │ ├── LPC122x │ │ │ │ │ ├── LPC122x.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_LPC122x.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 │ │ │ │ ├── LPC8xx │ │ │ │ │ ├── LPC8xx.h │ │ │ │ │ ├── ext_lld.c │ │ │ │ │ ├── ext_lld.h │ │ │ │ │ ├── ext_lld_isr.c │ │ │ │ │ ├── ext_lld_isr.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_LPC8xx.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 │ │ │ │ ├── SPC560BCxx │ │ │ │ │ ├── hal_lld.c │ │ │ │ │ ├── hal_lld.h │ │ │ │ │ ├── platform.mk │ │ │ │ │ ├── spc560bc_registry.h │ │ │ │ │ ├── typedefs.h │ │ │ │ │ └── xpc560bc.h │ │ │ │ ├── SPC560Pxx │ │ │ │ │ ├── hal_lld.c │ │ │ │ │ ├── hal_lld.h │ │ │ │ │ ├── platform.mk │ │ │ │ │ ├── spc560p_registry.h │ │ │ │ │ ├── typedefs.h │ │ │ │ │ └── xpc560p.h │ │ │ │ ├── SPC563Mxx │ │ │ │ │ ├── hal_lld.c │ │ │ │ │ ├── hal_lld.h │ │ │ │ │ ├── platform.dox │ │ │ │ │ ├── platform.mk │ │ │ │ │ ├── spc563m_registry.h │ │ │ │ │ ├── typedefs.h │ │ │ │ │ └── xpc563m.h │ │ │ │ ├── SPC564Axx │ │ │ │ │ ├── hal_lld.c │ │ │ │ │ ├── hal_lld.h │ │ │ │ │ ├── platform.mk │ │ │ │ │ ├── spc564a_registry.h │ │ │ │ │ ├── typedefs.h │ │ │ │ │ └── xpc564a.h │ │ │ │ ├── SPC56ELxx │ │ │ │ │ ├── hal_lld.c │ │ │ │ │ ├── hal_lld.h │ │ │ │ │ ├── platform.mk │ │ │ │ │ ├── spc56el_registry.h │ │ │ │ │ ├── typedefs.h │ │ │ │ │ └── xpc56el.h │ │ │ │ ├── SPC5xx │ │ │ │ │ ├── EDMA_v1 │ │ │ │ │ │ ├── spc5_edma.c │ │ │ │ │ │ └── spc5_edma.h │ │ │ │ │ ├── EQADC_v1 │ │ │ │ │ │ ├── adc_lld.c │ │ │ │ │ │ └── adc_lld.h │ │ │ │ │ ├── ESCI_v1 │ │ │ │ │ │ ├── serial_lld.c │ │ │ │ │ │ └── serial_lld.h │ │ │ │ │ ├── FlexPWM_v1 │ │ │ │ │ │ ├── pwm_lld.c │ │ │ │ │ │ ├── pwm_lld.h │ │ │ │ │ │ └── spc5_flexpwm.h │ │ │ │ │ ├── LINFlex_v1 │ │ │ │ │ │ ├── serial_lld.c │ │ │ │ │ │ └── serial_lld.h │ │ │ │ │ ├── SIUL_v1 │ │ │ │ │ │ ├── pal_lld.c │ │ │ │ │ │ └── pal_lld.h │ │ │ │ │ ├── SIU_v1 │ │ │ │ │ │ ├── pal_lld.c │ │ │ │ │ │ └── pal_lld.h │ │ │ │ │ └── eTimer_v1 │ │ │ │ │ │ ├── icu_lld.c │ │ │ │ │ │ ├── icu_lld.h │ │ │ │ │ │ └── spc5_etimer.h │ │ │ │ ├── STM32 │ │ │ │ │ ├── GPIOv1 │ │ │ │ │ │ ├── pal_lld.c │ │ │ │ │ │ └── pal_lld.h │ │ │ │ │ ├── GPIOv2 │ │ │ │ │ │ ├── pal_lld.c │ │ │ │ │ │ └── pal_lld.h │ │ │ │ │ ├── I2Cv1 │ │ │ │ │ │ ├── i2c_lld.c │ │ │ │ │ │ └── i2c_lld.h │ │ │ │ │ ├── I2Cv2 │ │ │ │ │ │ ├── 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 │ │ │ │ │ ├── SPIv1 │ │ │ │ │ │ ├── spi_lld.c │ │ │ │ │ │ └── spi_lld.h │ │ │ │ │ ├── SPIv2 │ │ │ │ │ │ ├── spi_lld.c │ │ │ │ │ │ └── spi_lld.h │ │ │ │ │ ├── TIMv1 │ │ │ │ │ │ ├── gpt_lld.c │ │ │ │ │ │ ├── gpt_lld.h │ │ │ │ │ │ ├── icu_lld.c │ │ │ │ │ │ ├── icu_lld.h │ │ │ │ │ │ ├── pwm_lld.c │ │ │ │ │ │ ├── pwm_lld.h │ │ │ │ │ │ └── stm32_tim.h │ │ │ │ │ ├── USARTv1 │ │ │ │ │ │ ├── serial_lld.c │ │ │ │ │ │ ├── serial_lld.h │ │ │ │ │ │ ├── uart_lld.c │ │ │ │ │ │ └── uart_lld.h │ │ │ │ │ ├── USARTv2 │ │ │ │ │ │ ├── serial_lld.c │ │ │ │ │ │ ├── serial_lld.h │ │ │ │ │ │ ├── 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 │ │ │ │ │ ├── mac_lld.c │ │ │ │ │ ├── mac_lld.h │ │ │ │ │ ├── sdc_lld.c │ │ │ │ │ ├── sdc_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 │ │ │ │ │ ├── stm32_registry.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 │ │ │ │ ├── STM32F30x │ │ │ │ │ ├── adc_lld.c │ │ │ │ │ ├── adc_lld.h │ │ │ │ │ ├── ext_lld_isr.c │ │ │ │ │ ├── ext_lld_isr.h │ │ │ │ │ ├── hal_lld.c │ │ │ │ │ ├── hal_lld.h │ │ │ │ │ ├── platform.mk │ │ │ │ │ ├── stm32_dma.c │ │ │ │ │ ├── stm32_dma.h │ │ │ │ │ ├── stm32_isr.h │ │ │ │ │ ├── stm32_rcc.h │ │ │ │ │ ├── stm32_registry.h │ │ │ │ │ └── stm32f30x.h │ │ │ │ ├── STM32F37x │ │ │ │ │ ├── adc_lld.c │ │ │ │ │ ├── adc_lld.h │ │ │ │ │ ├── ext_lld_isr.c │ │ │ │ │ ├── ext_lld_isr.h │ │ │ │ │ ├── hal_lld.c │ │ │ │ │ ├── hal_lld.h │ │ │ │ │ ├── platform.mk │ │ │ │ │ ├── stm32_dma.c │ │ │ │ │ ├── stm32_dma.h │ │ │ │ │ ├── stm32_isr.h │ │ │ │ │ ├── stm32_rcc.h │ │ │ │ │ ├── stm32_registry.h │ │ │ │ │ └── stm32f37x.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 │ │ │ │ │ ├── stm32_registry.h │ │ │ │ │ └── stm32l1xx.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 │ │ │ │ ├── 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 │ │ │ │ ├── mcuconf.h │ │ │ │ ├── meta │ │ │ │ ├── driver.c │ │ │ │ ├── driver.h │ │ │ │ ├── driver_lld.c │ │ │ │ └── driver_lld.h │ │ │ │ ├── pal_lld.c │ │ │ │ ├── pal_lld.h │ │ │ │ ├── platform.mk │ │ │ │ ├── pwm_lld.c │ │ │ │ ├── pwm_lld.h │ │ │ │ ├── sdc_lld.c │ │ │ │ ├── sdc_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.cmake │ │ │ ├── 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 │ │ │ │ │ │ │ ├── AT91SAM7A3.ld │ │ │ │ │ │ │ ├── AT91SAM7S256.ld │ │ │ │ │ │ │ └── AT91SAM7X256.ld │ │ │ │ │ │ ├── port.mk │ │ │ │ │ │ ├── vectors.s │ │ │ │ │ │ └── wfi.h │ │ │ │ │ ├── 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 │ │ │ │ │ ├── LPC122x │ │ │ │ │ │ ├── cmparams.h │ │ │ │ │ │ ├── ld │ │ │ │ │ │ │ └── LPC1227.ld │ │ │ │ │ │ ├── port.mk │ │ │ │ │ │ └── vectors.c │ │ │ │ │ ├── LPC13xx │ │ │ │ │ │ ├── cmparams.h │ │ │ │ │ │ ├── ld │ │ │ │ │ │ │ └── LPC1343.ld │ │ │ │ │ │ ├── port.mk │ │ │ │ │ │ └── vectors.c │ │ │ │ │ ├── LPC8xx │ │ │ │ │ │ ├── cmparams.h │ │ │ │ │ │ ├── ld │ │ │ │ │ │ │ └── LPC812.ld │ │ │ │ │ │ ├── port.mk │ │ │ │ │ │ └── vectors.c │ │ │ │ │ ├── SAM4L │ │ │ │ │ │ ├── cmparams.h │ │ │ │ │ │ ├── ld │ │ │ │ │ │ │ └── ATSAM4LC4C.ld │ │ │ │ │ │ ├── port.mk │ │ │ │ │ │ └── vectors.c │ │ │ │ │ ├── STM32F0xx │ │ │ │ │ │ ├── cmparams.h │ │ │ │ │ │ ├── ld │ │ │ │ │ │ │ ├── STM32F030x8.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 │ │ │ │ │ │ │ └── STM32F373xC.ld │ │ │ │ │ │ ├── port.mk │ │ │ │ │ │ └── vectors.c │ │ │ │ │ ├── STM32F4xx │ │ │ │ │ │ ├── cmparams.h │ │ │ │ │ │ ├── ld │ │ │ │ │ │ │ ├── STM32F401xC.ld │ │ │ │ │ │ │ ├── STM32F401xE.ld │ │ │ │ │ │ │ ├── STM32F405xG.ld │ │ │ │ │ │ │ ├── STM32F407xG.ld │ │ │ │ │ │ │ ├── STM32F407xG_CCM.ld │ │ │ │ │ │ │ └── STM32F429xI.ld │ │ │ │ │ │ ├── port.mk │ │ │ │ │ │ └── vectors.c │ │ │ │ │ ├── STM32L1xx │ │ │ │ │ │ ├── cmparams.h │ │ │ │ │ │ ├── ld │ │ │ │ │ │ │ ├── STM32L152xB.ld │ │ │ │ │ │ │ └── STM32L152xE.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.cmake │ │ │ │ │ └── rules.mk │ │ │ │ ├── AVR │ │ │ │ │ ├── chcore.c │ │ │ │ │ ├── chcore.h │ │ │ │ │ ├── chtypes.h │ │ │ │ │ ├── port.dox │ │ │ │ │ └── port.mk │ │ │ │ ├── MSP430 │ │ │ │ │ ├── chcore.h │ │ │ │ │ ├── chcoreasm.s │ │ │ │ │ ├── chtypes.h │ │ │ │ │ ├── port.dox │ │ │ │ │ ├── port.mk │ │ │ │ │ └── rules.mk │ │ │ │ ├── PPC │ │ │ │ │ ├── SPC560BCxx │ │ │ │ │ │ ├── bam.s │ │ │ │ │ │ ├── core.s │ │ │ │ │ │ ├── ld │ │ │ │ │ │ │ ├── SPC560B44.ld │ │ │ │ │ │ │ └── SPC560B50.ld │ │ │ │ │ │ ├── port.mk │ │ │ │ │ │ ├── ppcparams.h │ │ │ │ │ │ ├── vectors.h │ │ │ │ │ │ └── vectors.s │ │ │ │ │ ├── SPC560Bxx │ │ │ │ │ │ ├── bam.s │ │ │ │ │ │ ├── core.s │ │ │ │ │ │ ├── ld │ │ │ │ │ │ │ └── SPC560B64.ld │ │ │ │ │ │ ├── port.mk │ │ │ │ │ │ ├── ppcparams.h │ │ │ │ │ │ ├── vectors.h │ │ │ │ │ │ └── vectors.s │ │ │ │ │ ├── SPC560Dxx │ │ │ │ │ │ ├── bam.s │ │ │ │ │ │ ├── core.s │ │ │ │ │ │ ├── ld │ │ │ │ │ │ │ ├── SPC560D30.ld │ │ │ │ │ │ │ └── SPC560D40.ld │ │ │ │ │ │ ├── port.mk │ │ │ │ │ │ ├── ppcparams.h │ │ │ │ │ │ ├── vectors.h │ │ │ │ │ │ └── vectors.s │ │ │ │ │ ├── SPC560Pxx │ │ │ │ │ │ ├── bam.s │ │ │ │ │ │ ├── core.s │ │ │ │ │ │ ├── ld │ │ │ │ │ │ │ ├── SPC560P44.ld │ │ │ │ │ │ │ └── SPC560P50.ld │ │ │ │ │ │ ├── port.mk │ │ │ │ │ │ ├── ppcparams.h │ │ │ │ │ │ ├── vectors.h │ │ │ │ │ │ └── vectors.s │ │ │ │ │ ├── SPC563Mxx │ │ │ │ │ │ ├── bam.s │ │ │ │ │ │ ├── core.s │ │ │ │ │ │ ├── ld │ │ │ │ │ │ │ └── SPC563M64.ld │ │ │ │ │ │ ├── port.mk │ │ │ │ │ │ ├── ppcparams.h │ │ │ │ │ │ ├── vectors.h │ │ │ │ │ │ └── vectors.s │ │ │ │ │ ├── SPC564Axx │ │ │ │ │ │ ├── bam.s │ │ │ │ │ │ ├── core.s │ │ │ │ │ │ ├── ld │ │ │ │ │ │ │ ├── SPC564A70.ld │ │ │ │ │ │ │ └── SPC564A80.ld │ │ │ │ │ │ ├── port.mk │ │ │ │ │ │ ├── ppcparams.h │ │ │ │ │ │ ├── vectors.h │ │ │ │ │ │ └── vectors.s │ │ │ │ │ ├── SPC56ECxx │ │ │ │ │ │ ├── ppcparams.h │ │ │ │ │ │ ├── vectors.h │ │ │ │ │ │ └── vectors.s │ │ │ │ │ ├── SPC56ELxx │ │ │ │ │ │ ├── bam.s │ │ │ │ │ │ ├── core.s │ │ │ │ │ │ ├── ld │ │ │ │ │ │ │ ├── SPC56EL54_LSM.ld │ │ │ │ │ │ │ ├── SPC56EL60_LSM.ld │ │ │ │ │ │ │ └── SPC56EL70_LSM.ld │ │ │ │ │ │ ├── port.mk │ │ │ │ │ │ ├── ppcparams.h │ │ │ │ │ │ ├── vectors.h │ │ │ │ │ │ └── vectors.s │ │ │ │ │ ├── chcore.c │ │ │ │ │ ├── chcore.h │ │ │ │ │ ├── chtypes.h │ │ │ │ │ ├── crt0.s │ │ │ │ │ ├── ivor.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 │ │ │ ├── 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 │ │ │ └── ports.dox │ │ └── various │ │ │ ├── chprintf.c │ │ │ ├── chprintf.h │ │ │ ├── chrtclib.c │ │ │ ├── chrtclib.h │ │ │ ├── cpp_wrappers │ │ │ ├── ch.cpp │ │ │ ├── ch.hpp │ │ │ └── kernel.mk │ │ │ ├── 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 │ │ │ └── various.dox │ ├── readme.txt │ ├── test │ │ ├── coverage │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ └── readme.txt │ │ ├── test.c │ │ ├── test.cmake │ │ ├── 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 │ │ ├── LPC11xx │ │ └── IRQ_STORM │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── LPC122x │ │ └── 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 │ │ ├── SPC560Pxx │ │ └── PWM-ICU │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── SPC563Mxx │ │ └── ADC │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── adc_cfg.c │ │ │ ├── adc_cfg.h │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── SPC56ELxx │ │ └── PWM-ICU │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── STM32F0xx │ │ ├── ADC │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── EXT │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── IRQ_STORM │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── PWM-ICU │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── SPI │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ └── UART │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── 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 │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── 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 │ │ ├── STM32F30x │ │ ├── ADC │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── ADC_DUAL │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── CAN │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── EXT │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── IRQ_STORM │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── PWM-ICU │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── SPI │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── UART │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── 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 │ │ ├── STM32F37x │ │ ├── ADC │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── CAN │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── EXT │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── I2C │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── IRQ_STORM │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── PWM-ICU │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── SDADC │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── SPI │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── UART │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── 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 │ │ ├── STM32F4xx │ │ ├── ADC │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── CAN │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── DMA_STORM │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ └── mcuconf.h │ │ ├── EXT │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── GPT │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── I2C │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ └── mcuconf.h │ │ ├── IRQ_STORM │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── iar │ │ │ │ ├── ch.ewp │ │ │ │ ├── ch.eww │ │ │ │ └── ch.icf │ │ │ ├── keil │ │ │ │ └── ch.uvproj │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── IRQ_STORM_FPU │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── 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 │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── RTC │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── 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 │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── csd.txt │ │ │ ├── ffconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── SPI │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── UART │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── 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 │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── EXT │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── IRQ_STORM │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── PWM-ICU │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ ├── SPI │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ └── UART │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── Makefile │ │ │ ├── chconf.h │ │ │ ├── halconf.h │ │ │ ├── main.c │ │ │ ├── mcuconf.h │ │ │ └── readme.txt │ │ └── common │ │ └── testbuild │ │ ├── .cproject │ │ ├── .project │ │ ├── Makefile │ │ ├── board.h │ │ ├── chconf.h │ │ └── main.c ├── common │ ├── adc.hpp │ ├── ais_baseband.cpp │ ├── ais_baseband.hpp │ ├── ais_packet.cpp │ ├── ais_packet.hpp │ ├── ak4951.cpp │ ├── ak4951.hpp │ ├── backlight.cpp │ ├── backlight.hpp │ ├── baseband.hpp │ ├── baseband_cpld.cpp │ ├── baseband_cpld.hpp │ ├── baseband_packet.hpp │ ├── baseband_sgpio.cpp │ ├── baseband_sgpio.hpp │ ├── bit_pattern.hpp │ ├── buffer.cpp │ ├── buffer.hpp │ ├── buffer_exchange.cpp │ ├── buffer_exchange.hpp │ ├── chibios_cpp.cpp │ ├── chibios_cpp.hpp │ ├── complex.hpp │ ├── cpld_max5.cpp │ ├── cpld_max5.hpp │ ├── cpld_update.cpp │ ├── cpld_update.hpp │ ├── cpld_xilinx.cpp │ ├── cpld_xilinx.hpp │ ├── crc.hpp │ ├── debug.cpp │ ├── debug.hpp │ ├── dsp_fft.cpp │ ├── dsp_fft.hpp │ ├── dsp_fir_taps.cpp │ ├── dsp_fir_taps.hpp │ ├── dsp_iir.cpp │ ├── dsp_iir.hpp │ ├── dsp_iir_config.hpp │ ├── dsp_types.hpp │ ├── ert_packet.cpp │ ├── ert_packet.hpp │ ├── event.cpp │ ├── event.hpp │ ├── field_reader.hpp │ ├── fifo.hpp │ ├── gcc.cpp │ ├── gcc.hpp │ ├── gpdma.cpp │ ├── gpdma.hpp │ ├── gpio.hpp │ ├── hackrf_cpld_data.hpp │ ├── hackrf_gpio.hpp │ ├── hackrf_hal.cpp │ ├── hackrf_hal.hpp │ ├── i2c_pp.cpp │ ├── i2c_pp.hpp │ ├── i2s.hpp │ ├── jtag.cpp │ ├── jtag.hpp │ ├── jtag_tap.cpp │ ├── jtag_tap.hpp │ ├── jtag_target.hpp │ ├── jtag_target_gpio.hpp │ ├── lcd_ili9341.cpp │ ├── lcd_ili9341.hpp │ ├── led.hpp │ ├── lfsr_random.cpp │ ├── lfsr_random.hpp │ ├── lpc43xx_cpp.hpp │ ├── manchester.cpp │ ├── manchester.hpp │ ├── memory_map.hpp │ ├── message.hpp │ ├── message_queue.cpp │ ├── message_queue.hpp │ ├── optional.hpp │ ├── pins.hpp │ ├── platform.hpp │ ├── png_writer.cpp │ ├── png_writer.hpp │ ├── portapack_adc.hpp │ ├── portapack_cpld_data.hpp │ ├── portapack_dma.hpp │ ├── portapack_hal.hpp │ ├── portapack_io.cpp │ ├── portapack_io.hpp │ ├── portapack_persistent_memory.cpp │ ├── portapack_persistent_memory.hpp │ ├── portapack_shared_memory.cpp │ ├── portapack_shared_memory.hpp │ ├── simd.hpp │ ├── sine_table.hpp │ ├── spi_image.hpp │ ├── thread_base.hpp │ ├── thread_wait.cpp │ ├── thread_wait.hpp │ ├── tpms_packet.cpp │ ├── tpms_packet.hpp │ ├── ui.cpp │ ├── ui.hpp │ ├── ui_focus.cpp │ ├── ui_focus.hpp │ ├── ui_painter.cpp │ ├── ui_painter.hpp │ ├── ui_text.cpp │ ├── ui_text.hpp │ ├── ui_widget.cpp │ ├── ui_widget.hpp │ ├── units.hpp │ ├── utility.cpp │ ├── utility.hpp │ ├── utility_m4.hpp │ ├── volume.hpp │ ├── wm8731.cpp │ └── wm8731.hpp ├── toolchain-arm-cortex-m.cmake └── tools │ ├── extract_cpld_data.py │ ├── make_image_chunk.py │ └── make_spi_image.py ├── hardware ├── .gitignore └── portapack_h1 │ ├── README │ ├── audio.sch │ ├── case │ └── pp_h1_case.fcstd │ ├── cpld │ ├── 20150901 │ │ ├── Makefile │ │ ├── output_files │ │ │ └── portapack_h1_cpld.svf │ │ ├── portapack_h1_cpld.qpf │ │ ├── portapack_h1_cpld.qsf │ │ ├── portapack_h1_cpld.sdc │ │ ├── top.vhd │ │ └── top_tb.vhd │ ├── 20170522 │ │ ├── Makefile │ │ ├── output_files │ │ │ └── portapack_h1_cpld.svf │ │ ├── portapack_h1_cpld.qpf │ │ ├── portapack_h1_cpld.qsf │ │ ├── portapack_h1_cpld.sdc │ │ └── top.vhd │ └── .gitignore │ ├── fp-lib-table │ ├── gps.sch │ ├── hackrf_if.sch │ ├── lcd_sw_sd.sch │ ├── portapack_h1.kicad_pcb │ ├── portapack_h1.net │ ├── portapack_h1.pdf │ ├── portapack_h1.pro │ ├── portapack_h1.sch │ ├── power.sch │ └── sym-lib-table ├── host └── bin │ ├── switch_to_hackrf │ └── switch_to_portapack └── tools └── deploy-nightly.sh /.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files 2 | *.slo 3 | *.lo 4 | *.o 5 | *.obj 6 | 7 | # Precompiled Headers 8 | *.gch 9 | *.pch 10 | 11 | # Compiled Dynamic libraries 12 | *.so 13 | *.dylib 14 | *.dll 15 | 16 | # Fortran module files 17 | *.mod 18 | 19 | # Compiled Static libraries 20 | *.lai 21 | *.la 22 | *.a 23 | *.lib 24 | 25 | # Executables 26 | *.exe 27 | *.out 28 | *.app 29 | 30 | # Other compiler/linker outputs 31 | *.elf 32 | *.bin 33 | *.map 34 | *.lst 35 | .dep/ 36 | build/ 37 | 38 | # Debugging 39 | .gdbinit* 40 | 41 | # Editor files 42 | *.sublime-project 43 | *.sublime-workspace 44 | 45 | # Host OS turds 46 | .DS_Store 47 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "hackrf"] 2 | path = hackrf 3 | url = https://github.com/greatscottgadgets/hackrf.git 4 | -------------------------------------------------------------------------------- /doc/images/hardware/portapack_h1_operating.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/doc/images/hardware/portapack_h1_operating.jpg -------------------------------------------------------------------------------- /doc/images/hardware/portapack_h1_parts.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/doc/images/hardware/portapack_h1_parts.jpg -------------------------------------------------------------------------------- /firmware/application/firmware_info.c: -------------------------------------------------------------------------------- 1 | #include "../../hackrf/firmware/common/firmware_info.h" 2 | #include "../../hackrf/firmware/common/platform_detect.h" 3 | 4 | #define SUPPORTED_PLATFORM (PLATFORM_HACKRF1_OG | PLATFORM_HACKRF1_R9) 5 | #define DFU_MODE_VALUE 0 6 | 7 | __attribute__((section(".firmware_info"))) const struct firmware_info_t firmware_info = { 8 | .magic = "HACKRFFW", 9 | .struct_version = 1, 10 | .dfu_mode = DFU_MODE_VALUE, 11 | .supported_platform = SUPPORTED_PLATFORM, 12 | .version_string = VERSION_STRING, 13 | }; 14 | -------------------------------------------------------------------------------- /firmware/application/hw/spi_pp.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc. 3 | * 4 | * This file is part of PortaPack. 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2, or (at your option) 9 | * any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; see the file COPYING. If not, write to 18 | * the Free Software Foundation, Inc., 51 Franklin Street, 19 | * Boston, MA 02110-1301, USA. 20 | */ 21 | 22 | #include "spi_pp.hpp" 23 | -------------------------------------------------------------------------------- /firmware/application/irq_lcd_frame.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2015 Jared Boone, ShareBrained Technology, Inc. 3 | * 4 | * This file is part of PortaPack. 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2, or (at your option) 9 | * any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; see the file COPYING. If not, write to 18 | * the Free Software Foundation, Inc., 51 Franklin Street, 19 | * Boston, MA 02110-1301, USA. 20 | */ 21 | 22 | #ifndef __IRQ_LCD_FRAME_H__ 23 | #define __IRQ_LCD_FRAME_H__ 24 | 25 | void lcd_frame_sync_configure(); 26 | 27 | #endif/*__IRQ_LCD_FRAME_H__*/ 28 | -------------------------------------------------------------------------------- /firmware/application/irq_rtc.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc. 3 | * 4 | * This file is part of PortaPack. 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2, or (at your option) 9 | * any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; see the file COPYING. If not, write to 18 | * the Free Software Foundation, Inc., 51 Franklin Street, 19 | * Boston, MA 02110-1301, USA. 20 | */ 21 | 22 | #ifndef __IPC_RTC_H__ 23 | #define __IPC_RTC_H__ 24 | 25 | void rtc_interrupt_enable(); 26 | 27 | #endif/*__IPC_RTC_H__*/ 28 | -------------------------------------------------------------------------------- /firmware/application/rtc_time.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2015 Jared Boone, ShareBrained Technology, Inc. 3 | * 4 | * This file is part of PortaPack. 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2, or (at your option) 9 | * any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; see the file COPYING. If not, write to 18 | * the Free Software Foundation, Inc., 51 Franklin Street, 19 | * Boston, MA 02110-1301, USA. 20 | */ 21 | 22 | #include "rtc_time.hpp" 23 | 24 | namespace rtc_time { 25 | 26 | Signal<> signal_tick_second; 27 | 28 | void on_tick_second() { 29 | signal_tick_second.emit(); 30 | } 31 | 32 | } /* namespace rtc_time */ 33 | -------------------------------------------------------------------------------- /firmware/application/rtc_time.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2015 Jared Boone, ShareBrained Technology, Inc. 3 | * 4 | * This file is part of PortaPack. 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2, or (at your option) 9 | * any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; see the file COPYING. If not, write to 18 | * the Free Software Foundation, Inc., 51 Franklin Street, 19 | * Boston, MA 02110-1301, USA. 20 | */ 21 | 22 | #ifndef __RTC_TIME_H__ 23 | #define __RTC_TIME_H__ 24 | 25 | #include "signal.hpp" 26 | 27 | namespace rtc_time { 28 | 29 | extern Signal<> signal_tick_second; 30 | 31 | void on_tick_second(); 32 | 33 | } /* namespace rtc_time */ 34 | 35 | #endif/*__RTC_TIME_H__*/ 36 | -------------------------------------------------------------------------------- /firmware/baseband/clock_recovery.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc. 3 | * 4 | * This file is part of PortaPack. 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2, or (at your option) 9 | * any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; see the file COPYING. If not, write to 18 | * the Free Software Foundation, Inc., 51 Franklin Street, 19 | * Boston, MA 02110-1301, USA. 20 | */ 21 | 22 | #include "clock_recovery.hpp" 23 | -------------------------------------------------------------------------------- /firmware/baseband/fxpt_atan2.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc. 3 | * 4 | * This file is part of PortaPack. 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2, or (at your option) 9 | * any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; see the file COPYING. If not, write to 18 | * the Free Software Foundation, Inc., 51 Franklin Street, 19 | * Boston, MA 02110-1301, USA. 20 | */ 21 | 22 | #ifndef __FXPT_ATAN2_H__ 23 | #define __FXPT_ATAN2_H__ 24 | 25 | #include 26 | 27 | int16_t fxpt_atan2(const int16_t y, const int16_t x); 28 | 29 | #endif/*__FXPT_ATAN2_H__*/ 30 | -------------------------------------------------------------------------------- /firmware/baseband/packet_builder.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc. 3 | * 4 | * This file is part of PortaPack. 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2, or (at your option) 9 | * any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; see the file COPYING. If not, write to 18 | * the Free Software Foundation, Inc., 51 Franklin Street, 19 | * Boston, MA 02110-1301, USA. 20 | */ 21 | 22 | #include "packet_builder.hpp" 23 | -------------------------------------------------------------------------------- /firmware/chibios-portapack/boards/PORTAPACK_APPLICATION/board.cmake: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | set(BOARDSRC 3 | ${CHIBIOS_PORTAPACK}/boards/PORTAPACK_APPLICATION/board.cpp 4 | ) 5 | 6 | # Required include directories 7 | set(BOARDINC 8 | ${CHIBIOS_PORTAPACK}/boards/PORTAPACK_APPLICATION 9 | ) 10 | -------------------------------------------------------------------------------- /firmware/chibios-portapack/boards/PORTAPACK_APPLICATION/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS_PORTAPACK}/boards/PORTAPACK_APPLICATION/board.cpp 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS_PORTAPACK}/boards/PORTAPACK_APPLICATION -------------------------------------------------------------------------------- /firmware/chibios-portapack/boards/PORTAPACK_BASEBAND/board.c: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 3 | Copyright (C) 2014 Jared Boone, ShareBrained Technology 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | 18 | #include "ch.h" 19 | #include "hal.h" 20 | 21 | /** 22 | * @brief Board-specific initialization code. 23 | * @todo Add your board-specific code, if any. 24 | */ 25 | void boardInit(void) { 26 | } 27 | -------------------------------------------------------------------------------- /firmware/chibios-portapack/boards/PORTAPACK_BASEBAND/board.cmake: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | set(BOARDSRC 3 | ${CHIBIOS_PORTAPACK}/boards/PORTAPACK_BASEBAND/board.c 4 | ) 5 | 6 | # Required include directories 7 | set(BOARDINC 8 | ${CHIBIOS_PORTAPACK}/boards/PORTAPACK_BASEBAND 9 | ) 10 | -------------------------------------------------------------------------------- /firmware/chibios-portapack/boards/PORTAPACK_BASEBAND/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS_PORTAPACK}/boards/PORTAPACK_BASEBAND/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS_PORTAPACK}/boards/PORTAPACK_BASEBAND -------------------------------------------------------------------------------- /firmware/chibios-portapack/ext/fatfs/doc/css_j.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios-portapack/ext/fatfs/doc/css_j.css -------------------------------------------------------------------------------- /firmware/chibios-portapack/ext/fatfs/doc/res/f1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios-portapack/ext/fatfs/doc/res/f1.png -------------------------------------------------------------------------------- /firmware/chibios-portapack/ext/fatfs/doc/res/f2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios-portapack/ext/fatfs/doc/res/f2.png -------------------------------------------------------------------------------- /firmware/chibios-portapack/ext/fatfs/doc/res/f3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios-portapack/ext/fatfs/doc/res/f3.png -------------------------------------------------------------------------------- /firmware/chibios-portapack/ext/fatfs/doc/res/f4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios-portapack/ext/fatfs/doc/res/f4.png -------------------------------------------------------------------------------- /firmware/chibios-portapack/ext/fatfs/doc/res/f5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios-portapack/ext/fatfs/doc/res/f5.png -------------------------------------------------------------------------------- /firmware/chibios-portapack/ext/fatfs/doc/res/f6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios-portapack/ext/fatfs/doc/res/f6.png -------------------------------------------------------------------------------- /firmware/chibios-portapack/ext/fatfs/doc/res/f7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios-portapack/ext/fatfs/doc/res/f7.png -------------------------------------------------------------------------------- /firmware/chibios-portapack/ext/fatfs/doc/res/funcs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios-portapack/ext/fatfs/doc/res/funcs.png -------------------------------------------------------------------------------- /firmware/chibios-portapack/ext/fatfs/doc/res/layers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios-portapack/ext/fatfs/doc/res/layers.png -------------------------------------------------------------------------------- /firmware/chibios-portapack/ext/fatfs/doc/res/layers1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios-portapack/ext/fatfs/doc/res/layers1.png -------------------------------------------------------------------------------- /firmware/chibios-portapack/ext/fatfs/doc/res/layers2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios-portapack/ext/fatfs/doc/res/layers2.png -------------------------------------------------------------------------------- /firmware/chibios-portapack/ext/fatfs/doc/res/mkfatimg.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios-portapack/ext/fatfs/doc/res/mkfatimg.zip -------------------------------------------------------------------------------- /firmware/chibios-portapack/ext/fatfs/doc/res/mkfs.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios-portapack/ext/fatfs/doc/res/mkfs.xls -------------------------------------------------------------------------------- /firmware/chibios-portapack/ext/fatfs/doc/res/modules.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios-portapack/ext/fatfs/doc/res/modules.png -------------------------------------------------------------------------------- /firmware/chibios-portapack/ext/fatfs/doc/res/rwtest1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios-portapack/ext/fatfs/doc/res/rwtest1.png -------------------------------------------------------------------------------- /firmware/chibios-portapack/ext/fatfs/doc/res/rwtest2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios-portapack/ext/fatfs/doc/res/rwtest2.png -------------------------------------------------------------------------------- /firmware/chibios-portapack/ext/fatfs/doc/res/rwtest3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios-portapack/ext/fatfs/doc/res/rwtest3.png -------------------------------------------------------------------------------- /firmware/chibios-portapack/ext/fatfs/src/00readme.txt: -------------------------------------------------------------------------------- 1 | FatFs Module Source Files R0.12c 2 | 3 | 4 | FILES 5 | 6 | 00readme.txt This file. 7 | 00history.txt Revision history. 8 | ff.c FatFs module. 9 | ffconf.h Configuration file of FatFs module. 10 | ff.h Common include file for FatFs and application module. 11 | diskio.h Common include file for FatFs and disk I/O module. 12 | diskio.c An example of glue function to attach existing disk I/O module to FatFs. 13 | integer.h Integer type definitions for FatFs. 14 | option Optional external modules. 15 | 16 | 17 | Low level disk I/O module is not included in this archive because the FatFs 18 | module is only a generic file system layer and it does not depend on any specific 19 | storage device. You have to provide a low level disk I/O module written to 20 | control the storage device that attached to the target system. 21 | 22 | -------------------------------------------------------------------------------- /firmware/chibios-portapack/ext/fatfs/src/integer.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------------------*/ 2 | /* Integer type definitions for FatFs module */ 3 | /*-------------------------------------------*/ 4 | 5 | #ifndef _FF_INTEGER 6 | #define _FF_INTEGER 7 | 8 | #ifdef _WIN32 /* FatFs development platform */ 9 | 10 | #include 11 | #include 12 | typedef unsigned __int64 QWORD; 13 | 14 | 15 | #else /* Embedded platform */ 16 | 17 | /* These types MUST be 16-bit or 32-bit */ 18 | typedef int INT; 19 | typedef unsigned int UINT; 20 | 21 | /* This type MUST be 8-bit */ 22 | typedef unsigned char BYTE; 23 | 24 | /* These types MUST be 16-bit */ 25 | typedef short SHORT; 26 | typedef unsigned short WORD; 27 | typedef unsigned short WCHAR; 28 | 29 | /* These types MUST be 32-bit */ 30 | typedef long LONG; 31 | typedef unsigned long DWORD; 32 | 33 | /* This type MUST be 64-bit (Remove this for ANSI C (C89) compatibility) */ 34 | typedef unsigned long long QWORD; 35 | 36 | #endif 37 | 38 | #endif 39 | -------------------------------------------------------------------------------- /firmware/chibios-portapack/ext/fatfs/src/option/unicode.c: -------------------------------------------------------------------------------- 1 | #include "../ff.h" 2 | 3 | #if _USE_LFN != 0 4 | 5 | #if _CODE_PAGE == 932 /* Japanese Shift_JIS */ 6 | #include "cc932.c" 7 | #elif _CODE_PAGE == 936 /* Simplified Chinese GBK */ 8 | #include "cc936.c" 9 | #elif _CODE_PAGE == 949 /* Korean */ 10 | #include "cc949.c" 11 | #elif _CODE_PAGE == 950 /* Traditional Chinese Big5 */ 12 | #include "cc950.c" 13 | #else /* Single Byte Character-Set */ 14 | #include "ccsbcs.c" 15 | #endif 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /firmware/chibios-portapack/os/hal/platforms/LPC43xx_M0/platform.cmake: -------------------------------------------------------------------------------- 1 | # List of all the LPC43xx M0 platform files. 2 | set(PLATFORMSRC 3 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx_M0/hal_lld.c 4 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/gpt_lld.c 5 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/i2c_lld.c 6 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/pal_lld.c 7 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/rtc_lld.c 8 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/sdc_lld.c 9 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/serial_lld.c 10 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/spi_lld.c 11 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/lpc43xx.c 12 | ) 13 | 14 | # Required include directories 15 | set(PLATFORMINC 16 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx_M0 17 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx 18 | ) 19 | -------------------------------------------------------------------------------- /firmware/chibios-portapack/os/hal/platforms/LPC43xx_M0/platform.mk: -------------------------------------------------------------------------------- 1 | # List of all the LPC43xx M0 platform files. 2 | PLATFORMSRC = ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx_M0/hal_lld.c \ 3 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/gpt_lld.c \ 4 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/i2c_lld.c \ 5 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/pal_lld.c \ 6 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/rtc_lld.c \ 7 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/sdc_lld.c \ 8 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/serial_lld.c \ 9 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/spi_lld.c \ 10 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/lpc43xx.c 11 | 12 | # Required include directories 13 | PLATFORMINC = ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx_M0 \ 14 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx 15 | -------------------------------------------------------------------------------- /firmware/chibios-portapack/os/hal/platforms/LPC43xx_M4/platform.cmake: -------------------------------------------------------------------------------- 1 | # List of all the LPC43xx M4 platform files. 2 | set(PLATFORMSRC 3 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx_M4/hal_lld.c 4 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/gpt_lld.c 5 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/i2c_lld.c 6 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/pal_lld.c 7 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/rtc_lld.c 8 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/sdc_lld.c 9 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/serial_lld.c 10 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/spi_lld.c 11 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/lpc43xx.c 12 | ) 13 | 14 | # Required include directories 15 | set(PLATFORMINC 16 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx_M4 17 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx 18 | ) 19 | -------------------------------------------------------------------------------- /firmware/chibios-portapack/os/hal/platforms/LPC43xx_M4/platform.mk: -------------------------------------------------------------------------------- 1 | # List of all the LPC43xx M4 platform files. 2 | PLATFORMSRC = ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx_M4/hal_lld.c \ 3 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/gpt_lld.c \ 4 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/i2c_lld.c \ 5 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/pal_lld.c \ 6 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/rtc_lld.c \ 7 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/sdc_lld.c \ 8 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/serial_lld.c \ 9 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/spi_lld.c \ 10 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx/lpc43xx.c 11 | 12 | # Required include directories 13 | PLATFORMINC = ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx_M4 \ 14 | ${CHIBIOS_PORTAPACK}/os/hal/platforms/LPC43xx 15 | -------------------------------------------------------------------------------- /firmware/chibios-portapack/os/ports/GCC/ARMCMx/LPC43xx_M0/port.cmake: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT Cortex-M0 LPC43xx port files. 2 | set(PORTSRC 3 | ${CHIBIOS}/os/ports/GCC/ARMCMx/crt0.c 4 | ${CHIBIOS_PORTAPACK}/os/ports/GCC/ARMCMx/LPC43xx_M0/vectors.c 5 | ${CHIBIOS}/os/ports/GCC/ARMCMx/chcore.c 6 | ${CHIBIOS}/os/ports/GCC/ARMCMx/chcore_v6m.c 7 | ${CHIBIOS}/os/ports/common/ARMCMx/nvic.c 8 | ) 9 | 10 | set(PORTASM) 11 | 12 | set(PORTINC 13 | ${CHIBIOS}/os/ports/common/ARMCMx/CMSIS/include 14 | ${CHIBIOS}/os/ports/common/ARMCMx 15 | ${CHIBIOS}/os/ports/GCC/ARMCMx 16 | ${CHIBIOS_PORTAPACK}/os/ports/GCC/ARMCMx/LPC43xx_M0 17 | ) 18 | 19 | set(PORTLD 20 | ${CHIBIOS_PORTAPACK}/os/ports/GCC/ARMCMx/LPC43xx_M0/ld 21 | ) 22 | -------------------------------------------------------------------------------- /firmware/chibios-portapack/os/ports/GCC/ARMCMx/LPC43xx_M0/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT Cortex-M0 LPC43xx port files. 2 | PORTSRC = $(CHIBIOS)/os/ports/GCC/ARMCMx/crt0.c \ 3 | $(CHIBIOS_PORTAPACK)/os/ports/GCC/ARMCMx/LPC43xx_M0/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_PORTAPACK}/os/ports/GCC/ARMCMx/LPC43xx_M0 14 | 15 | PORTLD = ${CHIBIOS_PORTAPACK}/os/ports/GCC/ARMCMx/LPC43xx_M0/ld 16 | -------------------------------------------------------------------------------- /firmware/chibios-portapack/os/ports/GCC/ARMCMx/LPC43xx_M4/port.cmake: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT Cortex-M4 LPC43xx port files. 2 | set(PORTSRC 3 | ${CHIBIOS}/os/ports/GCC/ARMCMx/crt0.c 4 | ${CHIBIOS_PORTAPACK}/os/ports/GCC/ARMCMx/LPC43xx_M4/vectors.c 5 | ${CHIBIOS}/os/ports/GCC/ARMCMx/chcore.c 6 | ${CHIBIOS}/os/ports/GCC/ARMCMx/chcore_v7m.c 7 | ${CHIBIOS}/os/ports/common/ARMCMx/nvic.c 8 | ) 9 | 10 | set(PORTASM) 11 | 12 | set(PORTINC 13 | ${CHIBIOS}/os/ports/common/ARMCMx/CMSIS/include 14 | ${CHIBIOS}/os/ports/common/ARMCMx 15 | ${CHIBIOS}/os/ports/GCC/ARMCMx 16 | ${CHIBIOS_PORTAPACK}/os/ports/GCC/ARMCMx/LPC43xx_M4 17 | ) 18 | 19 | set(PORTLD 20 | ${CHIBIOS_PORTAPACK}/os/ports/GCC/ARMCMx/LPC43xx_M4/ld 21 | ) 22 | -------------------------------------------------------------------------------- /firmware/chibios-portapack/os/ports/GCC/ARMCMx/LPC43xx_M4/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT Cortex-M4 LPC43xx port files. 2 | PORTSRC = $(CHIBIOS)/os/ports/GCC/ARMCMx/crt0.c \ 3 | $(CHIBIOS_PORTAPACK)/os/ports/GCC/ARMCMx/LPC43xx_M4/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_PORTAPACK}/os/ports/GCC/ARMCMx/LPC43xx_M4 14 | 15 | PORTLD = ${CHIBIOS_PORTAPACK}/os/ports/GCC/ARMCMx/LPC43xx_M4/ld 16 | -------------------------------------------------------------------------------- /firmware/chibios-portapack/os/various/fatfs_bindings/fatfs.cmake: -------------------------------------------------------------------------------- 1 | # FATFS files. 2 | set(FATFSSRC 3 | ${CHIBIOS_PORTAPACK}/os/various/fatfs_bindings/fatfs_diskio.c 4 | ${CHIBIOS_PORTAPACK}/os/various/fatfs_bindings/fatfs_syscall.c 5 | ${CHIBIOS_PORTAPACK}/ext/fatfs/src/ff.c 6 | ${CHIBIOS_PORTAPACK}/ext/fatfs/src/option/unicode.c 7 | ) 8 | 9 | set(FATFSINC 10 | ${CHIBIOS_PORTAPACK}/ext/fatfs/src 11 | ) 12 | -------------------------------------------------------------------------------- /firmware/chibios-portapack/os/various/fatfs_bindings/fatfs.mk: -------------------------------------------------------------------------------- 1 | # FATFS files. 2 | FATFSSRC = ${CHIBIOS_PORTAPACK}/os/various/fatfs_bindings/fatfs_diskio.c \ 3 | ${CHIBIOS_PORTAPACK}/os/various/fatfs_bindings/fatfs_syscall.c \ 4 | ${CHIBIOS_PORTAPACK}/ext/fatfs/src/ff.c \ 5 | ${CHIBIOS_PORTAPACK}/ext/fatfs/src/option/unicode.c 6 | 7 | FATFSINC = ${CHIBIOS_PORTAPACK}/ext/fatfs/src 8 | -------------------------------------------------------------------------------- /firmware/chibios-portapack/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 | -------------------------------------------------------------------------------- /firmware/chibios/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | ChibiOS-RT (whole tree) 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/boards/EA_LPCXPRESSO_LPC812/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/EA_LPCXPRESSO_LPC812/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/EA_LPCXPRESSO_LPC812 6 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/boards/NGX_BB_LPC11U14/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/NGX_BB_LPC11U14/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/NGX_BB_LPC11U14 6 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/boards/OLIMEX_LPC-P1227/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/OLIMEX_LPC-P1227/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/OLIMEX_LPC-P1227 6 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/boards/OLIMEX_LPC_P2148/buzzer.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef _BUZZER_H_ 18 | #define _BUZZER_H_ 19 | 20 | #ifdef __cplusplus 21 | extern "C" { 22 | #endif 23 | void buzzInit(void); 24 | void buzzPlay(uint32_t freq, systime_t duration); 25 | void buzzPlayWait(uint32_t freq, systime_t duration); 26 | #ifdef __cplusplus 27 | } 28 | #endif 29 | 30 | extern EventSource BuzzerSilentEventSource; 31 | 32 | #endif /* _BUZZER_H_ */ 33 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/boards/OLIMEX_STM32_E407_REV_D/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/OLIMEX_STM32_E407_REV_D/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/OLIMEX_STM32_E407_REV_D 6 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/boards/OLIMEX_STM32_H407/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/OLIMEX_STM32_H407/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/OLIMEX_STM32_H407 6 | -------------------------------------------------------------------------------- /firmware/chibios/boards/OLIMEX_STM32_LCD/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/OLIMEX_STM32_LCD/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/OLIMEX_STM32_LCD 6 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/boards/ST_EVB_SPC560BC/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/ST_EVB_SPC560BC/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/ST_EVB_SPC560BC 6 | -------------------------------------------------------------------------------- /firmware/chibios/boards/ST_EVB_SPC560P/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/ST_EVB_SPC560P/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/ST_EVB_SPC560P 6 | -------------------------------------------------------------------------------- /firmware/chibios/boards/ST_EVB_SPC563M/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/ST_EVB_SPC563M/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/ST_EVB_SPC563M 6 | -------------------------------------------------------------------------------- /firmware/chibios/boards/ST_EVB_SPC564A/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/ST_EVB_SPC564A/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/ST_EVB_SPC564A 6 | -------------------------------------------------------------------------------- /firmware/chibios/boards/ST_EVB_SPC56EL/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/ST_EVB_SPC56EL/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/ST_EVB_SPC56EL 6 | -------------------------------------------------------------------------------- /firmware/chibios/boards/ST_INEMO_M1_DISCOVERY/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/ST_INEMO_M1_DISCOVERY/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/ST_INEMO_M1_DISCOVERY 6 | -------------------------------------------------------------------------------- /firmware/chibios/boards/ST_NUCLEO_F030R8/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/ST_NUCLEO_F030R8/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/ST_NUCLEO_F030R8 6 | -------------------------------------------------------------------------------- /firmware/chibios/boards/ST_NUCLEO_F103RB/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/ST_NUCLEO_F103RB/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/ST_NUCLEO_F103RB 6 | -------------------------------------------------------------------------------- /firmware/chibios/boards/ST_NUCLEO_F401RE/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/ST_NUCLEO_F401RE/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/ST_NUCLEO_F401RE 6 | -------------------------------------------------------------------------------- /firmware/chibios/boards/ST_NUCLEO_L152RE/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/ST_NUCLEO_L152RE/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/ST_NUCLEO_L152RE 6 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/boards/ST_STM32373C_EVAL/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/ST_STM32373C_EVAL/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/ST_STM32373C_EVAL 6 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/boards/ST_STM32F3_DISCOVERY/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/ST_STM32F3_DISCOVERY/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/ST_STM32F3_DISCOVERY 6 | -------------------------------------------------------------------------------- /firmware/chibios/boards/ST_STM32F401C_DISCOVERY/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/ST_STM32F401C_DISCOVERY/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/ST_STM32F401C_DISCOVERY 6 | -------------------------------------------------------------------------------- /firmware/chibios/boards/ST_STM32F429I_DISCOVERY/board.mk: -------------------------------------------------------------------------------- 1 | # List of all the board related files. 2 | BOARDSRC = ${CHIBIOS}/boards/ST_STM32F429I_DISCOVERY/board.c 3 | 4 | # Required include directories 5 | BOARDINC = ${CHIBIOS}/boards/ST_STM32F429I_DISCOVERY 6 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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. 7 | -------------------------------------------------------------------------------- /firmware/chibios/boards/simulator/board.c: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #include "ch.h" 18 | #include "hal.h" 19 | 20 | /** 21 | * @brief PAL setup. 22 | * @details Digital I/O ports static configuration as defined in @p board.h. 23 | */ 24 | #if HAL_USE_PAL || defined(__DOXYGEN__) 25 | const PALConfig pal_default_config = { 26 | {0, 0, 0}, 27 | {0, 0, 0} 28 | }; 29 | #endif 30 | 31 | /* 32 | * Board-specific initialization code. 33 | */ 34 | void boardInit(void) { 35 | } 36 | -------------------------------------------------------------------------------- /firmware/chibios/boards/simulator/board.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef _BOARD_H_ 18 | #define _BOARD_H_ 19 | 20 | #if !defined(_FROM_ASM_) 21 | #ifdef __cplusplus 22 | extern "C" { 23 | #endif 24 | void boardInit(void); 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | #endif /* _FROM_ASM_ */ 29 | 30 | #endif /* _BOARD_H_ */ 31 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/demos/ARM7-AT91SAM7X-UIP-GCC/web/webthread.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef _WEBTHREAD_H_ 18 | #define _WEBTHREAD_H_ 19 | 20 | #ifdef __cplusplus 21 | extern "C" { 22 | #endif 23 | msg_t WebThread(void *p); 24 | #ifdef __cplusplus 25 | } 26 | #endif 27 | 28 | #endif /* _WEBTHREAD_H_ */ 29 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/demos/ARMCM0-LPC1114-LPCXPRESSO/iar/ch.eww: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $WS_DIR$\ch.ewp 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/demos/ARMCM3-LPC1343-LPCXPRESSO/iar/ch.eww: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $WS_DIR$\ch.ewp 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /firmware/chibios/demos/ARMCM3-STM32F100-DISCOVERY/iar/ch.eww: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $WS_DIR$\ch.ewp 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/demos/ARMCM3-STM32F103/iar/ch.eww: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $WS_DIR$\ch.ewp 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/demos/ARMCM3-STM32F103_INEMO_DISCOVERY/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - USB-CDC driver demo for STM32. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an STEVAL-MKI121V1 board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32 USB driver on an INEMO-M1 12 | STEVAL-MKI121V1 board.. 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 | -------------------------------------------------------------------------------- /firmware/chibios/demos/ARMCM3-STM32F107/iar/ch.eww: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $WS_DIR$\ch.ewp 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/demos/ARMCM3-STM32L152-DISCOVERY/iar/ch.eww: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $WS_DIR$\ch.ewp 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /firmware/chibios/demos/ARMCM4-SAM4L/ARMCM4-SAM4L.7z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios/demos/ARMCM4-SAM4L/ARMCM4-SAM4L.7z -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/demos/ARMCM4-STM32F373-STM32373C_EVAL/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for ARM-Cortex-M4 STM32F373. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an STMicroelectronics STM32373C-EVAL 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 | -------------------------------------------------------------------------------- /firmware/chibios/demos/ARMCM4-STM32F401C-DISCOVERY/usbcfg.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef _USBCFG_H_ 18 | #define _USBCFG_H_ 19 | 20 | extern const USBConfig usbcfg; 21 | extern SerialUSBConfig serusbcfg; 22 | 23 | #endif /* _USBCFG_H_ */ 24 | 25 | /** @} */ 26 | -------------------------------------------------------------------------------- /firmware/chibios/demos/ARMCM4-STM32F407-DISCOVERY-MEMS/usbcfg.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef _USBCFG_H_ 18 | #define _USBCFG_H_ 19 | 20 | extern const USBConfig usbcfg; 21 | extern SerialUSBConfig serusbcfg; 22 | 23 | #endif /* _USBCFG_H_ */ 24 | 25 | /** @} */ 26 | -------------------------------------------------------------------------------- /firmware/chibios/demos/ARMCM4-STM32F407-DISCOVERY/iar/ch.eww: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $WS_DIR$\ch.ewp 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /firmware/chibios/demos/ARMCM4-STM32F429-DISCOVERY/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT port for ARM-Cortex-M4 STM32F429. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an ST STM32F429I-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | A simple command shell is activated on virtual serial port SD2 via USB-CDC 12 | driver (use micro-USB plug on STM32F4-Discovery board). 13 | 14 | ** Build Procedure ** 15 | 16 | The demo has been tested by using the free Codesourcery GCC-based toolchain 17 | and YAGARTO. just modify the TRGT line in the makefile in order to use 18 | different GCC toolchains. 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 | -------------------------------------------------------------------------------- /firmware/chibios/demos/ARMCM4-STM32F429-DISCOVERY/usbcfg.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef _USBCFG_H_ 18 | #define _USBCFG_H_ 19 | 20 | extern const USBConfig usbcfg; 21 | extern SerialUSBConfig serusbcfg; 22 | 23 | #endif /* _USBCFG_H_ */ 24 | 25 | /** @} */ 26 | -------------------------------------------------------------------------------- /firmware/chibios/demos/AVR-AT90CANx-GCC/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios/demos/AVR-AT90CANx-GCC/Makefile -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/demos/AVR-ATmega128-GCC/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios/demos/AVR-ATmega128-GCC/Makefile -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/demos/AVR-ArduinoMega-GCC/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios/demos/AVR-ArduinoMega-GCC/Makefile -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/docs/html/logo_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios/docs/html/logo_small.png -------------------------------------------------------------------------------- /firmware/chibios/docs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/docs/rsc/footer_chm.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /firmware/chibios/docs/rsc/footer_html.html: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /firmware/chibios/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 $projectnumber
17 |
21 |
22 | -------------------------------------------------------------------------------- /firmware/chibios/docs/rsc/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios/docs/rsc/logo.png -------------------------------------------------------------------------------- /firmware/chibios/docs/rsc/workspace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios/docs/rsc/workspace.png -------------------------------------------------------------------------------- /firmware/chibios/documentation.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /firmware/chibios/ext/fatfs-0.9-patched.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios/ext/fatfs-0.9-patched.zip -------------------------------------------------------------------------------- /firmware/chibios/ext/lwip-1.4.1_patched.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios/ext/lwip-1.4.1_patched.zip -------------------------------------------------------------------------------- /firmware/chibios/ext/uip-1.0.patches.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios/ext/uip-1.0.patches.zip -------------------------------------------------------------------------------- /firmware/chibios/ext/uip-1.0.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios/ext/uip-1.0.tar.gz -------------------------------------------------------------------------------- /firmware/chibios/os/hal/hal.cmake: -------------------------------------------------------------------------------- 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 HAL by editing halconf.h. 3 | set(HALSRC 4 | ${CHIBIOS}/os/hal/src/hal.c 5 | ${CHIBIOS}/os/hal/src/adc.c 6 | ${CHIBIOS}/os/hal/src/can.c 7 | ${CHIBIOS}/os/hal/src/ext.c 8 | ${CHIBIOS}/os/hal/src/gpt.c 9 | ${CHIBIOS}/os/hal/src/i2c.c 10 | ${CHIBIOS}/os/hal/src/icu.c 11 | ${CHIBIOS}/os/hal/src/mac.c 12 | ${CHIBIOS}/os/hal/src/mmc_spi.c 13 | ${CHIBIOS}/os/hal/src/mmcsd.c 14 | ${CHIBIOS}/os/hal/src/pal.c 15 | ${CHIBIOS}/os/hal/src/pwm.c 16 | ${CHIBIOS}/os/hal/src/rtc.c 17 | ${CHIBIOS}/os/hal/src/sdc.c 18 | ${CHIBIOS}/os/hal/src/serial.c 19 | ${CHIBIOS}/os/hal/src/serial_usb.c 20 | ${CHIBIOS}/os/hal/src/spi.c 21 | ${CHIBIOS}/os/hal/src/tm.c 22 | ${CHIBIOS}/os/hal/src/uart.c 23 | ${CHIBIOS}/os/hal/src/usb.c 24 | ) 25 | 26 | # Required include directories 27 | set(HALINC 28 | ${CHIBIOS}/os/hal/include 29 | ) 30 | -------------------------------------------------------------------------------- /firmware/chibios/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 HAL 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 | -------------------------------------------------------------------------------- /firmware/chibios/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/i2c_lld.c \ 5 | ${CHIBIOS}/os/hal/platforms/AT91SAM7/adc_lld.c \ 6 | ${CHIBIOS}/os/hal/platforms/AT91SAM7/ext_lld.c \ 7 | ${CHIBIOS}/os/hal/platforms/AT91SAM7/serial_lld.c \ 8 | ${CHIBIOS}/os/hal/platforms/AT91SAM7/spi_lld.c \ 9 | ${CHIBIOS}/os/hal/platforms/AT91SAM7/mac_lld.c \ 10 | ${CHIBIOS}/os/hal/platforms/AT91SAM7/pwm_lld.c \ 11 | ${CHIBIOS}/os/hal/platforms/AT91SAM7/gpt_lld.c \ 12 | ${CHIBIOS}/os/hal/platforms/AT91SAM7/at91sam7_mii.c \ 13 | ${CHIBIOS}/os/hal/platforms/AT91SAM7/at91lib/aic.c 14 | 15 | # Required include directories 16 | PLATFORMINC = ${CHIBIOS}/os/hal/platforms/AT91SAM7 17 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | ${CHIBIOS}/os/hal/platforms/LPC11Uxx/ext_lld.c \ 8 | ${CHIBIOS}/os/hal/platforms/LPC11Uxx/ext_lld_isr.c 9 | 10 | # Required include directories 11 | PLATFORMINC = ${CHIBIOS}/os/hal/platforms/LPC11Uxx 12 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/os/hal/platforms/LPC122x/platform.mk: -------------------------------------------------------------------------------- 1 | # List of all the LPC122x platform files. 2 | PLATFORMSRC = ${CHIBIOS}/os/hal/platforms/LPC122x/hal_lld.c \ 3 | ${CHIBIOS}/os/hal/platforms/LPC122x/gpt_lld.c \ 4 | ${CHIBIOS}/os/hal/platforms/LPC122x/pal_lld.c \ 5 | ${CHIBIOS}/os/hal/platforms/LPC122x/serial_lld.c \ 6 | ${CHIBIOS}/os/hal/platforms/LPC122x/spi_lld.c 7 | 8 | # Required include directories 9 | PLATFORMINC = ${CHIBIOS}/os/hal/platforms/LPC122x 10 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/os/hal/platforms/LPC214x/vic.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @file LPC214x/vic.h 19 | * @brief LPC214x VIC peripheral support header. 20 | * 21 | * @addtogroup LPC214x_VIC 22 | * @{ 23 | */ 24 | 25 | #ifndef _VIC_H_ 26 | #define _VIC_H_ 27 | 28 | #ifdef __cplusplus 29 | extern "C" { 30 | #endif 31 | void vic_init(void); 32 | void SetVICVector(void *handler, int vector, int source); 33 | #ifdef __cplusplus 34 | } 35 | #endif 36 | 37 | #endif /* _VIC_H_ */ 38 | 39 | /** @} */ 40 | -------------------------------------------------------------------------------- /firmware/chibios/os/hal/platforms/LPC8xx/platform.mk: -------------------------------------------------------------------------------- 1 | # List of all the LPC8xx platform files. 2 | PLATFORMSRC = ${CHIBIOS}/os/hal/platforms/LPC8xx/hal_lld.c \ 3 | ${CHIBIOS}/os/hal/platforms/LPC8xx/gpt_lld.c \ 4 | ${CHIBIOS}/os/hal/platforms/LPC8xx/pal_lld.c \ 5 | ${CHIBIOS}/os/hal/platforms/LPC8xx/serial_lld.c \ 6 | ${CHIBIOS}/os/hal/platforms/LPC8xx/spi_lld.c \ 7 | ${CHIBIOS}/os/hal/platforms/LPC8xx/ext_lld.c \ 8 | ${CHIBIOS}/os/hal/platforms/LPC8xx/ext_lld_isr.c 9 | 10 | # Required include directories 11 | PLATFORMINC = ${CHIBIOS}/os/hal/platforms/LPC8xx 12 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/os/hal/platforms/SPC560BCxx/platform.mk: -------------------------------------------------------------------------------- 1 | # List of all the SPC560B/Cxx platform files. 2 | PLATFORMSRC = ${CHIBIOS}/os/hal/platforms/SPC560BCxx/hal_lld.c \ 3 | ${CHIBIOS}/os/hal/platforms/SPC5xx/EDMA_v1/spc5_edma.c \ 4 | ${CHIBIOS}/os/hal/platforms/SPC5xx/SIUL_v1/pal_lld.c \ 5 | ${CHIBIOS}/os/hal/platforms/SPC5xx/LINFlex_v1/serial_lld.c 6 | 7 | # Required include directories 8 | PLATFORMINC = ${CHIBIOS}/os/hal/platforms/SPC560BCxx \ 9 | ${CHIBIOS}/os/hal/platforms/SPC5xx/EDMA_v1 \ 10 | ${CHIBIOS}/os/hal/platforms/SPC5xx/SIUL_v1 \ 11 | ${CHIBIOS}/os/hal/platforms/SPC5xx/LINFlex_v1 12 | -------------------------------------------------------------------------------- /firmware/chibios/os/hal/platforms/SPC560BCxx/typedefs.h: -------------------------------------------------------------------------------- 1 | /* 2 | SPC5 HAL - Copyright (C) 2013 STMicroelectronics 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @file SPC560BCxx/typedefs.h 19 | * @brief Dummy typedefs file. 20 | */ 21 | 22 | #ifndef _TYPEDEFS_H_ 23 | #define _TYPEDEFS_H_ 24 | 25 | #include "chtypes.h" 26 | 27 | #endif /* _TYPEDEFS_H_ */ 28 | -------------------------------------------------------------------------------- /firmware/chibios/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/EDMA_v1/spc5_edma.c \ 4 | ${CHIBIOS}/os/hal/platforms/SPC5xx/eTimer_v1/icu_lld.c \ 5 | ${CHIBIOS}/os/hal/platforms/SPC5xx/FlexPWM_v1/pwm_lld.c \ 6 | ${CHIBIOS}/os/hal/platforms/SPC5xx/SIUL_v1/pal_lld.c \ 7 | ${CHIBIOS}/os/hal/platforms/SPC5xx/LINFlex_v1/serial_lld.c 8 | 9 | # Required include directories 10 | PLATFORMINC = ${CHIBIOS}/os/hal/platforms/SPC560Pxx \ 11 | ${CHIBIOS}/os/hal/platforms/SPC5xx/EDMA_v1 \ 12 | ${CHIBIOS}/os/hal/platforms/SPC5xx/eTimer_v1 \ 13 | ${CHIBIOS}/os/hal/platforms/SPC5xx/FlexPWM_v1 \ 14 | ${CHIBIOS}/os/hal/platforms/SPC5xx/SIUL_v1 \ 15 | ${CHIBIOS}/os/hal/platforms/SPC5xx/LINFlex_v1 16 | -------------------------------------------------------------------------------- /firmware/chibios/os/hal/platforms/SPC560Pxx/typedefs.h: -------------------------------------------------------------------------------- 1 | /* 2 | SPC5 HAL - Copyright (C) 2013 STMicroelectronics 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @file SPC560Pxx/typedefs.h 19 | * @brief Dummy typedefs file. 20 | */ 21 | 22 | #ifndef _TYPEDEFS_H_ 23 | #define _TYPEDEFS_H_ 24 | 25 | #include "chtypes.h" 26 | 27 | #endif /* _TYPEDEFS_H_ */ 28 | -------------------------------------------------------------------------------- /firmware/chibios/os/hal/platforms/SPC560Pxx/xpc560p.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios/os/hal/platforms/SPC560Pxx/xpc560p.h -------------------------------------------------------------------------------- /firmware/chibios/os/hal/platforms/SPC563Mxx/platform.mk: -------------------------------------------------------------------------------- 1 | # List of all the SPC563Mxx platform files. 2 | PLATFORMSRC = ${CHIBIOS}/os/hal/platforms/SPC563Mxx/hal_lld.c \ 3 | ${CHIBIOS}/os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.c \ 4 | ${CHIBIOS}/os/hal/platforms/SPC5xx/EDMA_v1/spc5_edma.c \ 5 | ${CHIBIOS}/os/hal/platforms/SPC5xx/EQADC_v1/adc_lld.c \ 6 | ${CHIBIOS}/os/hal/platforms/SPC5xx/SIU_v1/pal_lld.c \ 7 | ${CHIBIOS}/os/hal/platforms/SPC5xx/ESCI_v1/serial_lld.c 8 | 9 | # Required include directories 10 | PLATFORMINC = ${CHIBIOS}/os/hal/platforms/SPC563Mxx \ 11 | ${CHIBIOS}/os/hal/platforms/SPC5xx/DSPI_v1 \ 12 | ${CHIBIOS}/os/hal/platforms/SPC5xx/EDMA_v1 \ 13 | ${CHIBIOS}/os/hal/platforms/SPC5xx/EQADC_v1 \ 14 | ${CHIBIOS}/os/hal/platforms/SPC5xx/ESCI_v1 \ 15 | ${CHIBIOS}/os/hal/platforms/SPC5xx/SIU_v1 16 | -------------------------------------------------------------------------------- /firmware/chibios/os/hal/platforms/SPC563Mxx/typedefs.h: -------------------------------------------------------------------------------- 1 | /* 2 | SPC5 HAL - Copyright (C) 2013 STMicroelectronics 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @file SPC563Mxx/typedefs.h 19 | * @brief Dummy typedefs file. 20 | */ 21 | 22 | #ifndef _TYPEDEFS_H_ 23 | #define _TYPEDEFS_H_ 24 | 25 | #include "chtypes.h" 26 | 27 | #endif /* _TYPEDEFS_H_ */ 28 | -------------------------------------------------------------------------------- /firmware/chibios/os/hal/platforms/SPC563Mxx/xpc563m.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios/os/hal/platforms/SPC563Mxx/xpc563m.h -------------------------------------------------------------------------------- /firmware/chibios/os/hal/platforms/SPC564Axx/platform.mk: -------------------------------------------------------------------------------- 1 | # List of all the SPC564Axx platform files. 2 | PLATFORMSRC = ${CHIBIOS}/os/hal/platforms/SPC564Axx/hal_lld.c \ 3 | ${CHIBIOS}/os/hal/platforms/SPC5xx/EDMA_v1/spc5_edma.c \ 4 | ${CHIBIOS}/os/hal/platforms/SPC5xx/EQADC_v1/adc_lld.c \ 5 | ${CHIBIOS}/os/hal/platforms/SPC5xx/SIU_v1/pal_lld.c \ 6 | ${CHIBIOS}/os/hal/platforms/SPC5xx/ESCI_v1/serial_lld.c 7 | 8 | # Required include directories 9 | PLATFORMINC = ${CHIBIOS}/os/hal/platforms/SPC564Axx \ 10 | ${CHIBIOS}/os/hal/platforms/SPC5xx/EDMA_v1 \ 11 | ${CHIBIOS}/os/hal/platforms/SPC5xx/EQADC_v1 \ 12 | ${CHIBIOS}/os/hal/platforms/SPC5xx/ESCI_v1 \ 13 | ${CHIBIOS}/os/hal/platforms/SPC5xx/SIU_v1 14 | -------------------------------------------------------------------------------- /firmware/chibios/os/hal/platforms/SPC564Axx/typedefs.h: -------------------------------------------------------------------------------- 1 | /* 2 | SPC5 HAL - Copyright (C) 2013 STMicroelectronics 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @file SPC564Axx/typedefs.h 19 | * @brief Dummy typedefs file. 20 | */ 21 | 22 | #ifndef _TYPEDEFS_H_ 23 | #define _TYPEDEFS_H_ 24 | 25 | #include "chtypes.h" 26 | 27 | #endif /* _TYPEDEFS_H_ */ 28 | -------------------------------------------------------------------------------- /firmware/chibios/os/hal/platforms/SPC564Axx/xpc564a.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios/os/hal/platforms/SPC564Axx/xpc564a.h -------------------------------------------------------------------------------- /firmware/chibios/os/hal/platforms/SPC56ELxx/platform.mk: -------------------------------------------------------------------------------- 1 | # List of all the SPC56ELxx platform files. 2 | PLATFORMSRC = ${CHIBIOS}/os/hal/platforms/SPC56ELxx/hal_lld.c \ 3 | ${CHIBIOS}/os/hal/platforms/SPC5xx/EDMA_v1/spc5_edma.c \ 4 | ${CHIBIOS}/os/hal/platforms/SPC5xx/eTimer_v1/icu_lld.c \ 5 | ${CHIBIOS}/os/hal/platforms/SPC5xx/FlexPWM_v1/pwm_lld.c \ 6 | ${CHIBIOS}/os/hal/platforms/SPC5xx/SIUL_v1/pal_lld.c \ 7 | ${CHIBIOS}/os/hal/platforms/SPC5xx/LINFlex_v1/serial_lld.c 8 | 9 | # Required include directories 10 | PLATFORMINC = ${CHIBIOS}/os/hal/platforms/SPC56ELxx \ 11 | ${CHIBIOS}/os/hal/platforms/SPC5xx/EDMA_v1 \ 12 | ${CHIBIOS}/os/hal/platforms/SPC5xx/eTimer_v1 \ 13 | ${CHIBIOS}/os/hal/platforms/SPC5xx/FlexPWM_v1 \ 14 | ${CHIBIOS}/os/hal/platforms/SPC5xx/SIUL_v1 \ 15 | ${CHIBIOS}/os/hal/platforms/SPC5xx/LINFlex_v1 16 | -------------------------------------------------------------------------------- /firmware/chibios/os/hal/platforms/SPC56ELxx/typedefs.h: -------------------------------------------------------------------------------- 1 | /* 2 | SPC5 HAL - Copyright (C) 2013 STMicroelectronics 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @file SPC56ELxx/typedefs.h 19 | * @brief Dummy typedefs file. 20 | */ 21 | 22 | #ifndef _TYPEDEFS_H_ 23 | #define _TYPEDEFS_H_ 24 | 25 | #include "chtypes.h" 26 | 27 | #endif /* _TYPEDEFS_H_ */ 28 | -------------------------------------------------------------------------------- /firmware/chibios/os/hal/platforms/STM32F30x/stm32f30x.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios/os/hal/platforms/STM32F30x/stm32f30x.h -------------------------------------------------------------------------------- /firmware/chibios/os/hal/platforms/STM32F37x/stm32f37x.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios/os/hal/platforms/STM32F37x/stm32f37x.h -------------------------------------------------------------------------------- /firmware/chibios/os/hal/platforms/STM32F4xx/stm32f4xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios/os/hal/platforms/STM32F4xx/stm32f4xx.h -------------------------------------------------------------------------------- /firmware/chibios/os/hal/platforms/STM32L1xx/stm32l1xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/firmware/chibios/os/hal/platforms/STM32L1xx/stm32l1xx.h -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/os/hal/platforms/platforms.dox: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @defgroup platforms Platforms 19 | * @brief Supported platforms. 20 | * @details The implementation of the device drivers can be slightly different 21 | * on the various platforms because architectural constrains. This section 22 | * describes the implementation of the various device drivers on the various 23 | * supported platforms. 24 | */ 25 | -------------------------------------------------------------------------------- /firmware/chibios/os/hal/templates/mcuconf.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /* 18 | * Platform drivers configuration. 19 | * The following settings override the default settings present in 20 | * the various device driver implementation headers. 21 | * Note that the settings for each driver only have effect if the whole 22 | * driver is enabled in halconf.h. 23 | */ 24 | 25 | #define PLATFORM_MCUCONF 26 | -------------------------------------------------------------------------------- /firmware/chibios/os/hal/templates/platform.mk: -------------------------------------------------------------------------------- 1 | # List of all the template platform files. 2 | PLATFORMSRC = ${CHIBIOS}/os/hal/templates/hal_lld.c \ 3 | ${CHIBIOS}/os/hal/templates/adc_lld.c \ 4 | ${CHIBIOS}/os/hal/templates/can_lld.c \ 5 | ${CHIBIOS}/os/hal/templates/ext_lld.c \ 6 | ${CHIBIOS}/os/hal/templates/gpt_lld.c \ 7 | ${CHIBIOS}/os/hal/templates/i2c_lld.c \ 8 | ${CHIBIOS}/os/hal/templates/icu_lld.c \ 9 | ${CHIBIOS}/os/hal/templates/mac_lld.c \ 10 | ${CHIBIOS}/os/hal/templates/pal_lld.c \ 11 | ${CHIBIOS}/os/hal/templates/pwm_lld.c \ 12 | ${CHIBIOS}/os/hal/templates/sdc_lld.c \ 13 | ${CHIBIOS}/os/hal/templates/serial_lld.c \ 14 | ${CHIBIOS}/os/hal/templates/spi_lld.c \ 15 | ${CHIBIOS}/os/hal/templates/uart_lld.c \ 16 | ${CHIBIOS}/os/hal/templates/usb_lld.c 17 | 18 | # Required include directories 19 | PLATFORMINC = ${CHIBIOS}/os/hal/templates 20 | -------------------------------------------------------------------------------- /firmware/chibios/os/kernel/kernel.cmake: -------------------------------------------------------------------------------- 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 | set(KERNSRC 4 | ${CHIBIOS}/os/kernel/src/chsys.c 5 | ${CHIBIOS}/os/kernel/src/chdebug.c 6 | ${CHIBIOS}/os/kernel/src/chlists.c 7 | ${CHIBIOS}/os/kernel/src/chvt.c 8 | ${CHIBIOS}/os/kernel/src/chschd.c 9 | ${CHIBIOS}/os/kernel/src/chthreads.c 10 | ${CHIBIOS}/os/kernel/src/chdynamic.c 11 | ${CHIBIOS}/os/kernel/src/chregistry.c 12 | ${CHIBIOS}/os/kernel/src/chsem.c 13 | ${CHIBIOS}/os/kernel/src/chmtx.c 14 | ${CHIBIOS}/os/kernel/src/chcond.c 15 | ${CHIBIOS}/os/kernel/src/chevents.c 16 | ${CHIBIOS}/os/kernel/src/chmsg.c 17 | ${CHIBIOS}/os/kernel/src/chmboxes.c 18 | ${CHIBIOS}/os/kernel/src/chqueues.c 19 | ${CHIBIOS}/os/kernel/src/chmemcore.c 20 | ${CHIBIOS}/os/kernel/src/chheap.c 21 | ${CHIBIOS}/os/kernel/src/chmempools.c 22 | ) 23 | 24 | # Required include directories 25 | set(KERNINC 26 | ${CHIBIOS}/os/kernel/include 27 | ) 28 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/os/ports/GCC/ARMCMx/LPC122x/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT Cortex-M0 LPC122x port files. 2 | PORTSRC = $(CHIBIOS)/os/ports/GCC/ARMCMx/crt0.c \ 3 | $(CHIBIOS)/os/ports/GCC/ARMCMx/LPC122x/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/LPC122x 14 | 15 | PORTLD = ${CHIBIOS}/os/ports/GCC/ARMCMx/LPC122x/ld 16 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/os/ports/GCC/ARMCMx/LPC8xx/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT Cortex-M0 LPC8xx port files. 2 | PORTSRC = $(CHIBIOS)/os/ports/GCC/ARMCMx/crt0.c \ 3 | $(CHIBIOS)/os/ports/GCC/ARMCMx/LPC8xx/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/LPC8xx 14 | 15 | PORTLD = ${CHIBIOS}/os/ports/GCC/ARMCMx/LPC8xx/ld 16 | -------------------------------------------------------------------------------- /firmware/chibios/os/ports/GCC/ARMCMx/SAM4L/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/SAM4L/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/SAM4L 14 | 15 | PORTLD = ${CHIBIOS}/os/ports/GCC/ARMCMx/SAM4L/ld 16 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/os/ports/GCC/MSP430/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT MSP430 port files. 2 | PORTSRC = 3 | 4 | PORTASM = ${CHIBIOS}/os/ports/GCC/MSP430/chcoreasm.s 5 | 6 | PORTINC = ${CHIBIOS}/os/ports/GCC/MSP430 7 | -------------------------------------------------------------------------------- /firmware/chibios/os/ports/GCC/PPC/SPC560BCxx/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT SPC560BCxx port files. 2 | PORTSRC = ${CHIBIOS}/os/ports/GCC/PPC/chcore.c 3 | 4 | PORTASM = ${CHIBIOS}/os/ports/GCC/PPC/SPC560BCxx/bam.s \ 5 | ${CHIBIOS}/os/ports/GCC/PPC/SPC560BCxx/core.s \ 6 | ${CHIBIOS}/os/ports/GCC/PPC/SPC560BCxx/vectors.s \ 7 | ${CHIBIOS}/os/ports/GCC/PPC/ivor.s \ 8 | ${CHIBIOS}/os/ports/GCC/PPC/crt0.s 9 | 10 | PORTINC = ${CHIBIOS}/os/ports/GCC/PPC \ 11 | ${CHIBIOS}/os/ports/GCC/PPC/SPC560BCxx 12 | 13 | PORTLD = ${CHIBIOS}/os/ports/GCC/PPC/SPC560BCxx/ld 14 | -------------------------------------------------------------------------------- /firmware/chibios/os/ports/GCC/PPC/SPC560Bxx/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT SPC560Bxx port files. 2 | PORTSRC = ${CHIBIOS}/os/ports/GCC/PPC/chcore.c 3 | 4 | PORTASM = ${CHIBIOS}/os/ports/GCC/PPC/SPC560Bxx/bam.s \ 5 | ${CHIBIOS}/os/ports/GCC/PPC/SPC560Bxx/core.s \ 6 | ${CHIBIOS}/os/ports/GCC/PPC/SPC560Bxx/vectors.s \ 7 | ${CHIBIOS}/os/ports/GCC/PPC/ivor.s \ 8 | ${CHIBIOS}/os/ports/GCC/PPC/crt0.s 9 | 10 | PORTINC = ${CHIBIOS}/os/ports/GCC/PPC \ 11 | ${CHIBIOS}/os/ports/GCC/PPC/SPC560Bxx 12 | 13 | PORTLD = ${CHIBIOS}/os/ports/GCC/PPC/SPC560Bxx/ld 14 | -------------------------------------------------------------------------------- /firmware/chibios/os/ports/GCC/PPC/SPC560Dxx/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT SPC560Dxx port files. 2 | PORTSRC = ${CHIBIOS}/os/ports/GCC/PPC/chcore.c 3 | 4 | PORTASM = ${CHIBIOS}/os/ports/GCC/PPC/SPC560Dxx/bam.s \ 5 | ${CHIBIOS}/os/ports/GCC/PPC/SPC560Dxx/core.s \ 6 | ${CHIBIOS}/os/ports/GCC/PPC/SPC560Dxx/vectors.s \ 7 | ${CHIBIOS}/os/ports/GCC/PPC/ivor.s \ 8 | ${CHIBIOS}/os/ports/GCC/PPC/crt0.s 9 | 10 | PORTINC = ${CHIBIOS}/os/ports/GCC/PPC \ 11 | ${CHIBIOS}/os/ports/GCC/PPC/SPC560Dxx 12 | 13 | PORTLD = ${CHIBIOS}/os/ports/GCC/PPC/SPC560Dxx/ld 14 | -------------------------------------------------------------------------------- /firmware/chibios/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/SPC560Pxx/bam.s \ 5 | ${CHIBIOS}/os/ports/GCC/PPC/SPC560Pxx/core.s \ 6 | ${CHIBIOS}/os/ports/GCC/PPC/SPC560Pxx/vectors.s \ 7 | ${CHIBIOS}/os/ports/GCC/PPC/ivor.s \ 8 | ${CHIBIOS}/os/ports/GCC/PPC/crt0.s 9 | 10 | PORTINC = ${CHIBIOS}/os/ports/GCC/PPC \ 11 | ${CHIBIOS}/os/ports/GCC/PPC/SPC560Pxx 12 | 13 | PORTLD = ${CHIBIOS}/os/ports/GCC/PPC/SPC560Pxx/ld 14 | -------------------------------------------------------------------------------- /firmware/chibios/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/bam.s \ 5 | ${CHIBIOS}/os/ports/GCC/PPC/SPC563Mxx/core.s \ 6 | ${CHIBIOS}/os/ports/GCC/PPC/SPC563Mxx/vectors.s \ 7 | ${CHIBIOS}/os/ports/GCC/PPC/ivor.s \ 8 | ${CHIBIOS}/os/ports/GCC/PPC/crt0.s 9 | 10 | PORTINC = ${CHIBIOS}/os/ports/GCC/PPC \ 11 | ${CHIBIOS}/os/ports/GCC/PPC/SPC563Mxx 12 | 13 | PORTLD = ${CHIBIOS}/os/ports/GCC/PPC/SPC563Mxx/ld 14 | -------------------------------------------------------------------------------- /firmware/chibios/os/ports/GCC/PPC/SPC564Axx/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT SPC564Axx port files. 2 | PORTSRC = ${CHIBIOS}/os/ports/GCC/PPC/chcore.c 3 | 4 | PORTASM = ${CHIBIOS}/os/ports/GCC/PPC/SPC564Axx/bam.s \ 5 | ${CHIBIOS}/os/ports/GCC/PPC/SPC564Axx/core.s \ 6 | ${CHIBIOS}/os/ports/GCC/PPC/SPC564Axx/vectors.s \ 7 | ${CHIBIOS}/os/ports/GCC/PPC/ivor.s \ 8 | ${CHIBIOS}/os/ports/GCC/PPC/crt0.s 9 | 10 | PORTINC = ${CHIBIOS}/os/ports/GCC/PPC \ 11 | ${CHIBIOS}/os/ports/GCC/PPC/SPC564Axx 12 | 13 | PORTLD = ${CHIBIOS}/os/ports/GCC/PPC/SPC564Axx/ld 14 | -------------------------------------------------------------------------------- /firmware/chibios/os/ports/GCC/PPC/SPC56ELxx/port.mk: -------------------------------------------------------------------------------- 1 | # List of the ChibiOS/RT SPC56ELxx port files. 2 | PORTSRC = ${CHIBIOS}/os/ports/GCC/PPC/chcore.c 3 | 4 | PORTASM = ${CHIBIOS}/os/ports/GCC/PPC/SPC56ELxx/bam.s \ 5 | ${CHIBIOS}/os/ports/GCC/PPC/SPC56ELxx/core.s \ 6 | ${CHIBIOS}/os/ports/GCC/PPC/SPC56ELxx/vectors.s \ 7 | ${CHIBIOS}/os/ports/GCC/PPC/ivor.s \ 8 | ${CHIBIOS}/os/ports/GCC/PPC/crt0.s 9 | 10 | PORTINC = ${CHIBIOS}/os/ports/GCC/PPC \ 11 | ${CHIBIOS}/os/ports/GCC/PPC/SPC56ELxx 12 | 13 | PORTLD = ${CHIBIOS}/os/ports/GCC/PPC/SPC56ELxx/ld 14 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/os/various/cpp_wrappers/kernel.mk: -------------------------------------------------------------------------------- 1 | # C++ wrapper files. 2 | CHCPPSRC = ${CHIBIOS}/os/various/cpp_wrappers/ch.cpp 3 | 4 | CHCPPINC = ${CHIBIOS}/os/various/cpp_wrappers 5 | -------------------------------------------------------------------------------- /firmware/chibios/os/various/devices_lib/accel/lis302dl.dox: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | /** 18 | * @defgroup lis302dl Interface module for LIS302DL MEMS 19 | * 20 | * @brief Interface module for LIS302DL MEMS. 21 | * @details This module implements a generic interface for the LIS302DL 22 | * STMicroelectronics MEMS device. The communication is performed 23 | * through a standard SPI driver. 24 | * 25 | * @ingroup accel 26 | */ 27 | -------------------------------------------------------------------------------- /firmware/chibios/os/various/fatfs_bindings/fatfs.mk: -------------------------------------------------------------------------------- 1 | # FATFS files. 2 | FATFSSRC = ${CHIBIOS}/os/various/fatfs_bindings/fatfs_diskio.c \ 3 | ${CHIBIOS}/os/various/fatfs_bindings/fatfs_syscall.c \ 4 | ${CHIBIOS}/ext/fatfs/src/ff.c \ 5 | ${CHIBIOS}/ext/fatfs/src/option/unicode.c 6 | 7 | FATFSINC = ${CHIBIOS}/ext/fatfs/src 8 | -------------------------------------------------------------------------------- /firmware/chibios/os/various/fatfs_bindings/readme.txt: -------------------------------------------------------------------------------- 1 | This directory contains the ChibiOS/RT "official" bindings with the FatFS 2 | library by ChaN: http://elm-chan.org 3 | 4 | In order to use FatFS within ChibiOS/RT project, unzip FatFS under 5 | ./ext/fatfs then include $(CHIBIOS)/os/various/fatfs_bindings/fatfs.mk 6 | in your makefile. 7 | -------------------------------------------------------------------------------- /firmware/chibios/os/various/lwip_bindings/readme.txt: -------------------------------------------------------------------------------- 1 | This directory contains the ChibiOS/RT "official" bindings with the lwIP 2 | TCP/IP stack: http://savannah.nongnu.org/projects/lwip 3 | 4 | In order to use 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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/test/test.cmake: -------------------------------------------------------------------------------- 1 | # List of all the ChibiOS/RT test files. 2 | set(TESTSRC 3 | ${CHIBIOS}/test/test.c 4 | ${CHIBIOS}/test/testthd.c 5 | ${CHIBIOS}/test/testsem.c 6 | ${CHIBIOS}/test/testmtx.c 7 | ${CHIBIOS}/test/testmsg.c 8 | ${CHIBIOS}/test/testmbox.c 9 | ${CHIBIOS}/test/testevt.c 10 | ${CHIBIOS}/test/testheap.c 11 | ${CHIBIOS}/test/testpools.c 12 | ${CHIBIOS}/test/testdyn.c 13 | ${CHIBIOS}/test/testqueues.c 14 | ${CHIBIOS}/test/testbmk.c 15 | ) 16 | 17 | # Required include directories 18 | set(TESTINC 19 | ${CHIBIOS}/test 20 | ) 21 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/test/testbmk.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef _TESTBMK_H_ 18 | #define _TESTBMK_H_ 19 | 20 | extern ROMCONST struct testcase * ROMCONST patternbmk[]; 21 | 22 | #endif /* _TESTBMK_H_ */ 23 | -------------------------------------------------------------------------------- /firmware/chibios/test/testdyn.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef _TESTDYN_H_ 18 | #define _TESTDYN_H_ 19 | 20 | extern ROMCONST struct testcase * ROMCONST patterndyn[]; 21 | 22 | #endif /* _TESTDYN_H_ */ 23 | -------------------------------------------------------------------------------- /firmware/chibios/test/testevt.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef _TESTEVT_H_ 18 | #define _TESTEVT_H_ 19 | 20 | extern ROMCONST struct testcase * ROMCONST patternevt[]; 21 | 22 | #endif /* _TESTEVT_H_ */ 23 | -------------------------------------------------------------------------------- /firmware/chibios/test/testheap.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef _TESTHEAP_H_ 18 | #define _TESTHEAP_H_ 19 | 20 | extern ROMCONST struct testcase * ROMCONST patternheap[]; 21 | 22 | #endif /* _TESTHEAP_H_ */ 23 | -------------------------------------------------------------------------------- /firmware/chibios/test/testmbox.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef _TESTMBOX_H_ 18 | #define _TESTMBOX_H_ 19 | 20 | extern ROMCONST struct testcase * ROMCONST patternmbox[]; 21 | 22 | #endif /* _TESTMBOX_H_ */ 23 | -------------------------------------------------------------------------------- /firmware/chibios/test/testmsg.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef _TESTMSG_H_ 18 | #define _TESTMSG_H_ 19 | 20 | extern ROMCONST struct testcase * ROMCONST patternmsg[]; 21 | 22 | #endif /* _TESTMSG_H_ */ 23 | -------------------------------------------------------------------------------- /firmware/chibios/test/testmtx.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef _TESTMTX_H_ 18 | #define _TESTMTX_H_ 19 | 20 | extern ROMCONST struct testcase * ROMCONST patternmtx[]; 21 | 22 | #endif /* _TESTMTX_H_ */ 23 | -------------------------------------------------------------------------------- /firmware/chibios/test/testpools.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef _TESTPOOLS_H_ 18 | #define _TESTPOOLS_H_ 19 | 20 | extern ROMCONST struct testcase * ROMCONST patternpools[]; 21 | 22 | #endif /* _TESTPOOLS_H_ */ 23 | -------------------------------------------------------------------------------- /firmware/chibios/test/testqueues.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef _TESTQUEUES_H_ 18 | #define _TESTQUEUES_H_ 19 | 20 | extern ROMCONST struct testcase * ROMCONST patternqueues[]; 21 | 22 | #endif /* _TESTQUEUES_H_ */ 23 | -------------------------------------------------------------------------------- /firmware/chibios/test/testsem.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef _TESTSEM_H_ 18 | #define _TESTSEM_H_ 19 | 20 | extern ROMCONST struct testcase * ROMCONST patternsem[]; 21 | 22 | #endif /* _TESTSEM_H_ */ 23 | -------------------------------------------------------------------------------- /firmware/chibios/test/testthd.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef _TESTRDY_H_ 18 | #define _TESTRDY_H_ 19 | 20 | extern ROMCONST struct testcase * ROMCONST patternthd[]; 21 | 22 | #endif /* _TESTRDY_H_ */ 23 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/LPC122x/IRQ_STORM/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - IRQ-STORM demo for LPC122x. ** 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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/SPC560Pxx/PWM-ICU/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - PWM/ICU drivers demo for SPC560Pxx. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an STMicroelectronics SPC560Pxx microcontroller installed on 8 | XPC56xx EVB Motherboard. 9 | 10 | ** The Demo ** 11 | 12 | The application demonstrates the use of the SPC560Pxx PWM-ICU drivers. 13 | 14 | ** Board Setup ** 15 | 16 | - Connect D10 and A0 together. 17 | 18 | ** Build Procedure ** 19 | 20 | The demo has been tested using HighTec compiler. 21 | 22 | ** Notes ** 23 | 24 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 25 | ST Microelectronics and are licensed under a different license. 26 | 27 | http://www.st.com 28 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/SPC563Mxx/ADC/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - ADC driver demo for SPC563Mxx. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an STMicroelectronics SPC563Mxx microcontroller installed on 8 | XPC56xx EVB Motherboard. 9 | 10 | ** The Demo ** 11 | 12 | The application demonstrates the use of the SPC563Mxx ADC driver. 13 | 14 | ** Board Setup ** 15 | 16 | None. 17 | 18 | ** Build Procedure ** 19 | 20 | The demo has been tested using HighTec compiler. 21 | 22 | ** Notes ** 23 | 24 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 25 | ST Microelectronics and are licensed under a different license. 26 | 27 | http://www.st.com 28 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/SPC56ELxx/PWM-ICU/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - PWM/ICU drivers demo for SPC56ELxx. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an STMicroelectronics SPC56ELxx microcontroller installed on 8 | XPC56xx EVB Motherboard. 9 | 10 | ** The Demo ** 11 | 12 | The application demonstrates the use of the SPC56ELxx PWM-ICU drivers. 13 | 14 | ** Board Setup ** 15 | 16 | - Connect D10 and A0 together. 17 | 18 | ** Build Procedure ** 19 | 20 | The demo has been tested using HighTec compiler. 21 | 22 | ** Notes ** 23 | 24 | Some files used by the demo are not part of ChibiOS/RT but are copyright of 25 | ST Microelectronics and are licensed under a different license. 26 | 27 | http://www.st.com 28 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/STM32F0xx/SPI/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - SPI driver demo for STM32F0xx. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an ST STM32F0-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F0xx 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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/STM32F1xx/I2C/fake.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef FAKE_H_ 18 | #define FAKE_H_ 19 | 20 | void request_fake(void); 21 | 22 | #endif /* FAKE_H_ */ 23 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/STM32F1xx/I2C/i2c_pns.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef I2C_PNS_H_ 18 | #define I2C_PNS_H_ 19 | 20 | 21 | void I2CInit_pns(void); 22 | 23 | 24 | #endif /* I2C_PNS_H_ */ 25 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/STM32F1xx/I2C/tmp75.h: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #ifndef TMP75_H_ 18 | #define TMP75_H_ 19 | 20 | 21 | 22 | /* buffers depth */ 23 | #define TMP75_RX_DEPTH 2 24 | #define TMP75_TX_DEPTH 2 25 | 26 | void init_tmp75(void); 27 | void request_temperature(void); 28 | 29 | #endif /* TMP75_H_ */ 30 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/STM32F30x/ADC/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - ADC driver demo for STM32F30x. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an STMicroelectronics STM32F3-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F30x 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 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/STM32F30x/CAN/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - CAN driver demo for STM32F30x. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an STMicroelectronics STM32F3-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F30x 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 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/STM32F30x/EXT/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - EXT driver demo for STM32F30x. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an STMicroelectronics STM32F3-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F30x 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 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/STM32F30x/PWM-ICU/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - PWM-ICU drivers demo for STM32F30x. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an STMicroelectronics STM32F3-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F30x 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 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/STM32F30x/SPI/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - SPI driver demo for STM32F30x. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an ST STM32F3-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F30x 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 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/STM32F30x/USB_CDC/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - USB-CDC driver demo for STM32F30x. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an ST STM32F3-Discovery board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F30x 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 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/STM32F37x/ADC/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - ADC driver demo for STM32F37x. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an STMicroelectronics STM32373C-EVAL board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F37x ADC driver on the 12 | ADC peripheral. 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 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/STM32F37x/CAN/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - CAN driver demo for STM32F37x. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an STMicroelectronics STM32373C-EVAL board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F37x 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 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/STM32F37x/EXT/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - EXT driver demo for STM32F37x. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an STMicroelectronics STM32373C-EVAL board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F37x 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 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/STM32F37x/I2C/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - I2C driver demo for STM32F37x. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an STMicroelectronics STM32373C-EVAL board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F37x I2C driver. 12 | 13 | ** Board Setup ** 14 | 15 | None. 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 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/STM32F37x/PWM-ICU/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - PWM-ICU drivers demo for STM32F37x. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an STMicroelectronics STM32373C-EVAL board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F37x PWM and ICU drivers. 12 | 13 | ** Board Setup ** 14 | 15 | - Connect PC0 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 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/STM32F37x/SDADC/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - ADC driver demo for STM32F37x. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an STMicroelectronics STM32373C-EVAL board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F37x ADC driver on the 12 | SDADC peripheral. 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 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/STM32F37x/SPI/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - SPI driver demo for STM32F37x. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an STMicroelectronics STM32373C-EVAL board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F37x 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 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/STM32F37x/USB_CDC/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - USB-CDC driver demo for STM32F37x. ** 3 | ***************************************************************************** 4 | 5 | ** TARGET ** 6 | 7 | The demo runs on an STMicroelectronics STM32373C-EVAL board. 8 | 9 | ** The Demo ** 10 | 11 | The application demonstrates the use of the STM32F37x 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 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/STM32F4xx/ADC/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - ADC 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 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 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/STM32F4xx/CAN/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - CAN driver demo for STM32. ** 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 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 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/STM32F4xx/EXT/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - EXT 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 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 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/STM32F4xx/GPT/readme.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | ** ChibiOS/RT HAL - GPT 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 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 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/STM32F4xx/IRQ_STORM/iar/ch.eww: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $WS_DIR$\ch.ewp 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/STM32F4xx/IRQ_STORM_FPU/extfunc.c: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | float ff1(float par) { 18 | return par; 19 | } 20 | 21 | float ff2(float par1, float par2, float par3, float par4) { 22 | return (par1 + par2) * (par3 + par4); 23 | } 24 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/STM32F4xx/IRQ_STORM_FPU/iar/ch.eww: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $WS_DIR$\ch.ewp 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /firmware/chibios/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 runs 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 | -------------------------------------------------------------------------------- /firmware/chibios/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 runs 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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/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 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/common/testbuild/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | HAL-BUILD_TEST 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 | os 29 | 2 30 | CHIBIOS/os 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /firmware/chibios/testhal/common/testbuild/main.c: -------------------------------------------------------------------------------- 1 | /* 2 | ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | #include "ch.h" 18 | #include "hal.h" 19 | 20 | /* 21 | * Simulator main. 22 | */ 23 | int main(int argc, char *argv[]) { 24 | 25 | (void)argc; 26 | (void)argv; 27 | 28 | return 0; 29 | } 30 | -------------------------------------------------------------------------------- /firmware/common/ais_baseband.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2015 Jared Boone, ShareBrained Technology, Inc. 3 | * 4 | * This file is part of PortaPack. 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2, or (at your option) 9 | * any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; see the file COPYING. If not, write to 18 | * the Free Software Foundation, Inc., 51 Franklin Street, 19 | * Boston, MA 02110-1301, USA. 20 | */ 21 | 22 | #include "ais_baseband.hpp" 23 | -------------------------------------------------------------------------------- /firmware/common/debug.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2015 Jared Boone, ShareBrained Technology, Inc. 3 | * 4 | * This file is part of PortaPack. 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2, or (at your option) 9 | * any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; see the file COPYING. If not, write to 18 | * the Free Software Foundation, Inc., 51 Franklin Street, 19 | * Boston, MA 02110-1301, USA. 20 | */ 21 | 22 | #ifndef __DEBUG_H__ 23 | #define __DEBUG_H__ 24 | 25 | #endif/*__DEBUG_H__*/ 26 | -------------------------------------------------------------------------------- /firmware/common/dsp_fft.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc. 3 | * 4 | * This file is part of PortaPack. 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2, or (at your option) 9 | * any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; see the file COPYING. If not, write to 18 | * the Free Software Foundation, Inc., 51 Franklin Street, 19 | * Boston, MA 02110-1301, USA. 20 | */ 21 | 22 | #include "dsp_fft.hpp" 23 | -------------------------------------------------------------------------------- /firmware/common/dsp_fir_taps.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2015 Jared Boone, ShareBrained Technology, Inc. 3 | * 4 | * This file is part of PortaPack. 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2, or (at your option) 9 | * any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; see the file COPYING. If not, write to 18 | * the Free Software Foundation, Inc., 51 Franklin Street, 19 | * Boston, MA 02110-1301, USA. 20 | */ 21 | 22 | #include "dsp_fir_taps.hpp" 23 | -------------------------------------------------------------------------------- /firmware/common/event.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc. 3 | * 4 | * This file is part of PortaPack. 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2, or (at your option) 9 | * any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; see the file COPYING. If not, write to 18 | * the Free Software Foundation, Inc., 51 Franklin Street, 19 | * Boston, MA 02110-1301, USA. 20 | */ 21 | 22 | #include "event.hpp" 23 | 24 | #include "ch.h" 25 | -------------------------------------------------------------------------------- /firmware/common/event.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc. 3 | * 4 | * This file is part of PortaPack. 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2, or (at your option) 9 | * any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; see the file COPYING. If not, write to 18 | * the Free Software Foundation, Inc., 51 Franklin Street, 19 | * Boston, MA 02110-1301, USA. 20 | */ 21 | 22 | #ifndef __EVENT_H__ 23 | #define __EVENT_H__ 24 | 25 | #include "ch.h" 26 | 27 | #endif/*__EVENT_H__*/ 28 | -------------------------------------------------------------------------------- /firmware/common/gcc.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc. 3 | * 4 | * This file is part of PortaPack. 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2, or (at your option) 9 | * any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; see the file COPYING. If not, write to 18 | * the Free Software Foundation, Inc., 51 Franklin Street, 19 | * Boston, MA 02110-1301, USA. 20 | */ 21 | 22 | #ifndef __GCC_H__ 23 | #define __GCC_H__ 24 | 25 | #endif/*__GCC_H__*/ 26 | -------------------------------------------------------------------------------- /firmware/common/hackrf_hal.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc. 3 | * 4 | * This file is part of PortaPack. 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2, or (at your option) 9 | * any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; see the file COPYING. If not, write to 18 | * the Free Software Foundation, Inc., 51 Franklin Street, 19 | * Boston, MA 02110-1301, USA. 20 | */ 21 | 22 | #include "hackrf_hal.hpp" 23 | 24 | #include "lpc43xx_cpp.hpp" 25 | 26 | using namespace lpc43xx; 27 | 28 | namespace hackrf { 29 | namespace one { 30 | 31 | } /* namespace one */ 32 | } /* namespace hackrf */ 33 | -------------------------------------------------------------------------------- /firmware/common/platform.hpp: -------------------------------------------------------------------------------- 1 | extern bool hackrf_r9; 2 | -------------------------------------------------------------------------------- /hardware/.gitignore: -------------------------------------------------------------------------------- 1 | # Common 2 | *.bak 3 | 4 | # KiCad 5 | *.kicad_pcb-bak 6 | -------------------------------------------------------------------------------- /hardware/portapack_h1/case/pp_h1_case.fcstd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/hardware/portapack_h1/case/pp_h1_case.fcstd -------------------------------------------------------------------------------- /hardware/portapack_h1/cpld/.gitignore: -------------------------------------------------------------------------------- 1 | **/*.qws 2 | **/*.chg 3 | **/smart.log 4 | **/db/ 5 | **/incremental_db/ 6 | **/output_files/*.done 7 | **/output_files/*.smsg 8 | **/output_files/*.summary 9 | **/output_files/*.jdi 10 | **/output_files/*.pin 11 | **/output_files/*.pof 12 | **/output_files/*.rpt 13 | **/output_files/*.sld 14 | **/simulation/ 15 | -------------------------------------------------------------------------------- /hardware/portapack_h1/portapack_h1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharebrained/portapack-hackrf/df26d8a99a45bbe7c944b389b87bb661d1ce762d/hardware/portapack_h1/portapack_h1.pdf -------------------------------------------------------------------------------- /hardware/portapack_h1/portapack_h1.pro: -------------------------------------------------------------------------------- 1 | update=Wed 25 Jul 2018 01:46:26 PM PDT 2 | version=1 3 | last_client=kicad 4 | [cvpcb] 5 | version=1 6 | NetIExt=net 7 | [cvpcb/libraries] 8 | EquName1=devcms 9 | [general] 10 | version=1 11 | [pcbnew] 12 | version=1 13 | PageLayoutDescrFile= 14 | LastNetListRead=portapack_h1.net 15 | PadDrill=0 16 | PadDrillOvalY=0 17 | PadSizeH=2.25 18 | PadSizeV=2.25 19 | PcbTextSizeV=1.5 20 | PcbTextSizeH=1.5 21 | PcbTextThickness=0.3 22 | ModuleTextSizeV=0.6095999999999999 23 | ModuleTextSizeH=0.6095999999999999 24 | ModuleTextSizeThickness=0.12 25 | SolderMaskClearance=0.07619999999999999 26 | SolderMaskMinWidth=0.1016 27 | DrawSegmentWidth=0.1524 28 | BoardOutlineThickness=0.09999999999999999 29 | ModuleOutlineThickness=0.1524 30 | [schematic_editor] 31 | version=1 32 | PageLayoutDescrFile= 33 | PlotDirectoryName= 34 | SubpartIdSeparator=0 35 | SubpartFirstId=65 36 | NetFmtName=Pcbnew 37 | SpiceForceRefPrefix=0 38 | SpiceUseNetNumbers=0 39 | LabSize=60 40 | [eeschema] 41 | version=1 42 | LibDir= 43 | --------------------------------------------------------------------------------