├── .gitignore ├── .hgignore ├── LICENSE.md ├── README.md ├── arch ├── arm │ ├── arm_cm3 │ │ ├── drivers │ │ │ ├── Adc.c │ │ │ ├── Can.c │ │ │ ├── Dio.c │ │ │ ├── Fls.c │ │ │ ├── Gpt.c │ │ │ ├── Mcu.c │ │ │ ├── Port.c │ │ │ ├── Pwm.c │ │ │ ├── STM32F10x_StdPeriph_Driver │ │ │ │ ├── Release_Notes_for_STM32F10x_StdPeriph_Driver.html │ │ │ │ ├── inc │ │ │ │ │ ├── misc.h │ │ │ │ │ ├── stm32f10x_adc.h │ │ │ │ │ ├── stm32f10x_bkp.h │ │ │ │ │ ├── stm32f10x_can.h │ │ │ │ │ ├── stm32f10x_cec.h │ │ │ │ │ ├── stm32f10x_crc.h │ │ │ │ │ ├── stm32f10x_dac.h │ │ │ │ │ ├── stm32f10x_dbgmcu.h │ │ │ │ │ ├── stm32f10x_dma.h │ │ │ │ │ ├── stm32f10x_exti.h │ │ │ │ │ ├── stm32f10x_flash.h │ │ │ │ │ ├── stm32f10x_fsmc.h │ │ │ │ │ ├── stm32f10x_gpio.h │ │ │ │ │ ├── stm32f10x_i2c.h │ │ │ │ │ ├── stm32f10x_iwdg.h │ │ │ │ │ ├── stm32f10x_pwr.h │ │ │ │ │ ├── stm32f10x_rcc.h │ │ │ │ │ ├── stm32f10x_rtc.h │ │ │ │ │ ├── stm32f10x_sdio.h │ │ │ │ │ ├── stm32f10x_spi.h │ │ │ │ │ ├── stm32f10x_tim.h │ │ │ │ │ ├── stm32f10x_usart.h │ │ │ │ │ └── stm32f10x_wwdg.h │ │ │ │ └── src │ │ │ │ │ ├── misc.c │ │ │ │ │ ├── stm32f10x_adc.c │ │ │ │ │ ├── stm32f10x_bkp.c │ │ │ │ │ ├── stm32f10x_can.c │ │ │ │ │ ├── stm32f10x_cec.c │ │ │ │ │ ├── stm32f10x_crc.c │ │ │ │ │ ├── stm32f10x_dac.c │ │ │ │ │ ├── stm32f10x_dbgmcu.c │ │ │ │ │ ├── stm32f10x_dma.c │ │ │ │ │ ├── stm32f10x_exti.c │ │ │ │ │ ├── stm32f10x_flash.c │ │ │ │ │ ├── stm32f10x_fsmc.c │ │ │ │ │ ├── stm32f10x_gpio.c │ │ │ │ │ ├── stm32f10x_i2c.c │ │ │ │ │ ├── stm32f10x_iwdg.c │ │ │ │ │ ├── stm32f10x_pwr.c │ │ │ │ │ ├── stm32f10x_rcc.c │ │ │ │ │ ├── stm32f10x_rtc.c │ │ │ │ │ ├── stm32f10x_sdio.c │ │ │ │ │ ├── stm32f10x_spi.c │ │ │ │ │ ├── stm32f10x_tim.c │ │ │ │ │ ├── stm32f10x_usart.c │ │ │ │ │ └── stm32f10x_wwdg.c │ │ │ ├── STM32_ETH_Driver │ │ │ │ ├── inc │ │ │ │ │ └── stm32_eth.h │ │ │ │ └── src │ │ │ │ │ └── stm32_eth.c │ │ │ ├── Wdg.c │ │ │ └── timer_dwt.c │ │ ├── kernel │ │ │ ├── arch.c │ │ │ ├── arch_krn.sx │ │ │ ├── arch_offset.c │ │ │ ├── arch_stack.h │ │ │ ├── core_cm3.c │ │ │ ├── core_cm3.h │ │ │ ├── irq.c │ │ │ ├── irq_types.h │ │ │ ├── stack.h │ │ │ ├── startup_stm32f10x.s │ │ │ ├── stm32f10x.h │ │ │ └── sys_tick.c │ │ └── scripts │ │ │ ├── gcc.mk │ │ │ ├── linkscript_gcc.ldf │ │ │ └── linkscript_gcc_lm.ldf │ └── arm_cr4 │ │ ├── drivers │ │ ├── Can.c │ │ ├── Dio.c │ │ ├── Mcu.c │ │ └── Port.c │ │ ├── kernel │ │ ├── arch.c │ │ ├── arch_krn.sx │ │ ├── arch_offset.c │ │ ├── core_cr4.h │ │ ├── irq.c │ │ ├── irq_types.h │ │ ├── stack.h │ │ ├── startup_cr4.s │ │ └── sys_tick.c │ │ └── scripts │ │ ├── gcc.mk │ │ └── linkscript_gcc.ldf ├── generic │ └── linux │ │ ├── drivers │ │ ├── Mcu.c │ │ └── McuExtensionsStub.c │ │ ├── kernel │ │ ├── arc_krn.sx │ │ ├── arch.c │ │ ├── arch_krn.sx │ │ ├── irq.c │ │ ├── irq_types.h │ │ └── sys_tick.c │ │ └── scripts │ │ ├── gcc.mk │ │ └── linkscript_gcc.ldf ├── hc1x │ └── hcs12d │ │ ├── drivers │ │ ├── Adc.c │ │ ├── Can.c │ │ ├── Dio.c │ │ ├── Gpt.c │ │ ├── Mcu.c │ │ ├── Port.c │ │ ├── Pwm.c │ │ ├── regs_hcs12d.h │ │ └── regs_hcs12xd.h │ │ ├── kernel │ │ ├── arch.c │ │ ├── arch_irq.sx │ │ ├── arch_krn.sx │ │ ├── context.h │ │ ├── context.sx │ │ ├── crt0_gcc.s │ │ ├── crt0_iar.s │ │ ├── irq.c │ │ ├── irq_types.h │ │ ├── stdint.h │ │ └── sys_tick.c │ │ └── scripts │ │ ├── gcc.mk │ │ ├── linkscript_gcc.ldf │ │ ├── linkscript_iar.ldf │ │ └── memory.x └── ppc │ ├── crt0.sx │ └── mpc55xx │ ├── delivery │ └── mpc5500_h7f │ │ └── include │ │ ├── ssd_c90fl.h │ │ ├── ssd_c90fl_internal.h │ │ ├── ssd_h7f.h │ │ ├── ssd_h7f_internal.h │ │ └── ssd_types.h │ ├── drivers │ ├── 560xP_HEADER_v1_10_SBCHM.h │ ├── Adc_560x.c │ ├── Adc_eQADC.c │ ├── Can.c │ ├── Can_Test.h │ ├── Cpu.c │ ├── Dio.c │ ├── Dma.c │ ├── Dma.h │ ├── Eep.c │ ├── Esci.h │ ├── Fls.c │ ├── Gpt.c │ ├── Lin.c │ ├── LinFlex.c │ ├── MPC5604B_0M27V_0102.h │ ├── MPC5606B.h │ ├── MPC5607B.h │ ├── MPC5634M_MLQB80.h │ ├── Mcu.c │ ├── Mcu_Sleep.sx │ ├── Port.c │ ├── Pwm.c │ ├── PwmFlex.c │ ├── Spi.c │ ├── Wdg.c │ ├── flash.h │ ├── flash_h7f_c90.c │ ├── flash_ll_h7f_c90.c │ ├── flash_ll_h7f_c90.h │ ├── ip_adc_mpc56xx.h │ ├── ip_dspi.h │ ├── ip_edma.h │ ├── ip_flexcan.h │ ├── mpc5500_spr.h │ ├── mpc5516.h │ ├── mpc5554.h │ ├── mpc5554_vars.h │ ├── mpc5567.h │ ├── mpc5606s.h │ ├── mpc563m_vars.h │ ├── mpc5668.h │ ├── ssd_h7f_v323.o │ ├── sys_tick.c │ ├── timer_rtc.c │ ├── timer_tb.c │ └── typedefs.h │ ├── integration │ ├── Mcu_Arc_mpc55xx.c │ ├── Mcu_Arc_mpc56xx.c │ └── mpc5xxx_callout_stubs.c │ ├── kernel │ ├── arch.c │ ├── arch_krn.sx │ ├── arch_offset.c │ ├── arch_stack.h │ ├── irq.c │ ├── irq_types.h │ ├── mpc5xxx_handlers.c │ └── mpc5xxx_handlers_asm.sx │ ├── mm │ ├── cache.c │ ├── mm.c │ └── mm.h │ └── scripts │ ├── gcc.mk │ ├── linkscript_cw.ldf │ ├── linkscript_diab.ldf │ └── linkscript_gcc.ldf ├── boards ├── board_common.mk ├── generic │ ├── Calibration_Settings.h │ ├── CanTp_Cfg.c │ ├── CanTp_Cfg.h │ ├── Crc_Cfg.h │ ├── Dcm_Callout_Stubs.c │ ├── Dcm_Cfg.h │ ├── Dcm_LCfg.c │ ├── Dem_Cfg.h │ ├── Dem_IntErrId.h │ ├── Dem_IntEvtId.h │ ├── Dem_LCfg.c │ ├── Det_Cfg.h │ ├── Ea_Cfg.h │ ├── Ea_Lcfg.c │ ├── EcuM_Cfg.h │ ├── EcuM_PBcfg.c │ ├── Fee_Cfg.c │ ├── Fee_Cfg.h │ ├── Fee_Memory_Cfg.h │ ├── Mcu_Arc_Cfg.c │ ├── Mcu_Arc_Cfg.h │ ├── MemIf_Cfg.h │ ├── NvM_Cfg.c │ ├── NvM_Cfg.h │ └── SchM_cfg.h ├── hcs12_elmicro_card12 │ ├── board_info.txt │ ├── build_config.mk │ ├── examples │ │ ├── blinker │ │ │ ├── Tasks.c │ │ │ ├── blinker_hcs12_card12.arxml │ │ │ ├── build_config.mk │ │ │ ├── config │ │ │ │ ├── CanIf_Cfg.c │ │ │ │ ├── CanIf_Cfg.h │ │ │ │ ├── CanIf_SpecialPdus.h │ │ │ │ ├── Can_Cfg.h │ │ │ │ ├── Can_Lcfg.c │ │ │ │ ├── Com_Cfg.h │ │ │ │ ├── Com_PbCfg.c │ │ │ │ ├── Com_PbCfg.h │ │ │ │ ├── Det_Cfg.h │ │ │ │ ├── Dio_Cfg.h │ │ │ │ ├── Dio_Lcfg.c │ │ │ │ ├── EcuM.mk │ │ │ │ ├── EcuM_Cfg.h │ │ │ │ ├── EcuM_PBcfg.c │ │ │ │ ├── Mcu_Cfg.c │ │ │ │ ├── Mcu_Cfg.h │ │ │ │ ├── Os_Cfg.c │ │ │ │ ├── Os_Cfg.h │ │ │ │ ├── PduR_Cfg.h │ │ │ │ ├── PduR_PbCfg.c │ │ │ │ ├── PduR_PbCfg.h │ │ │ │ ├── Port_Cfg.c │ │ │ │ └── Port_Cfg.h │ │ │ ├── example_info.txt │ │ │ └── makefile │ │ └── os_simple │ │ │ ├── build_config.mk │ │ │ ├── config │ │ │ ├── Det_Cfg.h │ │ │ ├── EcuM.mk │ │ │ ├── EcuM_Cfg.h │ │ │ ├── EcuM_PBcfg.c │ │ │ ├── Mcu_Cfg.c │ │ │ ├── Mcu_Cfg.h │ │ │ ├── Os_Cfg.c │ │ │ └── Os_Cfg.h │ │ │ ├── makefile │ │ │ └── os_simple_hcs12_card12.arxml │ ├── memory_gcc.ldf │ └── memory_iar.ldf ├── hcs12x_elmicro_tboard │ ├── board_info.txt │ ├── build_config.mk │ ├── examples │ │ ├── ledmaster │ │ │ ├── Tasks.c │ │ │ ├── build_config.mk │ │ │ ├── config │ │ │ │ ├── Adc_Cfg.c │ │ │ │ ├── Adc_Cfg.h │ │ │ │ ├── CanIf_Cfg.c │ │ │ │ ├── CanIf_Cfg.h │ │ │ │ ├── CanIf_SpecialPdus.h │ │ │ │ ├── Can_Cfg.h │ │ │ │ ├── Can_Lcfg.c │ │ │ │ ├── Com_Cfg.h │ │ │ │ ├── Com_PbCfg.c │ │ │ │ ├── Com_PbCfg.h │ │ │ │ ├── Det_Cfg.h │ │ │ │ ├── Dio_Cfg.h │ │ │ │ ├── Dio_Lcfg.c │ │ │ │ ├── EcuM.mk │ │ │ │ ├── EcuM_Cfg.h │ │ │ │ ├── EcuM_PBcfg.c │ │ │ │ ├── Mcu_Cfg.c │ │ │ │ ├── Mcu_Cfg.h │ │ │ │ ├── Os_Cfg.c │ │ │ │ ├── Os_Cfg.h │ │ │ │ ├── PduR_Cfg.h │ │ │ │ ├── PduR_PbCfg.c │ │ │ │ ├── PduR_PbCfg.h │ │ │ │ ├── Port_Cfg.c │ │ │ │ ├── Port_Cfg.h │ │ │ │ ├── Pwm_Cfg.c │ │ │ │ └── Pwm_Cfg.h │ │ │ ├── example_info.txt │ │ │ ├── led_master.dbc │ │ │ ├── ledmaster_hcs12x_tboard.arxml │ │ │ └── makefile │ │ └── os_simple │ │ │ ├── build_config.mk │ │ │ ├── config │ │ │ ├── Det_Cfg.h │ │ │ ├── EcuM.mk │ │ │ ├── EcuM_Cfg.h │ │ │ ├── EcuM_PBcfg.c │ │ │ ├── Mcu_Cfg.c │ │ │ ├── Mcu_Cfg.h │ │ │ ├── Os_Cfg.c │ │ │ └── Os_Cfg.h │ │ │ ├── makefile │ │ │ └── os_simple_hcs12x_tboard.arxml │ └── memory_gcc.ldf ├── linux │ ├── build_config.mk │ └── memory.ldf ├── mpc5516it │ ├── board_info.txt │ ├── board_mpc5516it.arxml │ ├── build_config.mk │ ├── config │ │ ├── Dma_Cfg.c │ │ ├── Dma_Cfg.h │ │ ├── Eep_Cfg.h │ │ ├── Eep_Lcfg.c │ │ ├── Fls_Cfg.c │ │ ├── Fls_Cfg.h │ │ ├── Fls_SST25xx_Cfg.c │ │ ├── Fls_SST25xx_Cfg.h │ │ ├── Mcu_Arc_Cfg.c │ │ ├── Mcu_Arc_Cfg.h │ │ ├── Spi_Cfg.h │ │ ├── Spi_Lcfg.c │ │ ├── Wdg_Cfg.h │ │ └── Wdg_Lcfg.c │ ├── examples │ │ ├── com_simple │ │ │ ├── Tasks.c │ │ │ ├── build_config.mk │ │ │ ├── com_simple.dbc │ │ │ ├── com_simple_mpc5516it.arxml │ │ │ ├── config │ │ │ │ ├── CanIf_Cfg.c │ │ │ │ ├── CanIf_Cfg.h │ │ │ │ ├── CanIf_SpecialPdus.h │ │ │ │ ├── Can_Cfg.h │ │ │ │ ├── Can_PBcfg.c │ │ │ │ ├── Com_Cfg.h │ │ │ │ ├── Com_PbCfg.c │ │ │ │ ├── Com_PbCfg.h │ │ │ │ ├── Det_Cfg.h │ │ │ │ ├── EcuM.mk │ │ │ │ ├── EcuM_Cfg.h │ │ │ │ ├── EcuM_PBcfg.c │ │ │ │ ├── Mcu_Cfg.c │ │ │ │ ├── Mcu_Cfg.h │ │ │ │ ├── Os_Cfg.c │ │ │ │ ├── Os_Cfg.h │ │ │ │ ├── PduR_Cfg.h │ │ │ │ ├── PduR_PbCfg.c │ │ │ │ ├── PduR_PbCfg.h │ │ │ │ ├── Port_Cfg.c │ │ │ │ └── Port_Cfg.h │ │ │ └── makefile │ │ ├── led_rte │ │ │ ├── Blinker.c │ │ │ ├── IoHwAb.c │ │ │ ├── README │ │ │ ├── Tasks.c │ │ │ ├── build_config.mk │ │ │ ├── config │ │ │ │ ├── Calibration_Settings.h │ │ │ │ ├── Det_Cfg.h │ │ │ │ ├── Dio_Cfg.h │ │ │ │ ├── Dio_Lcfg.c │ │ │ │ ├── EcuM.mk │ │ │ │ ├── EcuM_Cfg.h │ │ │ │ ├── EcuM_PBcfg.c │ │ │ │ ├── IoHwAb_Analog.c │ │ │ │ ├── IoHwAb_Analog.h │ │ │ │ ├── IoHwAb_Cbk.h │ │ │ │ ├── IoHwAb_Cfg.h │ │ │ │ ├── IoHwAb_Dcm.h │ │ │ │ ├── IoHwAb_Digital.c │ │ │ │ ├── IoHwAb_Digital.h │ │ │ │ ├── IoHwAb_Pwm.c │ │ │ │ ├── IoHwAb_Pwm.h │ │ │ │ ├── Mcu_Cfg.c │ │ │ │ ├── Mcu_Cfg.h │ │ │ │ ├── Os_Cfg.c │ │ │ │ ├── Os_Cfg.h │ │ │ │ ├── Port_Cfg.c │ │ │ │ ├── Port_Cfg.h │ │ │ │ ├── Rte.c │ │ │ │ ├── Rte.mk │ │ │ │ ├── Rte_Blinker.c │ │ │ │ ├── Rte_Blinker.h │ │ │ │ ├── Rte_Blinker_Internal.h │ │ │ │ ├── Rte_Cbk.c │ │ │ │ ├── Rte_Data.c │ │ │ │ ├── Rte_Data.h │ │ │ │ ├── Rte_EcuAbstraction.c │ │ │ │ ├── Rte_EcuAbstraction.h │ │ │ │ ├── Rte_EcuAbstraction_Internal.h │ │ │ │ ├── Rte_Type.h │ │ │ │ ├── Rte_led_rte_ecuc_mpc5516_IoHwAbComponentType.c │ │ │ │ ├── Rte_led_rte_ecuc_mpc5516_IoHwAbComponentType.h │ │ │ │ └── Rte_led_rte_ecuc_mpc5516_IoHwAbComponentType_Internal.h │ │ │ ├── led_rte_ecuc_mpc5516.arxml │ │ │ ├── led_rte_extract.arxml │ │ │ ├── led_rte_system.arxml │ │ │ └── makefile │ │ └── os_simple │ │ │ ├── build_config.mk │ │ │ ├── config │ │ │ ├── Det_Cfg.h │ │ │ ├── Dio_Cfg.h │ │ │ ├── Dio_Lcfg.c │ │ │ ├── EcuM.mk │ │ │ ├── EcuM_Cfg.h │ │ │ ├── EcuM_PBcfg.c │ │ │ ├── Mcu_Cfg.c │ │ │ ├── Mcu_Cfg.h │ │ │ ├── Os_Cfg.c │ │ │ ├── Os_Cfg.h │ │ │ ├── Port_Cfg.c │ │ │ └── Port_Cfg.h │ │ │ ├── makefile │ │ │ └── os_simple_mpc5516it.arxml │ └── memory.ldf ├── mpc551xsim │ ├── Isrs_mpc55xx.arxml │ ├── board_info.txt │ ├── build_config.mk │ ├── examples │ │ ├── os_schtbl │ │ │ ├── build_config.mk │ │ │ ├── config │ │ │ │ ├── Det_Cfg.h │ │ │ │ ├── EcuM.mk │ │ │ │ ├── EcuM_Cfg.h │ │ │ │ ├── EcuM_PBcfg.c │ │ │ │ ├── Mcu_Cfg.c │ │ │ │ ├── Mcu_Cfg.h │ │ │ │ ├── Os_Cfg.c │ │ │ │ └── Os_Cfg.h │ │ │ ├── makefile │ │ │ ├── os_schtbl.c │ │ │ └── os_schtbl_mpc551xsim.arxml │ │ └── os_simple │ │ │ ├── build_config.mk │ │ │ ├── config │ │ │ ├── Det_Cfg.h │ │ │ ├── EcuM.mk │ │ │ ├── EcuM_Cfg.h │ │ │ ├── EcuM_PBcfg.c │ │ │ ├── Mcu_Cfg.c │ │ │ ├── Mcu_Cfg.h │ │ │ ├── Os_Cfg.c │ │ │ └── Os_Cfg.h │ │ │ ├── makefile │ │ │ └── os_simple_mpc551xsim.arxml │ └── memory.ldf ├── mpc5554sim │ ├── board_info.txt │ ├── build_config.mk │ └── memory.ldf ├── mpc5567qrtech │ ├── board_info.txt │ ├── boot_info.mk │ ├── build_config.mk │ ├── config │ │ ├── Dma_Cfg.c │ │ ├── Dma_Cfg.h │ │ ├── Fls_Cfg.c │ │ ├── Fls_Cfg.h │ │ └── Wdg_Cfg.h │ ├── examples │ │ ├── led_rte │ │ │ ├── Blinker.c │ │ │ ├── IoHwAb.c │ │ │ ├── README │ │ │ ├── Tasks.c │ │ │ ├── build_config.mk │ │ │ ├── config │ │ │ │ ├── Calibration_Settings.h │ │ │ │ ├── Det_Cfg.h │ │ │ │ ├── Dio_Cfg.h │ │ │ │ ├── Dio_Lcfg.c │ │ │ │ ├── EcuM.mk │ │ │ │ ├── EcuM_Cfg.h │ │ │ │ ├── EcuM_PBcfg.c │ │ │ │ ├── IoHwAb_Analog.c │ │ │ │ ├── IoHwAb_Analog.h │ │ │ │ ├── IoHwAb_Cbk.h │ │ │ │ ├── IoHwAb_Cfg.h │ │ │ │ ├── IoHwAb_Dcm.h │ │ │ │ ├── IoHwAb_Digital.c │ │ │ │ ├── IoHwAb_Digital.h │ │ │ │ ├── IoHwAb_Pwm.c │ │ │ │ ├── IoHwAb_Pwm.h │ │ │ │ ├── Mcu_Cfg.c │ │ │ │ ├── Mcu_Cfg.h │ │ │ │ ├── Os_Cfg.c │ │ │ │ ├── Os_Cfg.h │ │ │ │ ├── Port_Cfg.c │ │ │ │ ├── Port_Cfg.h │ │ │ │ ├── Rte.c │ │ │ │ ├── Rte.mk │ │ │ │ ├── Rte_Blinker.c │ │ │ │ ├── Rte_Blinker.h │ │ │ │ ├── Rte_Blinker_Internal.h │ │ │ │ ├── Rte_Cbk.c │ │ │ │ ├── Rte_Data.c │ │ │ │ ├── Rte_Data.h │ │ │ │ ├── Rte_EcuAbstraction.c │ │ │ │ ├── Rte_EcuAbstraction.h │ │ │ │ ├── Rte_EcuAbstraction_Internal.h │ │ │ │ ├── Rte_Type.h │ │ │ │ ├── Rte_led_rte_ecuc_mpc5567_IoHwAbComponentType.c │ │ │ │ └── Rte_led_rte_ecuc_mpc5567_IoHwAbComponentType.h │ │ │ ├── led_rte_ecuc_mpc5567.arxml │ │ │ ├── led_rte_extract.arxml │ │ │ ├── led_rte_system.arxml │ │ │ └── makefile │ │ ├── os_simple │ │ │ ├── build_config.mk │ │ │ ├── config │ │ │ │ ├── Det_Cfg.h │ │ │ │ ├── Dio_Cfg.h │ │ │ │ ├── Dio_Lcfg.c │ │ │ │ ├── EcuM.mk │ │ │ │ ├── EcuM_Cfg.h │ │ │ │ ├── EcuM_PBcfg.c │ │ │ │ ├── Mcu_Cfg.c │ │ │ │ ├── Mcu_Cfg.h │ │ │ │ ├── Os_Cfg.c │ │ │ │ └── Os_Cfg.h │ │ │ ├── makefile │ │ │ └── os_simple_mpc5567qrtech.arxml │ │ └── rte_simple │ │ │ ├── build_config.mk │ │ │ ├── config │ │ │ ├── Calibration_Settings.h │ │ │ ├── CanIf_Cfg.c │ │ │ ├── CanIf_Cfg.h │ │ │ ├── CanIf_SpecialPdus.h │ │ │ ├── Can_Cfg.h │ │ │ ├── Can_PBcfg.c │ │ │ ├── Com_Cfg.h │ │ │ ├── Com_PbCfg.c │ │ │ ├── Com_PbCfg.h │ │ │ ├── Det_Cfg.h │ │ │ ├── Dio_Cfg.h │ │ │ ├── Dio_Lcfg.c │ │ │ ├── EcuM.mk │ │ │ ├── EcuM_Cfg.h │ │ │ ├── EcuM_PBcfg.c │ │ │ ├── Mcu_Cfg.c │ │ │ ├── Mcu_Cfg.h │ │ │ ├── Os_Cfg.c │ │ │ ├── Os_Cfg.h │ │ │ ├── PduR_Cfg.h │ │ │ ├── PduR_PbCfg.c │ │ │ ├── PduR_PbCfg.h │ │ │ ├── Port_Cfg.c │ │ │ ├── Port_Cfg.h │ │ │ ├── Rte.c │ │ │ ├── Rte.mk │ │ │ ├── Rte_Calculator.c │ │ │ ├── Rte_Calculator.h │ │ │ ├── Rte_Calculator_Internal.h │ │ │ ├── Rte_Cbk.c │ │ │ ├── Rte_Data.c │ │ │ ├── Rte_Data.h │ │ │ ├── Rte_Logger.c │ │ │ ├── Rte_Logger.h │ │ │ ├── Rte_Logger2.c │ │ │ ├── Rte_Logger2.h │ │ │ ├── Rte_Logger2_Internal.h │ │ │ ├── Rte_Logger_Internal.h │ │ │ ├── Rte_Tester.c │ │ │ ├── Rte_Tester.h │ │ │ ├── Rte_Tester_Internal.h │ │ │ └── Rte_Type.h │ │ │ ├── makefile │ │ │ └── rte_simple_mpc5567qrtech.arxml │ └── memory.ldf ├── mpc5602b_xpc560b │ ├── board_info.txt │ ├── build_config.mk │ ├── config │ │ ├── Eep_Cfg.h │ │ ├── Eep_Lcfg.c │ │ ├── Fls_Cfg.c │ │ ├── Fls_Cfg.h │ │ ├── Wdg_Cfg.h │ │ └── Wdg_Lcfg.c │ └── examples │ │ ├── lin_simple │ │ ├── Linexample.arxml │ │ ├── Tasks.c │ │ ├── build_config.mk │ │ ├── canalyzer_prj │ │ │ ├── LIN_test.ldf │ │ │ └── lin_test.cfg │ │ ├── config │ │ │ ├── Com_Cfg.h │ │ │ ├── Com_PbCfg.c │ │ │ ├── Com_PbCfg.h │ │ │ ├── Det_Cfg.h │ │ │ ├── EcuM.mk │ │ │ ├── EcuM_Cfg.h │ │ │ ├── EcuM_Lin.mk │ │ │ ├── EcuM_PBcfg.c │ │ │ ├── LinCfg_Help.doc │ │ │ ├── LinIf_Cfg.h │ │ │ ├── LinIf_Lcfg.c │ │ │ ├── LinIf_PBcfg.c │ │ │ ├── LinSM_Cfg.c │ │ │ ├── LinSM_Cfg.h │ │ │ ├── LinSM_Lcfg.c │ │ │ ├── LinSM_PBcfg.c │ │ │ ├── Lin_Cfg.h │ │ │ ├── Lin_Lcfg.c │ │ │ ├── Lin_PBcfg.c │ │ │ ├── Mcu_Cfg.c │ │ │ ├── Mcu_Cfg.h │ │ │ ├── Os_Cfg.c │ │ │ ├── Os_Cfg.h │ │ │ ├── PduR_Cfg.h │ │ │ ├── PduR_PbCfg.c │ │ │ ├── PduR_PbCfg.h │ │ │ ├── Port_Cfg.c │ │ │ └── Port_Cfg.h │ │ └── makefile │ │ └── os_simple │ │ ├── build_config.mk │ │ ├── config │ │ ├── Det_Cfg.h │ │ ├── EcuM.mk │ │ ├── EcuM_Cfg.h │ │ ├── EcuM_PBcfg.c │ │ ├── Mcu_Cfg.c │ │ ├── Mcu_Cfg.h │ │ ├── Os_Cfg.c │ │ └── Os_Cfg.h │ │ ├── makefile │ │ └── os_simple_mpc5602b_xpc560b.arxml ├── mpc5604b_trk │ ├── board_info.txt │ ├── build_config.mk │ ├── config │ │ ├── Eep_Cfg.h │ │ ├── Eep_Lcfg.c │ │ ├── Fls_Cfg.c │ │ ├── Fls_Cfg.h │ │ ├── Wdg_Cfg.h │ │ └── Wdg_Lcfg.c │ └── examples │ │ └── os_simple │ │ ├── build_config.mk │ │ ├── config │ │ ├── Det_Cfg.h │ │ ├── EcuM.mk │ │ ├── EcuM_Cfg.h │ │ ├── EcuM_PBcfg.c │ │ ├── Mcu_Cfg.c │ │ ├── Mcu_Cfg.h │ │ ├── Os_Cfg.c │ │ └── Os_Cfg.h │ │ ├── makefile │ │ └── os_simple_mpc5604b_trk.arxml ├── mpc5604p_trk │ ├── board_info.txt │ ├── build_config.mk │ ├── config │ │ ├── Dma_Cfg.c │ │ ├── Dma_Cfg.h │ │ ├── Eep_Cfg.h │ │ ├── Eep_Lcfg.c │ │ ├── Fls_Cfg.c │ │ ├── Fls_Cfg.h │ │ ├── Wdg_Cfg.h │ │ └── Wdg_Lcfg.c │ └── examples │ │ └── os_simple │ │ ├── build_config.mk │ │ ├── config │ │ ├── Det_Cfg.h │ │ ├── EcuM.mk │ │ ├── EcuM_Cfg.h │ │ ├── EcuM_PBcfg.c │ │ ├── Mcu_Cfg.c │ │ ├── Mcu_Cfg.h │ │ ├── Os_Cfg.c │ │ └── Os_Cfg.h │ │ ├── makefile │ │ └── os_simple_mpc5604p_trk.arxml ├── mpc5606b_xpc560b │ ├── board_info.txt │ ├── build_config.mk │ ├── config │ │ ├── Dma_Cfg.c │ │ ├── Dma_Cfg.h │ │ ├── Eep_Cfg.h │ │ ├── Eep_Lcfg.c │ │ ├── Fls_Cfg.c │ │ ├── Fls_Cfg.h │ │ ├── Wdg_Cfg.h │ │ └── Wdg_Lcfg.c │ └── examples │ │ └── os_simple │ │ ├── build_config.mk │ │ ├── config │ │ ├── Det_Cfg.h │ │ ├── EcuM.mk │ │ ├── EcuM_Cfg.h │ │ ├── EcuM_PBcfg.c │ │ ├── Mcu_Cfg.c │ │ ├── Mcu_Cfg.h │ │ ├── Os_Cfg.c │ │ └── Os_Cfg.h │ │ ├── makefile │ │ └── os_simple_mpc5606b_xpc560b.arxml ├── mpc5606s_xpc560s │ ├── board_info.txt │ ├── build_config.mk │ ├── config │ │ ├── Dma_Cfg.c │ │ ├── Dma_Cfg.h │ │ ├── Eep_Cfg.h │ │ ├── Eep_Lcfg.c │ │ ├── Fls_Cfg.c │ │ ├── Fls_Cfg.h │ │ ├── Wdg_Cfg.h │ │ └── Wdg_Lcfg.c │ └── examples │ │ └── os_simple │ │ ├── build_config.mk │ │ ├── config │ │ ├── Det_Cfg.h │ │ ├── EcuM.mk │ │ ├── EcuM_Cfg.h │ │ ├── EcuM_PBcfg.c │ │ ├── Mcu_Cfg.c │ │ ├── Mcu_Cfg.h │ │ ├── Os_Cfg.c │ │ └── Os_Cfg.h │ │ ├── makefile │ │ └── os_simple_mpc5606s_xpc560s.arxml ├── mpc560xsim │ ├── board_info.txt │ └── build_config.mk ├── mpc5634m_trk │ ├── board_info.txt │ ├── build_config.mk │ ├── config │ │ ├── Dma_Cfg.c │ │ ├── Dma_Cfg.h │ │ ├── Eep_Cfg.h │ │ ├── Eep_Lcfg.c │ │ ├── Fls_Cfg.c │ │ ├── Fls_Cfg.h │ │ ├── Wdg_Cfg.h │ │ └── Wdg_Lcfg.c │ ├── examples │ │ └── os_simple │ │ │ ├── build_config.mk │ │ │ ├── config │ │ │ ├── Det_Cfg.h │ │ │ ├── EcuM.mk │ │ │ ├── EcuM_Cfg.h │ │ │ ├── EcuM_PBcfg.c │ │ │ ├── Mcu_Cfg.c │ │ │ ├── Mcu_Cfg.h │ │ │ ├── Os_Cfg.c │ │ │ └── Os_Cfg.h │ │ │ ├── makefile │ │ │ └── os_simple_mpc5634m_trk.arxml │ └── memory.ldf ├── mpc5668_gkit │ ├── board_info.txt │ ├── board_mpc5668_gkit.arxml │ ├── boot_info.mk │ ├── build_config.mk │ ├── config │ │ ├── Dma_Cfg.c │ │ ├── Dma_Cfg.h │ │ ├── Fls_Cfg.c │ │ ├── Fls_Cfg.h │ │ ├── Mcu_Arc_Cfg.c │ │ ├── Mcu_Arc_Cfg.h │ │ └── Wdg_Cfg.h │ ├── examples │ │ └── os_simple │ │ │ ├── build_config.mk │ │ │ ├── config │ │ │ ├── Det_Cfg.h │ │ │ ├── EcuM.mk │ │ │ ├── EcuM_Cfg.h │ │ │ ├── EcuM_PBcfg.c │ │ │ ├── Mcu_Cfg.c │ │ │ ├── Mcu_Cfg.h │ │ │ ├── Os_Cfg.c │ │ │ └── Os_Cfg.h │ │ │ ├── makefile │ │ │ └── os_simple_mpc5668_gkit.arxml │ └── memory.ldf ├── stm32_mcbstm32 │ ├── board_info.txt │ ├── build_config.mk │ ├── examples │ │ └── os_simple │ │ │ ├── build_config.mk │ │ │ ├── config │ │ │ ├── EcuM.mk │ │ │ ├── EcuM_Cfg.h │ │ │ ├── EcuM_PBcfg.c │ │ │ ├── Mcu_Cfg.c │ │ │ ├── Mcu_Cfg.h │ │ │ ├── Os_Cfg.c │ │ │ └── Os_Cfg.h │ │ │ ├── makefile │ │ │ └── os_simple_stm32_mcbstm32.arxml │ └── memory.ldf ├── stm32_stm3210c │ ├── board_info.txt │ ├── build_config.mk │ ├── examples │ │ ├── com_simple │ │ │ ├── Tasks.c │ │ │ ├── build_config.mk │ │ │ ├── com_simple.dbc │ │ │ ├── com_simple_stm3210c.arxml │ │ │ ├── config │ │ │ │ ├── CanIf_Cfg.c │ │ │ │ ├── CanIf_Cfg.h │ │ │ │ ├── CanIf_SpecialPdus.h │ │ │ │ ├── Can_Cfg.h │ │ │ │ ├── Can_Lcfg.c │ │ │ │ ├── Com_Cfg.h │ │ │ │ ├── Com_PbCfg.c │ │ │ │ ├── Com_PbCfg.h │ │ │ │ ├── Det_Cfg.h │ │ │ │ ├── EcuM.mk │ │ │ │ ├── EcuM_Cfg.h │ │ │ │ ├── EcuM_PBcfg.c │ │ │ │ ├── Mcu_Cfg.c │ │ │ │ ├── Mcu_Cfg.h │ │ │ │ ├── Os_Cfg.c │ │ │ │ ├── Os_Cfg.h │ │ │ │ ├── PduR_Cfg.h │ │ │ │ ├── PduR_PbCfg.c │ │ │ │ ├── PduR_PbCfg.h │ │ │ │ ├── Port_Cfg.c │ │ │ │ └── Port_Cfg.h │ │ │ └── makefile │ │ └── os_simple │ │ │ ├── build_config.mk │ │ │ ├── config │ │ │ ├── EcuM.mk │ │ │ ├── EcuM_Cfg.h │ │ │ ├── EcuM_PBcfg.c │ │ │ ├── Mcu_Cfg.c │ │ │ ├── Mcu_Cfg.h │ │ │ ├── Os_Cfg.c │ │ │ └── Os_Cfg.h │ │ │ ├── makefile │ │ │ └── os_simple_stm32_stm3210c.arxml │ └── memory.ldf └── ti_tms570ls │ ├── board_info.txt │ ├── build_config.mk │ ├── examples │ ├── os_simple │ │ ├── build_config.mk │ │ ├── config │ │ │ ├── Det_Cfg.h │ │ │ ├── EcuM.mk │ │ │ ├── EcuM_Cfg.h │ │ │ ├── EcuM_PBcfg.c │ │ │ ├── Mcu_Cfg.c │ │ │ ├── Mcu_Cfg.h │ │ │ ├── Os_Cfg.c │ │ │ └── Os_Cfg.h │ │ ├── makefile │ │ └── os_simple_tms570ls.arxml │ └── rte_simple │ │ ├── build_config.mk │ │ ├── config │ │ ├── Calibration_Settings.h │ │ ├── CanIf_Cfg.c │ │ ├── CanIf_Cfg.h │ │ ├── CanIf_SpecialPdus.h │ │ ├── Can_Cfg.h │ │ ├── Can_Lcfg.c │ │ ├── Com_Cfg.h │ │ ├── Com_PbCfg.c │ │ ├── Com_PbCfg.h │ │ ├── Det_Cfg.h │ │ ├── Dio_Cfg.h │ │ ├── Dio_Lcfg.c │ │ ├── EcuM.mk │ │ ├── EcuM_Cfg.h │ │ ├── EcuM_PBcfg.c │ │ ├── Mcu_Cfg.c │ │ ├── Mcu_Cfg.h │ │ ├── Os_Cfg.c │ │ ├── Os_Cfg.h │ │ ├── PduR_Cfg.h │ │ ├── PduR_PbCfg.c │ │ ├── PduR_PbCfg.h │ │ ├── Port_Cfg.c │ │ ├── Port_Cfg.h │ │ ├── Rte.c │ │ ├── Rte.mk │ │ ├── Rte_Calculator.c │ │ ├── Rte_Calculator.h │ │ ├── Rte_Calculator_Internal.h │ │ ├── Rte_Cbk.c │ │ ├── Rte_Data.c │ │ ├── Rte_Data.h │ │ ├── Rte_Logger.c │ │ ├── Rte_Logger.h │ │ ├── Rte_Logger2.c │ │ ├── Rte_Logger2.h │ │ ├── Rte_Logger2_Internal.h │ │ ├── Rte_Logger_Internal.h │ │ ├── Rte_Tester.c │ │ ├── Rte_Tester.h │ │ ├── Rte_Tester_Internal.h │ │ └── Rte_Type.h │ │ ├── makefile │ │ └── rte_simple_ti_tms570ls.arxml │ └── memory.ldf ├── clib ├── assert.h ├── clib.c ├── clib.h ├── clib_port.c ├── stdio.h └── strtok_r.c ├── common ├── arc.c ├── cirq_buffer.c ├── console.c ├── iar_port.c ├── mbox.c ├── msl_port.c ├── newlib_port.c ├── perf.c ├── printf.c ├── ramlog.c ├── shell.c ├── sleep.c ├── strace.c ├── tcf │ ├── Tcf_Cfg.c │ ├── Tcf_Cfg.h │ ├── streams.c │ ├── streams.h │ ├── sys_monitor.c │ ├── sys_monitor.h │ ├── tcf.c │ └── tcf.h └── xtoa.c ├── communication ├── CanIf │ └── CanIf.c ├── CanNm │ └── CanNm.c ├── CanSM │ ├── CanSM.c │ └── CanSM_Internal.h ├── CanTp │ └── CanTp.c ├── Com │ ├── Com.c │ ├── Com_Arc_Types.h │ ├── Com_Cbk.h │ ├── Com_Com.c │ ├── Com_Internal.h │ ├── Com_Sched.c │ ├── Com_misc.c │ └── Com_misc.h ├── ComM │ ├── ComM.c │ └── ComM_Internal.h ├── J1939Tp │ ├── J1939Tp.c │ ├── J1939Tp_Internal.h │ └── J1939Tp_Internal_Packets.h ├── Lin │ ├── LinIf.c │ └── LinSM.c ├── Nm │ └── Nm.c └── PduR │ ├── PduR.c │ ├── PduR_CanIf.c │ ├── PduR_CanTp.c │ ├── PduR_Com.c │ ├── PduR_Dcm.c │ ├── PduR_J1939Tp.c │ ├── PduR_LinIf.c │ ├── PduR_Logic.c │ ├── PduR_Routing.c │ └── PduR_SoAd.c ├── diagnostic ├── Dcm │ ├── Dcm.c │ ├── Dcm_Dsd.c │ ├── Dcm_Dsl.c │ ├── Dcm_Dsp.c │ ├── Dcm_Internal.h │ └── Rte_Dcm.h ├── Dem │ └── Dem.c ├── Det │ └── Det.c └── readme.txt ├── drivers ├── Adc_Internal.c ├── Adc_Internal.h ├── Fls_SST25xx.c ├── serial_dbg_noice.c ├── serial_dbg_noice.h ├── serial_dbg_t32.c ├── serial_dbg_t32.h ├── serial_dbg_ude.c ├── serial_dbg_ude.h ├── serial_dbg_winidea.c └── serial_dbg_winidea.h ├── examples ├── os_simple │ ├── example_info.txt │ └── os_simple.c ├── rte_simple │ ├── Calculator.c │ ├── Logger.c │ ├── Logger2.c │ ├── Tester.c │ ├── rte_simple.c │ ├── rte_simple.mk │ ├── rte_simple_extract.arxml │ └── rte_simple_lib.arxml └── system_hooks.c ├── include ├── Adc.h ├── Byteorder.h ├── CalibrationData.h ├── Can.h ├── CanIf.h ├── CanIf_Cbk.h ├── CanIf_ConfigTypes.h ├── CanIf_Types.h ├── CanNm.h ├── CanNm_Cbk.h ├── CanNm_ConfigTypes.h ├── CanNm_Internal.h ├── CanSM.h ├── CanSM_Cbk.h ├── CanSM_ComM.h ├── CanSM_ConfigTypes.h ├── CanSM_EcuM.h ├── CanTp.h ├── CanTp_Cbk.h ├── CanTp_Types.h ├── Com.h ├── ComM.h ├── ComM_BusSm.h ├── ComM_ConfigTypes.h ├── ComM_Dcm.h ├── ComM_EcuM.h ├── ComM_Nm.h ├── ComM_Types.h ├── ComStack_Types.h ├── Com_Com.h ├── Com_Sched.h ├── Com_Types.h ├── Compiler.h ├── Compiler_Cfg.h ├── Crc.h ├── Dcm.h ├── Dcm_Cbk.h ├── Dcm_Lcfg.h ├── Dcm_Types.h ├── Dem.h ├── Dem_Lcfg.h ├── Dem_Types.h ├── Det.h ├── Dio.h ├── Ea.h ├── Ea_Cbk.h ├── Ea_Types.h ├── EcuM.h ├── EcuM_Cbk.h ├── EcuM_Types.h ├── Eep.h ├── Eep_ConfigTypes.h ├── Fee.h ├── Fee_Cbk.h ├── Fee_ConfigTypes.h ├── Fls.h ├── Fls_ConfigTypes.h ├── Fls_SST25xx.h ├── Gpt.h ├── Gpt_ConfigTypes.h ├── IoHwAb.h ├── IoHwAb_Internal.h ├── IoHwAb_Types.h ├── J1939Tp.h ├── J1939Tp_Cbk.h ├── J1939Tp_ConfigTypes.h ├── Lin.h ├── LinIf.h ├── LinIf_Cbk.h ├── LinIf_Types.h ├── LinSM.h ├── LinSM_Cbk.h ├── Lin_Types.h ├── Mcu.h ├── Mcu_Arc.h ├── MemIf.h ├── MemIf_Types.h ├── MemMap.h ├── Modules.h ├── Nm.h ├── NmStack_Types.h ├── Nm_Cbk.h ├── Nm_ConfigTypes.h ├── NvM.h ├── NvM_Cbk.h ├── NvM_ConfigTypes.h ├── NvM_Types.h ├── Os.h ├── PduR.h ├── PduR_CanIf.h ├── PduR_CanTp.h ├── PduR_Com.h ├── PduR_Dcm.h ├── PduR_If.h ├── PduR_J1939Tp.h ├── PduR_LinIf.h ├── PduR_SoAd.h ├── PduR_Types.h ├── Platform_Types.h ├── Port.h ├── Pwm.h ├── Ramlog.h ├── Rte.h ├── Rte_Dem.h ├── Rte_Main.h ├── Spi.h ├── Spi_ConfigTypes.h ├── Std_Types.h ├── Test_Cbk.h ├── Wdg.h ├── WdgIf.h ├── WdgIf_Types.h ├── WdgM.h ├── WdgM_ConfigTypes.h ├── alist_i.h ├── arc.h ├── arm │ ├── Cpu.h │ └── arm_cm3 │ │ ├── Adc_ConfigTypes.h │ │ ├── Mcu_ConfigTypes.h │ │ ├── Port_ConfigTypes.h │ │ └── Pwm_ConfigTypes.h ├── bit.h ├── cirq_buffer.h ├── debug.h ├── device_serial.h ├── generic │ └── Cpu.h ├── hc1x │ ├── Adc_ConfigTypes.h │ ├── Cpu.h │ ├── asm_hc1x.sx │ ├── irq_defines.h │ └── regs.h ├── io.h ├── irq.h ├── isr.h ├── mbox.h ├── os_config_funcs.h ├── os_config_macros.h ├── perf.h ├── ppc │ ├── Cpu.h │ ├── asm_ppc.h │ └── mpc55xx.h ├── shell.h ├── sleep.h ├── strace.h ├── sys │ └── queue.h ├── timer.h └── xtoa.h ├── makefile ├── memory ├── Ea │ └── Ea.c ├── Fee │ └── Fee.c ├── MemIf │ └── MemIf.c └── NvM │ ├── NvM.c │ └── Nvm_ServiceComponent.c ├── readme.txt ├── rte └── rte.c ├── scripts ├── bootloader_image.mk ├── build_all.sh ├── build_arm.sh ├── build_example.sh ├── build_ppc.sh ├── cc_cw.mk ├── cc_diab.mk ├── cc_gcc.mk ├── cc_iar.mk ├── cc_pclint.mk ├── cc_splint.mk ├── compile_examples.sh ├── compilers.txt ├── empty_toolchain_makefile ├── fix_includes.sh ├── gcc_getinclude.awk ├── guess_cc.sh ├── hc1x_memory.awk ├── makefile.install ├── memory_footprint2_cw.awk ├── memory_footprint_cw.awk ├── memory_footprint_gcc.awk ├── pclint │ ├── lintGccFlags │ │ └── size-options.lnt │ ├── lnt │ │ ├── au-misra.lnt │ │ ├── au-misra2.lnt │ │ ├── co-gcc.h │ │ ├── co-gcc.lnt │ │ ├── lint_cmac.h │ │ └── size-options.lnt │ └── std.lnt ├── project_defaults.mk ├── req-os.xlsx ├── req-os.xml ├── req.sh ├── req_extract.r ├── rules.install ├── rules.mk ├── rules.mk.orig ├── set_env_win_arm_cs.sh └── version_check.mk ├── system ├── Crc │ ├── Crc_16.c │ └── Crc_32.c ├── EcuM │ ├── EcuM.c │ ├── EcuM_Callout_Stubs.c │ ├── EcuM_Generated_Types.h │ ├── EcuM_Internals.h │ ├── EcuM_Main.c │ └── EcuM_ServiceComponent.c ├── IoHwAb │ └── IoHwAb_ServiceComponent.c ├── SchM │ ├── SchM.c │ ├── SchM.h │ ├── SchM_Can.h │ ├── SchM_CanIf.h │ ├── SchM_CanNm.h │ ├── SchM_CanSM.h │ ├── SchM_CanTp.h │ ├── SchM_Com.h │ ├── SchM_ComM.h │ ├── SchM_Dcm.h │ ├── SchM_Dem.h │ ├── SchM_Ea.h │ ├── SchM_EcuM.h │ ├── SchM_Eep.h │ ├── SchM_Fee.h │ ├── SchM_Fls.h │ ├── SchM_IoHwAb.h │ ├── SchM_Nm.h │ ├── SchM_NvM.h │ ├── SchM_PduR.h │ ├── SchM_Pwm.h │ ├── SchM_Spi.h │ └── SchM_WdgM.h ├── WdgIf │ └── WdgIf.c ├── WdgM │ ├── WdgM.c │ └── WdgM_ServiceComponent.c ├── kernel │ ├── alarm.c │ ├── application.c │ ├── asm_offset.c │ ├── asm_sample.c │ ├── counter.c │ ├── design_notes.txt │ ├── event.c │ ├── include │ │ ├── alarm_i.h │ │ ├── application.h │ │ ├── arch.h │ │ ├── counter_i.h │ │ ├── hooks.h │ │ ├── internal.h │ │ ├── kernel.h │ │ ├── resource_i.h │ │ ├── sched_table_i.h │ │ ├── swap.h │ │ ├── sys.h │ │ ├── task_i.h │ │ └── types.h │ ├── init.c │ ├── isr.c │ ├── kernel_offset.c │ ├── makefile │ ├── memory.c │ ├── os_arctest.c │ ├── resource.c │ ├── sched_table.c │ ├── semaphore.c │ ├── sleep.c │ ├── task.c │ └── trusted.c ├── mm │ └── mm.c └── readme.txt └── tools ├── pls └── UDE 3.2 │ └── Targets │ ├── freescale_mpc5567evb_debug_jtag.cfg │ ├── freescale_mpc5668evb_mpc5668g_debug_jtag_z6.cfg │ ├── freescale_xpc560b_minimodule_debug_jtag.cfg │ └── isystem_mpc5516_debug_jtag_z1.cfg └── t32 ├── Shortcut to t32mppc.lnk ├── arccore.men ├── config.cmm ├── config_sim.t32 ├── copy_to_install.sh ├── destroy_regs.cmm ├── flash.cmm ├── lay.cmm ├── load.cmm ├── maekLay.cmm ├── makefile ├── mpc55xx_sim.dll ├── ramlog.cmm ├── sim_mpc55xx.cmm ├── start.cmm ├── t32.cmm ├── term.cmm └── test.cmm /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/.gitignore -------------------------------------------------------------------------------- /.hgignore: -------------------------------------------------------------------------------- 1 | # use glob syntax. 2 | syntax: glob 3 | 4 | *.d 5 | *.o 6 | *.elf 7 | *.map 8 | *.hex 9 | *.bak 10 | *~ 11 | 12 | # switch to regexp syntax. 13 | syntax: regexp 14 | ^.*obj_.*\.[h|c|s] 15 | ^\.lib.*\.arxml 16 | 17 | syntax: regexp 18 | ^.project$ 19 | ^.settings$ 20 | syntax: glob 21 | binaries/* -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Arctic Core - the open source AUTOSAR embedded platform 2 | 3 | Version: 4 | - v.2.18.0 (2014-11-28) 5 | 6 | License: 7 | - GNU General Public License version 2 8 | 9 | Source code obtained from: 10 | - http://my.arccore.com/hg/arc/ 11 | - http://my.arccore.com/hg/arc-stable/ 12 | -------------------------------------------------------------------------------- /arch/arm/arm_cm3/drivers/STM32F10x_StdPeriph_Driver/inc/stm32f10x_fsmc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/arm/arm_cm3/drivers/STM32F10x_StdPeriph_Driver/inc/stm32f10x_fsmc.h -------------------------------------------------------------------------------- /arch/arm/arm_cm3/drivers/STM32F10x_StdPeriph_Driver/src/stm32f10x_adc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/arm/arm_cm3/drivers/STM32F10x_StdPeriph_Driver/src/stm32f10x_adc.c -------------------------------------------------------------------------------- /arch/arm/arm_cm3/drivers/STM32F10x_StdPeriph_Driver/src/stm32f10x_can.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/arm/arm_cm3/drivers/STM32F10x_StdPeriph_Driver/src/stm32f10x_can.c -------------------------------------------------------------------------------- /arch/arm/arm_cm3/drivers/STM32F10x_StdPeriph_Driver/src/stm32f10x_dac.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/arm/arm_cm3/drivers/STM32F10x_StdPeriph_Driver/src/stm32f10x_dac.c -------------------------------------------------------------------------------- /arch/arm/arm_cm3/drivers/STM32F10x_StdPeriph_Driver/src/stm32f10x_dma.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/arm/arm_cm3/drivers/STM32F10x_StdPeriph_Driver/src/stm32f10x_dma.c -------------------------------------------------------------------------------- /arch/arm/arm_cm3/drivers/STM32F10x_StdPeriph_Driver/src/stm32f10x_exti.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/arm/arm_cm3/drivers/STM32F10x_StdPeriph_Driver/src/stm32f10x_exti.c -------------------------------------------------------------------------------- /arch/arm/arm_cm3/drivers/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/arm/arm_cm3/drivers/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c -------------------------------------------------------------------------------- /arch/arm/arm_cm3/drivers/STM32F10x_StdPeriph_Driver/src/stm32f10x_fsmc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/arm/arm_cm3/drivers/STM32F10x_StdPeriph_Driver/src/stm32f10x_fsmc.c -------------------------------------------------------------------------------- /arch/arm/arm_cm3/drivers/STM32F10x_StdPeriph_Driver/src/stm32f10x_i2c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/arm/arm_cm3/drivers/STM32F10x_StdPeriph_Driver/src/stm32f10x_i2c.c -------------------------------------------------------------------------------- /arch/arm/arm_cm3/drivers/STM32F10x_StdPeriph_Driver/src/stm32f10x_rcc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/arm/arm_cm3/drivers/STM32F10x_StdPeriph_Driver/src/stm32f10x_rcc.c -------------------------------------------------------------------------------- /arch/arm/arm_cm3/drivers/STM32F10x_StdPeriph_Driver/src/stm32f10x_rtc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/arm/arm_cm3/drivers/STM32F10x_StdPeriph_Driver/src/stm32f10x_rtc.c -------------------------------------------------------------------------------- /arch/arm/arm_cm3/drivers/STM32F10x_StdPeriph_Driver/src/stm32f10x_sdio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/arm/arm_cm3/drivers/STM32F10x_StdPeriph_Driver/src/stm32f10x_sdio.c -------------------------------------------------------------------------------- /arch/arm/arm_cm3/drivers/STM32F10x_StdPeriph_Driver/src/stm32f10x_tim.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/arm/arm_cm3/drivers/STM32F10x_StdPeriph_Driver/src/stm32f10x_tim.c -------------------------------------------------------------------------------- /arch/arm/arm_cm3/drivers/STM32F10x_StdPeriph_Driver/src/stm32f10x_usart.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/arm/arm_cm3/drivers/STM32F10x_StdPeriph_Driver/src/stm32f10x_usart.c -------------------------------------------------------------------------------- /arch/arm/arm_cm3/drivers/STM32_ETH_Driver/inc/stm32_eth.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/arm/arm_cm3/drivers/STM32_ETH_Driver/inc/stm32_eth.h -------------------------------------------------------------------------------- /arch/arm/arm_cm3/drivers/STM32_ETH_Driver/src/stm32_eth.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/arm/arm_cm3/drivers/STM32_ETH_Driver/src/stm32_eth.c -------------------------------------------------------------------------------- /arch/arm/arm_cm3/kernel/arch_stack.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/arm/arm_cm3/kernel/arch_stack.h -------------------------------------------------------------------------------- /arch/arm/arm_cm3/kernel/stack.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/arm/arm_cm3/kernel/stack.h -------------------------------------------------------------------------------- /arch/arm/arm_cm3/scripts/gcc.mk: -------------------------------------------------------------------------------- 1 | 2 | # prefered version 3 | CC_VERSION=4.1.2 4 | # ARMv7, Thumb-2, little endian, soft-float. 5 | cflags-y += -mthumb -mcpu=cortex-m3 -mfix-cortex-m3-ldrd 6 | cflags-y += -ggdb 7 | 8 | cflags-y += -ffunction-sections 9 | 10 | lib-y += -lgcc -lc 11 | ASFLAGS += -mcpu=cortex-m3 -mthumb 12 | 13 | 14 | -------------------------------------------------------------------------------- /arch/arm/arm_cr4/scripts/gcc.mk: -------------------------------------------------------------------------------- 1 | 2 | # prefered version 3 | CC_VERSION=4.4.5 4 | # ARMv7, Thumb-2, little endian, soft-float. 5 | cflags-y += -mthumb -mcpu=cortex-r4 -mbig-endian 6 | cflags-y += -ggdb 7 | 8 | cflags-y += -ffunction-sections 9 | 10 | lib-y += -lgcc -lc 11 | ASFLAGS += -mthumb -mcpu=cortex-r4 -mbig-endian 12 | 13 | LDFLAGS += -------------------------------------------------------------------------------- /arch/generic/linux/drivers/McuExtensionsStub.c: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /arch/generic/linux/kernel/arc_krn.sx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/generic/linux/kernel/arc_krn.sx -------------------------------------------------------------------------------- /arch/generic/linux/kernel/arch.c: -------------------------------------------------------------------------------- 1 | #include "Os.h" 2 | #include "internal.h" 3 | #include "sys.h" 4 | void Os_ArchInit(void) { 5 | } 6 | void Os_ArchFirstCall( void ) { 7 | 8 | } 9 | int Os_ArchGetScSize( void ) { 10 | } 11 | void Os_ArchSetTaskEntry(OsTaskVarType *pcbPtr ) { 12 | } 13 | void Os_ArchSetupContext( OsTaskVarType *pcb ) { 14 | 15 | } 16 | void Os_ArchSetSpAndCall(void *sp, void (*f)(void) ) { 17 | 18 | } 19 | void Os_ArchSwapContext(void *old,void *new) { 20 | 21 | } 22 | void Os_ArchSwapContextTo(void *old,void *new){ 23 | 24 | } 25 | void *Os_ArchGetStackPtr( void ) { 26 | 27 | } 28 | 29 | 30 | -------------------------------------------------------------------------------- /arch/generic/linux/kernel/arch_krn.sx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/generic/linux/kernel/arch_krn.sx -------------------------------------------------------------------------------- /arch/generic/linux/kernel/irq.c: -------------------------------------------------------------------------------- 1 | #include "irq.h" 2 | #include "Std_Types.h" 3 | void Irq_Init( void ) { 4 | 5 | } 6 | void Irq_EnableVector( int16_t vector, int priority, int core ) { 7 | 8 | } 9 | void Irq_EOI( void ) { 10 | 11 | } 12 | -------------------------------------------------------------------------------- /arch/generic/linux/kernel/sys_tick.c: -------------------------------------------------------------------------------- 1 | #include "Std_Types.h" 2 | void Os_SysTickInit( void ) { 3 | } 4 | void Os_SysTickStart(uint32_t period_ticks) { 5 | } 6 | -------------------------------------------------------------------------------- /arch/generic/linux/scripts/gcc.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/generic/linux/scripts/gcc.mk -------------------------------------------------------------------------------- /arch/hc1x/hcs12d/scripts/gcc.mk: -------------------------------------------------------------------------------- 1 | # Supported version MC9S12DG128? 2 | 3 | # prefered version 4 | CC_VERSION=3.3.6 5 | 6 | 7 | cflags-y += -m68hcs12 -mshort -mlong-calls -gdwarf-2 -O0 -Wall -Wno-char-subscripts -msoft-reg-count=0 -mrelax 8 | cflags-y += -B/opt/m6811-elf/m6811-elf/ 9 | 10 | LDFLAGS += -mm68hc12elfb --relax 11 | 12 | lib-y += -lgcc -lc 13 | ASFLAGS += -mshort -m68hcs12 14 | 15 | -------------------------------------------------------------------------------- /arch/ppc/mpc55xx/drivers/560xP_HEADER_v1_10_SBCHM.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/ppc/mpc55xx/drivers/560xP_HEADER_v1_10_SBCHM.h -------------------------------------------------------------------------------- /arch/ppc/mpc55xx/drivers/Can.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/ppc/mpc55xx/drivers/Can.c -------------------------------------------------------------------------------- /arch/ppc/mpc55xx/drivers/Esci.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | #ifndef ESCI_H_ 24 | #define ESCI_H_ 25 | 26 | #endif /* ESCI_H_ */ 27 | -------------------------------------------------------------------------------- /arch/ppc/mpc55xx/drivers/Lin.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/ppc/mpc55xx/drivers/Lin.c -------------------------------------------------------------------------------- /arch/ppc/mpc55xx/drivers/LinFlex.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/ppc/mpc55xx/drivers/LinFlex.c -------------------------------------------------------------------------------- /arch/ppc/mpc55xx/drivers/MPC5634M_MLQB80.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/ppc/mpc55xx/drivers/MPC5634M_MLQB80.h -------------------------------------------------------------------------------- /arch/ppc/mpc55xx/drivers/Mcu.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/ppc/mpc55xx/drivers/Mcu.c -------------------------------------------------------------------------------- /arch/ppc/mpc55xx/drivers/mpc5554.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/ppc/mpc55xx/drivers/mpc5554.h -------------------------------------------------------------------------------- /arch/ppc/mpc55xx/drivers/mpc5668.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/ppc/mpc55xx/drivers/mpc5668.h -------------------------------------------------------------------------------- /arch/ppc/mpc55xx/drivers/ssd_h7f_v323.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/ppc/mpc55xx/drivers/ssd_h7f_v323.o -------------------------------------------------------------------------------- /arch/ppc/mpc55xx/kernel/arch_stack.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/arch/ppc/mpc55xx/kernel/arch_stack.h -------------------------------------------------------------------------------- /arch/ppc/mpc55xx/mm/cache.c: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | #ifndef CACHE_H_ 24 | #define CACHE_H_ 25 | 26 | #endif /*CACHE_H_*/ 27 | -------------------------------------------------------------------------------- /arch/ppc/mpc55xx/mm/mm.c: -------------------------------------------------------------------------------- 1 | /* 2 | * mmu.c 3 | * 4 | * Created on: 18 feb 2013 5 | * Author: mahi 6 | */ 7 | #include 8 | #include "Cpu.h" 9 | #include "asm_ppc.h" 10 | #include "mm.h" 11 | 12 | void MM_TlbSetup( const struct TlbEntry *tblTable ) 13 | { 14 | int32_t i = 0; 15 | 16 | /* Setup the TLBs */ 17 | while( tblTable[i].entry != (-1UL) ) { 18 | set_spr(SPR_MAS0, tblTable[i].mas0); 19 | set_spr(SPR_MAS1, tblTable[i].mas1); 20 | set_spr(SPR_MAS2, tblTable[i].mas2); 21 | set_spr(SPR_MAS3, tblTable[i].mas3); 22 | msync(); 23 | isync(); 24 | tlbwe(); 25 | i++; 26 | } 27 | } 28 | 29 | 30 | -------------------------------------------------------------------------------- /boards/generic/Calibration_Settings.h: -------------------------------------------------------------------------------- 1 | /* These defines are overriden by rte generated file with the same name */ 2 | #undef CALIBRATION_INITIALIZED_RAM 3 | #undef CALIBRATION_ENABLED 4 | #undef CALIBRATION_FLS_START 5 | -------------------------------------------------------------------------------- /boards/generic/Crc_Cfg.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef CRC_CFG_H_ 3 | #define CRC_CFG_H_ 4 | 5 | #define CRC_VERSION_INFO_API STD_ON 6 | 7 | 8 | #endif /* CRC_CFG_H_ */ 9 | -------------------------------------------------------------------------------- /boards/generic/Fee_Cfg.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module Fee (Fee_Cfg.c) 3 | * 4 | * Created by: 5 | * Configured for (MCU): MPC551x 6 | * 7 | * Module vendor: ArcCore 8 | * Module version: 2.0.2 9 | * 10 | * 11 | * Generated by Arctic Studio (http://arccore.com) 12 | * on Mon Nov 22 09:35:51 CET 2010 13 | */ 14 | 15 | 16 | #warning "This default file may only be used as an example!" 17 | 18 | #include "Fee.h" 19 | #include "NvM_Cbk.h" 20 | 21 | const Fee_BlockConfigType BlockConfigList[] = { 22 | }; 23 | const Fee_ConfigType Fee_Config = { 24 | .General = { 25 | .NvmJobEndCallbackNotificationCallback = NULL, 26 | .NvmJobErrorCallbackNotificationCallback = NULL, 27 | }, 28 | .BlockConfig = BlockConfigList, 29 | }; 30 | -------------------------------------------------------------------------------- /boards/generic/Fee_Cfg.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module Fee (Fee_Cfg.h) 3 | * 4 | * Created by: 5 | * Configured for (MCU): MPC551x 6 | * 7 | * Module vendor: ArcCore 8 | * Module version: 2.0.2 9 | * 10 | * 11 | * Generated by Arctic Studio (http://arccore.com) 12 | * on Mon Nov 22 09:35:51 CET 2010 13 | */ 14 | 15 | 16 | #warning "This default file may only be used as an example!" 17 | 18 | 19 | #ifndef FEE_CFG_H_ 20 | #define FEE_CFG_H_ 21 | 22 | #include "MemIf_Types.h" 23 | #include "Fee_ConfigTypes.h" 24 | 25 | #define FEE_DEV_ERROR_DETECT STD_ON 26 | #define FEE_VERSION_INFO_API STD_ON 27 | #define FEE_POLLING_MODE STD_ON 28 | 29 | #define FEE_INDEX 0 30 | #define FEE_VIRTUAL_PAGE_SIZE 16 31 | 32 | #define FEE_NUM_OF_BLOCKS 5 33 | #define FEE_MAX_NUM_SETS 1 34 | 35 | #endif /*FEE_CFG_H_*/ 36 | -------------------------------------------------------------------------------- /boards/generic/Fee_Memory_Cfg.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module Fee (Fee_Memory_Cfg.h) 3 | * 4 | * Created by: 5 | * Configured for (MCU): MPC551x 6 | * 7 | * Module vendor: ArcCore 8 | * Module version: 2.0.3 9 | * 10 | * 11 | * Generated by Arctic Studio (http://arccore.com) 12 | * on Tue Nov 23 14:44:22 CET 2010 13 | */ 14 | 15 | 16 | #ifndef FEE_MEMORY_CFG_H_ 17 | #define FEE_MEMORY_CFG_H_ 18 | 19 | 20 | #define FEE_BANK1_OFFSET 0x0000 21 | #define FEE_BANK2_OFFSET 0x4000 22 | #define FEE_BANK1_LENGTH 0x4000 23 | #define FEE_BANK2_LENGTH 0x4000 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /boards/generic/NvM_Cfg.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module NvM (NvM_Cfg.c) 3 | * 4 | * Created by: 5 | * Configured for (MCU): MPC551x 6 | * 7 | * Module vendor: ArcCore 8 | * Module version: 2.0.2 9 | * 10 | * 11 | * Generated by Arctic Studio (http://arccore.com) 12 | * on Mon Nov 22 09:20:07 CET 2010 13 | */ 14 | 15 | 16 | #warning "This default file may only be used as an example!" 17 | 18 | 19 | #include "NvM.h" 20 | 21 | const NvM_BlockDescriptorType BlockDescriptorList[] = { 22 | }; 23 | 24 | const NvM_ConfigType NvM_Config = { 25 | .Common = { 26 | .MultiBlockCallback = NULL, 27 | }, 28 | .BlockDescriptor = BlockDescriptorList, 29 | }; 30 | -------------------------------------------------------------------------------- /boards/hcs12_elmicro_card12/board_info.txt: -------------------------------------------------------------------------------- 1 | 2 | Elmicro Card12 HC12 Controller Module with MC9S12DP512 3 | 4 | http://elmicro.com/en/card12.html 5 | 6 | MC9S12DP512 Microcontroller Info: 7 | MC9S12DP512 MCU with LQFP112 package 8 | 512 KB Flash 9 | 4 KB EEPROM 10 | 14 KB RAM 11 | 3x SPI 12 | 2x SCI 13 | 5x CAN 14 | Enhanced Capture Timer 15 | 8 Channel PWM 16 | 16 Channel 10 Bit A/D-Converter 17 | 18 | 19 | Board Features: 20 | 16 MHz Quarz Clock (8 MHz System Clock) 21 | RS232 Ports with Transceiver MAX232A 22 | PCA82C251 CAN Physical Interface 23 | Special Reset Controller 24 | Reset Switch 25 | LED 26 | BDM (Background Debug Mode) connector 27 | All controller pins are available at two double row headers 28 | 5V power supply 29 | -------------------------------------------------------------------------------- /boards/hcs12_elmicro_card12/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=hcs12d 4 | ARCH_FAM=hc1x 5 | ARCH_MCU=MC912DG128A 6 | 7 | # CFG (y/n) macros (These become CFG_XXX=y and def-y += CFG_XXX ) 8 | CFG=HC1X HCS12D MC912DG128A BRD_HCS12_ELMICRO_CARD12 SIMULATOR 9 | 10 | # What buildable modules does this board have, 11 | # default or private (These become MOD_XXX=y ) 12 | MOD_AVAIL+=MCU GPT PORT DIO CAN ADC PWM 13 | # System + Communication + Diagnostic 14 | MOD_AVAIL+=CANIF CANTP COM DCM DEM DET ECUM IOHWAB KERNEL PDUR WDGM RTE EA SCHM EEP NVM MEMIF 15 | # Network management 16 | MOD_AVAIL+=COMM NM CANNM CANSM 17 | # Additional 18 | MOD_AVAIL+=RAMLOG 19 | # CRC 20 | MOD_AVAIL+=CRC32 CRC16 21 | 22 | # Required modules 23 | MOD_USE += MCU KERNEL ECUM 24 | 25 | 26 | # Needed by us (These become USE_XXX=y and def-y += USE_XXX ) 27 | MOD_USE=KERNEL MCU 28 | 29 | # Default cross compiler 30 | DEFAULT_CROSS_COMPILE = /opt/m6811-elf/bin/m6811-elf- 31 | 32 | -------------------------------------------------------------------------------- /boards/hcs12_elmicro_card12/examples/blinker/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # Version of build system 3 | REQUIRED_BUILD_SYSTEM_VERSION=1.0.0 4 | 5 | # Get configuration makefiles 6 | -include ../config/*.mk 7 | -include ../config/$(BOARDDIR)/*.mk 8 | 9 | 10 | # Project settings 11 | 12 | SELECT_CONSOLE = RAMLOG 13 | 14 | SELECT_OPT = OPT_RELEASE 15 | 16 | def-y += CFG_RAMLOG_SIZE=1024 17 | def-y += HEAPSIZE=512 -------------------------------------------------------------------------------- /boards/hcs12_elmicro_card12/examples/blinker/config/CanIf_SpecialPdus.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: CanIf (CanIf_SpecialPdus.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): HCS12 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 2.0.6 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | 16 | #if !(((CANIF_SW_MAJOR_VERSION == 1) && (CANIF_SW_MINOR_VERSION == 3)) ) 17 | #error CanIf: Configuration file expected BSW module version to be 1.3.* 18 | #endif 19 | 20 | 21 | #ifndef CANIF_SPECIALPDUS_H_ 22 | #define CANIF_SPECIALPDUS_H_ 23 | 24 | 25 | 26 | #endif 27 | 28 | -------------------------------------------------------------------------------- /boards/hcs12_elmicro_card12/examples/blinker/config/Dio_Lcfg.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Dio (Dio_Lcfg.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): HCS12 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 2.0.0 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | 16 | 17 | #include "Dio.h" 18 | #include "Dio_Cfg.h" 19 | 20 | const Dio_ChannelType DioChannelConfigData[] = { 21 | DIO_CHANNEL_NAME_LED_CHANNEL, 22 | DIO_END_OF_LIST 23 | }; 24 | 25 | const Dio_PortType DioPortConfigData[] = { 26 | DIO_PORT_NAME_HPort, 27 | DIO_END_OF_LIST 28 | }; 29 | 30 | const Dio_ChannelGroupType DioConfigData[] = { 31 | { 32 | .port = DIO_END_OF_LIST, 33 | .offset = 0, 34 | .mask = 0, 35 | } 36 | }; 37 | 38 | 39 | uint32 Dio_GetPortConfigSize(void) 40 | { 41 | return sizeof(DioConfigData); 42 | } 43 | -------------------------------------------------------------------------------- /boards/hcs12_elmicro_card12/examples/blinker/config/EcuM.mk: -------------------------------------------------------------------------------- 1 | 2 | MOD_USE += CAN CANIF COM ECUM DIO DET KERNEL PORT PDUR MCU 3 | 4 | -------------------------------------------------------------------------------- /boards/hcs12_elmicro_card12/examples/blinker/config/Mcu_Cfg.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Mcu (Mcu_Cfg.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): HCS12 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 2.0.4 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | 16 | #ifndef MCU_CFG_C_ 17 | #define MCU_CFG_C_ 18 | 19 | #include "Mcu.h" 20 | 21 | 22 | 23 | const Mcu_ClockSettingConfigType Mcu_ClockSettingConfigData[] = 24 | { 25 | { 26 | .McuClockReferencePointFrequency = 16000000UL, 27 | .Pll1 = 1, 28 | .Pll2 = 2, 29 | }, 30 | }; 31 | 32 | 33 | const Mcu_ConfigType McuConfigData[] = { 34 | { 35 | .McuClockSrcFailureNotification = 0, 36 | .McuRamSectors = MCU_NBR_OF_RAM_SECTIONS, 37 | .McuClockSettings = 1, 38 | .McuDefaultClockSettings = 0, 39 | .McuClockSettingConfig = &Mcu_ClockSettingConfigData[0], 40 | .McuRamSectorSettingConfig = NULL, 41 | } 42 | }; 43 | 44 | #endif /*MCU_CFG_C_*/ 45 | -------------------------------------------------------------------------------- /boards/hcs12_elmicro_card12/examples/blinker/config/PduR_PbCfg.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: PduR (PduR_PbCfg.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): HCS12 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 3.1.10 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | 16 | #include "PduR.h" 17 | 18 | PduR_PBConfigType PduR_Config = { 19 | .PduRConfigurationId = 0, 20 | .RoutingPaths = NULL, 21 | .TpBuffers = NULL, 22 | .TpRouteBuffers = NULL, 23 | .NRoutingPaths = 0 24 | }; 25 | -------------------------------------------------------------------------------- /boards/hcs12_elmicro_card12/examples/blinker/example_info.txt: -------------------------------------------------------------------------------- 1 | A simple application that flashes the LED on the board. Default 2 | frequency is 1 Hz. The frequency can be changed by sending a 3 | new period in a CAN message. The first 32 bit in a message with 4 | CAN Id 100 is treated as the new period (in system ticks => 0x000003E8 == 1s). 5 | A CAN message with CAN Id 102 is transmitted every 1 s to indicate 6 | the current period. Signals coded in BigEndian. Baudrate 125 kbit/s -------------------------------------------------------------------------------- /boards/hcs12_elmicro_card12/examples/blinker/makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | PROJECTNAME=blinker 4 | ROOTDIR?=../../../.. 5 | include $(ROOTDIR)/scripts/project_defaults.mk 6 | 7 | ifneq (${MAKELEVEL},0) 8 | 9 | # object files 10 | obj-y += Tasks.o 11 | 12 | VPATH += $(ROOTDIR)/examples 13 | VPATH += $(ROOTDIR)/examples/$(PROJECTNAME) 14 | 15 | endif 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /boards/hcs12_elmicro_card12/examples/os_simple/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # Version of build system 3 | REQUIRED_BUILD_SYSTEM_VERSION=1.0.0 4 | 5 | # Get configuration makefiles 6 | -include ../config/*.mk 7 | -include ../config/$(BOARDDIR)/*.mk 8 | 9 | 10 | # Project settings 11 | 12 | SELECT_CONSOLE = RAMLOG 13 | 14 | SELECT_OPT = OPT_DEBUG 15 | 16 | def-y += CFG_RAMLOG_SIZE=1024 17 | def-y += HEAPSIZE=512 -------------------------------------------------------------------------------- /boards/hcs12_elmicro_card12/examples/os_simple/config/EcuM.mk: -------------------------------------------------------------------------------- 1 | 2 | MOD_USE += MCU DET ECUM KERNEL 3 | 4 | -------------------------------------------------------------------------------- /boards/hcs12_elmicro_card12/examples/os_simple/config/Mcu_Cfg.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Mcu (Mcu_Cfg.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): HCS12 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 2.0.4 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | 16 | #ifndef MCU_CFG_C_ 17 | #define MCU_CFG_C_ 18 | 19 | #include "Mcu.h" 20 | 21 | 22 | 23 | const Mcu_ClockSettingConfigType Mcu_ClockSettingConfigData[] = 24 | { 25 | { 26 | .McuClockReferencePointFrequency = 16000000UL, 27 | .Pll1 = 1, 28 | .Pll2 = 2, 29 | }, 30 | }; 31 | 32 | 33 | const Mcu_ConfigType McuConfigData[] = { 34 | { 35 | .McuClockSrcFailureNotification = 0, 36 | .McuRamSectors = MCU_NBR_OF_RAM_SECTIONS, 37 | .McuClockSettings = 1, 38 | .McuDefaultClockSettings = 0, 39 | .McuClockSettingConfig = &Mcu_ClockSettingConfigData[0], 40 | .McuRamSectorSettingConfig = NULL, 41 | } 42 | }; 43 | 44 | #endif /*MCU_CFG_C_*/ 45 | -------------------------------------------------------------------------------- /boards/hcs12_elmicro_card12/examples/os_simple/makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | PROJECTNAME=os_simple 4 | ROOTDIR?=../../../.. 5 | include $(ROOTDIR)/scripts/project_defaults.mk 6 | 7 | ifneq (${MAKELEVEL},0) 8 | 9 | # object files 10 | obj-y += os_simple.o 11 | obj-y += system_hooks.o 12 | 13 | VPATH += $(ROOTDIR)/examples 14 | VPATH += $(ROOTDIR)/examples/$(PROJECTNAME) 15 | 16 | endif 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /boards/hcs12_elmicro_card12/memory_iar.ldf: -------------------------------------------------------------------------------- 1 | /* The board Elmicro Card12 comes with MC912D60A, MC9S12DP512 or MC912DG128A.*/ 2 | 3 | // #define CFG_MC912DG128 4 | #define CFG_MC9S12DP512 5 | 6 | /* MC9S12DP512 */ 7 | #if defined(CFG_MC9S12DP512) 8 | -D_RAM_BEGIN=01000 9 | -D_RAM_END=03FFF 10 | -D_EEPROM_BEGIN=00400 11 | -D_EEPROM_END=00FFF 12 | 13 | -D_FLASH16MID_BEGIN=04000 14 | -D_FLASH16MID_END=07FFF 15 | -D_FLASH16HI_BEGIN=0C000 16 | -D_FLASH16HI_END=0FFFF 17 | -D_FLASH16PAGE_BEGIN=208000 18 | -D_FLASH16PAGE_END=20BFFF 19 | 20 | -D_PAGES=32 21 | #endif 22 | 23 | /* MC912DG128 */ 24 | #if defined(CFG_MC912DG128) 25 | -D_RAM_BEGIN=000800 26 | -D_RAM_END=01FFF 27 | 28 | -D_FLASH16MID_BEGIN=04000 29 | -D_FLASH16MID_END=07FFF 30 | -D_FLASH16HI_BEGIN=0C000 31 | -D_FLASH16HI_END=0FFFF 32 | -D_FLASH16PAGE_BEGIN=0388000 33 | -D_FLASH16PAGE_END=038BFFF 34 | 35 | -D_PAGES=8 36 | #endif 37 | -------------------------------------------------------------------------------- /boards/hcs12x_elmicro_tboard/board_info.txt: -------------------------------------------------------------------------------- 1 | 2 | Elmicro T-board HC12X Controller Module with MC9SX12DP512 3 | 4 | http://elmicro.com/en/hcs12tb.html#s12x 5 | 6 | MC9SX12DP512 Microcontroller Info: 7 | MC9SX12DP512 MCU with LQFP112 package 8 | 512 KB Flash 9 | 4 KB EEPROM 10 | 14 KB RAM 11 | 3x SPI 12 | 2x SCI 13 | 5x CAN 14 | Enhanced Capture Timer 15 | 8 Channel PWM 16 | 16 Channel 10 Bit A/D-Converter 17 | 18 | 19 | Board Features: 20 | 16 MHz Quarz Clock (8 MHz System Clock) 21 | Two RS232 Ports with Transceiver MAX232A 22 | PCA82C251 CAN Physical Interface 23 | Special Reset Controller 24 | Reset Switch 25 | LED, DIP and Potentiomer I/O 26 | Operating Mode selectable via jumpers 27 | BDM (Background Debug Mode) connector 28 | All controller pins are available at two double row headers 29 | 5V power supply 30 | 31 | The LEDmaster example is configured for all available IO on the board. 32 | -------------------------------------------------------------------------------- /boards/hcs12x_elmicro_tboard/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=hcs12d 4 | ARCH_FAM=hc1x 5 | ARCH_MCU=MC912DG128A 6 | 7 | # CFG (y/n) macros (These become CFG_XXX=y and def-y += CFG_XXX ) 8 | CFG=HC1X HCS12XD MC912XDP512 BRD_HCS12X_ELMICRO_TBOARD SIMULATOR 9 | 10 | # What buildable modules does this board have, 11 | # default or private (These become MOD_XXX=y ) 12 | MOD_AVAIL+=KERNEL MCU GPT DIO PORT COM CAN CANIF PWM ADC DEM DCM PDUR CANTP RTE IOHWAB DET ECUM RAMLOG SCHM 13 | # Network management 14 | MOD_AVAIL+=COMM NM CANNM CANSM NVM MEMIF EA FEE 15 | # CRC 16 | MOD_AVAIL+=CRC32 CRC16 17 | # Needed by us (These become USE_XXX=y and def-y += USE_XXX ) 18 | # Required modules 19 | MOD_USE += MCU KERNEL ECUM 20 | 21 | 22 | # Default cross compiler 23 | DEFAULT_CROSS_COMPILE = /opt/m6811-elf/bin/m6811-elf- 24 | -------------------------------------------------------------------------------- /boards/hcs12x_elmicro_tboard/examples/ledmaster/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # Version of build system 3 | REQUIRED_BUILD_SYSTEM_VERSION=1.0.0 4 | 5 | # Get configuration makefiles 6 | -include ../config/*.mk 7 | -include ../config/$(BOARDDIR)/*.mk 8 | 9 | 10 | # Project settings 11 | 12 | SELECT_CONSOLE = RAMLOG 13 | 14 | SELECT_OPT = OPT_RELEASE 15 | 16 | def-y += CFG_RAMLOG_SIZE=1024 17 | def-y += HEAPSIZE=512 -------------------------------------------------------------------------------- /boards/hcs12x_elmicro_tboard/examples/ledmaster/config/CanIf_SpecialPdus.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: CanIf (CanIf_SpecialPdus.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): HCS12 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 2.0.6 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | 16 | #if !(((CANIF_SW_MAJOR_VERSION == 1) && (CANIF_SW_MINOR_VERSION == 3)) ) 17 | #error CanIf: Configuration file expected BSW module version to be 1.3.* 18 | #endif 19 | 20 | 21 | #ifndef CANIF_SPECIALPDUS_H_ 22 | #define CANIF_SPECIALPDUS_H_ 23 | 24 | 25 | 26 | #endif 27 | 28 | -------------------------------------------------------------------------------- /boards/hcs12x_elmicro_tboard/examples/ledmaster/config/EcuM.mk: -------------------------------------------------------------------------------- 1 | 2 | MOD_USE += DET MCU PWM DIO PORT KERNEL ECUM CAN CANIF COM PDUR ADC 3 | 4 | -------------------------------------------------------------------------------- /boards/hcs12x_elmicro_tboard/examples/ledmaster/config/Mcu_Cfg.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Mcu (Mcu_Cfg.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): HCS12 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 2.0.4 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | 16 | #ifndef MCU_CFG_C_ 17 | #define MCU_CFG_C_ 18 | 19 | #include "Mcu.h" 20 | 21 | 22 | 23 | const Mcu_ClockSettingConfigType Mcu_ClockSettingConfigData[] = 24 | { 25 | { 26 | .McuClockReferencePointFrequency = 16000000UL, 27 | .Pll1 = 1, 28 | .Pll2 = 2, 29 | }, 30 | }; 31 | 32 | 33 | const Mcu_ConfigType McuConfigData[] = { 34 | { 35 | .McuClockSrcFailureNotification = 0, 36 | .McuRamSectors = MCU_NBR_OF_RAM_SECTIONS, 37 | .McuClockSettings = 1, 38 | .McuDefaultClockSettings = 0, 39 | .McuClockSettingConfig = &Mcu_ClockSettingConfigData[0], 40 | .McuRamSectorSettingConfig = NULL, 41 | } 42 | }; 43 | 44 | #endif /*MCU_CFG_C_*/ 45 | -------------------------------------------------------------------------------- /boards/hcs12x_elmicro_tboard/examples/ledmaster/config/PduR_PbCfg.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: PduR (PduR_PbCfg.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): HCS12 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 3.1.10 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | 16 | #include "PduR.h" 17 | 18 | PduR_PBConfigType PduR_Config = { 19 | .PduRConfigurationId = 0, 20 | .RoutingPaths = NULL, 21 | .TpBuffers = NULL, 22 | .TpRouteBuffers = NULL, 23 | .NRoutingPaths = 0 24 | }; 25 | -------------------------------------------------------------------------------- /boards/hcs12x_elmicro_tboard/examples/ledmaster/config/Pwm_Cfg.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Pwm (Pwm_Cfg.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): HCS12 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 2.0.1 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | 16 | #include "Pwm.h" 17 | 18 | const Pwm_ConfigType PwmConfig = 19 | { 20 | .channels = { 21 | { 22 | .channel = GreenLED, 23 | DUTY_AND_PERIOD(4096,188.0), 24 | .centerAlign = STD_OFF, 25 | .polarity = POLARITY_NORMAL, 26 | .scaledClockEnable = STD_ON, 27 | .idleState = PWM_LOW, 28 | .class = PWM_VARIABLE_PERIOD 29 | }, 30 | }, 31 | .busPrescalerA = PRESCALER_128, 32 | .busPrescalerB = PRESCALER_2, 33 | .prescalerA = 1, 34 | .prescalerB = 1, 35 | }; 36 | -------------------------------------------------------------------------------- /boards/hcs12x_elmicro_tboard/examples/ledmaster/example_info.txt: -------------------------------------------------------------------------------- 1 | A simple application that flashes the LED on the board. Default 2 | frequency is 1 Hz. The frequency can be changed by sending a 3 | new period in a CAN message. The first 32 bit in a message with 4 | CAN Id 100 is treated as the new period (in system ticks => 0x000003E8 == 1s). 5 | A CAN message with CAN Id 102 is transmitted every 1 s to indicate 6 | the current period. Signals coded in BigEndian. 7 | Baudrate 125 kbit/s. See led_master.dbc. 8 | 9 | The DIP switches on the board are used to set the LEDs in the 10 | LEDBar. 11 | 12 | The adjusteable resistor is used to set the intensity of the 13 | Green LED. -------------------------------------------------------------------------------- /boards/hcs12x_elmicro_tboard/examples/ledmaster/led_master.dbc: -------------------------------------------------------------------------------- 1 | VERSION "" 2 | 3 | 4 | NS_ : 5 | NS_DESC_ 6 | CM_ 7 | BA_DEF_ 8 | BA_ 9 | VAL_ 10 | CAT_DEF_ 11 | CAT_ 12 | FILTER 13 | BA_DEF_DEF_ 14 | EV_DATA_ 15 | ENVVAR_DATA_ 16 | SGTYPE_ 17 | SGTYPE_VAL_ 18 | BA_DEF_SGTYPE_ 19 | BA_SGTYPE_ 20 | SIG_TYPE_REF_ 21 | VAL_TABLE_ 22 | SIG_GROUP_ 23 | SIG_VALTYPE_ 24 | SIGTYPE_VALTYPE_ 25 | BO_TX_BU_ 26 | BA_DEF_REL_ 27 | BA_REL_ 28 | BA_DEF_DEF_REL_ 29 | BU_SG_REL_ 30 | BU_EV_REL_ 31 | BU_BO_REL_ 32 | SG_MUL_VAL_ 33 | 34 | BS_: 35 | 36 | BU_: tester led_master 37 | 38 | 39 | BO_ 258 LedMasterStatus: 8 led_master 40 | SG_ LedPeriodStatus : 7|32@0+ (1,0) [0|0] "" Vector__XXX 41 | 42 | BO_ 256 SetLedPeriodFrame: 8 tester 43 | SG_ LedPeriod : 7|32@0+ (1,0) [0|100000] "" Vector__XXX 44 | 45 | 46 | 47 | BA_DEF_ "BusType" STRING ; 48 | BA_DEF_DEF_ "BusType" "CAN"; 49 | 50 | -------------------------------------------------------------------------------- /boards/hcs12x_elmicro_tboard/examples/ledmaster/makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | PROJECTNAME=ledmaster 4 | ROOTDIR?=../../../.. 5 | include $(ROOTDIR)/scripts/project_defaults.mk 6 | 7 | ifneq (${MAKELEVEL},0) 8 | 9 | # object files 10 | obj-y += Tasks.o 11 | 12 | VPATH += $(ROOTDIR)/examples 13 | VPATH += $(ROOTDIR)/examples/$(PROJECTNAME) 14 | 15 | endif 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /boards/hcs12x_elmicro_tboard/examples/os_simple/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # Version of build system 3 | REQUIRED_BUILD_SYSTEM_VERSION=1.0.0 4 | 5 | # Get configuration makefiles 6 | -include ../config/*.mk 7 | -include ../config/$(BOARDDIR)/*.mk 8 | 9 | 10 | # Project settings 11 | 12 | SELECT_CONSOLE = RAMLOG 13 | 14 | SELECT_OPT = OPT_DEBUG 15 | 16 | def-y += CFG_RAMLOG_SIZE=1024 17 | def-y += HEAPSIZE=512 -------------------------------------------------------------------------------- /boards/hcs12x_elmicro_tboard/examples/os_simple/config/EcuM.mk: -------------------------------------------------------------------------------- 1 | 2 | MOD_USE += DET ECUM MCU KERNEL 3 | 4 | -------------------------------------------------------------------------------- /boards/hcs12x_elmicro_tboard/examples/os_simple/config/Mcu_Cfg.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Mcu (Mcu_Cfg.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): HCS12 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 2.0.4 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | 16 | #ifndef MCU_CFG_C_ 17 | #define MCU_CFG_C_ 18 | 19 | #include "Mcu.h" 20 | 21 | 22 | 23 | const Mcu_ClockSettingConfigType Mcu_ClockSettingConfigData[] = 24 | { 25 | { 26 | .McuClockReferencePointFrequency = 16000000UL, 27 | .Pll1 = 1, 28 | .Pll2 = 2, 29 | }, 30 | }; 31 | 32 | 33 | const Mcu_ConfigType McuConfigData[] = { 34 | { 35 | .McuClockSrcFailureNotification = 0, 36 | .McuRamSectors = MCU_NBR_OF_RAM_SECTIONS, 37 | .McuClockSettings = 1, 38 | .McuDefaultClockSettings = 0, 39 | .McuClockSettingConfig = &Mcu_ClockSettingConfigData[0], 40 | .McuRamSectorSettingConfig = NULL, 41 | } 42 | }; 43 | 44 | #endif /*MCU_CFG_C_*/ 45 | -------------------------------------------------------------------------------- /boards/hcs12x_elmicro_tboard/examples/os_simple/makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | PROJECTNAME=os_simple 4 | ROOTDIR?=../../../.. 5 | include $(ROOTDIR)/scripts/project_defaults.mk 6 | 7 | ifneq (${MAKELEVEL},0) 8 | 9 | # object files 10 | obj-y += os_simple.o 11 | obj-y += system_hooks.o 12 | 13 | VPATH += $(ROOTDIR)/examples 14 | VPATH += $(ROOTDIR)/examples/$(PROJECTNAME) 15 | 16 | endif 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /boards/linux/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=linux 4 | ARCH_FAM=generic 5 | #ARCH=mpc55xx 6 | #ARCH_FAM=ppc 7 | #ARCH_MCU=mpc5516 8 | 9 | # CFG (y/n) macros 10 | CFG= BRD_LINUX 11 | 12 | # What buildable modules does this board have, 13 | # default or private 14 | MOD_AVAIL+=COM PDUR WDGM WDGIF DET DCM DEM CANTP J1939TP CANIF RTE FEE NVM ECUM MCU EA KERNEL RAMLOG IOHWAB RTE 15 | # Network management 16 | MOD_AVAIL+=COMM NM CANNM CANSM 17 | # Additional 18 | MOD_AVAIL+=CRC32 CRC16 19 | 20 | # Required modules 21 | #MOD_USE += 22 | 23 | # Needed by us 24 | MOD_USE= 25 | SELECT_CLIB=CLIB_NATIVE -------------------------------------------------------------------------------- /boards/linux/memory.ldf: -------------------------------------------------------------------------------- 1 | /* Flash sizes 2 | * 5516, 1.0M 3 | * 5517, 1.5M 4 | */ 5 | flash(R) : ORIGIN = 0x00000000, LENGTH = 1M 6 | /* Ram sizes 7 | * 5516S, 48K 8 | * 5517S,5516G,5516E, 64K RAM 9 | * 5517G,E , 80K RAM 10 | */ 11 | ram(RW) : ORIGIN = 0x40000000, LENGTH = 0x00c000 12 | -------------------------------------------------------------------------------- /boards/mpc5516it/config/Eep_Cfg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/boards/mpc5516it/config/Eep_Cfg.h -------------------------------------------------------------------------------- /boards/mpc5516it/examples/com_simple/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # Version of build system 3 | REQUIRED_BUILD_SYSTEM_VERSION=1.0.0 4 | 5 | # Get configuration makefiles 6 | -include ../config/*.mk 7 | -include ../config/$(BOARDDIR)/*.mk 8 | 9 | 10 | # Project settings 11 | 12 | SELECT_CONSOLE = RAMLOG 13 | 14 | SELECT_OPT = OPT_DEBUG 15 | 16 | -------------------------------------------------------------------------------- /boards/mpc5516it/examples/com_simple/config/CanIf_SpecialPdus.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: CanIf (CanIf_SpecialPdus.h) 3 | * 4 | * Created by: ArcCore 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC551x 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 2.0.6 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | 16 | #if !(((CANIF_SW_MAJOR_VERSION == 1) && (CANIF_SW_MINOR_VERSION == 3)) ) 17 | #error CanIf: Configuration file expected BSW module version to be 1.3.* 18 | #endif 19 | 20 | 21 | #ifndef CANIF_SPECIALPDUS_H_ 22 | #define CANIF_SPECIALPDUS_H_ 23 | 24 | 25 | 26 | #endif 27 | 28 | -------------------------------------------------------------------------------- /boards/mpc5516it/examples/com_simple/config/EcuM.mk: -------------------------------------------------------------------------------- 1 | 2 | MOD_USE += COM PDUR CAN CANIF KERNEL MCU ECUM PORT DET 3 | 4 | -------------------------------------------------------------------------------- /boards/mpc5516it/examples/led_rte/Blinker.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Blinker.c 3 | * 4 | * Created on: 6 jul 2011 5 | * Author: tojo 6 | */ 7 | 8 | #import "Rte_Blinker.h" 9 | 10 | 11 | DigitalLevel Value = FALSE; 12 | 13 | void BlinkerRunnable() { 14 | 15 | Value = !Value; 16 | 17 | Rte_Call_Blinker_LED_Port_Set(Value); 18 | 19 | } 20 | -------------------------------------------------------------------------------- /boards/mpc5516it/examples/led_rte/README: -------------------------------------------------------------------------------- 1 | If you want to use BSW Builder to regenerate code, follow the steps: 2 | 1. Copy the contents of led_rte to a new project 3 | 2. Make sure BOARDDIR is set to mpc5516it (right click on your project select properties->C/C++ Build->Environment) 4 | 3. Load the interface definitions needed by IoHwAb (right click on your project select properties ->Arccore Tools->BSW Service components->IoHwAb select load) 5 | 4. Now you can regenerate code from BSW Builder -------------------------------------------------------------------------------- /boards/mpc5516it/examples/led_rte/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # Version of build system 3 | REQUIRED_BUILD_SYSTEM_VERSION=1.0.0 4 | 5 | # Get configuration makefiles 6 | -include ../config/*.mk 7 | -include ../config/$(BOARDDIR)/*.mk 8 | 9 | 10 | # Project settings 11 | 12 | SELECT_CONSOLE = RAMLOG 13 | 14 | SELECT_OPT = OPT_DEBUG 15 | 16 | CFG+=IOHWAB_USE_SERVICE_COMPONENT -------------------------------------------------------------------------------- /boards/mpc5516it/examples/led_rte/config/Calibration_Settings.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Calibration_Settings.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC551x 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Calibration_Settings.h */ 16 | 17 | #ifndef CALIBRATION_SETTINGS_H 18 | #define CALIBRATION_SETTINGS_H 19 | 20 | #undef CALIBRATION_INITIALIZED_RAM 21 | 22 | #undef CALIBRATION_ENABLED 23 | 24 | #undef CALIBRATION_FLS_START 25 | 26 | 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /boards/mpc5516it/examples/led_rte/config/Dio_Lcfg.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Dio (Dio_Lcfg.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC551x 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 2.0.0 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | 16 | 17 | #include "Dio.h" 18 | #include "Dio_Cfg.h" 19 | 20 | const Dio_ChannelType DioChannelConfigData[] = { 21 | DIO_CHANNEL_NAME_LEDS_LED4, 22 | DIO_CHANNEL_NAME_LEDS_LED5, 23 | DIO_END_OF_LIST 24 | }; 25 | 26 | const Dio_PortType DioPortConfigData[] = { 27 | DIO_PORT_NAME_LED_PORT, 28 | DIO_END_OF_LIST 29 | }; 30 | 31 | const Dio_ChannelGroupType DioConfigData[] = { 32 | { 33 | .port = DIO_END_OF_LIST, 34 | .offset = 0, 35 | .mask = 0, 36 | } 37 | }; 38 | 39 | 40 | uint32 Dio_GetPortConfigSize(void) 41 | { 42 | return sizeof(DioConfigData); 43 | } 44 | -------------------------------------------------------------------------------- /boards/mpc5516it/examples/led_rte/config/EcuM.mk: -------------------------------------------------------------------------------- 1 | 2 | MOD_USE += ECUM IOHWAB KERNEL PORT DIO MCU RTE DET 3 | 4 | -------------------------------------------------------------------------------- /boards/mpc5516it/examples/led_rte/config/IoHwAb_Cbk.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: IoHwAb (IoHwAb_Cbk.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC551x 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 2.0.1 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | * on Wed Jul 06 20:28:46 CEST 2011 14 | */ 15 | 16 | 17 | #ifndef _IOHWAB_CBK_H_ 18 | #define _IOHWAB_CBK_H_ 19 | 20 | //void IoHwAb_Adc_Notification_(); 21 | 22 | 23 | //void IoHwAb_Icu_Notification_(); 24 | 25 | //void IoHwAb_Gpt_Notification_(); 26 | 27 | #endif -------------------------------------------------------------------------------- /boards/mpc5516it/examples/led_rte/config/IoHwAb_Cfg.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: IoHwAb (IoHwAb_Cfg.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC551x 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 3.1.3 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | #ifndef IOHWAB_CFG_H_ 16 | #define IOHWAB_CFG_H_ 17 | 18 | #if !(((IOHWAB_SW_MAJOR_VERSION == 1) && (IOHWAB_SW_MINOR_VERSION == 0)) ) 19 | #error IoHwAb: Configuration file expected BSW module version to be 1.0.* 20 | #endif 21 | 22 | #define IOHWAB_DEV_ERROR_DETECT STD_ON 23 | 24 | 25 | #endif /* IOHWAB_CFG_H_ */ 26 | -------------------------------------------------------------------------------- /boards/mpc5516it/examples/led_rte/config/IoHwAb_Dcm.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: IoHwAb (IoHwAb_Dcm.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC551x 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 3.1.3 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | #ifndef IOHWAB_DCM_H_ 16 | #define IOHWAB_DCM_H_ 17 | 18 | #if !(((IOHWAB_SW_MAJOR_VERSION == 1) && (IOHWAB_SW_MINOR_VERSION == 0)) ) 19 | #error IoHwAb: Configuration file expected BSW module version to be 1.0.* 20 | #endif 21 | 22 | #include "IoHwAb_Types.h" 23 | 24 | /******************************************** Digital *********************************************/ 25 | 26 | Std_ReturnType IoHwAb_Dcm_DigitalSignal_Led4(uint8 action, IoHwAb_LevelType value); 27 | 28 | /********************************************* Analog *********************************************/ 29 | 30 | 31 | #endif /* IOHWAB_DCM_H_ */ 32 | -------------------------------------------------------------------------------- /boards/mpc5516it/examples/led_rte/config/Rte.mk: -------------------------------------------------------------------------------- 1 | obj-y += Rte.o 2 | obj-y += Rte_Data.o 3 | obj-y += Rte_Cbk.o 4 | obj-y += Rte_Blinker.o 5 | obj-y += Rte_EcuAbstraction.o 6 | -------------------------------------------------------------------------------- /boards/mpc5516it/examples/led_rte/config/Rte_Blinker.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Blinker.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC551x 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Blinker.c */ 16 | #include 17 | #include "Os.h" 18 | #include "Rte_Blinker.h" 19 | #include "Rte_Data.h" 20 | #include "Rte_EcuAbstraction.h" 21 | 22 | Std_ReturnType Rte_Call_Blinker_LED_Port_Set(const DigitalLevel value) { 23 | return Rte_DigitalOutput_Set(0, value); 24 | } 25 | 26 | -------------------------------------------------------------------------------- /boards/mpc5516it/examples/led_rte/config/Rte_Blinker.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Blinker.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC551x 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Blinker.h */ 16 | 17 | #ifndef RTE_BLINKER_H 18 | #define RTE_BLINKER_H 19 | 20 | #include "Rte_Type.h" 21 | 22 | #define RTE_E_DigitalOutput_E_NOT_OK 1 23 | 24 | #define Rte_Call_LED_Port_Set Rte_Call_Blinker_LED_Port_Set 25 | 26 | Std_ReturnType Rte_Call_Blinker_LED_Port_Set(const DigitalLevel value); 27 | 28 | void BlinkerRunnable(void); 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /boards/mpc5516it/examples/led_rte/config/Rte_Blinker_Internal.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Blinker_Internal.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC551x 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Blinker.h */ 16 | 17 | #ifndef RTE_BLINKER_H 18 | #define RTE_BLINKER_H 19 | 20 | #include "Rte_Type.h" 21 | 22 | #define RTE_E_DigitalOutput_E_NOT_OK 1 23 | 24 | Std_ReturnType Rte_Call_Blinker_LED_Port_Set(const DigitalLevel value); 25 | 26 | void BlinkerRunnable(void); 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /boards/mpc5516it/examples/led_rte/config/Rte_Cbk.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Cbk.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC551x 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Cbk.c */ 16 | #include "Os.h" 17 | #include "Rte_Data.h" 18 | 19 | -------------------------------------------------------------------------------- /boards/mpc5516it/examples/led_rte/config/Rte_Data.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Data.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC551x 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Data.c */ 16 | #include "Os.h" 17 | #include "Rte_Data.h" 18 | #include "Rte_Type.h" 19 | #include 20 | 21 | -------------------------------------------------------------------------------- /boards/mpc5516it/examples/led_rte/config/Rte_Data.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Data.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC551x 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Data.h */ 16 | 17 | #ifndef RTE_DATA_H 18 | #define RTE_DATA_H 19 | 20 | #include "Rte_Type.h" 21 | #include "cirq_buffer.h" 22 | 23 | void Rte_BlinkerRunnable(void); 24 | 25 | Std_ReturnType Rte_DigitalOutput_Set(IoHwAb_SignalType SignalId, 26 | const DigitalLevel value); 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /boards/mpc5516it/examples/led_rte/config/Rte_EcuAbstraction.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_EcuAbstraction.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC551x 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_EcuAbstraction.c */ 16 | #include 17 | #include "Os.h" 18 | #include "Rte_EcuAbstraction.h" 19 | #include "Rte_Data.h" 20 | 21 | -------------------------------------------------------------------------------- /boards/mpc5516it/examples/led_rte/config/Rte_EcuAbstraction.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_EcuAbstraction.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC551x 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_EcuAbstraction.h */ 16 | 17 | #ifndef RTE_ECUABSTRACTION_H 18 | #define RTE_ECUABSTRACTION_H 19 | 20 | #include "Rte_Type.h" 21 | 22 | #define RTE_E_DigitalOutput_E_NOT_OK 1 23 | 24 | Std_ReturnType DigitalOutput_Set(IoHwAb_SignalType SignalId, 25 | const DigitalLevel value); 26 | 27 | Std_ReturnType DigitalOutput_ReadBack(IoHwAb_SignalType SignalId, 28 | DigitalLevel* value); 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /boards/mpc5516it/examples/led_rte/config/Rte_EcuAbstraction_Internal.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_EcuAbstraction_Internal.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC551x 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_EcuAbstraction.h */ 16 | 17 | #ifndef RTE_ECUABSTRACTION_H 18 | #define RTE_ECUABSTRACTION_H 19 | 20 | #include "Rte_Type.h" 21 | 22 | #define RTE_E_DigitalOutput_E_NOT_OK 1 23 | 24 | Std_ReturnType DigitalOutput_Set(IoHwAb_SignalType SignalId, 25 | const DigitalLevel value); 26 | 27 | Std_ReturnType DigitalOutput_ReadBack(IoHwAb_SignalType SignalId, 28 | DigitalLevel* value); 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /boards/mpc5516it/examples/led_rte/config/Rte_led_rte_ecuc_mpc5516_IoHwAbComponentType.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_led_rte_ecuc_mpc5516_IoHwAbComponentType.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC551x 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.9 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | * on Wed Jul 06 20:28:46 CEST 2011 14 | */ 15 | 16 | /* Rte_led_rte_ecuc_mpc5516_IoHwAbComponentType.c */ 17 | #include 18 | #include "Os.h" 19 | #include "Rte_led_rte_ecuc_mpc5516_IoHwAbComponentType.h" 20 | #include "Rte_Data.h" 21 | 22 | extern Rte_CDS_led_rte_ecuc_mpc5516_IoHwAbComponentType 23 | Rte_Inst_led_rte_ecuc_mpc5516_IoHwAbComponentType; 24 | 25 | -------------------------------------------------------------------------------- /boards/mpc5516it/examples/led_rte/config/Rte_led_rte_ecuc_mpc5516_IoHwAbComponentType.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_led_rte_ecuc_mpc5516_IoHwAbComponentType.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC551x 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.9 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | * on Wed Jul 06 20:28:46 CEST 2011 14 | */ 15 | 16 | /* Rte_led_rte_ecuc_mpc5516_IoHwAbComponentType.h */ 17 | 18 | #ifndef RTE_LED_RTE_ECUC_MPC5516_IOHWABCOMPONENTTYPE_H 19 | #define RTE_LED_RTE_ECUC_MPC5516_IOHWABCOMPONENTTYPE_H 20 | 21 | #include "Rte_Type.h" 22 | 23 | Std_ReturnType IoHwAb_Write_LEDS_LED4(const BooleanType Value); 24 | 25 | Std_ReturnType IoHwAb_Read_LEDS_LED4(BooleanType* Value); 26 | 27 | Std_ReturnType IoHwAb_Write_LEDS_LED5(const BooleanType Value); 28 | 29 | Std_ReturnType IoHwAb_Read_LEDS_LED5(BooleanType* Value); 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /boards/mpc5516it/examples/led_rte/config/Rte_led_rte_ecuc_mpc5516_IoHwAbComponentType_Internal.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_led_rte_ecuc_mpc5516_IoHwAbComponentType_Internal.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC551x 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.9 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | * on Wed Jul 06 20:28:46 CEST 2011 14 | */ 15 | 16 | /* Rte_led_rte_ecuc_mpc5516_IoHwAbComponentType.h */ 17 | 18 | #ifndef RTE_LED_RTE_ECUC_MPC5516_IOHWABCOMPONENTTYPE_H 19 | #define RTE_LED_RTE_ECUC_MPC5516_IOHWABCOMPONENTTYPE_H 20 | 21 | #include "Rte_Type.h" 22 | 23 | Std_ReturnType IoHwAb_Write_LEDS_LED4(const BooleanType Value); 24 | 25 | Std_ReturnType IoHwAb_Read_LEDS_LED4(BooleanType* Value); 26 | 27 | Std_ReturnType IoHwAb_Write_LEDS_LED5(const BooleanType Value); 28 | 29 | Std_ReturnType IoHwAb_Read_LEDS_LED5(BooleanType* Value); 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /boards/mpc5516it/examples/led_rte/makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | PROJECTNAME=led_rte_mpc5516it 4 | ROOTDIR?=../../../.. 5 | include $(ROOTDIR)/scripts/project_defaults.mk 6 | 7 | ifneq (${MAKELEVEL},0) 8 | 9 | # Project files (adds all .c files in project root) 10 | PROJECT_C_FILES=$(notdir $(wildcard ../*.c)) 11 | obj-y += $(PROJECT_C_FILES:%.c=%.o) 12 | 13 | 14 | endif 15 | -------------------------------------------------------------------------------- /boards/mpc5516it/examples/os_simple/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # Version of build system 3 | REQUIRED_BUILD_SYSTEM_VERSION=1.0.0 4 | 5 | # Get configuration makefiles 6 | -include ../config/*.mk 7 | -include ../config/$(BOARDDIR)/*.mk 8 | 9 | 10 | # Project settings 11 | 12 | SELECT_CONSOLE = RAMLOG 13 | 14 | SELECT_OPT = OPT_DEBUG 15 | 16 | -------------------------------------------------------------------------------- /boards/mpc5516it/examples/os_simple/config/EcuM.mk: -------------------------------------------------------------------------------- 1 | 2 | MOD_USE += DIO MCU KERNEL PORT DET ECUM 3 | 4 | -------------------------------------------------------------------------------- /boards/mpc5516it/examples/os_simple/makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | PROJECTNAME=os_simple 4 | ROOTDIR?=../../../.. 5 | include $(ROOTDIR)/scripts/project_defaults.mk 6 | 7 | ifneq (${MAKELEVEL},0) 8 | 9 | # object files 10 | obj-y += os_simple.o 11 | obj-y += system_hooks.o 12 | 13 | VPATH += $(ROOTDIR)/examples 14 | VPATH += $(ROOTDIR)/examples/$(PROJECTNAME) 15 | 16 | endif 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /boards/mpc5516it/memory.ldf: -------------------------------------------------------------------------------- 1 | /* Flash sizes 2 | * 5516, 1.0M 3 | * 5517, 1.5M 4 | */ 5 | flash(R) : ORIGIN = 0x00000000, LENGTH = 0x100000 6 | /* Ram sizes 7 | * 5516S, 48K 8 | * 5517S,5516G,5516E, 64K RAM 9 | * 5517G,E , 80K RAM 10 | */ 11 | ram(RW) : ORIGIN = 0x40000000, LENGTH = SRAM_SIZE 12 | -------------------------------------------------------------------------------- /boards/mpc551xsim/board_info.txt: -------------------------------------------------------------------------------- 1 | 2 | The Freescale MPC5510 is an PowerPC process with a e200Z1+e200Z0 core. 3 | The simulator environment ONLY supports one core. 4 | 5 | Datasheets: 6 | 7 | MPC5516/7 8 | http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MPC5510&webpageId=1067371573986721160325&nodeId=0162468rH3bTdG06C10325&fromPage=tax 9 | 10 | Info: 11 | MPC5516 12 | 1.5MB Flash (MPC5516 1MB) 13 | 80KB SRAM (MPC5516 64KB) 14 | .. 15 | 16 | Memory Map: 17 | 0x0000_0000 -> Flash 18 | 0x4000_0000 -> SRAM 19 | -------------------------------------------------------------------------------- /boards/mpc551xsim/examples/os_schtbl/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # Version of build system 3 | REQUIRED_BUILD_SYSTEM_VERSION=1.0.0 4 | 5 | # Get configuration makefiles 6 | -include ../config/*.mk 7 | -include ../config/$(BOARDDIR)/*.mk 8 | 9 | 10 | # Project settings 11 | 12 | SELECT_CONSOLE = RAMLOG 13 | 14 | SELECT_OPT = OPT_DEBUG 15 | 16 | -------------------------------------------------------------------------------- /boards/mpc551xsim/examples/os_schtbl/config/EcuM.mk: -------------------------------------------------------------------------------- 1 | 2 | MOD_USE += MCU KERNEL ECUM DET 3 | 4 | -------------------------------------------------------------------------------- /boards/mpc551xsim/examples/os_schtbl/makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | PROJECTNAME=schedule_table 4 | ROOTDIR?=../../../.. 5 | include $(ROOTDIR)/scripts/project_defaults.mk 6 | 7 | ifneq (${MAKELEVEL},0) 8 | 9 | # object files 10 | obj-y += os_schtbl.o 11 | obj-y += system_hooks.o 12 | 13 | VPATH += $(ROOTDIR)/examples 14 | VPATH += $(ROOTDIR)/examples/$(PROJECTNAME) 15 | 16 | endif 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /boards/mpc551xsim/examples/os_simple/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # Version of build system 3 | REQUIRED_BUILD_SYSTEM_VERSION=1.0.0 4 | 5 | # Get configuration makefiles 6 | -include ../config/*.mk 7 | -include ../config/$(BOARDDIR)/*.mk 8 | 9 | 10 | # Project settings 11 | 12 | SELECT_CONSOLE = RAMLOG 13 | 14 | SELECT_OPT = OPT_DEBUG 15 | 16 | -------------------------------------------------------------------------------- /boards/mpc551xsim/examples/os_simple/config/EcuM.mk: -------------------------------------------------------------------------------- 1 | 2 | MOD_USE += KERNEL MCU ECUM DET 3 | 4 | -------------------------------------------------------------------------------- /boards/mpc551xsim/examples/os_simple/makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | PROJECTNAME=os_simple 4 | ROOTDIR?=../../../.. 5 | include $(ROOTDIR)/scripts/project_defaults.mk 6 | 7 | ifneq (${MAKELEVEL},0) 8 | 9 | # object files 10 | obj-y += os_simple.o 11 | obj-y += system_hooks.o 12 | 13 | VPATH += $(ROOTDIR)/examples 14 | VPATH += $(ROOTDIR)/examples/$(PROJECTNAME) 15 | 16 | endif 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /boards/mpc551xsim/memory.ldf: -------------------------------------------------------------------------------- 1 | flash(R) : ORIGIN = 0x00000000, LENGTH = 0x100000 2 | /* 5516S, 48K 3 | * 5517S,5516G,5516E, 64K RAM 4 | * 5517G,E , 80K RAM 5 | */ 6 | ram(RW) : ORIGIN = 0x40000000, LENGTH = SRAM_SIZE 7 | -------------------------------------------------------------------------------- /boards/mpc5554sim/board_info.txt: -------------------------------------------------------------------------------- 1 | 2 | The Freescale MPC5554 is an PowerPC process with a e200Z6 core. 3 | The difference between this and the MPC551xsim is that this supports VLE. 4 | 5 | Datasheets: 6 | 7 | Info: 8 | MPC5554 9 | 2MB Flash 10 | 64KB SRAM 11 | .. 12 | 13 | Memory Map: 14 | 0x0000_0000 -> Flash 15 | 0x4000_0000 -> SRAM 16 | -------------------------------------------------------------------------------- /boards/mpc5554sim/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=mpc55xx 4 | ARCH_FAM=ppc 5 | ARCH_MCU=mpc5554 6 | 7 | # CFG (y/n) macros 8 | CFG=PPC BOOKE SPE E200Z6 MPC55XX MPC555X MPC5554 BRD_MPC5554SIM SIMULATOR 9 | 10 | # What buildable modules does this board have, 11 | # default or private 12 | 13 | # Memory + Peripherals 14 | MOD_AVAIL+=ADC DIO DMA CAN GPT LIN MCU PORT PWM WDG 15 | # System + Communication + Diagnostic 16 | MOD_AVAIL+=CANIF CANTP COM DCM DEM DET ECUM IOHWAB KERNEL PDUR WDGM RTE SCHM 17 | # Network management 18 | MOD_AVAIL+=COMM NM CANNM CANSM 19 | # Additional 20 | MOD_AVAIL+=RAMLOG 21 | # CRC 22 | MOD_AVAIL+=CRC32 CRC16 23 | # Required modules 24 | MOD_USE += MCU KERNEL ECUM 25 | 26 | # Default cross compiler 27 | DEFAULT_CROSS_COMPILE = /opt/powerpc-eabispe/bin/powerpc-eabispe- 28 | 29 | # Defines 30 | def-y += SRAM_SIZE=0x14000 31 | -------------------------------------------------------------------------------- /boards/mpc5554sim/memory.ldf: -------------------------------------------------------------------------------- 1 | 2 | 3 | /* MPC55xx Reset Control Word(RCW) */ 4 | rcw : ORIGIN = 0x00000000, LENGTH = 0x8 5 | flash(R) : ORIGIN = 0x00000008, LENGTH = 2M 6 | /* 5516S, 48K 7 | * 5517S,5516G,5516E, 64K RAM 8 | * 5517G,E , 80K RAM 9 | */ 10 | ram(RW) : ORIGIN = 0x40000000, LENGTH = SRAM_SIZE 11 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/board_info.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/boards/mpc5567qrtech/board_info.txt -------------------------------------------------------------------------------- /boards/mpc5567qrtech/boot_info.mk: -------------------------------------------------------------------------------- 1 | 2 | BOOT_IMAGE_ADDR=0x1c000 3 | BOOT_BLOB_LOAD_ADDR=0x1c100 4 | BOOT_BLOB_START_ADDR=$(BOOT_BLOB_LOAD_ADDR) 5 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=mpc55xx 4 | ARCH_FAM=ppc 5 | ARCH_MCU=mpc5567 6 | 7 | # CFG (y/n) macros 8 | CFG=PPC BOOKE E200Z6 MPC55XX MPC5567 BRD_MPC5567QRTECH SPE 9 | 10 | #CFG+=BOOT 11 | 12 | # What buildable modules does this board have, 13 | # default or private 14 | 15 | # Memory + Peripherals 16 | MOD_AVAIL+=ADC DIO DMA CAN GPT LIN MCU PORT PWM WDG NVM MEMIF FEE FLS 17 | # System + Communication + Diagnostic 18 | MOD_AVAIL+=CANIF CANTP J1939TP COM DCM DEM DET ECUM IOHWAB KERNEL PDUR WDGM RTE SCHM 19 | MOD_AVAIL+=LINIF LINSM LIN 20 | # Network management 21 | MOD_AVAIL+=COMM NM CANNM CANSM 22 | # Additional 23 | MOD_AVAIL+=RAMLOG 24 | # CRC 25 | MOD_AVAIL+=CRC32 CRC16 26 | # Required modules 27 | MOD_USE += MCU KERNEL ECUM 28 | 29 | # Default cross compiler 30 | DEFAULT_CROSS_COMPILE = /opt/powerpc-eabispe/bin/powerpc-eabispe- 31 | 32 | # Defines 33 | def-y += SRAM_SIZE=0x14000 34 | 35 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/led_rte/Blinker.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Blinker.c 3 | * 4 | * Created on: 6 jul 2011 5 | * Author: tojo 6 | */ 7 | 8 | #import "Rte_Blinker.h" 9 | 10 | 11 | DigitalLevel Value = FALSE; 12 | 13 | void BlinkerRunnable() { 14 | 15 | Value = !Value; 16 | 17 | Rte_Call_Blinker_LED_Port_Set(Value); 18 | 19 | } 20 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/led_rte/README: -------------------------------------------------------------------------------- 1 | If you want to use BSW Builder to regenerate code, follow the steps: 2 | 1. Copy the contents of led_rte to a new project 3 | 2. Make sure BOARDDIR is set to mpc5516it (right click on your project select properties->C/C++ Build->Environment) 4 | 3. Load the interface definitions needed by IoHwAb (right click on your project select properties ->Arccore Tools->BSW Service components->IoHwAb select load) 5 | 4. Now you can regenerate code from BSW Builder -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/led_rte/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # Version of build system 3 | REQUIRED_BUILD_SYSTEM_VERSION=1.0.0 4 | 5 | # Get configuration makefiles 6 | -include ../config/*.mk 7 | -include ../config/$(BOARDDIR)/*.mk 8 | 9 | 10 | # Project settings 11 | 12 | SELECT_CONSOLE = RAMLOG 13 | 14 | SELECT_OPT = OPT_DEBUG 15 | 16 | CFG+=IOHWAB_USE_SERVICE_COMPONENT -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/led_rte/config/Calibration_Settings.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Calibration_Settings.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Calibration_Settings.h */ 16 | 17 | #ifndef CALIBRATION_SETTINGS_H 18 | #define CALIBRATION_SETTINGS_H 19 | 20 | #undef CALIBRATION_INITIALIZED_RAM 21 | 22 | #undef CALIBRATION_ENABLED 23 | 24 | #undef CALIBRATION_FLS_START 25 | 26 | 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/led_rte/config/Dio_Lcfg.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Dio (Dio_Lcfg.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 2.0.0 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | 16 | 17 | #include "Dio.h" 18 | #include "Dio_Cfg.h" 19 | 20 | const Dio_ChannelType DioChannelConfigData[] = { 21 | DIO_CHANNEL_NAME_RED_LED, 22 | DIO_END_OF_LIST 23 | }; 24 | 25 | const Dio_PortType DioPortConfigData[] = { 26 | DIO_PORT_NAME_Generic, 27 | DIO_END_OF_LIST 28 | }; 29 | 30 | const Dio_ChannelGroupType DioConfigData[] = { 31 | { 32 | .port = DIO_END_OF_LIST, 33 | .offset = 0, 34 | .mask = 0, 35 | } 36 | }; 37 | 38 | 39 | uint32 Dio_GetPortConfigSize(void) 40 | { 41 | return sizeof(DioConfigData); 42 | } 43 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/led_rte/config/EcuM.mk: -------------------------------------------------------------------------------- 1 | 2 | MOD_USE += ECUM KERNEL PORT MCU DIO IOHWAB RTE DET 3 | 4 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/led_rte/config/IoHwAb_Cbk.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: IoHwAb (IoHwAb_Cbk.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 2.0.1 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | * on Thu Jul 14 11:22:51 CEST 2011 14 | */ 15 | 16 | 17 | #ifndef _IOHWAB_CBK_H_ 18 | #define _IOHWAB_CBK_H_ 19 | 20 | //void IoHwAb_Adc_Notification_(); 21 | 22 | 23 | //void IoHwAb_Icu_Notification_(); 24 | 25 | //void IoHwAb_Gpt_Notification_(); 26 | 27 | #endif -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/led_rte/config/IoHwAb_Cfg.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: IoHwAb (IoHwAb_Cfg.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 3.1.3 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | #ifndef IOHWAB_CFG_H_ 16 | #define IOHWAB_CFG_H_ 17 | 18 | #if !(((IOHWAB_SW_MAJOR_VERSION == 1) && (IOHWAB_SW_MINOR_VERSION == 0)) ) 19 | #error IoHwAb: Configuration file expected BSW module version to be 1.0.* 20 | #endif 21 | 22 | #define IOHWAB_DEV_ERROR_DETECT STD_ON 23 | 24 | 25 | #endif /* IOHWAB_CFG_H_ */ 26 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/led_rte/config/IoHwAb_Dcm.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: IoHwAb (IoHwAb_Dcm.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 3.1.3 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | #ifndef IOHWAB_DCM_H_ 16 | #define IOHWAB_DCM_H_ 17 | 18 | #if !(((IOHWAB_SW_MAJOR_VERSION == 1) && (IOHWAB_SW_MINOR_VERSION == 0)) ) 19 | #error IoHwAb: Configuration file expected BSW module version to be 1.0.* 20 | #endif 21 | 22 | #include "IoHwAb_Types.h" 23 | 24 | /******************************************** Digital *********************************************/ 25 | 26 | Std_ReturnType IoHwAb_Dcm_DigitalSignal_Red_Led(uint8 action, IoHwAb_LevelType value); 27 | 28 | /********************************************* Analog *********************************************/ 29 | 30 | 31 | #endif /* IOHWAB_DCM_H_ */ 32 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/led_rte/config/Rte.mk: -------------------------------------------------------------------------------- 1 | obj-y += Rte.o 2 | obj-y += Rte_Data.o 3 | obj-y += Rte_Cbk.o 4 | obj-y += Rte_Blinker.o 5 | obj-y += Rte_EcuAbstraction.o 6 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/led_rte/config/Rte_Blinker.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Blinker.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Blinker.c */ 16 | #include 17 | #include "Os.h" 18 | #include "Rte_Blinker.h" 19 | #include "Rte_Data.h" 20 | #include "Rte_EcuAbstraction.h" 21 | 22 | Std_ReturnType Rte_Call_Blinker_LED_Port_Set(const DigitalLevel value) { 23 | return Rte_DigitalOutput_Set(0, value); 24 | } 25 | 26 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/led_rte/config/Rte_Blinker.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Blinker.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Blinker.h */ 16 | 17 | #ifndef RTE_BLINKER_H 18 | #define RTE_BLINKER_H 19 | 20 | #include "Rte_Type.h" 21 | 22 | #define RTE_E_DigitalOutput_E_NOT_OK 1 23 | 24 | #define Rte_Call_LED_Port_Set Rte_Call_Blinker_LED_Port_Set 25 | 26 | Std_ReturnType Rte_Call_Blinker_LED_Port_Set(const DigitalLevel value); 27 | 28 | void BlinkerRunnable(void); 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/led_rte/config/Rte_Blinker_Internal.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Blinker_Internal.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Blinker.h */ 16 | 17 | #ifndef RTE_BLINKER_H 18 | #define RTE_BLINKER_H 19 | 20 | #include "Rte_Type.h" 21 | 22 | #define RTE_E_DigitalOutput_E_NOT_OK 1 23 | 24 | Std_ReturnType Rte_Call_Blinker_LED_Port_Set(const DigitalLevel value); 25 | 26 | void BlinkerRunnable(void); 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/led_rte/config/Rte_Cbk.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Cbk.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Cbk.c */ 16 | #include "Os.h" 17 | #include "Rte_Data.h" 18 | 19 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/led_rte/config/Rte_Data.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Data.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Data.c */ 16 | #include "Os.h" 17 | #include "Rte_Data.h" 18 | #include "Rte_Type.h" 19 | #include 20 | 21 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/led_rte/config/Rte_Data.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Data.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Data.h */ 16 | 17 | #ifndef RTE_DATA_H 18 | #define RTE_DATA_H 19 | 20 | #include "Rte_Type.h" 21 | #include "cirq_buffer.h" 22 | 23 | void Rte_BlinkerRunnable(void); 24 | 25 | Std_ReturnType Rte_DigitalOutput_Set(IoHwAb_SignalType SignalId, 26 | const DigitalLevel value); 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/led_rte/config/Rte_EcuAbstraction.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_EcuAbstraction.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_EcuAbstraction.c */ 16 | #include 17 | #include "Os.h" 18 | #include "Rte_EcuAbstraction.h" 19 | #include "Rte_Data.h" 20 | 21 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/led_rte/config/Rte_EcuAbstraction.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_EcuAbstraction.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_EcuAbstraction.h */ 16 | 17 | #ifndef RTE_ECUABSTRACTION_H 18 | #define RTE_ECUABSTRACTION_H 19 | 20 | #include "Rte_Type.h" 21 | 22 | #define RTE_E_DigitalOutput_E_NOT_OK 1 23 | 24 | Std_ReturnType DigitalOutput_Set(IoHwAb_SignalType SignalId, 25 | const DigitalLevel value); 26 | 27 | Std_ReturnType DigitalOutput_ReadBack(IoHwAb_SignalType SignalId, 28 | DigitalLevel* value); 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/led_rte/config/Rte_EcuAbstraction_Internal.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_EcuAbstraction_Internal.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_EcuAbstraction.h */ 16 | 17 | #ifndef RTE_ECUABSTRACTION_H 18 | #define RTE_ECUABSTRACTION_H 19 | 20 | #include "Rte_Type.h" 21 | 22 | #define RTE_E_DigitalOutput_E_NOT_OK 1 23 | 24 | Std_ReturnType DigitalOutput_Set(IoHwAb_SignalType SignalId, 25 | const DigitalLevel value); 26 | 27 | Std_ReturnType DigitalOutput_ReadBack(IoHwAb_SignalType SignalId, 28 | DigitalLevel* value); 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/led_rte/config/Rte_led_rte_ecuc_mpc5567_IoHwAbComponentType.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_led_rte_ecuc_mpc5567_IoHwAbComponentType.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.9 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | * on Thu Jul 14 11:22:51 CEST 2011 14 | */ 15 | 16 | /* Rte_led_rte_ecuc_mpc5567_IoHwAbComponentType.c */ 17 | #include 18 | #include "Os.h" 19 | #include "Rte_led_rte_ecuc_mpc5567_IoHwAbComponentType.h" 20 | #include "Rte_Data.h" 21 | 22 | extern Rte_CDS_led_rte_ecuc_mpc5567_IoHwAbComponentType 23 | Rte_Inst_led_rte_ecuc_mpc5567_IoHwAbComponentType; 24 | 25 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/led_rte/config/Rte_led_rte_ecuc_mpc5567_IoHwAbComponentType.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_led_rte_ecuc_mpc5567_IoHwAbComponentType.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.9 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | * on Thu Jul 14 11:22:51 CEST 2011 14 | */ 15 | 16 | /* Rte_led_rte_ecuc_mpc5567_IoHwAbComponentType.h */ 17 | 18 | #ifndef RTE_LED_RTE_ECUC_MPC5567_IOHWABCOMPONENTTYPE_H 19 | #define RTE_LED_RTE_ECUC_MPC5567_IOHWABCOMPONENTTYPE_H 20 | 21 | #include "Rte_Type.h" 22 | 23 | Std_ReturnType IoHwAb_Write_RED_LED(const BooleanType Value); 24 | 25 | Std_ReturnType IoHwAb_Read_RED_LED(BooleanType* Value); 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/led_rte/makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | PROJECTNAME=led_rte_mpc5567qrtech 4 | ROOTDIR?=../../../.. 5 | include $(ROOTDIR)/scripts/project_defaults.mk 6 | 7 | ifneq (${MAKELEVEL},0) 8 | 9 | # Project files (adds all .c files in project root) 10 | PROJECT_C_FILES=$(notdir $(wildcard ../*.c)) 11 | obj-y += $(PROJECT_C_FILES:%.c=%.o) 12 | 13 | endif 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/os_simple/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # Version of build system 3 | REQUIRED_BUILD_SYSTEM_VERSION=1.0.0 4 | 5 | # Get configuration makefiles 6 | -include ../config/*.mk 7 | -include ../config/$(BOARDDIR)/*.mk 8 | 9 | 10 | # Project settings 11 | 12 | SELECT_CONSOLE = RAMLOG 13 | 14 | SELECT_OPT = OPT_DEBUG 15 | 16 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/os_simple/config/Dio_Lcfg.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Dio (Dio_Lcfg.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 2.0.0 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | 16 | 17 | #include "Dio.h" 18 | #include "Dio_Cfg.h" 19 | 20 | const Dio_ChannelType DioChannelConfigData[] = { 21 | DIO_CHANNEL_NAME_LED_K2, 22 | DIO_END_OF_LIST 23 | }; 24 | 25 | const Dio_PortType DioPortConfigData[] = { 26 | DIO_PORT_NAME_DioPort_1, 27 | DIO_END_OF_LIST 28 | }; 29 | 30 | const Dio_ChannelGroupType DioConfigData[] = { 31 | { 32 | .port = DIO_END_OF_LIST, 33 | .offset = 0, 34 | .mask = 0, 35 | } 36 | }; 37 | 38 | 39 | uint32 Dio_GetPortConfigSize(void) 40 | { 41 | return sizeof(DioConfigData); 42 | } 43 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/os_simple/config/EcuM.mk: -------------------------------------------------------------------------------- 1 | 2 | MOD_USE += KERNEL DIO MCU DET ECUM 3 | 4 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/os_simple/makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | PROJECTNAME=os_simple 4 | ROOTDIR?=../../../.. 5 | include $(ROOTDIR)/scripts/project_defaults.mk 6 | 7 | ifneq (${MAKELEVEL},0) 8 | 9 | # object files 10 | obj-y += os_simple.o 11 | obj-y += system_hooks.o 12 | 13 | VPATH += $(ROOTDIR)/examples 14 | VPATH += $(ROOTDIR)/examples/$(PROJECTNAME) 15 | 16 | endif 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/rte_simple/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # Version of build system 3 | REQUIRED_BUILD_SYSTEM_VERSION=1.0.0 4 | 5 | # Get configuration makefiles 6 | -include ../config/*.mk 7 | -include ../config/$(BOARDDIR)/*.mk 8 | 9 | MOD_USE+= DET ECUM KERNEL RAMLOG -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/rte_simple/config/Calibration_Settings.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Calibration_Settings.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Calibration_Settings.h */ 16 | 17 | #ifndef CALIBRATION_SETTINGS_H 18 | #define CALIBRATION_SETTINGS_H 19 | 20 | #undef CALIBRATION_INITIALIZED_RAM 21 | 22 | #undef CALIBRATION_ENABLED 23 | 24 | #undef CALIBRATION_FLS_START 25 | 26 | 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/rte_simple/config/CanIf_SpecialPdus.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: CanIf (CanIf_SpecialPdus.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 2.0.6 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | 16 | #if !(((CANIF_SW_MAJOR_VERSION == 1) && (CANIF_SW_MINOR_VERSION == 3)) ) 17 | #error CanIf: Configuration file expected BSW module version to be 1.3.* 18 | #endif 19 | 20 | 21 | #ifndef CANIF_SPECIALPDUS_H_ 22 | #define CANIF_SPECIALPDUS_H_ 23 | 24 | 25 | 26 | #endif 27 | 28 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/rte_simple/config/Dio_Lcfg.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Dio (Dio_Lcfg.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 2.0.0 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | 16 | 17 | #include "Dio.h" 18 | #include "Dio_Cfg.h" 19 | 20 | const Dio_ChannelType DioChannelConfigData[] = { 21 | DIO_CHANNEL_NAME_LED_CHANNEL, 22 | DIO_END_OF_LIST 23 | }; 24 | 25 | const Dio_PortType DioPortConfigData[] = { 26 | DIO_PORT_NAME_LED_PORT, 27 | DIO_END_OF_LIST 28 | }; 29 | 30 | const Dio_ChannelGroupType DioConfigData[] = { 31 | { 32 | .port = DIO_END_OF_LIST, 33 | .offset = 0, 34 | .mask = 0, 35 | } 36 | }; 37 | 38 | 39 | uint32 Dio_GetPortConfigSize(void) 40 | { 41 | return sizeof(DioConfigData); 42 | } 43 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/rte_simple/config/EcuM.mk: -------------------------------------------------------------------------------- 1 | 2 | MOD_USE += CANIF COM DET ECUM KERNEL PDUR RTE CAN MCU DIO PORT 3 | 4 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/rte_simple/config/Rte.mk: -------------------------------------------------------------------------------- 1 | obj-y += Rte.o 2 | obj-y += Rte_Data.o 3 | obj-y += Rte_Cbk.o 4 | obj-y += Rte_Calculator.o 5 | obj-y += Rte_Tester.o 6 | obj-y += Rte_Logger.o 7 | obj-y += Rte_Logger2.o 8 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/rte_simple/config/Rte_Calculator.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Calculator.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Calculator.c */ 16 | #include 17 | #include "Os.h" 18 | #include "Rte_Calculator.h" 19 | #include "Rte_Data.h" 20 | #include "Com.h" 21 | 22 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/rte_simple/config/Rte_Calculator.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Calculator.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Calculator.h */ 16 | 17 | #ifndef RTE_CALCULATOR_H 18 | #define RTE_CALCULATOR_H 19 | 20 | #include "Rte_Type.h" 21 | 22 | Std_ReturnType Multiply(const UInt8 arg1, const UInt8 arg2, UInt16* result); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/rte_simple/config/Rte_Calculator_Internal.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Calculator_Internal.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Calculator.h */ 16 | 17 | #ifndef RTE_CALCULATOR_H 18 | #define RTE_CALCULATOR_H 19 | 20 | #include "Rte_Type.h" 21 | 22 | Std_ReturnType Multiply(const UInt8 arg1, const UInt8 arg2, UInt16* result); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/rte_simple/config/Rte_Cbk.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Cbk.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Cbk.c */ 16 | #include "Os.h" 17 | #include "Rte_Data.h" 18 | 19 | void Rte_COMCbk_Arg1(void) { 20 | } 21 | 22 | void Rte_COMCbkTOut_Arg1(void) { 23 | } 24 | 25 | void Rte_COMCbk_Arg2(void) { 26 | } 27 | 28 | void Rte_COMCbkTOut_Arg2(void) { 29 | } 30 | 31 | void Rte_COMCbk_ResultSig(void) { 32 | } 33 | 34 | void Rte_COMCbkTOut_ResultSig(void) { 35 | } 36 | 37 | void Rte_COMCbk_FreqReqSig(void) { 38 | Rte_FreqReqRunnable(); 39 | } 40 | 41 | void Rte_COMCbkTOut_FreqReqSig(void) { 42 | } 43 | 44 | void Rte_COMCbk_FreqIndSig(void) { 45 | } 46 | 47 | void Rte_COMCbkTOut_FreqIndSig(void) { 48 | } 49 | 50 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/rte_simple/config/Rte_Data.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Data.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Data.c */ 16 | #include "Os.h" 17 | #include "Rte_Data.h" 18 | #include "Rte_Type.h" 19 | #include 20 | 21 | UInt16 Rte_Buf_Tester_prototype_Result_result; 22 | 23 | void Rte_WriteBuffer_Rte_Buf_Tester_prototype_Result_result(UInt16 Value) { 24 | Rte_Buf_Tester_prototype_Result_result = Value; 25 | } 26 | 27 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/rte_simple/config/Rte_Data.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Data.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Data.h */ 16 | 17 | #ifndef RTE_DATA_H 18 | #define RTE_DATA_H 19 | 20 | #include "Rte_Type.h" 21 | #include "cirq_buffer.h" 22 | 23 | extern UInt16 Rte_Buf_Tester_prototype_Result_result; 24 | 25 | void Rte_WriteBuffer_Rte_Buf_Tester_prototype_Result_result(UInt16 Value); 26 | 27 | void Rte_TesterRunnable(void); 28 | 29 | void Rte_FreqReqRunnable(void); 30 | 31 | Std_ReturnType Rte_Multiply(const UInt8 arg1, const UInt8 arg2, UInt16* result); 32 | 33 | void Rte_LoggerRunnable(void); 34 | 35 | void Rte_Logger2Runnable(void); 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/rte_simple/config/Rte_Logger.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Logger.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Logger.c */ 16 | #include 17 | #include "Os.h" 18 | #include "Rte_Logger.h" 19 | #include "Rte_Data.h" 20 | #include "Com.h" 21 | 22 | extern Rte_CDS_Logger Rte_Inst_Logger; 23 | 24 | UInt16 Rte_IRead_LoggerRunnable_Result_result(void) { 25 | return Rte_Inst_Logger.LoggerRunnable_Result_result->value; 26 | } 27 | 28 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/rte_simple/config/Rte_Logger.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Logger.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Logger.h */ 16 | 17 | #ifndef RTE_LOGGER_H 18 | #define RTE_LOGGER_H 19 | 20 | #include "Rte_Type.h" 21 | 22 | UInt16 Rte_IRead_LoggerRunnable_Result_result(void); 23 | 24 | void LoggerRunnable(void); 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/rte_simple/config/Rte_Logger2.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Logger2.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Logger2.c */ 16 | #include 17 | #include "Os.h" 18 | #include "Rte_Logger2.h" 19 | #include "Rte_Data.h" 20 | #include "Com.h" 21 | 22 | extern Rte_CDS_Logger2 Rte_Inst_Logger2; 23 | 24 | UInt16 Rte_IRead_Logger2Runnable_Result_result(void) { 25 | return Rte_Inst_Logger2.Logger2Runnable_Result_result->value; 26 | } 27 | 28 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/rte_simple/config/Rte_Logger2.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Logger2.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Logger2.h */ 16 | 17 | #ifndef RTE_LOGGER2_H 18 | #define RTE_LOGGER2_H 19 | 20 | #include "Rte_Type.h" 21 | 22 | UInt16 Rte_IRead_Logger2Runnable_Result_result(void); 23 | 24 | void Logger2Runnable(void); 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/rte_simple/config/Rte_Logger2_Internal.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Logger2_Internal.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Logger2.h */ 16 | 17 | #ifndef RTE_LOGGER2_H 18 | #define RTE_LOGGER2_H 19 | 20 | #include "Rte_Type.h" 21 | 22 | UInt16 Rte_IRead_Logger2Runnable_Result_result(void); 23 | 24 | void Logger2Runnable(void); 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/rte_simple/config/Rte_Logger_Internal.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Logger_Internal.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Logger.h */ 16 | 17 | #ifndef RTE_LOGGER_H 18 | #define RTE_LOGGER_H 19 | 20 | #include "Rte_Type.h" 21 | 22 | UInt16 Rte_IRead_LoggerRunnable_Result_result(void); 23 | 24 | void LoggerRunnable(void); 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/rte_simple/config/Rte_Tester_Internal.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Tester_Internal.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): MPC5567 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Tester.h */ 16 | 17 | #ifndef RTE_TESTER_H 18 | #define RTE_TESTER_H 19 | 20 | #include "Rte_Type.h" 21 | 22 | UInt8 Rte_IRead_TesterRunnable_Arguments_arg1(void); 23 | 24 | UInt8 Rte_IRead_TesterRunnable_Arguments_arg2(void); 25 | 26 | void Rte_IWrite_TesterRunnable_Result_result(UInt16 Value); 27 | 28 | Std_ReturnType Rte_Call_Tester_Calculator_Multiply(const UInt8 arg1, 29 | const UInt8 arg2, UInt16* result); 30 | 31 | UInt32 Rte_IRead_FreqReqRunnable_FreqReq_freq(void); 32 | 33 | void Rte_IWrite_FreqReqRunnable_FreqReqInd_freq(UInt32 Value); 34 | 35 | void TesterRunnable(void); 36 | 37 | void FreqReqRunnable(void); 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/examples/rte_simple/makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | PROJECTNAME=rte_simple 4 | ROOTDIR?=../../../.. 5 | include $(ROOTDIR)/scripts/project_defaults.mk 6 | include $(ROOTDIR)/examples/rte_simple/rte_simple.mk 7 | 8 | ifneq (${MAKELEVEL},0) 9 | 10 | # object files 11 | PROJECT_C_FILES=$(notdir $(wildcard ../*.c)) 12 | obj-y += $(PROJECT_C_FILES:%.c=%.o) 13 | 14 | VPATH += $(ROOTDIR)/examples 15 | VPATH += $(ROOTDIR)/examples/$(PROJECTNAME) 16 | 17 | endif 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/memory.ldf: -------------------------------------------------------------------------------- 1 | /* MPC55xx Reset Control Word(RCW) */ 2 | #if defined(CFG_BOOT) 3 | flash(R) : ORIGIN = 0x0001c100, LENGTH = 2M 4 | #else 5 | flash(R) : ORIGIN = 0x00000000, LENGTH = 2M 6 | #endif 7 | ram(RW) : ORIGIN = 0x40000000, LENGTH = 0x014000 8 | -------------------------------------------------------------------------------- /boards/mpc5602b_xpc560b/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=mpc55xx 4 | ARCH_FAM=ppc 5 | ARCH_MCU=mpc5602b 6 | 7 | # CFG (y/n) macros 8 | CFG=PPC E200Z0 MPC55XX MPC560X MPC560XB MPC5602B BRD_MPC5602B_XPC560B VLE 9 | 10 | # What buildable modules does this board have, 11 | # default or private 12 | 13 | # Memory + Peripherals 14 | MOD_AVAIL+=ADC DIO DMA CAN GPT LIN MCU PORT PWM WDG NVM MEMIF FEE FLS SPI EEP EA 15 | # System + Communication + Diagnostic 16 | MOD_AVAIL+=LINIF CANIF CANTP COM DCM DEM DET ECUM IOHWAB KERNEL PDUR WDGM WDGIF RTE J1939TP SCHM 17 | # Network management 18 | MOD_AVAIL+=COMM NM CANNM CANSM LINSM 19 | # Additional 20 | MOD_AVAIL+= RAMLOG 21 | # CRC 22 | MOD_AVAIL+=CRC32 CRC16 23 | # Required modules 24 | MOD_USE += MCU KERNEL ECUM 25 | 26 | # Default cross compiler 27 | COMPILER?=cw 28 | DEFAULT_CROSS_COMPILE = /opt/powerpc-eabispe/bin/powerpc-eabispe- 29 | DEFAULT_CW_COMPILE= /opt/cw 30 | 31 | # Defines 32 | def-y += SRAM_SIZE=0x6000 33 | 34 | 35 | -------------------------------------------------------------------------------- /boards/mpc5602b_xpc560b/config/Eep_Cfg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/boards/mpc5602b_xpc560b/config/Eep_Cfg.h -------------------------------------------------------------------------------- /boards/mpc5602b_xpc560b/examples/lin_simple/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # Version of build system 3 | REQUIRED_BUILD_SYSTEM_VERSION=1.0.0 4 | 5 | # Get configuration makefiles 6 | -include ../config/EcuM_Lin.mk 7 | -include ../config/$(BOARDDIR)/*.mk 8 | 9 | 10 | # Project settings 11 | 12 | SELECT_CONSOLE = RAMLOG 13 | 14 | SELECT_OPT = OPT_DEBUG 15 | 16 | -------------------------------------------------------------------------------- /boards/mpc5602b_xpc560b/examples/lin_simple/config/EcuM.mk: -------------------------------------------------------------------------------- 1 | 2 | MOD_USE += DET ECUM MCU KERNEL COM PORT PDUR LIN LINIF LINSM 3 | 4 | -------------------------------------------------------------------------------- /boards/mpc5602b_xpc560b/examples/lin_simple/config/EcuM_Lin.mk: -------------------------------------------------------------------------------- 1 | 2 | MOD_USE += DET ECUM MCU KERNEL COM PORT PDUR LIN LINIF LINSM 3 | 4 | -------------------------------------------------------------------------------- /boards/mpc5602b_xpc560b/examples/lin_simple/config/LinCfg_Help.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/boards/mpc5602b_xpc560b/examples/lin_simple/config/LinCfg_Help.doc -------------------------------------------------------------------------------- /boards/mpc5602b_xpc560b/examples/lin_simple/config/LinIf_PBcfg.c: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /boards/mpc5602b_xpc560b/examples/lin_simple/config/LinSM_Cfg.c: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /boards/mpc5602b_xpc560b/examples/lin_simple/config/LinSM_PBcfg.c: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /boards/mpc5602b_xpc560b/examples/lin_simple/config/Lin_PBcfg.c: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | #include "Lin_Cfg.h" 24 | -------------------------------------------------------------------------------- /boards/mpc5602b_xpc560b/examples/os_simple/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # Version of build system 3 | REQUIRED_BUILD_SYSTEM_VERSION=1.0.0 4 | 5 | # Get configuration makefiles 6 | -include ../config/*.mk 7 | -include ../config/$(BOARDDIR)/*.mk 8 | 9 | 10 | # Project settings 11 | 12 | SELECT_CONSOLE = RAMLOG 13 | 14 | SELECT_OPT = OPT_DEBUG 15 | 16 | -------------------------------------------------------------------------------- /boards/mpc5602b_xpc560b/examples/os_simple/config/EcuM.mk: -------------------------------------------------------------------------------- 1 | 2 | MOD_USE += DET MCU ECUM KERNEL 3 | 4 | -------------------------------------------------------------------------------- /boards/mpc5602b_xpc560b/examples/os_simple/makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | PROJECTNAME=os_simple 4 | ROOTDIR?=../../../.. 5 | include $(ROOTDIR)/scripts/project_defaults.mk 6 | 7 | ifneq (${MAKELEVEL},0) 8 | 9 | # object files 10 | obj-y += os_simple.o 11 | obj-y += system_hooks.o 12 | 13 | VPATH += $(ROOTDIR)/examples 14 | VPATH += $(ROOTDIR)/examples/$(PROJECTNAME) 15 | 16 | endif 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /boards/mpc5604b_trk/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=mpc55xx 4 | ARCH_FAM=ppc 5 | ARCH_MCU=mpc5604b 6 | 7 | # CFG (y/n) macros 8 | CFG=PPC E200Z0 MPC55XX MPC560X MPC560XB MPC5604B BRD_MPC5604B_TRK VLE 9 | CFG+=MCU_ARC_LP 10 | 11 | # What buildable modules does this board have, 12 | # default or private 13 | 14 | # Memory + Peripherals 15 | MOD_AVAIL+=ADC DIO DMA CAN GPT LIN MCU PORT PWM WDG NVM MEMIF FEE FLS SPI EEP EA 16 | # System + Communication + Diagnostic 17 | MOD_AVAIL+=LINIF CANIF CANTP COM DCM DEM DET ECUM IOHWAB KERNEL PDUR WDGM WDGIF RTE J1939TP SCHM 18 | # Network management 19 | MOD_AVAIL+=COMM NM CANNM CANSM LINSM 20 | # Additional 21 | MOD_AVAIL+= RAMLOG 22 | # CRC 23 | MOD_AVAIL+=CRC32 CRC16 24 | # Required modules 25 | MOD_USE += MCU KERNEL ECUM 26 | 27 | # Default cross compiler 28 | COMPILER?=cw 29 | DEFAULT_CROSS_COMPILE = /opt/powerpc-eabispe/bin/powerpc-eabispe- 30 | DEFAULT_CW_COMPILE= /c/devtools/Freescale/cw_mpc5xxx_2.10 31 | 32 | # Defines 33 | def-y += SRAM_SIZE=0xc000 34 | 35 | 36 | -------------------------------------------------------------------------------- /boards/mpc5604b_trk/config/Eep_Cfg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/boards/mpc5604b_trk/config/Eep_Cfg.h -------------------------------------------------------------------------------- /boards/mpc5604b_trk/examples/os_simple/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # Version of build system 3 | REQUIRED_BUILD_SYSTEM_VERSION=1.0.0 4 | 5 | # Get configuration makefiles 6 | -include ../config/*.mk 7 | -include ../config/$(BOARDDIR)/*.mk 8 | 9 | 10 | # Project settings 11 | 12 | SELECT_CONSOLE = RAMLOG 13 | 14 | SELECT_OPT = OPT_DEBUG 15 | 16 | -------------------------------------------------------------------------------- /boards/mpc5604b_trk/examples/os_simple/config/EcuM.mk: -------------------------------------------------------------------------------- 1 | 2 | MOD_USE += KERNEL ECUM MCU DET 3 | 4 | -------------------------------------------------------------------------------- /boards/mpc5604b_trk/examples/os_simple/makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | PROJECTNAME=os_simple 4 | ROOTDIR?=../../../.. 5 | include $(ROOTDIR)/scripts/project_defaults.mk 6 | 7 | ifneq (${MAKELEVEL},0) 8 | 9 | # object files 10 | obj-y += os_simple.o 11 | obj-y += system_hooks.o 12 | 13 | VPATH += $(ROOTDIR)/examples 14 | VPATH += $(ROOTDIR)/examples/$(PROJECTNAME) 15 | 16 | endif 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /boards/mpc5604p_trk/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=mpc55xx 4 | ARCH_FAM=ppc 5 | ARCH_MCU=mpc5604p 6 | 7 | # CFG (y/n) macros 8 | CFG=PPC E200Z0 MPC55XX MPC560X MPC5604P BRD_MPC5604P_TRK VLE 9 | 10 | # What buildable modules does this board have, 11 | # default or private 12 | 13 | # Memory + Peripherals 14 | MOD_AVAIL+=ADC DIO DMA CAN GPT LIN MCU PORT PWM WDG NVM MEMIF FEE FLS SPI EEP EA 15 | # System + Communication + Diagnostic 16 | MOD_AVAIL+=LINIF CANIF CANTP COM DCM DEM DET ECUM IOHWAB KERNEL PDUR WDGM WDGIF RTE J1939TP SCHM 17 | # Network management 18 | MOD_AVAIL+=COMM NM CANNM CANSM LINSM 19 | # Additional 20 | MOD_AVAIL+= RAMLOG 21 | # CRC 22 | MOD_AVAIL+=CRC32 CRC16 23 | # Required modules 24 | MOD_USE += MCU KERNEL ECUM 25 | 26 | # Default cross compiler 27 | COMPILER?=cw 28 | DEFAULT_CROSS_COMPILE = /opt/powerpc-eabispe/bin/powerpc-eabispe- 29 | DEFAULT_CW_COMPILE= /opt/cw 30 | 31 | # Defines 32 | def-y += SRAM_SIZE=0xa000 33 | 34 | 35 | -------------------------------------------------------------------------------- /boards/mpc5604p_trk/config/Eep_Cfg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/boards/mpc5604p_trk/config/Eep_Cfg.h -------------------------------------------------------------------------------- /boards/mpc5604p_trk/examples/os_simple/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # Version of build system 3 | REQUIRED_BUILD_SYSTEM_VERSION=1.0.0 4 | 5 | # Get configuration makefiles 6 | -include ../config/*.mk 7 | -include ../config/$(BOARDDIR)/*.mk 8 | 9 | 10 | # Project settings 11 | 12 | SELECT_CONSOLE = RAMLOG 13 | 14 | SELECT_OPT = OPT_DEBUG 15 | 16 | -------------------------------------------------------------------------------- /boards/mpc5604p_trk/examples/os_simple/config/EcuM.mk: -------------------------------------------------------------------------------- 1 | 2 | MOD_USE += KERNEL MCU ECUM DET 3 | 4 | -------------------------------------------------------------------------------- /boards/mpc5604p_trk/examples/os_simple/makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | PROJECTNAME=os_simple 4 | ROOTDIR?=../../../.. 5 | include $(ROOTDIR)/scripts/project_defaults.mk 6 | 7 | ifneq (${MAKELEVEL},0) 8 | 9 | # object files 10 | obj-y += os_simple.o 11 | obj-y += system_hooks.o 12 | 13 | VPATH += $(ROOTDIR)/examples 14 | VPATH += $(ROOTDIR)/examples/$(PROJECTNAME) 15 | 16 | endif 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /boards/mpc5606b_xpc560b/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=mpc55xx 4 | ARCH_FAM=ppc 5 | ARCH_MCU=mpc5606b 6 | 7 | # CFG (y/n) macros 8 | CFG=PPC E200Z0 MPC55XX MPC560X MPC560XB MPC5606B BRD_MPC560X_XPC560B VLE 9 | 10 | # What buildable modules does this board have, 11 | # default or private 12 | 13 | # Memory + Peripherals 14 | MOD_AVAIL+=ADC DIO DMA CAN GPT LIN MCU PORT PWM WDG NVM MEMIF FEE FLS SPI EEP EA 15 | # System + Communication + Diagnostic 16 | MOD_AVAIL+=LINIF CANIF CANTP COM DCM DEM DET ECUM IOHWAB KERNEL PDUR WDGM WDGIF RTE J1939TP SCHM 17 | # Network management 18 | MOD_AVAIL+=COMM NM CANNM CANSM LINSM 19 | # Additional 20 | MOD_AVAIL+= RAMLOG 21 | # CRC 22 | MOD_AVAIL+=CRC32 CRC16 23 | # Required modules 24 | MOD_USE += MCU KERNEL ECUM 25 | 26 | # Default cross compiler 27 | COMPILER?=cw 28 | DEFAULT_CROSS_COMPILE = /opt/powerpc-eabispe/bin/powerpc-eabispe- 29 | DEFAULT_CW_COMPILE= /c/devtools/Freescale/cw_mpc5xxx_2.10 30 | 31 | # Defines 32 | def-y += SRAM_SIZE=0x14000 33 | -------------------------------------------------------------------------------- /boards/mpc5606b_xpc560b/config/Eep_Cfg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/boards/mpc5606b_xpc560b/config/Eep_Cfg.h -------------------------------------------------------------------------------- /boards/mpc5606b_xpc560b/examples/os_simple/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # Version of build system 3 | REQUIRED_BUILD_SYSTEM_VERSION=1.0.0 4 | 5 | # Get configuration makefiles 6 | -include ../config/*.mk 7 | -include ../config/$(BOARDDIR)/*.mk 8 | 9 | 10 | # Project settings 11 | 12 | SELECT_CONSOLE = RAMLOG 13 | 14 | SELECT_OPT = OPT_DEBUG 15 | 16 | -------------------------------------------------------------------------------- /boards/mpc5606b_xpc560b/examples/os_simple/config/EcuM.mk: -------------------------------------------------------------------------------- 1 | 2 | MOD_USE += MCU KERNEL ECUM DET 3 | 4 | -------------------------------------------------------------------------------- /boards/mpc5606b_xpc560b/examples/os_simple/makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | PROJECTNAME=os_simple 4 | ROOTDIR?=../../../.. 5 | include $(ROOTDIR)/scripts/project_defaults.mk 6 | 7 | ifneq (${MAKELEVEL},0) 8 | 9 | # object files 10 | obj-y += os_simple.o 11 | obj-y += system_hooks.o 12 | 13 | VPATH += $(ROOTDIR)/examples 14 | VPATH += $(ROOTDIR)/examples/$(PROJECTNAME) 15 | 16 | endif 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /boards/mpc5606s_xpc560s/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=mpc55xx 4 | ARCH_FAM=ppc 5 | ARCH_MCU=mpc5606s 6 | 7 | # CFG (y/n) macros 8 | CFG=PPC E200Z0 MPC55XX MPC560X MPC5606S BRD_MPC560X_XPC560S VLE 9 | 10 | # What buildable modules does this board have, 11 | # default or private 12 | 13 | # Memory + Peripherals 14 | MOD_AVAIL+=ADC DIO DMA CAN GPT LIN MCU PORT PWM WDG NVM MEMIF FEE FLS SPI EEP EA 15 | # System + Communication + Diagnostic 16 | MOD_AVAIL+=LINIF CANIF CANTP COM DCM DEM DET ECUM IOHWAB KERNEL PDUR WDGM WDGIF RTE J1939TP SCHM 17 | # Network management 18 | MOD_AVAIL+=COMM NM CANNM CANSM LINSM 19 | # Additional 20 | MOD_AVAIL+= RAMLOG 21 | # CRC 22 | MOD_AVAIL+=CRC32 CRC16 23 | # Required modules 24 | MOD_USE += MCU KERNEL ECUM 25 | 26 | # Default cross compiler 27 | COMPILER?=cw 28 | DEFAULT_CROSS_COMPILE = /opt/powerpc-eabispe/bin/powerpc-eabispe- 29 | DEFAULT_CW_COMPILE= /opt/cw 30 | 31 | # Defines 32 | def-y += SRAM_SIZE=0xc000 33 | -------------------------------------------------------------------------------- /boards/mpc5606s_xpc560s/config/Eep_Cfg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/boards/mpc5606s_xpc560s/config/Eep_Cfg.h -------------------------------------------------------------------------------- /boards/mpc5606s_xpc560s/examples/os_simple/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # Version of build system 3 | REQUIRED_BUILD_SYSTEM_VERSION=1.0.0 4 | 5 | # Get configuration makefiles 6 | -include ../config/*.mk 7 | -include ../config/$(BOARDDIR)/*.mk 8 | 9 | 10 | # Project settings 11 | 12 | SELECT_CONSOLE = RAMLOG 13 | 14 | SELECT_OPT = OPT_DEBUG 15 | 16 | -------------------------------------------------------------------------------- /boards/mpc5606s_xpc560s/examples/os_simple/config/EcuM.mk: -------------------------------------------------------------------------------- 1 | 2 | MOD_USE += KERNEL ECUM MCU DET 3 | 4 | -------------------------------------------------------------------------------- /boards/mpc5606s_xpc560s/examples/os_simple/makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | PROJECTNAME=os_simple 4 | ROOTDIR?=../../../.. 5 | include $(ROOTDIR)/scripts/project_defaults.mk 6 | 7 | ifneq (${MAKELEVEL},0) 8 | 9 | # object files 10 | obj-y += os_simple.o 11 | obj-y += system_hooks.o 12 | 13 | VPATH += $(ROOTDIR)/examples 14 | VPATH += $(ROOTDIR)/examples/$(PROJECTNAME) 15 | 16 | endif 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /boards/mpc560xsim/board_info.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | The Freescale MPC5606S is an PowerPC process with a e200Z0h core, VLE only. 5 | 6 | NOTE! Simulator board! 7 | 8 | NOTE! Timer interrupts not work (The T32 environment does not support yet support it. 9 | 10 | Datasheets: 11 | MPC560x 12 | http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MPC560xS&fsrch=1&sr=1 13 | 14 | Supported compilers: 15 | Code Warrior 16 | 17 | Info: 18 | MPC5606S 19 | CPU: e200z0h (VLE only) 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /boards/mpc560xsim/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=mpc55xx 4 | ARCH_FAM=ppc 5 | ARCH_MCU=mpc5606s 6 | 7 | # CFG (y/n) macros 8 | CFG=PPC E200Z0 MPC55XX MPC560X MPC5606S BRD_MPC560X_XPC560S VLE SIMULATOR 9 | 10 | # What buildable modules does this board have, 11 | # default or private 12 | 13 | # Memory + Peripherals 14 | MOD_AVAIL+=ADC DIO DMA CAN GPT LIN MCU PORT PWM WDG NVM MEMIF FEE FLS SPI EEP EA 15 | # System + Communication + Diagnostic 16 | MOD_AVAIL+=LINIF CANIF CANTP COM DCM DEM DET ECUM IOHWAB KERNEL PDUR WDGM WDGIF RTE J1939TP SCHM 17 | # Network management 18 | MOD_AVAIL+=COMM NM CANNM CANSM LINSM 19 | # Additional 20 | MOD_AVAIL+= RAMLOG 21 | # CRC 22 | MOD_AVAIL+=CRC32 CRC16 23 | # Required modules 24 | MOD_USE += MCU KERNEL ECUM 25 | 26 | # Default cross compiler 27 | COMPILER?=cw 28 | DEFAULT_CROSS_COMPILE = /opt/powerpc-eabispe/bin/powerpc-eabispe- 29 | DEFAULT_CW_COMPILE= /opt/cw 30 | 31 | # Defines 32 | def-y += SRAM_SIZE=0xc000 33 | -------------------------------------------------------------------------------- /boards/mpc5634m_trk/config/Eep_Cfg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/boards/mpc5634m_trk/config/Eep_Cfg.h -------------------------------------------------------------------------------- /boards/mpc5634m_trk/examples/os_simple/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # Version of build system 3 | REQUIRED_BUILD_SYSTEM_VERSION=1.0.0 4 | 5 | # Get configuration makefiles 6 | -include ../config/*.mk 7 | -include ../config/$(BOARDDIR)/*.mk 8 | 9 | 10 | # Project settings 11 | 12 | SELECT_CONSOLE = RAMLOG 13 | 14 | SELECT_OPT = OPT_DEBUG 15 | 16 | -------------------------------------------------------------------------------- /boards/mpc5634m_trk/examples/os_simple/config/EcuM.mk: -------------------------------------------------------------------------------- 1 | 2 | MOD_USE += KERNEL ECUM MCU DET 3 | 4 | -------------------------------------------------------------------------------- /boards/mpc5634m_trk/examples/os_simple/makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | PROJECTNAME=os_simple 4 | ROOTDIR?=../../../.. 5 | include $(ROOTDIR)/scripts/project_defaults.mk 6 | 7 | ifneq (${MAKELEVEL},0) 8 | 9 | # object files 10 | obj-y += os_simple.o 11 | obj-y += system_hooks.o 12 | 13 | VPATH += $(ROOTDIR)/examples 14 | VPATH += $(ROOTDIR)/examples/$(PROJECTNAME) 15 | 16 | endif 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /boards/mpc5634m_trk/memory.ldf: -------------------------------------------------------------------------------- 1 | /* MPC55xx Reset Control Word(RCW) */ 2 | #if defined(CFG_BOOT) 3 | flash(R) : ORIGIN = 0x0001c100, LENGTH = 2M 4 | #else 5 | flash(R) : ORIGIN = 0x00000000, LENGTH = 0x180000 6 | #endif 7 | ram(RW) : ORIGIN = 0x40000000, LENGTH = 0x17800 8 | -------------------------------------------------------------------------------- /boards/mpc5668_gkit/board_info.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | The Freescale MPC5510 is an PowerPC process with a e200Z1+e200Z0 core. 5 | 6 | Datasheets: 7 | Eval board: 8 | http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MPC5668GKIT&parentCode=MPC5668G&fpsp=1 9 | http://cache.freescale.com/files/32bit/doc/user_guide/MPC5668GKITUM.pdf?fpsp=1 10 | 11 | MPC5668G 12 | http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MPC5668G&nodeId=01624606C1427E 13 | 14 | Board: 15 | 40Mhz external crystal 16 | 17 | Info: 18 | e200Z6(SPE) + e200Z0 19 | 116 Mhz 20 | 2 MB Flash 21 | 592 KB SRAM 22 | 23 | Memory Map: 24 | 0x0000_0000 -> Flash 25 | 0x4000_0000 -> SRAM 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /boards/mpc5668_gkit/boot_info.mk: -------------------------------------------------------------------------------- 1 | 2 | BOOT_IMAGE_ADDR=0x20000 3 | BOOT_BLOB_LOAD_ADDR=0x20100 4 | BOOT_BLOB_START_ADDR=$(BOOT_BLOB_LOAD_ADDR) 5 | -------------------------------------------------------------------------------- /boards/mpc5668_gkit/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=mpc55xx 4 | ARCH_FAM=ppc 5 | ARCH_MCU=mpc5568 6 | 7 | # CFG (y/n) macros 8 | CFG=PPC BOOKE E200Z1 MPC55XX MPC5668 MPC5668G BRD_MPC5668_GKIT SPE 9 | CFG+=MCU_ARC_LP 10 | CFG+=MCU_ARC_CONFIG 11 | 12 | # What buildable modules does this board have, 13 | # default or private 14 | 15 | # Memory + Peripherals 16 | MOD_AVAIL+=ADC DIO DMA CAN GPT LIN MCU PORT PWM WDG NVM MEMIF FEE FLS SPI EEP 17 | # System + Communication + Diagnostic 18 | MOD_AVAIL+=CANIF CANTP COM DCM DEM DET ECUM IOHWAB KERNEL PDUR WDGM RTE SCHM WDGIF WDGM 19 | # Network management 20 | MOD_AVAIL+=COMM NM CANNM CANSM EA 21 | # Additional 22 | MOD_AVAIL+= RAMLOG TTY_T32 BOOT 23 | # CRC 24 | MOD_AVAIL+=CRC32 CRC16 25 | # Required modules 26 | MOD_USE += MCU KERNEL ECUM DET 27 | 28 | # Default cross compiler 29 | DEFAULT_CROSS_COMPILE = /opt/powerpc-eabispe/bin/powerpc-eabispe- 30 | 31 | # Defines (can be 0x94000 if MMU is setup for more that 256K) 32 | def-y += SRAM_SIZE=0x40000 33 | -------------------------------------------------------------------------------- /boards/mpc5668_gkit/examples/os_simple/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # Version of build system 3 | REQUIRED_BUILD_SYSTEM_VERSION=1.0.0 4 | 5 | # Get configuration makefiles 6 | -include ../config/*.mk 7 | -include ../config/$(BOARDDIR)/*.mk 8 | 9 | 10 | # Project settings 11 | 12 | SELECT_CONSOLE = RAMLOG 13 | 14 | SELECT_OPT = OPT_DEBUG 15 | 16 | -------------------------------------------------------------------------------- /boards/mpc5668_gkit/examples/os_simple/config/EcuM.mk: -------------------------------------------------------------------------------- 1 | 2 | MOD_USE += KERNEL DET ECUM MCU 3 | 4 | -------------------------------------------------------------------------------- /boards/mpc5668_gkit/examples/os_simple/makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | PROJECTNAME=os_simple 4 | ROOTDIR?=../../../.. 5 | include $(ROOTDIR)/scripts/project_defaults.mk 6 | 7 | ifneq (${MAKELEVEL},0) 8 | 9 | # object files 10 | obj-y += os_simple.o 11 | obj-y += system_hooks.o 12 | 13 | VPATH += $(ROOTDIR)/examples 14 | VPATH += $(ROOTDIR)/examples/$(PROJECTNAME) 15 | 16 | endif 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /boards/mpc5668_gkit/memory.ldf: -------------------------------------------------------------------------------- 1 | /* Flash sizes 2 | * 5668, 2.0M 3 | */ 4 | #if defined(CFG_BOOT) 5 | flash(R) : ORIGIN = 0x00020100, LENGTH = 2M 6 | /* Ram sizes 7 | * 5668G: 512K + 80K 8 | */ 9 | #else 10 | flash(R) : ORIGIN = 0x00000000, LENGTH = 2M 11 | #endif 12 | 13 | 14 | ram(RW) : ORIGIN = 0x40000000, LENGTH = 0x080000 15 | -------------------------------------------------------------------------------- /boards/stm32_mcbstm32/board_info.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | The STMicroelectronics STM32F103RB is an ARM 32-bit Cortex-M3 Microcontroller, 4 | 5 | 72MHz 6 | 128kB Flash 7 | 20kB SRAM 8 | 16-bit Timers with Input Capture, Output Compare and PWM, 16-bit 6-ch Advanced Timer 9 | 2 16-bit Watchdog Timers 10 | SysTick Timer 11 | 2 SPI 12 | 2 I2C 13 | 3 USART 14 | USB 2.0 Full Speed Interface 15 | CAN 2.0B Active 16 | 2 12-bit 16-ch A/D Converter 17 | Fast I/O Ports 18 | 19 | Memory Map 20 | 0x0800_0000 -> Flash 21 | 0x2000_0000 -> SRAM 22 | 0x4000_0000 -> Internal registers 23 | -------------------------------------------------------------------------------- /boards/stm32_mcbstm32/examples/os_simple/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # Version of build system 3 | REQUIRED_BUILD_SYSTEM_VERSION=1.0.0 4 | 5 | # Get configuration makefiles 6 | -include ../config/*.mk 7 | -include ../config/$(BOARDDIR)/*.mk 8 | 9 | 10 | # Project settings 11 | 12 | SELECT_CONSOLE = RAMLOG 13 | 14 | SELECT_OPT = OPT_DEBUG 15 | 16 | -------------------------------------------------------------------------------- /boards/stm32_mcbstm32/examples/os_simple/config/EcuM.mk: -------------------------------------------------------------------------------- 1 | 2 | MOD_USE += KERNEL ECUM MCU 3 | 4 | -------------------------------------------------------------------------------- /boards/stm32_mcbstm32/examples/os_simple/makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | PROJECTNAME=os_simple 4 | ROOTDIR?=../../../.. 5 | include $(ROOTDIR)/scripts/project_defaults.mk 6 | 7 | ifneq (${MAKELEVEL},0) 8 | 9 | # object files 10 | obj-y += os_simple.o 11 | obj-y += system_hooks.o 12 | 13 | VPATH += $(ROOTDIR)/examples 14 | VPATH += $(ROOTDIR)/examples/$(PROJECTNAME) 15 | 16 | endif 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /boards/stm32_mcbstm32/memory.ldf: -------------------------------------------------------------------------------- 1 | 2 | 3 | flash(R) : ORIGIN = 0x08000000, LENGTH = 128K 4 | ram(RW) : ORIGIN = 0x20000000, LENGTH = 20K 5 | -------------------------------------------------------------------------------- /boards/stm32_stm3210c/board_info.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/boards/stm32_stm3210c/board_info.txt -------------------------------------------------------------------------------- /boards/stm32_stm3210c/examples/com_simple/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # Version of build system 3 | REQUIRED_BUILD_SYSTEM_VERSION=1.0.0 4 | 5 | # Get configuration makefiles 6 | -include ../config/*.mk 7 | -include ../config/$(BOARDDIR)/*.mk 8 | 9 | 10 | # Project settings 11 | 12 | SELECT_CONSOLE = RAMLOG 13 | 14 | SELECT_OPT = OPT_DEBUG 15 | 16 | -------------------------------------------------------------------------------- /boards/stm32_stm3210c/examples/com_simple/config/CanIf_SpecialPdus.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: CanIf (CanIf_SpecialPdus.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): STM32_F107 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 2.0.6 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | 16 | #if !(((CANIF_SW_MAJOR_VERSION == 1) && (CANIF_SW_MINOR_VERSION == 3)) ) 17 | #error CanIf: Configuration file expected BSW module version to be 1.3.* 18 | #endif 19 | 20 | 21 | #ifndef CANIF_SPECIALPDUS_H_ 22 | #define CANIF_SPECIALPDUS_H_ 23 | 24 | 25 | 26 | #endif 27 | 28 | -------------------------------------------------------------------------------- /boards/stm32_stm3210c/examples/com_simple/config/EcuM.mk: -------------------------------------------------------------------------------- 1 | 2 | MOD_USE += CANIF COM DET ECUM KERNEL PDUR MCU PORT CAN 3 | 4 | -------------------------------------------------------------------------------- /boards/stm32_stm3210c/examples/com_simple/config/Port_Cfg.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Port (Port_Cfg.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): STM32_F107 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: null 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | 16 | #if !(((PORT_SW_MAJOR_VERSION == 1) && (PORT_SW_MINOR_VERSION == 0)) ) 17 | #error Port: Configuration file expected BSW module version to be 1.0.* 18 | #endif 19 | 20 | 21 | #ifndef PORT_CFG_H_ 22 | #define PORT_CFG_H_ 23 | 24 | #include "Std_Types.h" 25 | #include "Port_ConfigTypes.h" 26 | 27 | #define PORT_VERSION_INFO_API STD_OFF 28 | #define PORT_DEV_ERROR_DETECT STD_OFF 29 | #define PORT_SET_PIN_DIRECTION_API STD_OFF 30 | #define PORT_SET_PIN_MODE_API STD_OFF 31 | /** Instance of the top level configuration container */ 32 | extern const Port_ConfigType PortConfigData; 33 | 34 | #endif /* PORT_CFG_H_ */ 35 | -------------------------------------------------------------------------------- /boards/stm32_stm3210c/examples/os_simple/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # Version of build system 3 | REQUIRED_BUILD_SYSTEM_VERSION=1.0.0 4 | 5 | # Get configuration makefiles 6 | -include ../config/*.mk 7 | -include ../config/$(BOARDDIR)/*.mk 8 | 9 | MOD_USE+= DET 10 | 11 | # Project settings 12 | 13 | SELECT_CONSOLE = RAMLOG 14 | 15 | SELECT_OPT = OPT_DEBUG 16 | 17 | -------------------------------------------------------------------------------- /boards/stm32_stm3210c/examples/os_simple/config/EcuM.mk: -------------------------------------------------------------------------------- 1 | 2 | MOD_USE += MCU KERNEL ECUM 3 | 4 | -------------------------------------------------------------------------------- /boards/stm32_stm3210c/examples/os_simple/makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | PROJECTNAME=os_simple 4 | ROOTDIR?=../../../.. 5 | include $(ROOTDIR)/scripts/project_defaults.mk 6 | 7 | ifneq (${MAKELEVEL},0) 8 | 9 | # object files 10 | obj-y += os_simple.o 11 | obj-y += system_hooks.o 12 | 13 | VPATH += $(ROOTDIR)/examples 14 | VPATH += $(ROOTDIR)/examples/$(PROJECTNAME) 15 | 16 | endif 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /boards/stm32_stm3210c/memory.ldf: -------------------------------------------------------------------------------- 1 | 2 | 3 | flash(R) : ORIGIN = 0x08000000, LENGTH = 256K 4 | ram(RW) : ORIGIN = 0x20000000, LENGTH = 64K 5 | -------------------------------------------------------------------------------- /boards/ti_tms570ls/board_info.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | The Texas Instruments TMS570LS is an ARM 32-bit Cortes-R4 microcontroller. 4 | 5 | 6 | Datasheets: 7 | http://focus.ti.com/lit/ug/spnu489a/spnu489a.pdf 8 | -------------------------------------------------------------------------------- /boards/ti_tms570ls/examples/os_simple/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # Version of build system 3 | REQUIRED_BUILD_SYSTEM_VERSION=1.0.0 4 | 5 | # Get configuration makefiles 6 | -include ../config/*.mk 7 | -include ../config/$(BOARDDIR)/*.mk 8 | 9 | MOD_USE+= DET ECUM KERNEL RAMLOG -------------------------------------------------------------------------------- /boards/ti_tms570ls/examples/os_simple/config/EcuM.mk: -------------------------------------------------------------------------------- 1 | 2 | MOD_USE += KERNEL DET ECUM MCU 3 | 4 | -------------------------------------------------------------------------------- /boards/ti_tms570ls/examples/os_simple/makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | PROJECTNAME=os_simple 4 | ROOTDIR?=../../../.. 5 | include $(ROOTDIR)/scripts/project_defaults.mk 6 | 7 | ifneq (${MAKELEVEL},0) 8 | 9 | # object files 10 | obj-y += os_simple.o 11 | obj-y += system_hooks.o 12 | 13 | VPATH += $(ROOTDIR)/examples 14 | VPATH += $(ROOTDIR)/examples/$(PROJECTNAME) 15 | 16 | endif 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /boards/ti_tms570ls/examples/rte_simple/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # Version of build system 3 | REQUIRED_BUILD_SYSTEM_VERSION=1.0.0 4 | 5 | # Get configuration makefiles 6 | -include ../config/*.mk 7 | -include ../config/$(BOARDDIR)/*.mk 8 | 9 | MOD_USE+= DET ECUM KERNEL RAMLOG -------------------------------------------------------------------------------- /boards/ti_tms570ls/examples/rte_simple/config/Calibration_Settings.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Calibration_Settings.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): TMS570 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Calibration_Settings.h */ 16 | 17 | #ifndef CALIBRATION_SETTINGS_H 18 | #define CALIBRATION_SETTINGS_H 19 | 20 | #undef CALIBRATION_INITIALIZED_RAM 21 | 22 | #undef CALIBRATION_ENABLED 23 | 24 | #undef CALIBRATION_FLS_START 25 | 26 | 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /boards/ti_tms570ls/examples/rte_simple/config/CanIf_SpecialPdus.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: CanIf (CanIf_SpecialPdus.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): TMS570 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 2.0.6 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | 16 | #if !(((CANIF_SW_MAJOR_VERSION == 1) && (CANIF_SW_MINOR_VERSION == 3)) ) 17 | #error CanIf: Configuration file expected BSW module version to be 1.3.* 18 | #endif 19 | 20 | 21 | #ifndef CANIF_SPECIALPDUS_H_ 22 | #define CANIF_SPECIALPDUS_H_ 23 | 24 | 25 | 26 | #endif 27 | 28 | -------------------------------------------------------------------------------- /boards/ti_tms570ls/examples/rte_simple/config/Dio_Lcfg.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Dio (Dio_Lcfg.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): TMS570 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 2.0.0 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | 16 | 17 | #include "Dio.h" 18 | #include "Dio_Cfg.h" 19 | 20 | const Dio_ChannelType DioChannelConfigData[] = { 21 | DIO_CHANNEL_NAME_LED_CHANNEL, 22 | DIO_END_OF_LIST 23 | }; 24 | 25 | const Dio_PortType DioPortConfigData[] = { 26 | DIO_PORT_NAME_LED_PORT, 27 | DIO_END_OF_LIST 28 | }; 29 | 30 | const Dio_ChannelGroupType DioConfigData[] = { 31 | { 32 | .port = DIO_END_OF_LIST, 33 | .offset = 0, 34 | .mask = 0, 35 | } 36 | }; 37 | 38 | 39 | uint32 Dio_GetPortConfigSize(void) 40 | { 41 | return sizeof(DioConfigData); 42 | } 43 | -------------------------------------------------------------------------------- /boards/ti_tms570ls/examples/rte_simple/config/EcuM.mk: -------------------------------------------------------------------------------- 1 | 2 | MOD_USE += CAN CANIF COM DET ECUM MCU KERNEL PDUR PORT RTE DIO 3 | 4 | -------------------------------------------------------------------------------- /boards/ti_tms570ls/examples/rte_simple/config/Port_Cfg.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Port (Port_Cfg.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): TMS570 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 2.0.0 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | 16 | 17 | #include "Port.h" 18 | 19 | 20 | 21 | const Port_ConfigType PortConfigData = 22 | { 23 | .pins = { 24 | { 25 | .pin = PORT_PIN_DCAN1_TX, 26 | .conf = ( PORT_PIN_OUT | PORT_FUNC | PORT_PULL_NONE ), 27 | }, 28 | { 29 | .pin = PORT_PIN_DCAN1_RX, 30 | .conf = ( PORT_PIN_IN | PORT_FUNC | PORT_PULL_NONE ), 31 | }, 32 | { 33 | .pin = PORT_PIN_GIOA3, 34 | .conf = ( PORT_PIN_OUT | PORT_FUNC_NO | PORT_PULL_NONE ), 35 | }, 36 | } 37 | }; 38 | -------------------------------------------------------------------------------- /boards/ti_tms570ls/examples/rte_simple/config/Rte.mk: -------------------------------------------------------------------------------- 1 | obj-y += Rte.o 2 | obj-y += Rte_Data.o 3 | obj-y += Rte_Cbk.o 4 | obj-y += Rte_Calculator.o 5 | obj-y += Rte_Tester.o 6 | obj-y += Rte_Logger.o 7 | obj-y += Rte_Logger2.o 8 | -------------------------------------------------------------------------------- /boards/ti_tms570ls/examples/rte_simple/config/Rte_Calculator.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Calculator.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): TMS570 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Calculator.c */ 16 | #include 17 | #include "Os.h" 18 | #include "Rte_Calculator.h" 19 | #include "Rte_Data.h" 20 | #include "Com.h" 21 | 22 | -------------------------------------------------------------------------------- /boards/ti_tms570ls/examples/rte_simple/config/Rte_Calculator.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Calculator.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): TMS570 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Calculator.h */ 16 | 17 | #ifndef RTE_CALCULATOR_H 18 | #define RTE_CALCULATOR_H 19 | 20 | #include "Rte_Type.h" 21 | 22 | Std_ReturnType Multiply(const UInt8 arg1, const UInt8 arg2, UInt16* result); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /boards/ti_tms570ls/examples/rte_simple/config/Rte_Calculator_Internal.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Calculator_Internal.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): TMS570 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Calculator.h */ 16 | 17 | #ifndef RTE_CALCULATOR_H 18 | #define RTE_CALCULATOR_H 19 | 20 | #include "Rte_Type.h" 21 | 22 | Std_ReturnType Multiply(const UInt8 arg1, const UInt8 arg2, UInt16* result); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /boards/ti_tms570ls/examples/rte_simple/config/Rte_Cbk.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Cbk.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): TMS570 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Cbk.c */ 16 | #include "Os.h" 17 | #include "Rte_Data.h" 18 | 19 | void Rte_COMCbk_Arg1() { 20 | } 21 | 22 | void Rte_COMCbkTOut_Arg1() { 23 | } 24 | 25 | void Rte_COMCbk_Arg2() { 26 | } 27 | 28 | void Rte_COMCbkTOut_Arg2() { 29 | } 30 | 31 | void Rte_COMCbk_ResultSig() { 32 | } 33 | 34 | void Rte_COMCbkTOut_ResultSig() { 35 | } 36 | 37 | void Rte_COMCbk_FreqReqSig() { 38 | Rte_FreqReqRunnable(); 39 | } 40 | 41 | void Rte_COMCbkTOut_FreqReqSig() { 42 | } 43 | 44 | void Rte_COMCbk_FreqIndSig() { 45 | } 46 | 47 | void Rte_COMCbkTOut_FreqIndSig() { 48 | } 49 | 50 | -------------------------------------------------------------------------------- /boards/ti_tms570ls/examples/rte_simple/config/Rte_Data.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Data.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): TMS570 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Data.c */ 16 | #include "Os.h" 17 | #include "Rte_Data.h" 18 | #include "Rte_Type.h" 19 | #include 20 | 21 | UInt16 Rte_Buf_Tester_prototype_Result_result; 22 | 23 | void Rte_WriteBuffer_Rte_Buf_Tester_prototype_Result_result(UInt16 Value) { 24 | Rte_Buf_Tester_prototype_Result_result = Value; 25 | } 26 | 27 | -------------------------------------------------------------------------------- /boards/ti_tms570ls/examples/rte_simple/config/Rte_Data.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Data.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): TMS570 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Data.h */ 16 | 17 | #ifndef RTE_DATA_H 18 | #define RTE_DATA_H 19 | 20 | #include "Rte_Type.h" 21 | #include "cirq_buffer.h" 22 | 23 | extern UInt16 Rte_Buf_Tester_prototype_Result_result; 24 | 25 | void Rte_WriteBuffer_Rte_Buf_Tester_prototype_Result_result(UInt16 Value); 26 | 27 | void Rte_TesterRunnable(); 28 | 29 | void Rte_FreqReqRunnable(); 30 | 31 | Std_ReturnType Rte_Multiply(const UInt8 arg1, const UInt8 arg2, UInt16* result); 32 | 33 | void Rte_LoggerRunnable(); 34 | 35 | void Rte_Logger2Runnable(); 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /boards/ti_tms570ls/examples/rte_simple/config/Rte_Logger.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Logger.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): TMS570 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Logger.c */ 16 | #include 17 | #include "Os.h" 18 | #include "Rte_Logger.h" 19 | #include "Rte_Data.h" 20 | #include "Com.h" 21 | 22 | extern Rte_CDS_Logger Rte_Inst_Logger; 23 | 24 | UInt16 Rte_IRead_LoggerRunnable_Result_result() { 25 | return Rte_Inst_Logger.LoggerRunnable_Result_result->value; 26 | } 27 | 28 | -------------------------------------------------------------------------------- /boards/ti_tms570ls/examples/rte_simple/config/Rte_Logger.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Logger.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): TMS570 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Logger.h */ 16 | 17 | #ifndef RTE_LOGGER_H 18 | #define RTE_LOGGER_H 19 | 20 | #include "Rte_Type.h" 21 | 22 | UInt16 Rte_IRead_LoggerRunnable_Result_result(); 23 | 24 | void LoggerRunnable(); 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /boards/ti_tms570ls/examples/rte_simple/config/Rte_Logger2.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Logger2.c) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): TMS570 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Logger2.c */ 16 | #include 17 | #include "Os.h" 18 | #include "Rte_Logger2.h" 19 | #include "Rte_Data.h" 20 | #include "Com.h" 21 | 22 | extern Rte_CDS_Logger2 Rte_Inst_Logger2; 23 | 24 | UInt16 Rte_IRead_Logger2Runnable_Result_result() { 25 | return Rte_Inst_Logger2.Logger2Runnable_Result_result->value; 26 | } 27 | 28 | -------------------------------------------------------------------------------- /boards/ti_tms570ls/examples/rte_simple/config/Rte_Logger2.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Logger2.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): TMS570 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Logger2.h */ 16 | 17 | #ifndef RTE_LOGGER2_H 18 | #define RTE_LOGGER2_H 19 | 20 | #include "Rte_Type.h" 21 | 22 | UInt16 Rte_IRead_Logger2Runnable_Result_result(); 23 | 24 | void Logger2Runnable(); 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /boards/ti_tms570ls/examples/rte_simple/config/Rte_Logger2_Internal.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Logger2_Internal.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): TMS570 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Logger2.h */ 16 | 17 | #ifndef RTE_LOGGER2_H 18 | #define RTE_LOGGER2_H 19 | 20 | #include "Rte_Type.h" 21 | 22 | UInt16 Rte_IRead_Logger2Runnable_Result_result(); 23 | 24 | void Logger2Runnable(); 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /boards/ti_tms570ls/examples/rte_simple/config/Rte_Logger_Internal.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Logger_Internal.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): TMS570 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Logger.h */ 16 | 17 | #ifndef RTE_LOGGER_H 18 | #define RTE_LOGGER_H 19 | 20 | #include "Rte_Type.h" 21 | 22 | UInt16 Rte_IRead_LoggerRunnable_Result_result(); 23 | 24 | void LoggerRunnable(); 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /boards/ti_tms570ls/examples/rte_simple/config/Rte_Tester_Internal.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Configuration of module: Rte (Rte_Tester_Internal.h) 3 | * 4 | * Created by: 5 | * Copyright: 6 | * 7 | * Configured for (MCU): TMS570 8 | * 9 | * Module vendor: ArcCore 10 | * Generator version: 0.0.13 11 | * 12 | * Generated by Arctic Studio (http://arccore.com) 13 | */ 14 | 15 | /* Rte_Tester.h */ 16 | 17 | #ifndef RTE_TESTER_H 18 | #define RTE_TESTER_H 19 | 20 | #include "Rte_Type.h" 21 | 22 | UInt8 Rte_IRead_TesterRunnable_Arguments_arg1(); 23 | 24 | UInt8 Rte_IRead_TesterRunnable_Arguments_arg2(); 25 | 26 | void Rte_IWrite_TesterRunnable_Result_result(UInt16 Value); 27 | 28 | Std_ReturnType Rte_Call_Tester_Calculator_Multiply(const UInt8 arg1, 29 | const UInt8 arg2, UInt16* result); 30 | 31 | UInt32 Rte_IRead_FreqReqRunnable_FreqReq_freq(); 32 | 33 | void Rte_IWrite_FreqReqRunnable_FreqReqInd_freq(UInt32 Value); 34 | 35 | void TesterRunnable(); 36 | 37 | void FreqReqRunnable(); 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /boards/ti_tms570ls/examples/rte_simple/makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | PROJECTNAME=rte_simple 4 | ROOTDIR?=../../../.. 5 | include $(ROOTDIR)/scripts/project_defaults.mk 6 | include $(ROOTDIR)/examples/rte_simple/rte_simple.mk 7 | 8 | ifneq (${MAKELEVEL},0) 9 | 10 | # object files 11 | PROJECT_C_FILES=$(notdir $(wildcard ../*.c)) 12 | obj-y += $(PROJECT_C_FILES:%.c=%.o) 13 | 14 | VPATH += $(ROOTDIR)/examples 15 | VPATH += $(ROOTDIR)/examples/$(PROJECTNAME) 16 | 17 | endif 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /boards/ti_tms570ls/memory.ldf: -------------------------------------------------------------------------------- 1 | 2 | intvecs(R) : ORIGIN = 0x0000000, LENGTH = 0x60 3 | flash(R) : ORIGIN = 0x00000060, LENGTH = 2M 4 | ram(RW) : ORIGIN = 0x08000000, LENGTH = 160K 5 | -------------------------------------------------------------------------------- /common/tcf/Tcf_Cfg.c: -------------------------------------------------------------------------------- 1 | /* 2 | * tcf_cfg.c 3 | * 4 | * Created on: 15 sep 2010 5 | * Author: jcar 6 | */ 7 | #include "Tcf_Cfg.h" 8 | 9 | //Service includes 10 | #include "sys_monitor.h" 11 | #include "streams.h" 12 | 13 | const char locator_hello[] = "E\0Locator\0Hello\0[\"Locator\",\"SysMonitor\",\"AsciiStreams\",\"FileSystem\"]\0\x03\x01"; 14 | 15 | const TCF_Service_Info tcfServiceCfgList[] = { 16 | {"Locator", handle_LocatorCommand, handle_LocatorEvent}, 17 | {"FileSystem", handle_FileSystemCommand, handle_FileSystemEvent}, 18 | {"SysMonitor", handle_SysMonCommand, handle_SysMonEvent}, 19 | {"AsciiStreams", handle_StreamsCommand, handle_StreamsEvent}, 20 | {"NULL", NULL}, 21 | }; 22 | -------------------------------------------------------------------------------- /common/tcf/Tcf_Cfg.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Tcf_Cfg.h 3 | * 4 | * Created on: 15 sep 2010 5 | * Author: jcar 6 | */ 7 | 8 | #ifndef TCF_CFG_H_ 9 | #define TCF_CFG_H_ 10 | 11 | #include "tcf.h" 12 | 13 | typedef struct { 14 | char name[16]; 15 | TCF_Service_CommandHandler commandHandler; 16 | TCF_Service_EventHandler eventHandler; 17 | } TCF_Service_Info; 18 | 19 | extern const TCF_Service_Info tcfServiceCfgList[]; 20 | 21 | extern const char locator_hello[]; 22 | 23 | #endif /* TCF_CFG_H_ */ 24 | -------------------------------------------------------------------------------- /common/tcf/streams.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/common/tcf/streams.c -------------------------------------------------------------------------------- /common/tcf/streams.h: -------------------------------------------------------------------------------- 1 | /* 2 | * streams.h 3 | * 4 | * Created on: 15 sep 2010 5 | * Author: jcar 6 | */ 7 | 8 | #ifndef STREAMS_H_ 9 | #define STREAMS_H_ 10 | 11 | #include "Std_Types.h" 12 | #include "tcf.h" 13 | 14 | uint8_t TCF_TTY_SendChar (uint8_t ch); 15 | void init_streams(); 16 | 17 | uint16_t handle_StreamsCommand(TCF_Command* command, char* buf); 18 | uint16_t handle_StreamsEvent(TCF_Event* event, char* buf); 19 | 20 | #endif /* STREAMS_H_ */ 21 | -------------------------------------------------------------------------------- /common/tcf/sys_monitor.h: -------------------------------------------------------------------------------- 1 | /* 2 | * sys_monitor.h 3 | * 4 | * Created on: 15 sep 2010 5 | * Author: jcar 6 | */ 7 | 8 | #ifndef SYSMONITOR_H_ 9 | #define SYSMONITOR_H_ 10 | 11 | #include "Std_Types.h" 12 | #include "tcf.h" 13 | 14 | uint16_t handle_SysMonCommand(TCF_Command* command, char* buf); 15 | uint16_t handle_SysMonEvent(TCF_Event* event, char* buf); 16 | 17 | #endif /* SYSMONITOR_H_ */ 18 | -------------------------------------------------------------------------------- /communication/CanNm/CanNm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/communication/CanNm/CanNm.c -------------------------------------------------------------------------------- /communication/CanTp/CanTp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/communication/CanTp/CanTp.c -------------------------------------------------------------------------------- /communication/Com/Com_Cbk.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | #ifndef COM_CBK_H_ 24 | #define COM_CBK_H_ 25 | 26 | #endif /*COM_CBK_H_*/ 27 | -------------------------------------------------------------------------------- /communication/Com/Com_misc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/communication/Com/Com_misc.c -------------------------------------------------------------------------------- /diagnostic/Dcm/Rte_Dcm.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | #ifndef RTE_DCM_H_ 24 | #define RTE_DCM_H_ 25 | 26 | 27 | 28 | #endif /*RTE_DCM_H_*/ 29 | -------------------------------------------------------------------------------- /diagnostic/Det/Det.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/diagnostic/Det/Det.c -------------------------------------------------------------------------------- /diagnostic/readme.txt: -------------------------------------------------------------------------------- 1 | In this folder should modules related to diagnostic services be placed. -------------------------------------------------------------------------------- /drivers/serial_dbg_noice.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | #ifndef SERIAL_DBG_NOICE_H_ 17 | #define SERIAL_DBG_NOICE_H_ 18 | 19 | 20 | extern DeviceSerialType NoICE_Device; 21 | 22 | 23 | #endif /* SERIAL_DBG_NOICE_H_ */ 24 | -------------------------------------------------------------------------------- /drivers/serial_dbg_t32.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | #ifndef SERIAL_DBG_T32_H_ 17 | #define SERIAL_DBG_T32_H_ 18 | 19 | 20 | extern DeviceSerialType T32_Device; 21 | 22 | 23 | #endif /* SERIAL_DBG_T32_H_ */ 24 | -------------------------------------------------------------------------------- /drivers/serial_dbg_ude.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | #ifndef SERIAL_DBG_UDE_H_ 17 | #define SERIAL_DBG_UDE_H_ 18 | 19 | 20 | extern DeviceSerialType UDE_Device; 21 | 22 | 23 | #endif /* SERIAL_DBG_UDE_H_ */ 24 | -------------------------------------------------------------------------------- /drivers/serial_dbg_winidea.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | #ifndef SERIAL_DBG_WINIDEA_H_ 17 | #define SERIAL_DBG_WINIDEA_H_ 18 | 19 | 20 | extern DeviceSerialType WinIdea_Device; 21 | 22 | 23 | #endif /* SERIAL_DBG_WINIDEA_H_ */ 24 | -------------------------------------------------------------------------------- /examples/os_simple/example_info.txt: -------------------------------------------------------------------------------- 1 | 2 | DESCRIPTION 3 | This is a very simple example just to demonstrate some basic OS functionally 4 | 5 | WHAT IT DOES 6 | 1. An alarm sets Event1 in eTask1 7 | 2. eTask1 sets Event2 in eTask2 and waits for a new Event1 8 | 3. eTask2 activates bTask3 and waits for a new Event2 9 | 4. Back to 1 10 | 11 | -------------------------------------------------------------------------------- /examples/rte_simple/Calculator.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Calculator.c 3 | * 4 | * Created on: 16 jun 2011 5 | * Author: maek 6 | */ 7 | 8 | #include "Rte_Calculator.h" 9 | 10 | Std_ReturnType Multiply(const UInt8 arg1, const UInt8 arg2, UInt16* result) { 11 | *result = arg1 * arg2; 12 | return RTE_E_OK; 13 | } 14 | -------------------------------------------------------------------------------- /examples/rte_simple/Logger.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Logger.c 3 | * 4 | * Created on: 16 jun 2011 5 | * Author: maek 6 | */ 7 | 8 | #include "Rte_Logger.h" 9 | 10 | #define LOG_SIZE 10 11 | 12 | static UInt16 log[LOG_SIZE]; 13 | 14 | void LoggerRunnable( void ) { 15 | static uint8 index = 0; 16 | log[index++] = Rte_IRead_LoggerRunnable_Result_result(); 17 | if (index >= LOG_SIZE) index = 0; 18 | } 19 | -------------------------------------------------------------------------------- /examples/rte_simple/Logger2.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Logger.c 3 | * 4 | * Created on: 16 jun 2011 5 | * Author: maek 6 | */ 7 | 8 | #include "Rte_Logger2.h" 9 | 10 | #define LOG_SIZE 10 11 | 12 | static UInt16 log[LOG_SIZE]; 13 | 14 | void Logger2Runnable( void ) { 15 | static uint8 index = 0; 16 | log[index++] = Rte_IRead_Logger2Runnable_Result_result(); 17 | if (index >= LOG_SIZE) index = 0; 18 | } 19 | -------------------------------------------------------------------------------- /examples/rte_simple/Tester.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Tester.c 3 | * 4 | * Created on: 16 jun 2011 5 | * Author: maek 6 | */ 7 | 8 | #include "Rte_Tester.h" 9 | #include "Os.h" 10 | 11 | void TesterRunnable() { 12 | UInt8 arg1 = Rte_IRead_TesterRunnable_Arguments_arg1(); 13 | UInt8 arg2 = Rte_IRead_TesterRunnable_Arguments_arg2(); 14 | UInt16 result = 0; 15 | 16 | Std_ReturnType retVal = Rte_Call_Tester_Calculator_Multiply(arg1, arg2, &result); 17 | if (retVal == RTE_E_OK) { 18 | Rte_IWrite_TesterRunnable_Result_result(result); 19 | } else { 20 | Rte_IWrite_TesterRunnable_Result_result(0); 21 | } 22 | } 23 | 24 | void FreqReqRunnable() { 25 | // Get frequency from COM stack. 26 | UInt32 freqReq = Rte_IRead_FreqReqRunnable_FreqReq_freq(); 27 | 28 | // Set the alarm that triggers the blinker. 29 | CancelAlarm(ALARM_ID_BlinkerAlarm); 30 | SetRelAlarm(ALARM_ID_BlinkerAlarm, 1, freqReq); 31 | 32 | // Echo the frequency back to COM stack. 33 | Rte_IWrite_FreqReqRunnable_FreqReqInd_freq(freqReq); 34 | } 35 | -------------------------------------------------------------------------------- /examples/rte_simple/rte_simple.mk: -------------------------------------------------------------------------------- 1 | obj-y += Calculator.o 2 | obj-y += Logger.o 3 | obj-y += Logger2.o 4 | obj-y += Tester.o 5 | obj-y += rte_simple.o 6 | obj-y += system_hooks.o -------------------------------------------------------------------------------- /include/CalibrationData.h: -------------------------------------------------------------------------------- 1 | #ifndef CALIBRATIONDATA_H_ 2 | #define CALIBRATIONDATA_H_ 3 | 4 | #include "Calibration_Settings.h" 5 | 6 | #ifdef CALIBRATION_ENABLED 7 | /* Section data from linker script. */ 8 | extern char __CALIB_RAM_START; 9 | extern char __CALIB_RAM_END; 10 | extern char __CALIB_ROM_START; 11 | #endif /* CALIBRATION_ENABLED */ 12 | #define ARC_DECLARE_CALIB(type, name) type __attribute__((section (".calibration"))) name 13 | #define ARC_DECLARE_CALIB_SHARED(type, name) type __attribute__((section (".calib_shared"))) name 14 | #define ARC_DECLARE_CALIB_EXTERN(type, name) extern type name 15 | #define ARC_DECLARE_CALIB_COMPONENT(type, name) type __attribute__((section (".calib_component"))) name 16 | #endif /* CALIBRATIONDATA_H_ */ 17 | -------------------------------------------------------------------------------- /include/CanNm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/include/CanNm.h -------------------------------------------------------------------------------- /include/CanNm_Cbk.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | 17 | #ifndef CANNM_CBK_H_ 18 | #define CANNM_CBK_H_ 19 | 20 | /* We need this to export pdu id's */ 21 | #include "CanNm.h" 22 | 23 | #endif /* CANNM_CBK_H_ */ 24 | -------------------------------------------------------------------------------- /include/CanSM_ComM.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | 17 | #ifndef CANSM_COMM_H_ 18 | #define CANSM_COMM_H_ 19 | 20 | 21 | #endif /* CANSM_COMM_H_ */ 22 | -------------------------------------------------------------------------------- /include/ComM_Dcm.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | #ifndef COMM_DCM_H 24 | #define COMM_DCM_H 25 | 26 | void ComM_DCM_ActiveDiagnostic(void); 27 | void ComM_DCM_InactiveDiagnostic(void); 28 | 29 | #endif /*COMM_DCM_H*/ 30 | -------------------------------------------------------------------------------- /include/ComM_Types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/include/ComM_Types.h -------------------------------------------------------------------------------- /include/Dcm_Cbk.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/include/Dcm_Cbk.h -------------------------------------------------------------------------------- /include/EcuM_Types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/include/EcuM_Types.h -------------------------------------------------------------------------------- /include/Eep_ConfigTypes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/include/Eep_ConfigTypes.h -------------------------------------------------------------------------------- /include/LinIf_Cbk.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | #ifndef LINIF_CBK_H_ 24 | #define LINIF_CBK_H_ 25 | 26 | #include "Std_Types.h" 27 | 28 | void LinIf_Cbk_CheckWakeup(NetworkHandleType Channel); 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /include/Lin_Types.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | #ifndef LIN_TYPES_H_ 24 | #define LIN_TYPES_H_ 25 | 26 | #include "Std_Types.h" 27 | 28 | #endif -------------------------------------------------------------------------------- /include/Nm_Cbk.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | 17 | #ifndef NM_CBK_H_ 18 | #define NM_CBK_H_ 19 | 20 | 21 | #endif /* NM_CBK_H_ */ 22 | -------------------------------------------------------------------------------- /include/Rte_Main.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | #ifndef RTE_MAIN_H_ 17 | #define RTE_MAIN_H_ 18 | 19 | Std_ReturnType Rte_Start( void ); 20 | Std_ReturnType Rte_Stop( void ); 21 | 22 | #endif /*RTE_MAIN_H_*/ 23 | -------------------------------------------------------------------------------- /include/perf.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Perf.h 3 | * 4 | * Created on: 16 apr 2013 5 | * Author: Mahil 6 | */ 7 | 8 | #ifndef PERF_H_ 9 | #define PERF_H_ 10 | 11 | void Perf_Trigger(void); 12 | void Perf_Init( void ); 13 | 14 | #endif /* PERF_H_ */ 15 | -------------------------------------------------------------------------------- /include/shell.h: -------------------------------------------------------------------------------- 1 | /**MARTEN_HEADER**/ 2 | 3 | 4 | #ifndef SHELL_H_ 5 | #define SHELL_H_ 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #include "sys/queue.h" 12 | 13 | typedef int (*ShellFuncT)(int argc, char *argv[]); 14 | 15 | typedef struct ShellCmd { 16 | ShellFuncT func; 17 | int argMin; /* excluding cmd, from 0 -> */ 18 | int argMax; /* excluding cmd, from 0 -> */ 19 | const char *cmd; 20 | const char *shortDesc; 21 | const char *longDesc; 22 | TAILQ_ENTRY(ShellCmd) cmdEntry; 23 | } ShellCmdT; 24 | 25 | int SHELL_AddCmd(ShellCmdT *shellCmd); 26 | int SHELL_RunCmd(const char *cmdArgs, int *cmdRv ); 27 | int SHELL_Init( void ); 28 | int SHELL_Mainloop( void ); 29 | 30 | #define SHELL_E_OK 0 31 | #define SHELL_E_CMD_TOO_LONG 1 32 | #define SHELL_E_CMD_IS_NULL 2 33 | #define SHELL_E_NO_SUCH_CMD 3 34 | 35 | 36 | #ifdef __cplusplus 37 | } 38 | #endif 39 | 40 | #endif /* SHELL_H_ */ 41 | -------------------------------------------------------------------------------- /readme.txt: -------------------------------------------------------------------------------- 1 | 2 | Arctic Core - the open source AUTOSAR embedded platform 3 | 4 | 5 | For information on getting started with Arctic Core, please take a look at: 6 | http://arccore.com/wiki/Quick-start_Tutorial 7 | 8 | For more general information and help, browse the wiki at: 9 | http://arccore.com/wiki/ 10 | 11 | or post a question in the forum: 12 | https://arccore.com/forum/ 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /scripts/build_all.sh: -------------------------------------------------------------------------------- 1 | #/bin/bash 2 | # Usage: 3 | # 4 | # build_all 5 | # 6 | 7 | SCRIPT_DIR=`dirname $0` 8 | . ${SCRIPT_DIR}/build_ppc.sh 9 | . ${SCRIPT_DIR}/build_arm.sh 10 | 11 | exit 0 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /scripts/build_arm.sh: -------------------------------------------------------------------------------- 1 | #/bin/bash 2 | 3 | function quit { 4 | echo 5 | echo "### BUILD FAILED" 6 | echo 7 | exit $1 8 | } 9 | 10 | SCRIPT_DIR=`dirname $0` 11 | ARCH=ARM 12 | source ${SCRIPT_DIR}/guess_cc.sh 13 | 14 | export BDIR=examples/tiny 15 | make BOARDDIR=stm32_stm3210c clean 16 | make BOARDDIR=stm32_stm3210c all 17 | if [ $? -ne 0 ]; then quit 1 18 | fi 19 | 20 | export BDIR=examples/simple 21 | make BOARDDIR=stm32_stm3210c clean 22 | make BOARDDIR=stm32_stm3210c all 23 | if [ $? -ne 0 ]; then quit 1 24 | fi 25 | 26 | # Problems memory.. 27 | #export BDIR=system/kernel/testsystem/suite_01,system/kernel/testsystem/suite_02, system/kernel/testsystem/suite_03 28 | #make BOARDDIR=stm32_stm3210c clean 29 | #make BOARDDIR=stm32_stm3210c all 30 | #if [ $? -ne 0 ]; then quit 1 31 | #fi 32 | 33 | 34 | -------------------------------------------------------------------------------- /scripts/build_example.sh: -------------------------------------------------------------------------------- 1 | #/bin/bash 2 | # Usage: 3 | # build_example 4 | # 5 | # Example: build_example all|clean ARM|PPC mpc551xsim| simple|tiny|..... 6 | # 7 | function quit { 8 | echo 9 | echo "### BUILD FAILED" 10 | echo 11 | exit $1 12 | } 13 | 14 | if [ $# -ne 4 ]; then 15 | echo "usage:" 16 | echo " build_example " 17 | echo " - all | clean" 18 | echo " - ARM | PPC | HCS12" 19 | echo " - mpc551xsim | ..." 20 | echo " - simple | tiny | ..." 21 | echo "" 22 | echo "example:" 23 | echo " $build_example all PPC mpc551xsim examples/simple" 24 | quit 1; 25 | fi 26 | 27 | SCRIPT_DIR=`dirname $0` 28 | ARCH=$2 29 | source ${SCRIPT_DIR}/guess_cc.sh 30 | 31 | export BDIR=$4 32 | make BOARDDIR=$3 $1 33 | if [ $? -ne 0 ]; then quit 1 34 | fi 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /scripts/cc_pclint.mk: -------------------------------------------------------------------------------- 1 | 2 | lintdef_ext=-d 3 | lintinc_ext=-i 4 | 5 | lint_extra=+v -b -i$(TOPDIR)/scripts/pclint -i$(TOPDIR)/scripts/pclint/lnt std.lnt 6 | inc-y += $(cc_inc_path) 7 | #lint_files=$(TOPDIR)/scripts/lint/std.lnt 8 | #lint_files=$(TOPDIR)/scripts/lint/lnt/au-misra2.lnt 9 | #lint_files+=$(TOPDIR)/scripts/lint/lnt/au-misra2.lnt 10 | 11 | #$(addprefix -i,$(abs-inc-y)) /C/lint/std.lnt $(abspath $<)) 12 | -------------------------------------------------------------------------------- /scripts/cc_splint.mk: -------------------------------------------------------------------------------- 1 | 2 | lintdef_ext=-D 3 | lintinc_ext=-I 4 | 5 | #splint_extra=+v -b -i$(TOPDIR)/scripts/pclint -i$(TOPDIR)/scripts/pclint/lnt std.lnt 6 | splint_extra=+nolib 7 | inc-y += $(cc_inc_path) 8 | #lint_files=$(TOPDIR)/scripts/lint/std.lnt 9 | #lint_files=$(TOPDIR)/scripts/lint/lnt/au-misra2.lnt 10 | #lint_files+=$(TOPDIR)/scripts/lint/lnt/au-misra2.lnt 11 | 12 | #$(addprefix -i,$(abs-inc-y)) /C/lint/std.lnt $(abspath $<)) 13 | -------------------------------------------------------------------------------- /scripts/compilers.txt: -------------------------------------------------------------------------------- 1 | ti_tms570ls:arm-none-eabi/bin/arm-none-eabi- 2 | stm32_mcbstm32:arm-none-eabi/bin/arm-none-eabi- 3 | stm32_stm3210c:arm-none-eabi/bin/arm-none-eabi- 4 | mpc5516it:powerpc-eabispe/bin/powerpc-eabispe- 5 | mpc5567qrtech:powerpc-eabispe/bin/powerpc-eabispe- 6 | mpc551xsim:powerpc-eabispe/bin/powerpc-eabispe- 7 | mpc5554sim:powerpc-eabispe/bin/powerpc-eabispe- 8 | hcs12_elmicro_card12:m6811-elf/bin/m6811-elf- 9 | hcs12x_elmicro_tboard:m6811-elf/bin/m6811-elf- 10 | linux: 11 | -------------------------------------------------------------------------------- /scripts/fix_includes.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | DIR=`pwd`; 4 | 5 | HEADER_FILES=`find $DIR -name '*.h'`; 6 | 7 | #echo "Header files: $HEADER_FILES" 8 | echo "Mismatches:" 9 | for HEADER_FILE in $HEADER_FILES; do 10 | SHORTNAME=`basename $HEADER_FILE` 11 | MATCHNAME=`echo $SHORTNAME|sed 's/\./\\\\./'` 12 | echo "Investigating references to $SHORTNAME (found at $HEADER_FILE)..." 13 | grep -rniI [/\"]$MATCHNAME --exclude '*.d' $DIR/* | grep -v $MATCHNAME 14 | done; 15 | 16 | echo "Done!"; 17 | 18 | -------------------------------------------------------------------------------- /scripts/gcc_getinclude.awk: -------------------------------------------------------------------------------- 1 | # 2 | # Get include dirs from: 3 | # touch apa.c 4 | # gcc -v -c apa.c 5 | # 6 | # "#include <...> search starts here:" to "End of search list." 7 | # 8 | 9 | /#include <...> search starts here:/,/End of search list/ { 10 | 11 | if (!(($1=="#include")||($1=="End"))) 12 | print $0 13 | } 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /scripts/memory_footprint_cw.awk: -------------------------------------------------------------------------------- 1 | 2 | /^[ \t]+__rom_start/ { 3 | rom_start=strtonum("0x"$2) 4 | } 5 | /^[ \t]+__rom_end/ { 6 | rom_end=strtonum("0x"$2) 7 | } 8 | 9 | /^[ \t]+__ram_start/ { 10 | ram_start=strtonum("0x"$2) 11 | } 12 | 13 | /^[ \t]+__ram_end/ { 14 | ram_end=strtonum("0x"$2) 15 | } 16 | 17 | END { 18 | kilobyte = 1024 19 | 20 | printf " ROM %8x %8x %10.1f\n", rom_start, rom_end, (rom_end-rom_start)/kilobyte; 21 | printf " RAM %8x %8x %10.1f\n", ram_start, ram_end, (ram_end-ram_start)/kilobyte; 22 | 23 | } -------------------------------------------------------------------------------- /scripts/memory_footprint_gcc.awk: -------------------------------------------------------------------------------- 1 | 2 | BEGIN { 3 | kilobyte = 1024 4 | 5 | print " >> Image size: (decimal)" 6 | } 7 | 8 | /^\.text/ { 9 | text += $3; 10 | rom+=$3 11 | }; 12 | 13 | /^\.data/ { 14 | data += $3; 15 | rom+=$3; 16 | ram+=$3 17 | }; 18 | 19 | /^\.bss/ { 20 | bss += $3; 21 | ram+=$3 22 | }; 23 | 24 | END { 25 | 26 | printf "%-10s %10s %10.1f %s\n", " text:", text " B", text/kilobyte, "kB"; 27 | printf "%-10s %10s %10.1f %s\n", " data:", data " B", data/kilobyte, "kB"; 28 | printf "%-10s %10s %10.1f %s\n", " bss:", bss " B", bss/kilobyte, "kB"; 29 | printf "%-10s %10s %10.1f %s\n", " ROM:", rom " B", rom/kilobyte, "kB"; 30 | printf "%-10s %10s %10.1f %s\n", " RAM:", ram " B", ram/kilobyte, "kB"; 31 | 32 | } -------------------------------------------------------------------------------- /scripts/pclint/lintGccFlags/size-options.lnt: -------------------------------------------------------------------------------- 1 | -ss2 2 | -si4 3 | -sl4 4 | -sll8 5 | -sf4 6 | -sd8 7 | -sld8 8 | -sp4 9 | 10 | -------------------------------------------------------------------------------- /scripts/pclint/lnt/au-misra.lnt: -------------------------------------------------------------------------------- 1 | 2 | // au-misra.lnt -- Author options - MISRA 3 | // Traditionally this file has held the lastest misra standard. 4 | // There have been two standards published: MISRA 1998 and MISRA 2004. 5 | // We have two files bearing options that, respectively, activate 6 | // these standards: au-misra1.lnt and au-misra2.lnt 7 | // Currently MISRA 2004 is the preferred standard. 8 | // Prior to publishing the 2nd standard, the file au-misra.lnt was 9 | // used to hold the then current misra standard. We are maintaining 10 | // this file to afford backward compatibility. 11 | 12 | au-misra2.lnt 13 | -------------------------------------------------------------------------------- /scripts/pclint/lnt/size-options.lnt: -------------------------------------------------------------------------------- 1 | -ss2 2 | -si4 3 | -sl4 4 | -sll8 5 | -sf4 6 | -sd8 7 | -sld8 8 | -sp4 9 | 10 | -------------------------------------------------------------------------------- /scripts/req-os.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/scripts/req-os.xlsx -------------------------------------------------------------------------------- /system/SchM/SchM_CanIf.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | #ifndef SCHM_CANIF_H_ 17 | #define SCHM_CANIF_H_ 18 | 19 | 20 | #endif /* SCHM_CANIF_H_ */ 21 | -------------------------------------------------------------------------------- /system/SchM/SchM_CanNm.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | #ifndef SCHM_CANNM_H_ 17 | #define SCHM_CANNM_H_ 18 | 19 | #define SCHM_MAINFUNCTION_CANNM() SCHM_MAINFUNCTION(CANNM,CanNm_MainFunction_All_Channels()) 20 | 21 | 22 | #endif /* SCHM_CANNM_H_ */ 23 | -------------------------------------------------------------------------------- /system/SchM/SchM_CanSM.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | 17 | #ifndef SCHM_CANSM_H_ 18 | #define SCHM_CANSM_H_ 19 | 20 | #define SCHM_MAINFUNCTION_CANSM() SCHM_MAINFUNCTION(CANSM,CanSM_MainFunction()) 21 | 22 | #endif /* SCHM_CANSM_H_ */ 23 | -------------------------------------------------------------------------------- /system/SchM/SchM_CanTp.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | #ifndef SCHM_CANTP_H_ 17 | #define SCHM_CANTP_H_ 18 | 19 | #define SCHM_MAINFUNCTION_CANTP() SCHM_MAINFUNCTION(CANTP,CanTp_MainFunction()) 20 | 21 | #endif /* SCHM_CANTP_H_ */ 22 | -------------------------------------------------------------------------------- /system/SchM/SchM_ComM.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | 17 | #ifndef SCHM_COMM_H_ 18 | #define SCHM_COMM_H_ 19 | 20 | #define SCHM_MAINFUNCTION_COMM() SCHM_MAINFUNCTION(COMM,ComM_MainFunction_All_Channels()) 21 | 22 | #endif /* SCHM_COMM_H_ */ 23 | -------------------------------------------------------------------------------- /system/SchM/SchM_Dcm.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | 17 | #ifndef SCHM_DCM_H_ 18 | #define SCHM_DCM_H_ 19 | 20 | #define SCHM_MAINFUNCTION_DCM() SCHM_MAINFUNCTION(DCM,Dcm_MainFunction()) 21 | 22 | #endif /* SCHM_DCM_H_ */ 23 | -------------------------------------------------------------------------------- /system/SchM/SchM_Dem.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | 17 | #ifndef SCHM_DEM_H_ 18 | #define SCHM_DEM_H_ 19 | 20 | #define SCHM_MAINFUNCTION_DEM() SCHM_MAINFUNCTION(DEM,Dem_MainFunction()) 21 | 22 | #endif /* SCHM_DEM_H_ */ 23 | -------------------------------------------------------------------------------- /system/SchM/SchM_Ea.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | #ifndef SCHM_EA_H 17 | #define SCHM_EA_H_ 18 | 19 | #define SCHM_MAINFUNCTION_EA() SCHM_MAINFUNCTION(EA,Ea_MainFunction()) 20 | 21 | #endif /* SCHM_EA_H_ */ 22 | -------------------------------------------------------------------------------- /system/SchM/SchM_Eep.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | #ifndef SCHM_EEP_H_ 17 | #define SCHM_EEP_H_ 18 | 19 | #define SCHM_MAINFUNCTION_EEP() SCHM_MAINFUNCTION(EEP,Eep_MainFunction()) 20 | 21 | #endif /* SCHM_EEP_H_ */ 22 | -------------------------------------------------------------------------------- /system/SchM/SchM_Fee.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | 17 | 18 | #ifndef SCHM_FEE_H_ 19 | #define SCHM_FEE_H_ 20 | 21 | #define SCHM_MAINFUNCTION_FEE() SCHM_MAINFUNCTION(FEE,Fee_MainFunction()) 22 | 23 | #endif /* SCHM_FEE_H_ */ 24 | -------------------------------------------------------------------------------- /system/SchM/SchM_Fls.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | 17 | 18 | #ifndef SCHM_FLS_H_ 19 | #define SCHM_FLS_H_ 20 | 21 | #define SCHM_MAINFUNCTION_FLS() SCHM_MAINFUNCTION(FLS,Fls_MainFunction()) 22 | 23 | #endif /* SCHM_FLS_H_ */ 24 | -------------------------------------------------------------------------------- /system/SchM/SchM_IoHwAb.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | #ifndef SCHM_IOHWAB_H_ 17 | #define SCHM_IOHWAB_H_ 18 | 19 | #define SCHM_MAINFUNCTION_IOHWAB() SCHM_MAINFUNCTION(IOHWAB,IoHwAb_MainFunction()) 20 | 21 | 22 | #endif /* SCHM_IOHWAB_H_ */ 23 | -------------------------------------------------------------------------------- /system/SchM/SchM_Nm.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | 17 | #ifndef SCHM_NM_H_ 18 | #define SCHM_NM_H_ 19 | 20 | #define SCHM_MAINFUNCTION_NM() SCHM_MAINFUNCTION(NM,Nm_MainFunction()) 21 | 22 | #endif /* SCHM_NM_H_ */ 23 | -------------------------------------------------------------------------------- /system/SchM/SchM_NvM.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | 17 | #ifndef SCHM_NVM_H_ 18 | #define SCHM_NVM_H_ 19 | 20 | #define SCHM_MAINFUNCTION_NVM() SCHM_MAINFUNCTION(NVM,NvM_MainFunction()) 21 | 22 | #endif /* SCHM_NVM_H_ */ 23 | -------------------------------------------------------------------------------- /system/SchM/SchM_PduR.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | #ifndef SCHM_PDUR_H_ 17 | #define SCHM_PDUR_H_ 18 | 19 | 20 | 21 | #endif /* SCHM_PDUR_H_ */ 22 | -------------------------------------------------------------------------------- /system/SchM/SchM_Pwm.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | #ifndef SCHM_PWM_H_ 17 | #define SCHM_PWM_H_ 18 | 19 | 20 | 21 | #endif /* SCHM_PWM_H_ */ 22 | -------------------------------------------------------------------------------- /system/SchM/SchM_Spi.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | 17 | #ifndef SCHM_SPI_H_ 18 | #define SCHM_SPI_H_ 19 | 20 | /* TODO */ 21 | #define SCHM_MAINFUNCTION_SPI() 22 | 23 | #endif /* SCHM_NVM_H_ */ 24 | -------------------------------------------------------------------------------- /system/kernel/include/application.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/system/kernel/include/application.h -------------------------------------------------------------------------------- /system/kernel/include/hooks.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | #ifndef HOOKS_H_ 17 | #define HOOKS_H_ 18 | 19 | #endif /*HOOKS_H_*/ 20 | -------------------------------------------------------------------------------- /system/kernel/include/swap.h: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | 17 | #error obsolete, remove.. 18 | -------------------------------------------------------------------------------- /system/kernel/memory.c: -------------------------------------------------------------------------------- 1 | /* -------------------------------- Arctic Core ------------------------------ 2 | * Arctic Core - the open source AUTOSAR platform http://arccore.com 3 | * 4 | * Copyright (C) 2009 ArcCore AB 5 | * 6 | * This source code is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU General Public License version 2 as published by the 8 | * Free Software Foundation; See . 9 | * 10 | * This program is distributed in the hope that it will be useful, but 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 | * for more details. 14 | * -------------------------------- Arctic Core ------------------------------*/ 15 | 16 | #error Do not use this file, SC3 or SC4 is not supported yet. 17 | 18 | 19 | #include "Os.h" 20 | 21 | -------------------------------------------------------------------------------- /system/kernel/resource.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/system/kernel/resource.c -------------------------------------------------------------------------------- /system/readme.txt: -------------------------------------------------------------------------------- 1 | In this directory modules related to the System services specifications 2 | should be placed. -------------------------------------------------------------------------------- /tools/t32/Shortcut to t32mppc.lnk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/tools/t32/Shortcut to t32mppc.lnk -------------------------------------------------------------------------------- /tools/t32/config_sim.t32: -------------------------------------------------------------------------------- 1 | 2 | 3 | PBI=SIM 4 | 5 | ; Printer settings 6 | PRINTER=WINDOWS 7 | 8 | 9 | ; Screen fonts 10 | SCREEN= 11 | FONT=SMALL 12 | -------------------------------------------------------------------------------- /tools/t32/copy_to_install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [ "$1" == "" ]; then 4 | echo "error: T32 Installation path not supplied" 5 | exit 1 6 | fi 7 | 8 | pwd_cmd=`cygpath -d \`pwd\`` 9 | #echo $pwd_cmd 10 | echo "cd ${pwd_cmd}" > $1/t32.cmm 11 | cat start.cmm >> $1/t32.cmm 12 | ##dos2unix $1/t32.cmm 13 | cp -v config_sim.t32 $1 14 | 15 | 16 | -------------------------------------------------------------------------------- /tools/t32/destroy_regs.cmm: -------------------------------------------------------------------------------- 1 | // Write pattern into regs. Check if they look the same after. 2 | LOCAL &i 3 | LOCAL &val 4 | &i=0. 5 | &val=0x00 6 | while &i<=31. 7 | ( 8 | spe.s R&i &val 9 | print &i 10 | &i=&i+1. 11 | &val=(&val<<8)+&i 12 | ) 13 | enddo 14 | 15 | -------------------------------------------------------------------------------- /tools/t32/lay.cmm: -------------------------------------------------------------------------------- 1 | // t32 Sun May 31 11:33:27 2009 2 | 3 | B:: 4 | 5 | TOOLBAR ON 6 | STATUSBAR ON 7 | WINPAGE.RESET 8 | 9 | WINCLEAR 10 | WINPOS 0% 0% 50% 69% 11 | d.l 12 | 13 | WINPOS 0% 70% 50% 30% 14 | area 15 | 16 | WINPOS 50% 0% 50% 30% 17 | var.ref 18 | 19 | do term 20 | 21 | WINPAGE.SELECT P000 22 | 23 | ENDDO 24 | 25 | -------------------------------------------------------------------------------- /tools/t32/maekLay.cmm: -------------------------------------------------------------------------------- 1 | // t32 Tue Oct 28 09:38:28 2008 2 | 3 | B:: 4 | 5 | TOOLBAR ON 6 | STATUSBAR ON 7 | WINPAGE.RESET 8 | 9 | WINCLEAR 10 | WINPOS 0.375 0.25 97. 25. 13. 1. W001 11 | WINTABS 10. 10. 25. 62. 12 | ws.d.l 13 | 14 | WINPOS 0.125 41.625 75. 14. 0. 0. W000 15 | ws.area 16 | 17 | WINPOS 97.75 38.688 77. 20. 0. 0. W002 18 | ws.r /spotlight 19 | 20 | WINPOS 97.75 30.813 80. 6. 23. 1. W003 21 | WINTABS 13. 0. 0. 0. 0. 0. 0. 22 | ws.b.l 23 | 24 | WINPOS 81.375 0.3125 74. 25. 0. 1. W005 25 | WINTABS 26. 26. 26 | sYmbol.Browse 27 | 28 | WINPAGE.SELECT P000 29 | 30 | ENDDO 31 | -------------------------------------------------------------------------------- /tools/t32/makefile: -------------------------------------------------------------------------------- 1 | #drivers 2 | 3 | install-file-y += $(ROOTDIR)/t32/*.cmm,t32 4 | install-file-y += $(ROOTDIR)/t32/*.dll,t32 5 | install-file-y += $(ROOTDIR)/t32/*.men,t32 6 | -------------------------------------------------------------------------------- /tools/t32/mpc55xx_sim.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inniyah/arccore/3461a1eb659b454231808394d326e8bcf64b8c07/tools/t32/mpc55xx_sim.dll -------------------------------------------------------------------------------- /tools/t32/ramlog.cmm: -------------------------------------------------------------------------------- 1 | area.clear RAMLOG 2 | AREA.Create RAMLOG 3 | AREA.Select RAMLOG 4 | AREA RAMLOG 5 | Data.STRING v.range(ramlog) 6 | // Select standard area again.. 7 | area.select A000 8 | enddo 9 | 10 | -------------------------------------------------------------------------------- /tools/t32/sim_mpc55xx.cmm: -------------------------------------------------------------------------------- 1 | // wclear 2 | 3 | // system.up 4 | sim.res 5 | sim.unload 6 | // arg 1-blaj 7 | // arg 2-blaj 8 | // arg 3-debug : 0 9 | 10 | sim.load mpc55xx_sim.dll 20000 0 0 11 | // sim.load C:\projects\workspace\t32_sim\Release\mpc55xx_sim.dll 20000 0 1 12 | 13 | enddo 14 | 15 | name.s p.128 timer0 16 | name.s p.129 timer1 17 | name.s p.130 timer2 18 | name.s p.131 timer3 19 | name.s p.132 timer4 20 | name.s p.133 timer5 21 | name.s p.134 timer6 22 | name.s p.135 timer7 23 | name.group g.timer p.timer0 p.timer1 p.timer2 p.timer3 p.timer4 p.timer5 p.timer6 p.timer7 24 | name.word w.timer g.timer 25 | 26 | per demoport 27 | 28 | enddo 29 | 30 | 31 | term.protocol sim 32 | winpos ,,,,,,, iconic 33 | term 1 1 34 | 35 | winpos ,,,,,,, iconic 36 | port.get 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /tools/t32/term.cmm: -------------------------------------------------------------------------------- 1 | // Manage T32 terminal 2 | // 3 | // args 4 | // 1 - file, if non-empty output is also written to this file. 5 | 6 | LOCAL &file 7 | ENtry &file 8 | winclear my_term 9 | WinPOS 50% 50% 50% 50% 1. 1. my_term 10 | term.size 80. 300. 11 | term.scroll on 12 | term.mode vt100 13 | 14 | IF CPUFAMILY()=="ARM" 15 | ( 16 | term.METHOD SE e:address.offset(v.address(t32_outport)) e:0 17 | term.view 18 | ) 19 | ELSE 20 | ( 21 | term.view e:address.offset(v.address(t32_outport)) e:address.offset(v.address(t32_inport)) 22 | IF "&file"!="" 23 | term.write e:address.offset(v.address(t32_outport)) "&file" 24 | ) 25 | 26 | enddo 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | --------------------------------------------------------------------------------