├── LICENSE.md ├── Peripherals └── IoHwAb │ ├── IoHwAb.mod.mk │ └── inc │ ├── IoHwAb.h │ ├── IoHwAb_Internal.h │ └── IoHwAb_Types.h ├── README.md ├── arch ├── generic │ └── linux │ │ └── drivers │ │ └── McuExtensionsStub.c └── transceivers │ └── tja1145 │ ├── CanTrcv_TJA1145.c │ └── CanTrcv_TJA1145.h ├── base ├── Calibration_Settings.h ├── PreCompiledDataHash.h ├── base.mod.mk └── compiler │ ├── Compiler.h │ ├── Compiler_Arc.h │ └── Compiler_Cfg.h ├── boards ├── board_common.mk ├── build_config_bsw.mk ├── generic │ ├── Calibration_Settings.h │ ├── CanTp_Cfg.c │ ├── CanTp_Cfg.h │ ├── Compiler_Cfg.h │ ├── Crc_Cfg.h │ ├── Dcm_Cfg.h │ ├── Dcm_LCfg.c │ ├── Dem_Cfg.h │ ├── Dem_EnableCondId.h │ ├── Dem_IntErrId.h │ ├── Dem_IntEvtId.h │ ├── Dem_LCfg.c │ ├── Det_Cfg.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 │ ├── Mcu_Cfg.h │ ├── MemIf_Cfg.h │ ├── NvM_Cfg.c │ ├── NvM_Cfg.h │ ├── PreCompiledDataHash.h │ ├── RamTst_Cfg.c │ ├── RamTst_Cfg.h │ └── SchM_cfg.h ├── gnulinux │ ├── Adc_ConfigTypes.h │ ├── Cpu.h │ ├── Mcu.h │ ├── board_info.txt │ ├── build_config.mk │ └── config │ │ ├── Dcm_Cfg.h │ │ ├── EcuM_Cfg.h │ │ ├── EcuM_Generated_Types.h │ │ ├── Fls_Cfg.c │ │ ├── Fls_Cfg.h │ │ ├── Wdg_Cfg.h │ │ └── Wdg_Lcfg.c ├── jacinto5 │ ├── board_info.txt │ ├── build_config.mk │ ├── config │ │ ├── Eep_Cfg.h │ │ ├── Eep_Lcfg.c │ │ ├── Fls_Cfg.c │ │ └── Fls_Cfg.h │ └── memory.ldf ├── jacinto5e │ ├── board_info.txt │ ├── build_config.mk │ ├── config │ │ ├── Eep_Cfg.h │ │ ├── Eep_Lcfg.c │ │ ├── Fls_Cfg.c │ │ └── Fls_Cfg.h │ └── memory.ldf ├── jacinto6 │ ├── board_info.txt │ ├── build_config.mk │ └── memory.ldf ├── jacinto6_vayu_evm │ ├── board_info.txt │ ├── build_config.mk │ ├── config │ │ ├── I2c.mk │ │ ├── I2c_Cfg.h │ │ └── I2c_LCfg.c │ └── memory.ldf ├── linux │ ├── Os.h │ ├── build_config.mk │ ├── memory.ldf │ └── os_trap.h ├── mpc5516it │ ├── 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 │ │ ├── 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 ├── 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 │ │ └── Wdg_Lcfg.c ├── mpc5604b_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 ├── 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 ├── 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 ├── mpc5607b_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 ├── 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 ├── mpc5643l_spc56l │ ├── 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 ├── mpc5644a_xpc564a │ ├── 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 ├── mpc5645s_demo_v2 │ ├── 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 │ │ ├── Mcu_Arc_Cfg.c │ │ ├── Mcu_Arc_Cfg.h │ │ ├── Wdg_Cfg.h │ │ └── Wdg_Lcfg.c ├── mpc5646b_xpc564xbc │ ├── 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 │ │ ├── Mcu_Arc_Cfg.h │ │ ├── Wdg_Cfg.h │ │ └── Wdg_Lcfg.c ├── mpc5668_gkit │ ├── 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 ├── mpc5744p_mmb │ ├── 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 ├── mpc5746c_mpc574xg_mb │ ├── board_info.txt │ ├── build_config.mk │ └── config │ │ ├── Eep_Cfg.h │ │ ├── Eep_Lcfg.c │ │ ├── Fls_Cfg.c │ │ └── Fls_Cfg.h ├── mpc5748g_mpc574xg_mb │ ├── board_info.md │ ├── build_config.mk │ └── config │ │ ├── Eep_Cfg.h │ │ ├── Eep_Lcfg.c │ │ ├── Fls_Cfg.c │ │ └── Fls_Cfg.h ├── mpc5777c_mpc57xx_mb │ ├── 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 ├── mpc5777m_mmb │ ├── 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 ├── no_os │ ├── Os.h │ ├── config │ │ ├── Dcm_Cfg.h │ │ ├── EcuM_Cfg.h │ │ ├── EcuM_Generated_Types.h │ │ ├── Fls_Cfg.c │ │ ├── Fls_Cfg.h │ │ ├── Wdg_Cfg.h │ │ └── Wdg_Lcfg.c │ ├── makefile.mod.mk │ └── src │ │ └── misc_stubs.c ├── rh850f1h │ ├── board_info.txt │ └── build_config.mk ├── rh850f1l │ ├── board_info.txt │ ├── build_config.mk │ └── config │ │ ├── Eep_Cfg.h │ │ └── Eep_Lcfg.c ├── s32k144evb_0100 │ ├── board_info.txt │ └── build_config.mk ├── s32k148_evbq176 │ ├── board_info.txt │ ├── build_config.mk │ └── config │ │ ├── Eep_Cfg.h │ │ └── Eep_Lcfg.c ├── spc560b54_spc56xxmb │ ├── 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 ├── spc56el70_spc56l │ ├── 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 ├── stm32_stm3210c │ ├── board_info.txt │ ├── build_config.mk │ ├── config │ │ ├── Fls_Cfg.c │ │ ├── Fls_Cfg.h │ │ ├── Wdg_Cfg.h │ │ └── Wdg_Lcfg.c │ └── memory.ldf ├── stm32f3_discovery │ ├── board_info.txt │ ├── build_config.mk │ └── memory.ldf ├── tc212l_stkit │ └── build_config.mk ├── tc264_trb │ └── build_config.mk ├── tc297_trb │ └── build_config.mk ├── tc399_trb │ └── build_config.mk ├── tmdx570lc43hdk │ ├── board_info.txt │ ├── build_config.mk │ ├── config │ │ ├── Eep_Cfg.h │ │ ├── Eep_Lcfg.c │ │ ├── Fls_Cfg.c │ │ └── Fls_Cfg.h │ └── memory.ldf ├── tmdx570ls12hdk │ ├── board_info.txt │ ├── build_config.mk │ ├── config │ │ ├── Eep_Cfg.h │ │ ├── Eep_Lcfg.c │ │ ├── Fls_Cfg.c │ │ └── Fls_Cfg.h │ └── memory.ldf ├── traveo_s6j328c │ ├── board_info.txt │ ├── build_config.mk │ ├── config │ │ ├── Eep_Cfg.h │ │ └── Eep_Lcfg.c │ └── memory.ldf └── zynq_zc702 │ ├── board_info.txt │ ├── build_config.mk │ ├── config │ ├── Eep_Cfg.h │ ├── Eep_Lcfg.c │ ├── Fls_Cfg.c │ └── Fls_Cfg.h │ └── memory.ldf ├── cdd ├── DltUartCom │ ├── mod.mk │ └── src │ │ ├── DltUartCom.c │ │ ├── DltUartCom.h │ │ └── DltUartCom_Cfg.h ├── EthTrcv │ ├── inc │ │ ├── CDD_EthTrcv.h │ │ └── CDD_EthTrcvTypes.h │ ├── mod.mk │ └── src │ │ ├── CDD_EthTrcv_Generic.c │ │ └── CDD_EthTrcv_NonGeneric.c ├── LinSlv │ ├── cdd_linslv.mod.mk │ └── src │ │ ├── CDD_LinSlv.c │ │ ├── CDD_LinSlv.h │ │ ├── CDD_LinSlv_Internal.h │ │ └── ppc │ │ └── CDD_LinSlv_Internal.c └── PduR │ ├── mod.mk │ └── src │ ├── CddPduR.c │ ├── CddPduR.h │ └── CddPduR_Cbk.h ├── clib ├── assert.h ├── clib.h ├── clib_port.c ├── fcntl.h ├── printf.c ├── stdio.h └── strtok_r.c ├── common ├── Arc_T1_int.c ├── Bullseye_Coverage_Hooks.c ├── arc.c ├── arc_assert.c ├── bitdef.c ├── cirq_buffer.c ├── console.c ├── crtin.c ├── iar_port.c ├── init.c ├── log.c ├── logger.c ├── mbox.c ├── msl_port.c ├── newlib_port.c ├── perf.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 │ └── tcf.mod.mk ├── version.c └── xtoa.c ├── communication ├── CanIf │ ├── CanIf.mod.mk │ ├── inc │ │ ├── CanIf.h │ │ ├── CanIf_Cbk.h │ │ ├── CanIf_ConfigTypes.h │ │ ├── CanIf_MemMap.h │ │ └── CanIf_Types.h │ └── src │ │ └── CanIf.c ├── CanNm │ ├── CanNm.mod.mk │ ├── inc │ │ ├── CanNm.h │ │ ├── CanNm_Cbk.h │ │ └── CanNm_ConfigTypes.h │ └── src │ │ ├── CanNm.c │ │ └── CanNm_Internal.h ├── CanSM │ ├── CanSM.mod.mk │ ├── inc │ │ ├── CanSM.h │ │ ├── CanSM_BswM.h │ │ ├── CanSM_Cbk.h │ │ ├── CanSM_ComM.h │ │ ├── CanSM_ConfigTypes.h │ │ ├── CanSM_Dcm.h │ │ ├── CanSM_EcuM.h │ │ └── CanSM_MemMap.h │ └── src │ │ ├── CanSM.c │ │ ├── CanSM_Extension.c │ │ ├── CanSM_Extension.h │ │ ├── CanSM_Internal.c │ │ └── CanSM_Internal.h ├── CanTp │ ├── CanTp.mod.mk │ ├── inc │ │ ├── CanTp.h │ │ ├── CanTp_Cbk.h │ │ └── CanTp_Types.h │ └── src │ │ └── CanTp.c ├── Com │ ├── Com.mod.mk │ ├── inc │ │ ├── Com.h │ │ ├── Com_Cbk.h │ │ ├── Com_Com.h │ │ ├── Com_MemMap.h │ │ ├── Com_Sched.h │ │ └── Com_Types.h │ └── src │ │ ├── Com.c │ │ ├── Com_Arc_Types.h │ │ ├── Com_Com.c │ │ ├── Com_Internal.h │ │ ├── Com_Sched.c │ │ ├── Com_misc.c │ │ └── Com_misc.h ├── ComM │ ├── ComM.mod.mk │ ├── inc │ │ ├── ComM.h │ │ ├── ComM_BusSM.h │ │ ├── ComM_ConfigTypes.h │ │ ├── ComM_Dcm.h │ │ ├── ComM_EcuM.h │ │ ├── ComM_MemMap.h │ │ ├── ComM_Nm.h │ │ └── ComM_Types.h │ └── src │ │ ├── ComM.c │ │ ├── ComM_ASIL.c │ │ ├── ComM_BswMemMap.h │ │ └── ComM_Internal.h ├── DoIP │ ├── DoIP.mod.mk │ ├── inc │ │ ├── DoIP.h │ │ ├── DoIP_Cbk.h │ │ └── DoIP_Types.h │ └── src │ │ ├── DoIP.c │ │ ├── DoIP_Callout_Stubs.c │ │ └── DoIP_Internal.h ├── EthIf │ ├── EthIf.mod.mk │ ├── inc │ │ ├── EthIf.h │ │ ├── EthIf_Cbk.h │ │ └── EthIf_Types.h │ └── src │ │ └── EthIf.c ├── EthSM │ ├── EthSM.mod.mk │ ├── inc │ │ ├── EthSM.h │ │ ├── EthSM_Cbk.h │ │ └── EthSM_Types.h │ └── src │ │ └── EthSM.c ├── EthTSyn │ ├── EthTSyn.mod.mk │ ├── inc │ │ ├── EthTSyn.h │ │ └── EthTSyn_Types.h │ └── src │ │ ├── EthTSyn.c │ │ ├── EthTSyn_Internal.c │ │ └── EthTSyn_Internal.h ├── EthTrcv │ ├── inc │ │ ├── EthTrcv.h │ │ └── EthTrcv_Types.h │ └── src │ │ └── EthTrcv.c ├── FrIf │ ├── FrIf.mod.mk │ ├── inc │ │ ├── FrIf.h │ │ └── FrIf_Types.h │ └── src │ │ ├── FrIf.c │ │ ├── FrIf_Internal.c │ │ └── FrIf_Internal.h ├── FrNm │ ├── FrNm.mod.mk │ ├── inc │ │ ├── FrNm.h │ │ ├── FrNm_Cbk.h │ │ └── FrNm_ConfigTypes.h │ └── src │ │ ├── FrNm.c │ │ ├── FrNm_Internal.c │ │ └── FrNm_Internal.h ├── FrSM │ ├── FrSM.mod.mk │ ├── inc │ │ ├── FrSM.h │ │ └── FrSM_Types.h │ └── src │ │ ├── FrSM.c │ │ ├── FrSM_Internal.c │ │ └── FrSM_Internal.h ├── FrTp │ ├── FrTp.mod.mk │ ├── inc │ │ ├── FrTp.h │ │ ├── FrTp_Cbk.h │ │ └── FrTp_Types.h │ └── src │ │ ├── FrTp.c │ │ └── FrTp_Internal.h ├── IpduM │ ├── IpduM.mod.mk │ ├── inc │ │ ├── IpduM.h │ │ └── IpduM_Cbk.h │ └── src │ │ └── IpduM.c ├── J1939Tp │ ├── J1939Tp.mod.mk │ ├── inc │ │ ├── J1939Tp.h │ │ ├── J1939Tp_Cbk.h │ │ └── J1939Tp_ConfigTypes.h │ └── src │ │ ├── J1939Tp.c │ │ ├── J1939Tp_Internal.h │ │ └── J1939Tp_Internal_Packets.h ├── LdCom │ ├── LdCom.mod.mk │ ├── inc │ │ ├── LdCom.h │ │ ├── LdCom_Cbk.h │ │ └── LdCom_Types.h │ └── src │ │ ├── LdCom.c │ │ └── LdCom_internal.h ├── LinIf │ ├── LinIf.mod.mk │ ├── LinTp.mod.mk │ ├── inc │ │ ├── LinIf.h │ │ ├── LinIf_Cbk.h │ │ ├── LinIf_Types.h │ │ ├── LinTp.h │ │ └── LinTp_Types.h │ └── src │ │ ├── LinIf.c │ │ └── LinTp.c ├── LinSM │ ├── LinSM.mod.mk │ ├── inc │ │ ├── LinSM.h │ │ ├── LinSM_Cbk.h │ │ └── LinSM_ConfigTypes.h │ └── src │ │ └── LinSM.c ├── Nm │ ├── Nm.mod.mk │ ├── inc │ │ ├── Nm.h │ │ ├── Nm_Cbk.h │ │ ├── Nm_ConfigTypes.h │ │ └── Nm_Extension.h │ └── src │ │ ├── Nm.c │ │ └── Nm_Extension.c ├── OsekNm │ ├── OsekNm.mod.mk │ ├── inc │ │ ├── OsekNm.h │ │ └── OsekNm_ConfigTypes.h │ └── src │ │ ├── OsekDirectNm.c │ │ ├── OsekDirectNm.h │ │ ├── OsekIndirectNm.c │ │ ├── OsekIndirectNm.h │ │ ├── OsekNm.c │ │ └── OsekNmDllStubs.c ├── PduR │ ├── PduR.mod.mk │ ├── inc │ │ ├── PduR.h │ │ ├── PduR_CDD_LinSlvIf.h │ │ ├── PduR_CanIf.h │ │ ├── PduR_CanNm.h │ │ ├── PduR_CanTp.h │ │ ├── PduR_CddPduR.h │ │ ├── PduR_Com.h │ │ ├── PduR_Dcm.h │ │ ├── PduR_DoIP.h │ │ ├── PduR_FrIf.h │ │ ├── PduR_FrNm.h │ │ ├── PduR_FrTp.h │ │ ├── PduR_If.h │ │ ├── PduR_IpduM.h │ │ ├── PduR_J1939Tp.h │ │ ├── PduR_LdCom.h │ │ ├── PduR_LinIf.h │ │ ├── PduR_SecOC.h │ │ ├── PduR_SoAd.h │ │ ├── PduR_Types.h │ │ └── PduR_UdpNm.h │ └── src │ │ ├── PduR.c │ │ ├── PduR_CDD_LinSlvIf.c │ │ ├── PduR_CanIf.c │ │ ├── PduR_CanNm.c │ │ ├── PduR_CanTp.c │ │ ├── PduR_CddPduR.c │ │ ├── PduR_Com.c │ │ ├── PduR_Dcm.c │ │ ├── PduR_DoIP.c │ │ ├── PduR_FrIf.c │ │ ├── PduR_FrNm.c │ │ ├── PduR_FrTp.c │ │ ├── PduR_IpduM.c │ │ ├── PduR_J1939Tp.c │ │ ├── PduR_LdCom.c │ │ ├── PduR_LinIf.c │ │ ├── PduR_Logic.c │ │ ├── PduR_Routing.c │ │ ├── PduR_SecOC.c │ │ ├── PduR_SoAd.c │ │ └── PduR_UdpNm.c ├── SD │ ├── SD.mod.mk │ ├── inc │ │ ├── SD.h │ │ └── SD_Types.h │ └── src │ │ ├── SD.c │ │ ├── SD_ClientService.c │ │ ├── SD_Entries.c │ │ ├── SD_Internal.h │ │ ├── SD_Messages.c │ │ ├── SD_Send_Receive.c │ │ └── SD_ServerService.c ├── SecOC │ ├── SecOC.mod.mk │ ├── inc │ │ ├── SecOC.h │ │ ├── SecOC_Cbk.h │ │ └── SecOC_Types.h │ └── src │ │ └── SecOC.c ├── SoAd │ ├── SoAd.mod.mk │ ├── inc │ │ ├── SoAd.h │ │ ├── SoAd_Cbk.h │ │ └── SoAd_Types.h │ └── src │ │ ├── SoAd.c │ │ └── SoAd_Internal.h ├── TcpIp │ ├── inc │ │ ├── TcpIp.h │ │ ├── TcpIp_Cbk.h │ │ ├── TcpIp_ConfigTypes.h │ │ ├── TcpIp_EthSM.h │ │ └── TcpIp_Types.h │ ├── src │ │ ├── TcpIp.c │ │ └── TcpIp_Linos.c │ └── tcpip.mod.mk ├── UdpNm │ ├── UdpNm.mod.mk │ ├── inc │ │ ├── UdpNm.h │ │ ├── UdpNm_Cbk.h │ │ └── UdpNm_ConfigTypes.h │ └── src │ │ ├── UdpNm.c │ │ └── UdpNm_Internal.h ├── Xcp │ ├── Xcp.mod.mk │ ├── inc │ │ ├── Xcp.h │ │ ├── Xcp_Callout_Stubs.h │ │ └── Xcp_ConfigTypes.h │ ├── integration │ │ └── Xcp_Callout_Stubs.c │ └── src │ │ ├── Xcp.c │ │ ├── XcpOnCan.c │ │ ├── XcpOnEth.c │ │ ├── Xcp_FlashProgramming.c │ │ ├── Xcp_Internal.h │ │ ├── Xcp_Memory.c │ │ ├── Xcp_MemoryHelper.c │ │ ├── Xcp_OnlineCalibration.c │ │ └── Xcp_Program.c ├── lwip-2.0.3 │ ├── CHANGELOG │ ├── COPYING │ ├── FILES │ ├── README │ ├── UPGRADING │ ├── contrib │ │ ├── Coverity │ │ │ └── coverity.c │ │ ├── apps │ │ │ ├── chargen │ │ │ │ ├── README │ │ │ │ ├── chargen.c │ │ │ │ └── chargen.h │ │ │ ├── httpserver │ │ │ │ ├── README │ │ │ │ ├── httpserver-netconn.c │ │ │ │ └── httpserver-netconn.h │ │ │ ├── netio │ │ │ │ ├── netio.c │ │ │ │ └── netio.h │ │ │ ├── ping │ │ │ │ ├── ping.c │ │ │ │ └── ping.h │ │ │ ├── rtp │ │ │ │ ├── rtp.c │ │ │ │ ├── rtp.h │ │ │ │ └── rtpdata.h │ │ │ ├── shell │ │ │ │ ├── shell.c │ │ │ │ └── shell.h │ │ │ ├── smtp │ │ │ │ ├── smtp.c │ │ │ │ └── smtp.h │ │ │ ├── snmp_private_mib │ │ │ │ ├── lwip_prvmib.c │ │ │ │ └── private_mib.h │ │ │ ├── socket_examples │ │ │ │ ├── socket_examples.c │ │ │ │ └── socket_examples.h │ │ │ ├── tcpecho │ │ │ │ ├── tcpecho.c │ │ │ │ └── tcpecho.h │ │ │ ├── tcpecho_raw │ │ │ │ ├── tcpecho_raw.c │ │ │ │ └── tcpecho_raw.h │ │ │ ├── udpecho │ │ │ │ ├── udpecho.c │ │ │ │ └── udpecho.h │ │ │ └── udpecho_raw │ │ │ │ ├── udpecho_raw.c │ │ │ │ └── udpecho_raw.h │ │ └── ports │ │ │ ├── ArcticCore │ │ │ ├── LwipAdp │ │ │ │ ├── LwIpAdp.c │ │ │ │ └── LwIpAdp.h │ │ │ ├── arm_cm3 │ │ │ │ ├── arch │ │ │ │ │ ├── cc.h │ │ │ │ │ ├── perf.h │ │ │ │ │ └── sys_arch.h │ │ │ │ ├── ethernetif.c │ │ │ │ ├── ethernetif.h │ │ │ │ └── lwipopts.h │ │ │ ├── asrIf │ │ │ │ ├── arch │ │ │ │ │ ├── cc.h │ │ │ │ │ ├── perf.h │ │ │ │ │ └── sys_arch.h │ │ │ │ ├── ethernetif.c │ │ │ │ ├── ethernetif.h │ │ │ │ ├── lwipopts.h │ │ │ │ └── memhdl.c │ │ │ ├── mpc5xxx │ │ │ │ ├── arch │ │ │ │ │ ├── cc.h │ │ │ │ │ ├── perf.h │ │ │ │ │ └── sys_arch.h │ │ │ │ ├── ethernetif.c │ │ │ │ ├── ethernetif.h │ │ │ │ ├── fec_5xxx.c │ │ │ │ ├── fec_5xxx.h │ │ │ │ ├── lwipopts.h │ │ │ │ └── tlb_init.c │ │ │ ├── netbios.c │ │ │ ├── netbios.h │ │ │ ├── sys_arch.c │ │ │ ├── tc29x │ │ │ │ ├── arch │ │ │ │ │ ├── cc.h │ │ │ │ │ ├── perf.h │ │ │ │ │ └── sys_arch.h │ │ │ │ ├── ethernetif.c │ │ │ │ ├── ethernetif.h │ │ │ │ ├── lwipopts.h │ │ │ │ └── memhdl.c │ │ │ └── utils │ │ │ │ ├── fsdata.c │ │ │ │ ├── fsdata.h │ │ │ │ ├── httpd.c │ │ │ │ └── httpd.h │ │ │ ├── FILES │ │ │ ├── Filelists.mk │ │ │ ├── unix │ │ │ ├── Common.mk │ │ │ ├── README │ │ │ ├── check │ │ │ │ ├── Makefile │ │ │ │ ├── README │ │ │ │ └── config.h │ │ │ ├── fuzz │ │ │ │ ├── Makefile │ │ │ │ ├── README │ │ │ │ ├── config.h │ │ │ │ ├── fuzz.c │ │ │ │ ├── inputs │ │ │ │ │ ├── arp │ │ │ │ │ │ └── arp_req.bin │ │ │ │ │ ├── icmp │ │ │ │ │ │ └── icmp_ping.bin │ │ │ │ │ ├── ipv6 │ │ │ │ │ │ ├── neighbor_solicitation.bin │ │ │ │ │ │ └── router_adv.bin │ │ │ │ │ ├── tcp │ │ │ │ │ │ └── tcp_syn.bin │ │ │ │ │ └── udp │ │ │ │ │ │ └── udp_port_5000.bin │ │ │ │ ├── lwipopts.h │ │ │ │ └── output_to_pcap.sh │ │ │ ├── lib │ │ │ │ ├── Makefile │ │ │ │ ├── README │ │ │ │ ├── lwipopts.h │ │ │ │ └── unixlib.c │ │ │ ├── minimal │ │ │ │ ├── Makefile │ │ │ │ ├── README │ │ │ │ ├── lwipopts.h │ │ │ │ └── main.c │ │ │ ├── port │ │ │ │ ├── include │ │ │ │ │ ├── arch │ │ │ │ │ │ ├── cc.h │ │ │ │ │ │ ├── perf.h │ │ │ │ │ │ └── sys_arch.h │ │ │ │ │ └── netif │ │ │ │ │ │ ├── delif.h │ │ │ │ │ │ ├── dropif.h │ │ │ │ │ │ ├── fifo.h │ │ │ │ │ │ ├── list.h │ │ │ │ │ │ ├── pcapif.h │ │ │ │ │ │ ├── sio.h │ │ │ │ │ │ ├── tapif.h │ │ │ │ │ │ ├── tcpdump.h │ │ │ │ │ │ ├── tunif.h │ │ │ │ │ │ └── unixif.h │ │ │ │ ├── netif │ │ │ │ │ ├── delif.c │ │ │ │ │ ├── fifo.c │ │ │ │ │ ├── list.c │ │ │ │ │ ├── pcapif.c │ │ │ │ │ ├── sio.c │ │ │ │ │ ├── tapif.c │ │ │ │ │ ├── tcpdump.c │ │ │ │ │ ├── tunif.c │ │ │ │ │ └── unixif.c │ │ │ │ ├── perf.c │ │ │ │ └── sys_arch.c │ │ │ ├── setup-tapif │ │ │ └── unixsim │ │ │ │ ├── Makefile │ │ │ │ ├── README │ │ │ │ ├── lwipopts.h │ │ │ │ ├── simhost.c │ │ │ │ ├── simnode.c │ │ │ │ └── simrouter.c │ │ │ └── win32 │ │ │ ├── check │ │ │ ├── config.h │ │ │ ├── sys │ │ │ │ └── time.h │ │ │ ├── time.c │ │ │ └── unistd.h │ │ │ ├── include │ │ │ ├── arch │ │ │ │ ├── bpstruct.h │ │ │ │ ├── cc.h │ │ │ │ ├── epstruct.h │ │ │ │ ├── perf.h │ │ │ │ └── sys_arch.h │ │ │ ├── lwipopts.h │ │ │ └── ppp_settings.h │ │ │ ├── lwipcfg_msvc.h.example │ │ │ ├── lwippools.h │ │ │ ├── mingw │ │ │ ├── Common.mk │ │ │ └── Makefile │ │ │ ├── msvc │ │ │ ├── libcheck.vcxproj │ │ │ ├── libcheck.vcxproj.filters │ │ │ ├── lwIP.vcxproj │ │ │ ├── lwIP.vcxproj.filters │ │ │ ├── lwIP_Test.sln │ │ │ ├── lwIP_Test.vcxproj │ │ │ ├── lwIP_Test.vcxproj.filters │ │ │ ├── lwIP_pcapif.vcxproj │ │ │ ├── lwIP_pcapif.vcxproj.filters │ │ │ ├── lwIP_unittests.sln │ │ │ ├── lwip_unittests.vcxproj │ │ │ ├── lwip_unittests.vcxproj.filters │ │ │ ├── makefsdata.vcxproj │ │ │ ├── makefsdata.vcxproj.filters │ │ │ └── readme.txt │ │ │ ├── pcapif.c │ │ │ ├── pcapif.h │ │ │ ├── pcapif_helper.c │ │ │ ├── pcapif_helper.h │ │ │ ├── readme.txt │ │ │ ├── sio.c │ │ │ ├── sys_arch.c │ │ │ └── test.c │ ├── doc │ │ ├── FILES │ │ ├── NO_SYS_SampleCode.c │ │ ├── contrib.txt │ │ ├── doxygen │ │ │ ├── generate.bat │ │ │ ├── generate.sh │ │ │ ├── lwip.Doxyfile │ │ │ ├── main_page.h │ │ │ └── output │ │ │ │ └── index.html │ │ ├── doxygen_docs.zip │ │ ├── mdns.txt │ │ ├── mqtt_client.txt │ │ ├── ppp.txt │ │ ├── rawapi.txt │ │ ├── savannah.txt │ │ └── sys_arch.txt │ ├── src │ │ ├── FILES │ │ ├── Filelists.mk │ │ ├── api │ │ │ ├── api_lib.c │ │ │ ├── api_msg.c │ │ │ ├── err.c │ │ │ ├── netbuf.c │ │ │ ├── netdb.c │ │ │ ├── netifapi.c │ │ │ ├── sockets.c │ │ │ └── tcpip_lwip.c │ │ ├── apps │ │ │ ├── httpd │ │ │ │ ├── fs.c │ │ │ │ ├── fs │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── img │ │ │ │ │ │ └── sics.gif │ │ │ │ │ └── index.html │ │ │ │ ├── fsdata.c │ │ │ │ ├── fsdata.h │ │ │ │ ├── httpd.c │ │ │ │ ├── httpd_structs.h │ │ │ │ └── makefsdata │ │ │ │ │ ├── makefsdata │ │ │ │ │ ├── makefsdata.c │ │ │ │ │ └── readme.txt │ │ │ ├── lwiperf │ │ │ │ └── lwiperf.c │ │ │ ├── mdns │ │ │ │ └── mdns.c │ │ │ ├── mqtt │ │ │ │ └── mqtt.c │ │ │ ├── netbiosns │ │ │ │ └── netbiosns.c │ │ │ ├── snmp │ │ │ │ ├── snmp_asn1.c │ │ │ │ ├── snmp_asn1.h │ │ │ │ ├── snmp_core.c │ │ │ │ ├── snmp_core_priv.h │ │ │ │ ├── snmp_mib2.c │ │ │ │ ├── snmp_mib2_icmp.c │ │ │ │ ├── snmp_mib2_interfaces.c │ │ │ │ ├── snmp_mib2_ip.c │ │ │ │ ├── snmp_mib2_snmp.c │ │ │ │ ├── snmp_mib2_system.c │ │ │ │ ├── snmp_mib2_tcp.c │ │ │ │ ├── snmp_mib2_udp.c │ │ │ │ ├── snmp_msg.c │ │ │ │ ├── snmp_msg.h │ │ │ │ ├── snmp_netconn.c │ │ │ │ ├── snmp_pbuf_stream.c │ │ │ │ ├── snmp_pbuf_stream.h │ │ │ │ ├── snmp_raw.c │ │ │ │ ├── snmp_scalar.c │ │ │ │ ├── snmp_table.c │ │ │ │ ├── snmp_threadsync.c │ │ │ │ ├── snmp_traps.c │ │ │ │ ├── snmpv3.c │ │ │ │ ├── snmpv3_dummy.c │ │ │ │ ├── snmpv3_mbedtls.c │ │ │ │ └── snmpv3_priv.h │ │ │ ├── sntp │ │ │ │ └── sntp.c │ │ │ └── tftp │ │ │ │ └── tftp_server.c │ │ ├── core │ │ │ ├── def.c │ │ │ ├── dns.c │ │ │ ├── inet_chksum.c │ │ │ ├── init_lwip.c │ │ │ ├── ip.c │ │ │ ├── ipv4 │ │ │ │ ├── autoip.c │ │ │ │ ├── dhcp.c │ │ │ │ ├── etharp.c │ │ │ │ ├── icmp.c │ │ │ │ ├── igmp.c │ │ │ │ ├── ip4.c │ │ │ │ ├── ip4_addr.c │ │ │ │ └── ip4_frag.c │ │ │ ├── ipv6 │ │ │ │ ├── dhcp6.c │ │ │ │ ├── ethip6.c │ │ │ │ ├── icmp6.c │ │ │ │ ├── inet6.c │ │ │ │ ├── ip6.c │ │ │ │ ├── ip6_addr.c │ │ │ │ ├── ip6_frag.c │ │ │ │ ├── mld6.c │ │ │ │ └── nd6.c │ │ │ ├── mem.c │ │ │ ├── memp.c │ │ │ ├── netif.c │ │ │ ├── pbuf.c │ │ │ ├── raw.c │ │ │ ├── stats.c │ │ │ ├── sys.c │ │ │ ├── tcp.c │ │ │ ├── tcp_in.c │ │ │ ├── tcp_out.c │ │ │ ├── timeouts.c │ │ │ └── udp.c │ │ ├── include │ │ │ ├── lwip │ │ │ │ ├── api.h │ │ │ │ ├── apps │ │ │ │ │ ├── FILES │ │ │ │ │ ├── fs.h │ │ │ │ │ ├── httpd.h │ │ │ │ │ ├── httpd_opts.h │ │ │ │ │ ├── lwiperf.h │ │ │ │ │ ├── mdns.h │ │ │ │ │ ├── mdns_opts.h │ │ │ │ │ ├── mdns_priv.h │ │ │ │ │ ├── mqtt.h │ │ │ │ │ ├── mqtt_opts.h │ │ │ │ │ ├── netbiosns.h │ │ │ │ │ ├── netbiosns_opts.h │ │ │ │ │ ├── snmp.h │ │ │ │ │ ├── snmp_core.h │ │ │ │ │ ├── snmp_mib2.h │ │ │ │ │ ├── snmp_opts.h │ │ │ │ │ ├── snmp_scalar.h │ │ │ │ │ ├── snmp_table.h │ │ │ │ │ ├── snmp_threadsync.h │ │ │ │ │ ├── snmpv3.h │ │ │ │ │ ├── sntp.h │ │ │ │ │ ├── sntp_opts.h │ │ │ │ │ ├── tftp_opts.h │ │ │ │ │ └── tftp_server.h │ │ │ │ ├── arch.h │ │ │ │ ├── autoip.h │ │ │ │ ├── debug.h │ │ │ │ ├── def.h │ │ │ │ ├── dhcp.h │ │ │ │ ├── dhcp6.h │ │ │ │ ├── dns.h │ │ │ │ ├── err.h │ │ │ │ ├── errno.h │ │ │ │ ├── etharp.h │ │ │ │ ├── ethip6.h │ │ │ │ ├── icmp.h │ │ │ │ ├── icmp6.h │ │ │ │ ├── igmp.h │ │ │ │ ├── inet.h │ │ │ │ ├── inet_chksum.h │ │ │ │ ├── init.h │ │ │ │ ├── ip.h │ │ │ │ ├── ip4.h │ │ │ │ ├── ip4_addr.h │ │ │ │ ├── ip4_frag.h │ │ │ │ ├── ip6.h │ │ │ │ ├── ip6_addr.h │ │ │ │ ├── ip6_frag.h │ │ │ │ ├── ip_addr.h │ │ │ │ ├── mem.h │ │ │ │ ├── memp.h │ │ │ │ ├── mld6.h │ │ │ │ ├── nd6.h │ │ │ │ ├── netbuf.h │ │ │ │ ├── netdb.h │ │ │ │ ├── netif.h │ │ │ │ ├── netifapi.h │ │ │ │ ├── opt.h │ │ │ │ ├── pbuf.h │ │ │ │ ├── priv │ │ │ │ │ ├── api_msg.h │ │ │ │ │ ├── memp_priv.h │ │ │ │ │ ├── memp_std.h │ │ │ │ │ ├── nd6_priv.h │ │ │ │ │ ├── tcp_priv.h │ │ │ │ │ └── tcpip_priv.h │ │ │ │ ├── prot │ │ │ │ │ ├── autoip.h │ │ │ │ │ ├── dhcp.h │ │ │ │ │ ├── dns.h │ │ │ │ │ ├── etharp.h │ │ │ │ │ ├── ethernet.h │ │ │ │ │ ├── icmp.h │ │ │ │ │ ├── icmp6.h │ │ │ │ │ ├── igmp.h │ │ │ │ │ ├── ip.h │ │ │ │ │ ├── ip4.h │ │ │ │ │ ├── ip6.h │ │ │ │ │ ├── mld6.h │ │ │ │ │ ├── nd6.h │ │ │ │ │ ├── tcp.h │ │ │ │ │ └── udp.h │ │ │ │ ├── raw.h │ │ │ │ ├── sio.h │ │ │ │ ├── snmp.h │ │ │ │ ├── sockets.h │ │ │ │ ├── stats.h │ │ │ │ ├── sys.h │ │ │ │ ├── tcp.h │ │ │ │ ├── tcpip.h │ │ │ │ ├── timeouts.h │ │ │ │ └── udp.h │ │ │ ├── netif │ │ │ │ ├── etharp.h │ │ │ │ ├── ethernet.h │ │ │ │ ├── lowpan6.h │ │ │ │ ├── lowpan6_opts.h │ │ │ │ ├── ppp │ │ │ │ │ ├── ccp.h │ │ │ │ │ ├── chap-md5.h │ │ │ │ │ ├── chap-new.h │ │ │ │ │ ├── chap_ms.h │ │ │ │ │ ├── eap.h │ │ │ │ │ ├── ecp.h │ │ │ │ │ ├── eui64.h │ │ │ │ │ ├── fsm.h │ │ │ │ │ ├── ipcp.h │ │ │ │ │ ├── ipv6cp.h │ │ │ │ │ ├── lcp.h │ │ │ │ │ ├── magic.h │ │ │ │ │ ├── mppe.h │ │ │ │ │ ├── polarssl │ │ │ │ │ │ ├── arc4.h │ │ │ │ │ │ ├── des.h │ │ │ │ │ │ ├── md4.h │ │ │ │ │ │ ├── md5.h │ │ │ │ │ │ └── sha1.h │ │ │ │ │ ├── ppp.h │ │ │ │ │ ├── ppp_impl.h │ │ │ │ │ ├── ppp_opts.h │ │ │ │ │ ├── pppapi.h │ │ │ │ │ ├── pppcrypt.h │ │ │ │ │ ├── pppdebug.h │ │ │ │ │ ├── pppoe.h │ │ │ │ │ ├── pppol2tp.h │ │ │ │ │ ├── pppos.h │ │ │ │ │ ├── upap.h │ │ │ │ │ └── vj.h │ │ │ │ └── slipif.h │ │ │ └── posix │ │ │ │ ├── errno.h │ │ │ │ ├── netdb.h │ │ │ │ └── sys │ │ │ │ └── socket.h │ │ └── netif │ │ │ ├── FILES │ │ │ ├── ethernet.c │ │ │ ├── ethernetif.c │ │ │ ├── lowpan6.c │ │ │ └── slipif.c │ └── test │ │ ├── fuzz │ │ ├── Makefile │ │ ├── README │ │ ├── config.h │ │ ├── fuzz.c │ │ ├── inputs │ │ │ ├── arp │ │ │ │ └── arp_req.bin │ │ │ ├── icmp │ │ │ │ └── icmp_ping.bin │ │ │ ├── ipv6 │ │ │ │ ├── neighbor_solicitation.bin │ │ │ │ └── router_adv.bin │ │ │ ├── tcp │ │ │ │ └── tcp_syn.bin │ │ │ └── udp │ │ │ │ └── udp_port_5000.bin │ │ ├── lwipopts.h │ │ └── output_to_pcap.sh │ │ └── unit │ │ ├── core │ │ ├── test_mem.c │ │ ├── test_mem.h │ │ ├── test_pbuf.c │ │ └── test_pbuf.h │ │ ├── dhcp │ │ ├── test_dhcp.c │ │ └── test_dhcp.h │ │ ├── etharp │ │ ├── test_etharp.c │ │ └── test_etharp.h │ │ ├── ip4 │ │ ├── test_ip4.c │ │ └── test_ip4.h │ │ ├── lwip_check.h │ │ ├── lwip_unittests.c │ │ ├── lwipopts.h │ │ ├── mdns │ │ ├── test_mdns.c │ │ └── test_mdns.h │ │ ├── tcp │ │ ├── tcp_helper.c │ │ ├── tcp_helper.h │ │ ├── test_tcp.c │ │ ├── test_tcp.h │ │ ├── test_tcp_oos.c │ │ └── test_tcp_oos.h │ │ └── udp │ │ ├── test_udp.c │ │ └── test_udp.h └── lwip.mod.mk ├── datastructures ├── Queue │ ├── Queue.mod.mk │ ├── inc │ │ └── Queue.h │ └── src │ │ └── Queue.c └── Safety_Queue │ ├── SafeQ.mod.mk │ ├── inc │ └── Safety_Queue.h │ └── src │ └── Safety_Queue.c ├── diagnostic ├── Dcm │ ├── Dcm.mod.mk │ ├── inc │ │ ├── Dcm.h │ │ ├── Dcm_Cbk.h │ │ ├── Dcm_Lcfg.h │ │ └── Dcm_Types.h │ └── src │ │ ├── Dcm.c │ │ ├── Dcm_Callout_Stubs.c │ │ ├── Dcm_Dsd.c │ │ ├── Dcm_Dsl.c │ │ ├── Dcm_Dsp.c │ │ ├── Dcm_Internal.c │ │ ├── Dcm_Internal.h │ │ └── Dcm_ROE.c ├── Dem │ ├── Dem.mod.mk │ ├── inc │ │ ├── Dem.h │ │ ├── Dem_Lcfg.h │ │ └── Dem_Types.h │ └── src │ │ ├── Dem.c │ │ ├── Dem_Debounce.c │ │ ├── Dem_Extension.c │ │ ├── Dem_Extension.h │ │ ├── Dem_Internal.h │ │ ├── Dem_NvM.c │ │ └── Dem_NvM.h ├── Det │ ├── Det.mod.mk │ ├── inc │ │ └── Det.h │ └── src │ │ ├── Det.c │ │ └── Det_BswMemMap.h ├── Dlt │ ├── Dlt.mod.mk │ ├── inc │ │ └── Dlt.h │ └── src │ │ ├── Dlt.c │ │ └── Dlt_Callout_Stubs.c ├── FiM │ ├── FiM.mod.mk │ ├── inc │ │ ├── FiM.h │ │ └── FiM_Types.h │ └── src │ │ └── FiM.c └── readme.txt ├── docs └── renesas │ └── rh850f1x │ └── Port_rh850f1x.csv ├── drivers ├── CanTrcv │ ├── CanTrcv.c │ ├── CanTrcv.h │ ├── CanTrcv_ConfigTypes.h │ ├── CanTrcv_Internal.h │ └── cantrcv.mod.mk ├── Eep │ ├── Eep.c │ └── Eep.mod.mk ├── Fls │ ├── Fls.h │ ├── Fls_ConfigTypes.h │ ├── Fls_SST25xx.c │ ├── Fls_SST25xx.h │ └── fls.mod.mk ├── Fr │ ├── Fr.c │ ├── Fr.h │ ├── Fr_Internal.h │ ├── Fr_mpc5xxx.c │ ├── Fr_mpc5xxx.h │ ├── Fr_rh850f1x.h │ └── fr.mod.mk ├── Wdg │ └── Wdg.c ├── dma.mod.mk ├── fs_ram.c ├── icu.mod.mk ├── irq.mod.mk ├── kernel.mod.mk ├── lin.mod.mk ├── ocu.mod.mk ├── serial_dbg_code_composer.c ├── serial_dbg_code_composer.h ├── serial_dbg_t32.c ├── serial_dbg_t32.h ├── serial_dbg_ude.c ├── serial_dbg_ude.h ├── serial_dbg_ude_arm.c ├── serial_dbg_ude_arm.h ├── serial_dbg_winidea.c ├── serial_dbg_winidea.h ├── serial_sci.c └── serial_sci.h ├── include ├── Arc_T1_Int.h ├── Arc_Types.h ├── Bsd.h ├── Byteorder.h ├── CalibrationData.h ├── ComStack_Types.h ├── DoIP_MemMap.h ├── Eep.h ├── Eep_ConfigTypes.h ├── Fr_GeneralTypes.h ├── Gpt_ConfigTypes.h ├── I2c.h ├── I2c_MemMap.h ├── Icu_Internal.h ├── IoHwAb_BswMemMap.h ├── Lin_ConfigTypes.h ├── Lin_GeneralTypes.h ├── Lin_Types.h ├── NmStack_Types.h ├── Ocu_Internal.h ├── Ocu_MemMap.h ├── PduR_DoIP.h ├── Platform_Types.h ├── Ramlog.h ├── Std_Types.h ├── Test_Cbk.h ├── XcpOnCan_Cbk.h ├── XcpOnEth_Cbk.h ├── alist_i.h ├── arc_assert.h ├── arm │ ├── Cpu.h │ ├── armv7_ar │ │ └── Adc_ConfigTypes.h │ ├── armv7_m │ │ ├── Adc_ConfigTypes.h │ │ ├── Mcu_ConfigTypes.h │ │ ├── Port_ConfigTypes.h │ │ └── Pwm_ConfigTypes.h │ └── asm_arm.h ├── bit.h ├── bitdef.h ├── cirq_buffer.h ├── debug.h ├── device.h ├── device_serial.h ├── fs.h ├── generic │ └── Cpu.h ├── hc1x │ ├── Adc_ConfigTypes.h │ ├── Cpu.h │ ├── asm_hc1x.sx │ ├── irq_defines.h │ └── regs.h ├── io.h ├── irq.h ├── isr.h ├── log.h ├── logger.h ├── mbox.h ├── perf.h ├── ppc │ ├── Cpu.h │ ├── asm_ppc.h │ └── mpc55xx.h ├── renesas │ ├── Cpu.h │ └── asm_rh850.h ├── rte │ ├── Dcm_MemMap.h │ ├── Dem_MemMap.h │ ├── FiM_MemMap.h │ ├── Rte_ComM_Type.h │ ├── Rte_Dcm_Type.h │ ├── Rte_Dem_Type.h │ ├── Rte_Dlt_Type.h │ ├── Rte_DoIP.h │ ├── Rte_EcuM_Type.h │ ├── Rte_FiM_Type.h │ ├── Rte_Main.h │ ├── Rte_NvM_Type.h │ ├── Rte_Os_Type.h │ ├── Rte_Rtm_Type.h │ ├── Rte_StbM_Type.h │ ├── Rte_WdgM_Type.h │ └── WdgM_MemMap.h ├── shell.h ├── sleep.h ├── strace.h ├── sys │ └── queue.h ├── timer.h ├── tricore │ ├── Cpu.h │ └── tc2xx.h ├── version.h └── xtoa.h ├── integration ├── Arc_MemMap.h └── MemMap.h ├── makefile ├── memory ├── Ea │ ├── Ea.mod.mk │ ├── inc │ │ ├── Ea.h │ │ ├── Ea_Cbk.h │ │ └── Ea_Types.h │ └── src │ │ ├── Ea.c │ │ └── Ea_gnulinux.c ├── Fee │ ├── Fee.mod.mk │ ├── inc │ │ ├── Fee.h │ │ ├── Fee_Cbk.h │ │ └── Fee_ConfigTypes.h │ └── src │ │ └── Fee.c ├── MemIf │ ├── MemIf.mod.mk │ ├── inc │ │ ├── MemIf.h │ │ └── MemIf_Types.h │ └── src │ │ └── MemIf.c ├── NvM │ ├── NvM.mod.mk │ ├── inc │ │ ├── NvM.h │ │ ├── NvM_Cbk.h │ │ ├── NvM_ConfigTypes.h │ │ └── NvM_Types.h │ └── src │ │ └── NvM.c └── RamTst │ ├── RamTst.mod.mk │ ├── inc │ ├── RamTst.h │ └── RamTst_Types.h │ └── src │ └── RamTst.c ├── safety_security ├── SafeLib │ ├── Crc │ │ ├── Crc.mod.mk │ │ ├── inc │ │ │ └── Crc.h │ │ ├── models │ │ │ └── crcTableGen │ │ │ │ ├── crc32.txt │ │ │ │ ├── crc32_arccore.txt │ │ │ │ ├── crc32p4.txt │ │ │ │ ├── crcTableGen.cbp │ │ │ │ ├── crcTableGen.layout │ │ │ │ └── main.cpp │ │ └── src │ │ │ ├── Crc.c │ │ │ ├── Crc_16.c │ │ │ ├── Crc_32.c │ │ │ ├── Crc_32P4.c │ │ │ ├── Crc_8.c │ │ │ └── Crc_MemMap.h │ └── E2E │ │ ├── E2E.mod.mk │ │ ├── inc │ │ ├── E2E.h │ │ ├── E2E_P01.h │ │ ├── E2E_P02.h │ │ ├── E2E_P04.h │ │ ├── E2E_P05.h │ │ ├── E2E_P06.h │ │ └── E2E_SM.h │ │ └── src │ │ ├── E2E.c │ │ ├── E2E_MemMap.h │ │ ├── E2E_P01.c │ │ ├── E2E_P02.c │ │ ├── E2E_P04.c │ │ ├── E2E_P05.c │ │ ├── E2E_P06.c │ │ └── E2E_SM.c ├── WdgIf │ ├── WdgIf.mod.mk │ ├── inc │ │ ├── WdgIf.h │ │ └── WdgIf_Types.h │ └── src │ │ └── WdgIf.c └── WdgM │ ├── WdgM.mod.mk │ ├── inc │ ├── WdgM.h │ ├── WdgM_ConfigTypes.h │ └── WdgM_runtimeTypes.h │ └── src │ ├── WdgM.c │ └── WdgM_BswMemMap.h ├── scripts ├── CLIGeneration │ ├── gen.mk.template │ └── gen_buffer.py ├── __init__.py ├── bootloader_image.mk ├── build_all.sh ├── build_arm.sh ├── build_example.sh ├── build_ppc.sh ├── cc_armcc.mk ├── cc_cw.mk ├── cc_diab.mk ├── cc_gcc.mk ├── cc_ghs.mk ├── cc_iar.mk ├── cc_pclint.mk ├── cc_splint.mk ├── compilers.txt ├── core_style_rules.txt ├── empty_toolchain_makefile ├── extract_regions.py ├── fix_includes.sh ├── gcc_getinclude.awk ├── get_version.awk ├── guess_cc.sh ├── linker │ ├── compiler.ldf │ ├── memory_mcu.ldf │ ├── memory_post.ldf │ └── memory_pre.ldf ├── makefile.install ├── memmap.py ├── memory_footprint2_cw.awk ├── memory_footprint_cw.awk ├── memory_footprint_diab.awk ├── memory_footprint_gcc.awk ├── memory_footprint_ghs.awk ├── pclint │ ├── armcc.lnt │ ├── cw.lnt │ ├── gcc.lnt │ ├── ghs.lnt │ ├── lintGccFlags │ │ └── size-options.lnt │ ├── lnt │ │ ├── au-misra.lnt │ │ ├── au-misra2.lnt │ │ ├── au-misra3.lnt │ │ ├── co-ARMCC-5.lnt │ │ ├── co-gcc.h │ │ ├── co-gcc.lnt │ │ ├── co-ghs.lnt │ │ ├── co-mwPPC.lnt │ │ ├── co-mwe_base.lnt │ │ ├── lint-cw.h │ │ ├── lint_cmac.h │ │ └── size-options.lnt │ └── std.lnt ├── project_defaults.mk ├── project_tmpl.txt ├── rules.install ├── rules.mk ├── rules.mk.orig ├── set_env_win_arm_cs.sh ├── sphinx │ ├── build_doc │ ├── build_doc.mk │ ├── build_doc.sh │ ├── conf_main.py │ ├── confluence_to_rst.sh │ ├── create_conf.py │ ├── create_symlink.py │ ├── makefile │ ├── pandoc_to_rst.py │ └── sphinx-ext │ │ └── scope.py └── version_check.mk ├── system ├── BswM │ ├── BswM.mod.mk │ ├── inc │ │ ├── BswM.h │ │ ├── BswM_CanSM.h │ │ ├── BswM_ComM.h │ │ ├── BswM_DCM.h │ │ ├── BswM_EcuM.h │ │ ├── BswM_EthSM.h │ │ ├── BswM_FrSM.h │ │ ├── BswM_Internal.h │ │ ├── BswM_LinSM.h │ │ ├── BswM_LinTp.h │ │ └── BswM_Sd.h │ └── src │ │ ├── BswM.c │ │ └── BswM_BswMemMap.h ├── Cal │ ├── Cal.mod.mk │ ├── inc │ │ ├── Cal.h │ │ └── Cal_Types.h │ └── src │ │ └── Cal_Mac.c ├── Cpl │ ├── Cpl.mod.mk │ ├── crypto │ │ ├── hmac_sha2.c │ │ ├── hmac_sha2.h │ │ ├── sha2.c │ │ └── sha2.h │ └── src │ │ ├── Cpl_Mac.c │ │ └── Cpl_Mac.h ├── EcuM │ ├── EcuM.mod.mk │ ├── inc │ │ ├── EcuM.h │ │ ├── EcuM_Cbk.h │ │ ├── EcuM_PBTypes.h │ │ └── EcuM_Types.h │ └── src │ │ ├── EcuM.c │ │ ├── EcuM_A0.c │ │ ├── EcuM_BswMemMap.h │ │ ├── EcuM_Callout_Stubs.c │ │ ├── EcuM_Fixed.c │ │ ├── EcuM_Flexible.c │ │ ├── EcuM_Generated_Types.h │ │ ├── EcuM_Internals.h │ │ ├── EcuM_Main.c │ │ ├── EcuM_PBHeader.c │ │ ├── EcuM_QM.c │ │ ├── EcuM_SP_Callout_Stubs.c │ │ └── EcuM_SP_common.h ├── LinuxOs │ ├── LinuxOs.mod.mk │ ├── inc │ │ └── LinuxOs_StbM.h │ ├── pmc_sync_status_reader │ │ ├── pmc_sync_status_common.c │ │ ├── pmc_sync_status_common.h │ │ ├── pmc_sync_status_reader.c │ │ └── pmc_sync_status_reader.h │ └── src │ │ ├── LinuxOs_StbM.c │ │ ├── database.c │ │ ├── database.h │ │ ├── ethernetif.h │ │ ├── linos_logger.c │ │ ├── linos_logger.h │ │ ├── linos_time.c │ │ ├── linos_time.h │ │ ├── os_alarm_linos.c │ │ ├── os_counter_linos.c │ │ ├── os_event_linos.c │ │ ├── os_init_linos.c │ │ ├── os_linos.c │ │ ├── os_linos.h │ │ ├── os_main.c │ │ ├── os_main.h │ │ ├── os_stubs.c │ │ ├── os_stubs.h │ │ └── os_task_linos.c ├── Os │ ├── doc │ │ └── dd │ │ │ ├── index.rst │ │ │ └── makefile │ ├── osal │ │ ├── generic │ │ │ └── linux │ │ │ │ ├── kernel │ │ │ │ ├── arc_krn.sx │ │ │ │ ├── arch.c │ │ │ │ ├── arch_krn.sx │ │ │ │ ├── irq.c │ │ │ │ ├── irq_types.h │ │ │ │ └── sys_tick.c │ │ │ │ └── scripts │ │ │ │ ├── gcc.mk │ │ │ │ └── linkscript_gcc.ldf │ │ └── gnulinux │ │ │ └── gnulinux │ │ │ ├── kernel │ │ │ ├── arc_krn.sx │ │ │ ├── arch.c │ │ │ ├── arch_krn.sx │ │ │ ├── irq.c │ │ │ ├── irq_types.h │ │ │ └── sys_tick.c │ │ │ └── scripts │ │ │ └── gcc.mk │ └── rtos │ │ ├── inc │ │ ├── Os.h │ │ ├── arc.h │ │ ├── arch.h │ │ ├── os_i.h │ │ ├── os_mbox.h │ │ ├── os_mm.h │ │ ├── os_peripheral_i.h │ │ └── os_sem.h │ │ ├── integration │ │ ├── os_trap.c │ │ └── os_trap.h │ │ ├── makefile │ │ └── src │ │ ├── asm_offset.c │ │ ├── asm_sample.c │ │ ├── kernel_offset.c │ │ ├── os_alarm.c │ │ ├── os_alarm_i.h │ │ ├── os_application.c │ │ ├── os_application_i.h │ │ ├── os_config_funcs.h │ │ ├── os_config_macros.h │ │ ├── os_counter.c │ │ ├── os_counter_i.h │ │ ├── os_event.c │ │ ├── os_init.c │ │ ├── os_internal.h │ │ ├── os_isr.c │ │ ├── os_mbox.c │ │ ├── os_multicore.c │ │ ├── os_multicore_i.h │ │ ├── os_panic.c │ │ ├── os_peripheral.c │ │ ├── os_resource.c │ │ ├── os_resource_i.h │ │ ├── os_sched_table.c │ │ ├── os_sched_table_i.h │ │ ├── os_sem.c │ │ ├── os_sleep.c │ │ ├── os_spinlock.c │ │ ├── os_spinlock_i.h │ │ ├── os_sys.h │ │ ├── os_task.c │ │ └── os_task_i.h ├── SchM │ ├── SchM.mod.mk │ ├── inc │ │ ├── SchM.h │ │ ├── SchM_Adc.h │ │ ├── SchM_BswM.h │ │ ├── SchM_Can.h │ │ ├── SchM_CanIf.h │ │ ├── SchM_CanNm.h │ │ ├── SchM_CanSM.h │ │ ├── SchM_CanTp.h │ │ ├── SchM_CanTrcv.h │ │ ├── SchM_Com.h │ │ ├── SchM_ComM.h │ │ ├── SchM_Dcm.h │ │ ├── SchM_Dem.h │ │ ├── SchM_Det.h │ │ ├── SchM_Dio.h │ │ ├── SchM_Dlt.h │ │ ├── SchM_DoIP.h │ │ ├── SchM_Ea.h │ │ ├── SchM_EcuM.h │ │ ├── SchM_Eep.h │ │ ├── SchM_Eth.h │ │ ├── SchM_EthIf.h │ │ ├── SchM_Fee.h │ │ ├── SchM_FiM.h │ │ ├── SchM_Fls.h │ │ ├── SchM_FrIf.h │ │ ├── SchM_FrNm.h │ │ ├── SchM_FrSM.h │ │ ├── SchM_FrTp.h │ │ ├── SchM_Gpt.h │ │ ├── SchM_I2c.h │ │ ├── SchM_Icu.h │ │ ├── SchM_IoHwAb.h │ │ ├── SchM_IpduM.h │ │ ├── SchM_J1939Tp.h │ │ ├── SchM_Lin.h │ │ ├── SchM_LinCdd.h │ │ ├── SchM_LinIf.h │ │ ├── SchM_LinSM.h │ │ ├── SchM_Mcu.h │ │ ├── SchM_Nm.h │ │ ├── SchM_NvM.h │ │ ├── SchM_Ocu.h │ │ ├── SchM_OsekNm.h │ │ ├── SchM_PduR.h │ │ ├── SchM_Port.h │ │ ├── SchM_Pwm.h │ │ ├── SchM_Rtm.h │ │ ├── SchM_SD.h │ │ ├── SchM_SP.h │ │ ├── SchM_SafeIoHwAb.h │ │ ├── SchM_SoAd.h │ │ ├── SchM_Spi.h │ │ ├── SchM_StbM.h │ │ ├── SchM_TcpIp.h │ │ ├── SchM_UdpNm.h │ │ ├── SchM_Wdg.h │ │ ├── SchM_WdgM.h │ │ └── SchM_Xcp.h │ └── src │ │ ├── SchM.c │ │ ├── SchM_MemMap.h │ │ ├── SchM_partition_A0.c │ │ └── SchM_partition_QM.c ├── StbM │ ├── StbM.mod.mk │ ├── inc │ │ ├── StbM.h │ │ └── StbM_Types.h │ └── src │ │ ├── StbM.c │ │ └── StbM_Internal.h └── readme.txt ├── testCommon ├── build_for_linux.mk ├── build_single.mk ├── common_build_config.mk └── tests_common.mk └── tools ├── pls ├── UDE 3.2 │ └── Targets │ │ ├── freescale_mpc5567evb_debug_jtag.cfg │ │ ├── freescale_mpc5668evb_mpc5668g_debug_jtag_z6.cfg │ │ ├── freescale_xpc560b_minimodule_debug_jtag.cfg │ │ └── stm_spc56xl_spc56el70_discovery_starterkit_lockstep_debug_jtag.cfg └── UDE 4.2 │ └── Targets │ ├── freescale_mpc5744p_cut2_debug_jtag.cfg │ ├── mpc5516it_booke_z1.cfg │ ├── mpc5516it_vle_z1.cfg │ ├── mpc5644a_xpc564a_booke.cfg │ ├── mpc5644a_xpc564a_vle.cfg │ ├── mpc5645s_booke.cfg │ ├── mpc5645s_vle.cfg │ ├── spc56xl_spc56el70_booke.cfg │ ├── spc56xl_spc56el70_vle.cfg │ ├── ti_development_board_tms570ls1227_debug_jtag.cfg │ ├── ti_development_board_tms570ls1227_debug_jtag2.cfg │ └── ti_development_board_tms570ls3137_debug_jtag.cfg └── t32 ├── Shortcut to t32mppc.lnk ├── TRACE32 ICD ARM USB-64.lnk ├── TRACE32 ICD ARM USB.lnk ├── arccore.men ├── armv7-m_destroyregs.cmm ├── config.cmm ├── config_sim.t32 ├── copy_to_install.sh ├── destroy_regs.cmm ├── flash_mpc55xx.cmm ├── ipc_path.cmm ├── jac6.ts2 ├── jac6 ├── layout_A15.cmm ├── setup_A15.cmm └── setup_M4.cmm ├── lay.cmm ├── load.cmm ├── makefile ├── mpc55xx_sim.dll ├── orti.cmm ├── orti.men ├── ramlog.cmm ├── setup.cmm ├── sim_mpc55xx.cmm ├── start.cmm ├── t32.cmm ├── t32mtc - Shortcut.lnk ├── term.cmm └── test.cmm /Peripherals/IoHwAb/IoHwAb.mod.mk: -------------------------------------------------------------------------------- 1 | # IO Hardware Abstraction 2 | obj-$(USE_IOHWAB) += IoHwAb_Digital.o 3 | obj-$(USE_IOHWAB) += IoHwAb_Analog.o 4 | obj-$(USE_IOHWAB) += IoHwAb_Pwm.o 5 | 6 | vpath-$(USE_IOHWAB) += $(ROOTDIR)/Peripherals/IoHwAb/src 7 | inc-$(USE_IOHWAB) += $(ROOTDIR)/Peripherals/IoHwAb/src 8 | inc-$(USE_IOHWAB) += $(ROOTDIR)/Peripherals/IoHwAb/inc 9 | 10 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | This is a fork of the Arctic Core (the open source AUTOSAR embedded platform). 2 | 3 | It has been imported from the Arctic Core Autosar 3.1 Mercurial Repository: 4 | http://my.arccore.com/hg/arc/ -------------------------------------------------------------------------------- /arch/generic/linux/drivers/McuExtensionsStub.c: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /base/Calibration_Settings.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef CALIBRATION_SETTINGS_H_ 16 | #define CALIBRATION_SETTINGS_H_ 17 | 18 | /* These defines should be overridden in a project specific file with the same name if calibration data is a wanted feature */ 19 | 20 | #undef CALIBRATION_INITIALIZED_RAM 21 | #undef CALIBRATION_ENABLED 22 | #undef CALIBRATION_FLS_START 23 | 24 | #endif /* CALIBRATION_SETTINGS_H_ */ 25 | -------------------------------------------------------------------------------- /base/base.mod.mk: -------------------------------------------------------------------------------- 1 | # base 2 | inc-y += $(ROOTDIR)/base/compiler 3 | inc-y += $(ROOTDIR)/base 4 | 5 | -------------------------------------------------------------------------------- /base/compiler/Compiler_Cfg.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | 16 | 17 | #ifndef COMPILER_CFG_H 18 | #define COMPILER_CFG_H 19 | 20 | 21 | /* NOTE: Copy this file to your local config-folder 22 | * and add your code here */ 23 | 24 | /* See CompilerAbstraction.pdf */ 25 | 26 | /* REQ:COMPILER040 */ 27 | 28 | #endif /* COMPILER_CFG_H */ 29 | -------------------------------------------------------------------------------- /boards/generic/Calibration_Settings.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | 16 | /* These defines are overriden by rte generated file with the same name */ 17 | 18 | #undef CALIBRATION_INITIALIZED_RAM 19 | #undef CALIBRATION_ENABLED 20 | #undef CALIBRATION_FLS_START 21 | -------------------------------------------------------------------------------- /boards/generic/Compiler_Cfg.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | 16 | 17 | #ifndef COMPILER_CFG_H 18 | #define COMPILER_CFG_H 19 | 20 | 21 | /* NOTE: Copy this file to your local config-folder 22 | * and add your code here */ 23 | 24 | /* See CompilerAbstraction.pdf */ 25 | 26 | /* REQ:COMPILER040 */ 27 | 28 | #endif /* COMPILER_CFG_H */ 29 | -------------------------------------------------------------------------------- /boards/generic/Dem_EnableCondId.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef DEM_ENABLECONDID_H_ 16 | #define DEM_ENABLECONDID_H_ 17 | 18 | #warning "This default file may only be used as an example!" 19 | 20 | #endif /* DEM_ENABLECONDID_H_ */ 21 | -------------------------------------------------------------------------------- /boards/generic/Fee_Memory_Cfg.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 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/gnulinux/board_info.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | GNULinux 4 | 5 | A userspace Linux program. 6 | --------------------------- 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /boards/jacinto5/board_info.txt: -------------------------------------------------------------------------------- 1 | Jacinto5 from TI. 2 | 3 | Datasheets: 4 | 5 | Info: 6 | 7 | Memory Map: 8 | 0x -> Flash 9 | 0x -> SRAM 10 | 0x -> Internal registers 11 | -------------------------------------------------------------------------------- /boards/jacinto5/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=armv7_m 4 | ARCH_FAM=arm 5 | ARCH_MCU=jacinto 6 | 7 | # 8 | # CFG (y/n) macros 9 | # 10 | 11 | CFG=ARM ARMV7_M ARM_CM3 THUMB 12 | CFG+=JACINTO JAC5 13 | # Add our board 14 | CFG+=MCU_MMU 15 | CFG+=BRD_JACINTO 16 | 17 | def-y += HEAPSIZE=3000 18 | 19 | # What buildable modules does this board have, 20 | # default or private 21 | 22 | # MCAL 23 | MOD_AVAIL+= CAN DIO MCU PORT FLS SPI PWM GPT 24 | # System + Communication + Diagnostic 25 | MOD_AVAIL+=COMM NM CANNM CANSM 26 | # Additional 27 | MOD_AVAIL+=TCF LWIP TCPIP SLEEP 28 | 29 | ifndef NOKERNEL 30 | MOD_USE += MCU KERNEL 31 | endif 32 | 33 | # Defines 34 | def-y += SRAM_SIZE=0x20000 35 | ifndef NOKERNEL 36 | def-y += L_BOOT_RESERVED_SPACE=0x20000 37 | endif 38 | 39 | # Default cross compiler 40 | DEFAULT_CROSS_COMPILE = /opt/arm-none-eabi/bin/arm-none-eabi- 41 | 42 | -------------------------------------------------------------------------------- /boards/jacinto5/memory.ldf: -------------------------------------------------------------------------------- 1 | 2 | 3 | boot(R) : ORIGIN = 0x00000000, LENGTH = 0x400 4 | boot_c0(R) : ORIGIN = 0x00000400, LENGTH = 0x400 5 | boot_c1(R) : ORIGIN = 0x00000800, LENGTH = 0x400 6 | code_ram(R) : ORIGIN = 0x8F800000, LENGTH = 2M 7 | ram(RW) : ORIGIN = 0x8FA00000, LENGTH = 2M 8 | -------------------------------------------------------------------------------- /boards/jacinto5e/board_info.txt: -------------------------------------------------------------------------------- 1 | Jacinto5Eco from TI. 2 | 3 | Datasheets: 4 | 5 | Info: 6 | 7 | Memory Map: 8 | 0x -> Flash 9 | 0x -> SRAM 10 | 0x -> Internal registers 11 | -------------------------------------------------------------------------------- /boards/jacinto5e/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=armv7_m 4 | ARCH_FAM=arm 5 | ARCH_MCU=jacinto 6 | 7 | # 8 | # CFG (y/n) macros 9 | # 10 | 11 | CFG=ARM ARMV7_M ARM_CM3 THUMB 12 | CFG+=JACINTO JAC5E 13 | # Add our board 14 | CFG+=BRD_JACINTO 15 | CFG+=MCU_MMU 16 | CFG+=TIMER_SCTM 17 | 18 | def-y += HEAPSIZE=3000 19 | 20 | # What buildable modules does this board have, 21 | # default or private 22 | 23 | # MCAL 24 | MOD_AVAIL+= CAN DIO PWM MCU PORT FLS NVM MEMIF FEE FLS GPT ADC SPI 25 | # System + Communication + Diagnostic 26 | MOD_AVAIL+=XCP CANIF CANTP J1939TP COM DCM DEM DET ECUM_FLEXIBLE ECUM_FIXED IOHWAB KERNEL PDUR IPDUM WDGM RTE BSWM WDGIF 27 | MOD_AVAIL+=COMM NM CANNM CANSM 28 | # Additional 29 | MOD_AVAIL+=RAMLOG TCF LWIP TCPIP SLEEP RTE RAMTST 30 | # CRC 31 | MOD_AVAIL+=CRC CPL CAL 32 | # Required modules 33 | ifndef NOKERNEL 34 | MOD_USE += MCU KERNEL 35 | endif 36 | 37 | # Defines 38 | def-y += SRAM_SIZE=0x20000 39 | ifndef NOKERNEL 40 | def-y += L_BOOT_RESERVED_SPACE=0x20000 41 | endif 42 | 43 | # Default cross compiler 44 | DEFAULT_CROSS_COMPILE = /opt/arm-none-eabi/bin/arm-none-eabi- 45 | 46 | -------------------------------------------------------------------------------- /boards/jacinto5e/memory.ldf: -------------------------------------------------------------------------------- 1 | 2 | 3 | boot(R) : ORIGIN = 0x00000000, LENGTH = 0x400 4 | boot_c0(R) : ORIGIN = 0x00000400, LENGTH = 0x400 5 | boot_c1(R) : ORIGIN = 0x00000800, LENGTH = 0x400 6 | code_ram(R) : ORIGIN = 0x8F000000, LENGTH = 1M 7 | ram(RW) : ORIGIN = 0x8F100000, LENGTH = 1M 8 | -------------------------------------------------------------------------------- /boards/jacinto6/board_info.txt: -------------------------------------------------------------------------------- 1 | Jacinto6 from TI. 2 | 3 | Datasheets: 4 | 5 | Info: 6 | 7 | Memory Map: 8 | 0x -> Flash 9 | 0x -> SRAM 10 | 0x -> Internal registers 11 | -------------------------------------------------------------------------------- /boards/jacinto6/memory.ldf: -------------------------------------------------------------------------------- 1 | 2 | 3 | boot(R) : ORIGIN = 0x00000000, LENGTH = 0x400 4 | boot_c0(R) : ORIGIN = 0x00000400, LENGTH = 0x400 5 | boot_c1(R) : ORIGIN = 0x00000800, LENGTH = 0x400 6 | code_ram(R) : ORIGIN = 0x8F800000, LENGTH = 2M 7 | ram(RW) : ORIGIN = 0x8FA00000, LENGTH = 2M 8 | -------------------------------------------------------------------------------- /boards/jacinto6_vayu_evm/board_info.txt: -------------------------------------------------------------------------------- 1 | Jacinto6 from TI. 2 | 3 | Datasheets: 4 | 5 | Info: 6 | 7 | Memory Map: 8 | 0x -> Flash 9 | 0x -> SRAM 10 | 0x -> Internal registers 11 | -------------------------------------------------------------------------------- /boards/jacinto6_vayu_evm/config/I2c.mk: -------------------------------------------------------------------------------- 1 | MOD_USE+= I2C 2 | obj-y += I2c_LCfg.o 3 | obj-y += I2c.o 4 | 5 | -------------------------------------------------------------------------------- /boards/jacinto6_vayu_evm/memory.ldf: -------------------------------------------------------------------------------- 1 | 2 | /* IPU1 memory map */ 3 | /* carveout: IPU_MEM_TEXT, 1M */ 4 | boot(R) : ORIGIN = 0x00000000, LENGTH = 0x400 5 | boot_c0(R) : ORIGIN = 0x00000400, LENGTH = 0x400 6 | boot_c1(R) : ORIGIN = 0x00000800, LENGTH = 0x400 7 | code_ram(R) : ORIGIN = 0x1000, LENGTH = 4M 8 | 9 | /* carveout: IPU_MEM_DATA, 5M */ 10 | ram(RW) : ORIGIN = 0x80000000, LENGTH = 5M 11 | -------------------------------------------------------------------------------- /boards/linux/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=linux 4 | ARCH_FAM=generic 5 | 6 | # CFG (y/n) macros 7 | CFG+=BRD_LINUX 8 | CFG+=SYSTEM_ASSERT 9 | 10 | # What buildable modules does this board have, 11 | # default or private 12 | MOD_AVAIL+=XCP COM PDUR IPDUM WDGM WDGIF DET DCM DEM CANTP J1939TP CANIF RTE FEE NVM ECUM_FIXED ECUM_FLEXIBLE MCU EA KERNEL RAMLOG IOHWAB RTE E2E BSWM MEMIF DLT FRIF TCPIP LWIP 13 | 14 | # Network management 15 | MOD_AVAIL+=COMM NM CANNM CANSM NMHB UDPNM 16 | # Additional 17 | MOD_AVAIL+=CRC CPL CAL 18 | MOD_AVAIL+=LIN 19 | MOD_AVAIL+=LINSM 20 | MOD_AVAIL+=LINIF 21 | MOD_AVAIL+=RAMTST 22 | MOD_AVAIL+=CANTRCV 23 | MOD_AVAIL+=CDDPDUR 24 | MOD_AVAIL+=ETHSM 25 | MOD_AVAIL+=FRSM 26 | MOD_AVAIL+=FRNM 27 | MOD_AVAIL+=FRTP 28 | MOD_AVAIL+=ETHIF 29 | MOD_AVAIL+=ETHTSYN 30 | MOD_AVAIL+=LDCOM 31 | MOD_AVAIL+=STBM 32 | # Required modules 33 | #MOD_USE += 34 | 35 | # Needed by us 36 | MOD_USE= 37 | SELECT_CLIB=CLIB_NATIVE 38 | -------------------------------------------------------------------------------- /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/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=mpc5xxx 4 | ARCH_FAM=ppc 5 | 6 | # CFG (y/n) macros 7 | CFG=PPC BOOKE E200Z1 MPC55XX MPC5516 BRD_MPC5516IT TIMER_TB 8 | CFG+=MCU_ARC_CONFIG MCU_MMU MCU_ARC_LP 9 | CFG+=CREATE_SREC 10 | CFG+=VLE 11 | 12 | # MCAL 13 | MOD_AVAIL+=ADC DIO DMA CAN GPT LIN MCU PORT PWM WDG SPI 14 | # Extra 15 | MOD_AVAIL+=FLS_SST25XX 16 | # Required modules 17 | MOD_USE += MCU KERNEL 18 | 19 | COMPILER?=gcc 20 | COMPILER_FLAVOR=s32_newlib 21 | 22 | # Default cross compiler 23 | DEFAULT_CROSS_COMPILE = /c/devtools/Freescale/S32DS_Power_v2017.R1/Cross_Tools/powerpc-eabivle-4_9/bin/powerpc-eabivle- 24 | DEFAULT_DIAB_COMPILE = /c/devtools/WindRiver/diab/5.9.3.0/WIN32 25 | DEFAULT_GHS_COMPILE = /c/devtools/ghs/comp_201314p 26 | DEFAULT_CW_COMPILE= /c/devtools/Freescale/cw_mpc5xxx_2.10 27 | 28 | vle=$(if $(filter $(CFG),VLE),y) 29 | novle=$(if $(vle),n,y) 30 | 31 | diab-$(vle)=-tPPCE200Z1VFN:simple 32 | diab-$(novle)=-tPPCE200Z1NFS:simple 33 | DIAB_TARGET?=$(diab-y) 34 | 35 | # VLE 36 | GHS_TARGET?=ppc5516 37 | 38 | # Defines 39 | def-y += SRAM_SIZE=0x14000 40 | def-y += L_BOOT_RESERVED_SPACE=0x10000 41 | -------------------------------------------------------------------------------- /boards/mpc5567qrtech/board_info.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/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/mpc5604b_xpc560b/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=mpc5xxx 4 | ARCH_FAM=ppc 5 | 6 | # CFG (y/n) macros 7 | CFG=PPC E200Z0 MPC55XX MPC560X MPC560XB MPC5604B BRD_MPC5604B_XPC560B 8 | CFG+=MCU_ARC_CONFIG 9 | CFG+=CREATE_SREC 10 | CFG+=VLE 11 | CFG+=OS_SYSTICK2 12 | 13 | # MCAL 14 | MOD_AVAIL+=ADC DIO DMA CAN GPT LIN MCU PORT PWM WDG SPI FLS 15 | 16 | # Required modules 17 | MOD_USE += MCU KERNEL 18 | 19 | COMPILER?=cw 20 | 21 | # Default cross compiler 22 | COMPILER_FLAVOR=s32_newlib 23 | DEFAULT_CROSS_COMPILE = /c/devtools/Freescale/S32DS_Power_v2017.R1/Cross_Tools/powerpc-eabivle-4_9/bin/powerpc-eabivle- 24 | DEFAULT_CW_COMPILE= /c/devtools/Freescale/cw_mpc5xxx_2.10 25 | DEFAULT_DIAB_COMPILE = /c/devtools/WindRiver/diab/5.9.3.0/WIN32 26 | DEFAULT_GHS_COMPILE = /c/devtools/ghs/comp_201314p 27 | 28 | # Defines 29 | def-y += SRAM_SIZE=0xc000 30 | 31 | 32 | # Software floating point, PowerPC No Small-Data ELF EABI Object Format 33 | DIAB_TARGET?=-tPPCE200Z0VFS:simple 34 | GHS_TARGET?=ppc560xb 35 | 36 | 37 | -------------------------------------------------------------------------------- /boards/mpc5606b_xpc560b/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=mpc5xxx 4 | ARCH_FAM=ppc 5 | 6 | # CFG (y/n) macros 7 | CFG=PPC E200Z0 MPC55XX MPC560X MPC560XB MPC5606B BRD_MPC5606B_XPC560B 8 | CFG+=MCU_ARC_CONFIG 9 | CFG+=CREATE_SREC 10 | CFG+=VLE 11 | CFG+=OS_SYSTICK2 12 | 13 | # MCAL 14 | MOD_AVAIL+=ADC DIO DMA CAN GPT LIN MCU PORT PWM WDG SPI OCU ICU FLS 15 | # Required modules 16 | MOD_USE += MCU KERNEL 17 | 18 | # Default cross compiler 19 | COMPILER?=cw 20 | # Default cross compiler 21 | COMPILER_FLAVOR=s32_newlib 22 | DEFAULT_CROSS_COMPILE = /c/devtools/Freescale/S32DS_Power_v2017.R1/Cross_Tools/powerpc-eabivle-4_9/bin/powerpc-eabivle- 23 | DEFAULT_CW_COMPILE= /c/devtools/Freescale/cw_mpc5xxx_2.10 24 | DEFAULT_DIAB_COMPILE = /c/devtools/WindRiver/diab/5.9.3.0/WIN32 25 | DEFAULT_GHS_COMPILE = /c/devtools/ghs/comp_201314p 26 | 27 | # Defines 28 | def-y += SRAM_SIZE=0x14000 29 | 30 | # Software floating point, PowerPC No Small-Data ELF EABI Object Format 31 | DIAB_TARGET?=-tPPCE200Z0VFS:simple 32 | GHS_TARGET?=ppc560xb 33 | 34 | -------------------------------------------------------------------------------- /boards/mpc5606s_xpc560s/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=mpc5xxx 4 | ARCH_FAM=ppc 5 | 6 | # CFG (y/n) macros 7 | CFG=PPC E200Z0 MPC55XX MPC560X MPC5606S BRD_MPC5606S_XPC560S 8 | CFG+=MCU_ARC_CONFIG 9 | CFG+=CREATE_SREC 10 | CFG+=VLE 11 | CFG+=OS_SYSTICK2 12 | 13 | # MCAL 14 | MOD_AVAIL+=ADC DIO DMA CAN GPT LIN MCU PORT PWM WDG SPI FLS ICU 15 | 16 | # Required modules 17 | MOD_USE += MCU KERNEL 18 | 19 | # Default cross compiler 20 | COMPILER?=cw 21 | # Default cross compiler 22 | COMPILER_FLAVOR=s32_newlib 23 | DEFAULT_CROSS_COMPILE = /c/devtools/Freescale/S32DS_Power_v2017.R1/Cross_Tools/powerpc-eabivle-4_9/bin/powerpc-eabivle- 24 | DEFAULT_CW_COMPILE= /c/devtools/Freescale/cw_mpc5xxx_2.10 25 | DEFAULT_DIAB_COMPILE = /c/devtools/WindRiver/diab/5.9.3.0/WIN32 26 | DEFAULT_GHS_COMPILE = /c/devtools/ghs/comp_201314p 27 | 28 | # Defines 29 | def-y += SRAM_SIZE=0xc000 30 | 31 | 32 | # Software floating point, PowerPC No Small-Data ELF EABI Object Format 33 | DIAB_TARGET?=-tPPCE200Z0VFS:simple 34 | GHS_TARGET?=ppc560xb 35 | 36 | 37 | -------------------------------------------------------------------------------- /boards/mpc5644a_xpc564a/board_info.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | Board: 4 | 8Mhz external crystal. 5 | 6 | 7 | 8 | Adding a SPI EEPROM (Microship 25LC160B) 9 | 10 | PJ1 11 | 1-X X-2 12 | 3-X X-4 13 | 5-X X-6 14 | SO 7-X X-8 SI 15 | SCK 9-X X-10 CS 16 | 11-X X-12 17 | 13-X X-14 18 | 15-X X-16 19 | Gnd 17-X X-18 VCC 20 | -------------------------------------------------------------------------------- /boards/mpc5746c_mpc574xg_mb/config/Eep_Cfg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/boards/mpc5746c_mpc574xg_mb/config/Eep_Cfg.h -------------------------------------------------------------------------------- /boards/mpc5748g_mpc574xg_mb/config/Eep_Cfg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/boards/mpc5748g_mpc574xg_mb/config/Eep_Cfg.h -------------------------------------------------------------------------------- /boards/mpc5777m_mmb/board_info.txt: -------------------------------------------------------------------------------- 1 | 2 | MPC5777M 3 | 4 | Datasheets: 5 | Most documentation is under NDA. 6 | 7 | Eval board: 8 | 9 | MPC5777M 10 | 11 | Board: 12 | 40Mhz external crystal 13 | 14 | Supported compilers: 15 | 16 | Info: 17 | MPC5777M 18 | CPU: 19 | Freq: 20 | Flash: 21 | RAM: 22 | ICACHE: 23 | DCACHE: 24 | 25 | Flash: 26 | 27 | Memory Map: See memory.ldf 28 | 29 | LEDS 30 | PE[1] - LED1 31 | 32 | -------------------------------------------------------------------------------- /boards/no_os/makefile.mod.mk: -------------------------------------------------------------------------------- 1 | 2 | # Note! This file should not be used directly, but included from 3 | # subdirectories 4 | 5 | inc-y += $(ROOTDIR)/boards/no_os/config 6 | inc-y += $(ROOTDIR)/boards/no_os/ 7 | vpath-y += $(ROOTDIR)/boards/no_os/src 8 | 9 | obj-y += misc_stubs.o 10 | 11 | ifeq ($(boarddir),linux) 12 | 13 | else 14 | # mpc5xxx_callout_stubs.o 15 | obj-$(CFG_PPC) += mpc5xxx_callout_stubs.o 16 | vpath-$(CFG_PPC) += $(ROOTDIR)/mcal/arch/mpc5xxx/src/integration 17 | 18 | obj-$(CFG_TC29X) += tcxxx_trap_asm.o 19 | 20 | endif 21 | -------------------------------------------------------------------------------- /boards/rh850f1h/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=rh850_x 4 | ARCH_FAM=renesas 5 | 6 | # CFG (y/n) macros 7 | CFG=RH850 RH850F1H HW_FLOAT OS_SYSTICK2 TIMER TIMER_OSTM 8 | CFG+=CREATE_SREC 9 | 10 | # What buildable modules does this board have, 11 | # default or private 12 | 13 | # MCAL 14 | MOD_AVAIL+= CAN MCU PORT DIO GPT FR ETH WDG ADC 15 | # Required modules 16 | MOD_USE += MCU KERNEL 17 | 18 | # Defines 19 | #def-y += SRAM_SIZE=0x00020000 20 | 21 | # Default cross compiler 22 | COMPILER?=ghs 23 | #DEFAULT_CROSS_COMPILE = /c/devtools/ghs/comp_201355 24 | #DEFAULT_GHS_COMPILE = /c/devtools/ghs/comp_201355 25 | DEFAULT_CROSS_COMPILE = /opt/v850-elf/bin/v850-elf- 26 | DEFAULT_GHS_COMPILE = /c/devtools/ghs/comp_201355 27 | 28 | GHS_TARGET?=rh850 -------------------------------------------------------------------------------- /boards/rh850f1l/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=rh850_x 4 | ARCH_FAM=renesas 5 | 6 | # CFG (y/n) macros 7 | CFG=RH850 RH850F1L OS_SYSTICK2 TIMER TIMER_OSTM 8 | CFG+=CREATE_SREC 9 | 10 | # Set RF7010132 (64pin) as default device 11 | RH850_PARTNUM?=RF7010132 12 | 13 | # Supported RH850F1L_PARTNUM below 14 | ifeq ($(RH850_PARTNUM),RF7010132) 15 | def-y += L_FLASH_CODE_0_LENGTH=0x80000 16 | endif 17 | 18 | ifeq ($(RH850_PARTNUM),RF7010243) 19 | def-y += L_FLASH_CODE_0_LENGTH=0xc0000 20 | endif 21 | 22 | # What buildable modules does this board have, 23 | # default or private 24 | 25 | # MCAL 26 | MOD_AVAIL+= CAN MCU PORT DIO GPT FR ETH WDG ADC SPI EEP PWM 27 | # Required modules 28 | MOD_USE += MCU KERNEL 29 | 30 | # Defines 31 | #def-y += SRAM_SIZE=0x00020000 32 | 33 | # Default cross compiler 34 | COMPILER?=ghs 35 | #DEFAULT_CROSS_COMPILE = /c/devtools/ghs/comp_201355 36 | #DEFAULT_GHS_COMPILE = /c/devtools/ghs/comp_201355 37 | DEFAULT_CROSS_COMPILE = /opt/v850-elf/bin/v850-elf- 38 | #DEFAULT_GHS_COMPILE = /c/devtools/ghs/comp_201355 39 | DEFAULT_GHS_COMPILE = /c/devtools/ghs/v800/comp_201355 40 | 41 | GHS_TARGET?=rh850 -------------------------------------------------------------------------------- /boards/s32k144evb_0100/board_info.txt: -------------------------------------------------------------------------------- 1 | The NXP S32K144EVB is an evaluation board from NXP using a S32K144 MCU. 2 | 3 | Datasheets: 4 | http://www.nxp.com/assets/documents/data/en/data-sheets/S32K-DS.pdf 5 | Reference Manual: 6 | http://www.nxp.com/assets/documents/data/en/reference-manuals/S32K-RM.pdf 7 | 8 | MCAL used is from NXP 9 | 10 | Info: 11 | S32K144 12 | ARM® Cortex™-M4F 13 | up to 112 MHz 14 | Watchdog 15 | 16 | Memory: 17 | Flash 512 KB 18 | System RAM (including FlexRAM) 64 KB 19 | EEPROM emulated by FlexRAM 4 KB (up to 64 KB D-Flash) 20 | 21 | -------------------------------------------------------------------------------- /boards/s32k144evb_0100/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=armv7_m 4 | ARCH_FAM=arm 5 | ARCH_MCU=s32k144 6 | 7 | # 8 | # CFG (y/n) macros 9 | # 10 | #CFG=ARM ARMV7E_M ARM_CM4 THUMB 11 | CFG=ARM ARMV7_M ARM_CM3 THUMB 12 | CFG+=S32K144 13 | CFG+=S32K144EVB_0100 14 | # Add our board 15 | CFG+=BRD_S32K144EVB_0100 16 | 17 | # What buildable modules does this board have, 18 | # default or private 19 | 20 | # MCAL (supplied by NXP) 21 | MOD_AVAIL+=ADC CAN DIO MCU FLS FEE PORT PWM GPT WDG SPI IRQ DMA ETH FR I2C ICU IOM LIN PWM STM UART TTY_UART TCPIP LWIP 22 | # Required modules 23 | MOD_USE += KERNEL 24 | 25 | # 26 | # Extra defines 27 | # 28 | 29 | COMPILER?=gcc 30 | #COMPILER?=ghs 31 | #COMPILER?=iar 32 | 33 | # Default cross compiler 34 | DEFAULT_CROSS_COMPILE = /opt/arm-none-eabi/bin/arm-none-eabi- 35 | DEFAULT_GHS_COMPILE=/c/devtools/ghs/arm/comp_201354 36 | DEFAULT_IAR_COMPILE = /c/devtools/IAR/IAR_Systems/Embedded_Workbench_8_0 37 | -------------------------------------------------------------------------------- /boards/s32k148_evbq176/board_info.txt: -------------------------------------------------------------------------------- 1 | The NXP S32K148EVB (Pin package Q176) is an evaluation board from NXP using a S32K148 MCU. 2 | 3 | Datasheets: 4 | https://www.nxp.com/docs/en/data-sheet/S32K-DS.pdf 5 | Reference Manual: 6 | https://www.nxp.com/docs/en/reference-manual/S32K-RM.pdf 7 | 8 | MCAL used is from NXP 9 | 10 | 11 | TBD----------------------------------------------------------------------- 12 | Info: 13 | S32K148 14 | ARM® Cortex™-M4F 15 | up to 112 MHz 16 | 17 | Memory: 18 | Flash 1,984 KB 19 | System RAM (including FlexRAM) 256 KB 20 | -------------------------------------------------------------------------------- /boards/s32k148_evbq176/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=armv7_m 4 | ARCH_FAM=arm 5 | ARCH_MCU=s32k148 6 | 7 | # 8 | # CFG (y/n) macros 9 | # 10 | #CFG=ARM ARMV7E_M ARM_CM4 THUMB 11 | CFG=ARM ARMV7_M ARM_CM3 THUMB 12 | CFG+=S32K148 13 | 14 | # Add our board 15 | CFG+=BRD_S32K148_EVBQ176 16 | 17 | # What buildable modules does this board have, 18 | # default or private 19 | 20 | # MCAL (supplied by NXP) 21 | 22 | 23 | MOD_AVAIL+=MCU CAN DIO PORT LIN SPI GPT ETH MCL ADC LWIP TCPIP 24 | 25 | # Required modules 26 | MOD_USE += KERNEL 27 | 28 | # 29 | # Extra defines 30 | # 31 | 32 | # Default cross compiler 33 | COMPILER?=gcc 34 | # Default cross compiler 35 | #COMPILER_FLAVOR=s32_newlib 36 | #DEFAULT_CROSS_COMPILE = /c/NXP/S32DS_ARM_v2018.R1/Cross_Tools/gcc-arm-none-eabi-4_9/bin/arm-none-eabi- 37 | DEFAULT_CROSS_COMPILE = /opt/arm-none-eabi/bin/arm-none-eabi- -------------------------------------------------------------------------------- /boards/spc560b54_spc56xxmb/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=mpc5xxx 4 | ARCH_FAM=ppc 5 | 6 | # CFG (y/n) macros 7 | CFG=PPC E200Z0 MPC55XX MPC560X MPC560XB SPC560B54 BRD_SPC560B54_SPC56XXMB 8 | CFG+=MCU_ARC_CONFIG 9 | CFG+=CREATE_SREC 10 | CFG+=VLE 11 | 12 | 13 | # What buildable modules does this board have, 14 | # default or private 15 | 16 | # MCAL 17 | MOD_AVAIL+=ADC DIO DMA CAN GPT LIN MCU PORT PWM WDG FLS SPI 18 | # Required modules 19 | MOD_USE += MCU KERNEL 20 | 21 | # Default cross compiler 22 | COMPILER?=cw 23 | # Default cross compiler 24 | COMPILER_FLAVOR=s32_newlib 25 | DEFAULT_CROSS_COMPILE = /c/devtools/Freescale/S32DS_Power_v2017.R1/Cross_Tools/powerpc-eabivle-4_9/bin/powerpc-eabivle- 26 | DEFAULT_CW_COMPILE= /c/devtools/Freescale/cw_mpc5xxx_2.10 27 | DEFAULT_DIAB_COMPILE = /c/devtools/WindRiver/diab/5.9.3.0/WIN32 28 | DEFAULT_GHS_COMPILE = /c/devtools/ghs/comp_201314p 29 | 30 | # Defines 31 | def-y += SRAM_SIZE=0x10000 32 | 33 | # Software floating point, PowerPC No Small-Data ELF EABI Object Format 34 | DIAB_TARGET?=-tPPCE200Z0VFS:simple 35 | GHS_TARGET?=ppc560xb 36 | 37 | -------------------------------------------------------------------------------- /boards/stm32_stm3210c/board_info.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/boards/stm32_stm3210c/board_info.txt -------------------------------------------------------------------------------- /boards/stm32_stm3210c/memory.ldf: -------------------------------------------------------------------------------- 1 | 2 | 3 | flash(R) : ORIGIN = 0x08000000, LENGTH = 256K 4 | ram(RW) : ORIGIN = 0x20000000, LENGTH = 64K 5 | -------------------------------------------------------------------------------- /boards/stm32f3_discovery/board_info.txt: -------------------------------------------------------------------------------- 1 | 2 | Used as Cortex-M4 OS Verification board only. 3 | -------------------------------------------------------------------------------- /boards/stm32f3_discovery/memory.ldf: -------------------------------------------------------------------------------- 1 | 2 | 3 | flash(R) : ORIGIN = 0x08000000, LENGTH = 256K 4 | ram(RW) : ORIGIN = 0x20000000, LENGTH = 64K 5 | -------------------------------------------------------------------------------- /boards/tc264_trb/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=aurix 4 | ARCH_FAM=tricore 5 | 6 | # 7 | # CFG (y/n) macros 8 | # 9 | CFG=TRICORE 10 | CFG+=AURIX 11 | CFG+=BRD_TC264_TRB 12 | CFG+=TC26X 13 | CFG+=TC2XX 14 | CFG+=OS_SYSTICK2 15 | CFG+=TIMER 16 | CFG+=TIMER_AURIX 17 | 18 | SELECT_CORE?=0 19 | 20 | # What buildable modules does this board have, 21 | # default or private 22 | 23 | # MCAL (supplied by Infineon) 24 | MOD_AVAIL+=CAN DIO MCU FLS PORT DMA GPT GTM 25 | # Required modules 26 | MOD_USE += KERNEL 27 | 28 | # 29 | # Extra defines 30 | # 31 | 32 | def-y += __TC29XX__ 33 | 34 | COMPILER=gcc 35 | 36 | DEFAULT_CROSS_COMPILE=/c/devtools/HIGHTEC/toolchains/tricore/v4.9.2.0/bin/tricore- 37 | 38 | PATH:=$(PATH):/c/devtools/HIGHTEC/licensemanager 39 | -------------------------------------------------------------------------------- /boards/tc399_trb/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=aurix 4 | ARCH_FAM=tricore 5 | 6 | # 7 | # CFG (y/n) macros 8 | # 9 | CFG=TRICORE 10 | CFG+=AURIX 11 | CFG+=BRD_TC399_TB 12 | CFG+=TC39X 13 | CFG+=TC3XX 14 | CFG+=OS_SYSTICK2 15 | CFG+=TIMER 16 | CFG+=TIMER_AURIX 17 | 18 | SELECT_CORE?=0 19 | 20 | # What buildable modules does this board have, 21 | # default or private 22 | 23 | # MCAL (supplied by Infineon) 24 | MOD_AVAIL+=ADC CAN DIO MCU FLS FEE PORT PWM GPT WDG SPI IRQ DMA DSADC ETH FR HSSL I2C ICU IOM LIN MSC PWM SENT SMU STM UART TTY_UART TCPIP LWIP 25 | # Required modules 26 | MOD_USE += KERNEL 27 | 28 | # 29 | # Extra defines 30 | # 31 | 32 | def-y += __TC39XX__ 33 | 34 | COMPILER=gcc 35 | 36 | # For now assume located here:C:\devtools\HIGHTEC\toolchains\tricore\v4.6.6.0-infineon-1.1 37 | DEFAULT_CROSS_COMPILE=/c/devtools/HIGHTEC_4661/toolchains/tricore/v4.6.6.1/bin/tricore- 38 | 39 | 40 | -------------------------------------------------------------------------------- /boards/tmdx570lc43hdk/memory.ldf: -------------------------------------------------------------------------------- 1 | 2 | #if !defined(L_BOOT_RESERVED_SPACE) 3 | #define L_BOOT_RESERVED_SPACE 0x0 4 | #endif 5 | 6 | #define L_FLASH_CODE_0_ORIGIN (0x00000000+L_BOOT_RESERVED_SPACE) 7 | #define L_FLASH_CODE_0_LENGTH L_SIZE_2M 8 | #define L_SRAM_0_ORIGIN 0x08000000 9 | #define L_SRAM_0_LENGTH L_SIZE_160K 10 | -------------------------------------------------------------------------------- /boards/tmdx570ls12hdk/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=arm_cr4 4 | ARCH_FAM=arm 5 | 6 | # 7 | # CFG (y/n) macros 8 | # 9 | 10 | CFG+=ARM ARM_CR4 ARMV7_AR 11 | # Add our board 12 | 13 | CFG+=TMS570 BRD_TMDX570_LS12HDK TMS570LS12X 14 | CFG+=OS_SYSTICK2 15 | CFG+=HW_FLOAT 16 | CFG+=THUMB 17 | CFG+=BIG_ENDIAN 18 | CFG+=TIMER_RTI 19 | 20 | # What buildable modules does this board have, 21 | # default or private 22 | 23 | # MCAL 24 | MOD_AVAIL+=ADC CAN DIO MCU FLS FEE PORT PWM GPT WDG SPI LIN CAN_DCAN 25 | MOD_AVAIL+=TCF LWIP TCPIP SLEEP 26 | # Required modules 27 | MOD_USE += MCU KERNEL 28 | 29 | # Default cross compiler 30 | DEFAULT_CROSS_COMPILE = /opt/arm-none-eabi/bin/arm-none-eabi- 31 | -------------------------------------------------------------------------------- /boards/tmdx570ls12hdk/memory.ldf: -------------------------------------------------------------------------------- 1 | 2 | 3 | #define L_FLASH_CODE_0_ORIGIN 0x00000000 4 | #define L_FLASH_CODE_0_LENGTH L_SIZE_2M 5 | #define L_SRAM_0_ORIGIN 0x08000000 6 | #define L_SRAM_0_LENGTH L_SIZE_192K 7 | 8 | 9 | -------------------------------------------------------------------------------- /boards/traveo_s6j328c/board_info.txt: -------------------------------------------------------------------------------- 1 | 2 | Documentation is not available from cypress site, yet. 3 | 4 | INFO 5 | S6J328CLSF 6 | LITTLE ENDIAN 7 | FPU: 8 | VFPv3-D16 9 | Interrupt Controller: 10 | 11 | 12 | BOARD 13 | S6T3J200281A216A2 (With S6J328CLSF mounted) 14 | 15 | Links: 16 | Web: 17 | User Manual: 18 | 19 | MCAL 20 | CYPRESS 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /boards/traveo_s6j328c/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=arm_cr4 4 | ARCH_FAM=arm 5 | # 6 | # CFG (y/n) macros 7 | # 8 | 9 | CFG=ARM ARM_CR4 ARM_CR5 ARMV7_AR 10 | # Add our board 11 | 12 | CFG+=TRAVEO TRAVEO_S6J328C 13 | CFG+=OS_SYSTICK2 14 | CFG+=HW_FLOAT 15 | CFG+=THUMB 16 | CFG+=LITTLE_ENDIAN 17 | CFG+=MCAL_CYPRESS 18 | CFG+=MCAL_EXTERNAL 19 | 20 | # What buildable modules does this board have, 21 | # default or private 22 | 23 | # MCAL 24 | MOD_AVAIL+=ADC CAN DIO FLS GPT MCU PORT PWM SPI WDG 25 | 26 | # Required modules 27 | MOD_USE += MCU KERNEL 28 | 29 | GHS_TARGET=cortexr4f 30 | 31 | # Default cross compiler 32 | DEFAULT_CROSS_COMPILE = /opt/arm-none-eabi/bin/arm-none-eabi- 33 | GHS_COMPILE=/c/devtools/ghs/arm/comp_201354 34 | 35 | -------------------------------------------------------------------------------- /boards/traveo_s6j328c/memory.ldf: -------------------------------------------------------------------------------- 1 | 2 | 3 | #define L_FLASH_CODE_0_ORIGIN 0x00a00000 4 | #define L_FLASH_CODE_0_LENGTH L_SIZE_2M 5 | #define L_SRAM_0_ORIGIN 0x00000000 6 | #define L_SRAM_0_LENGTH L_SIZE_128K 7 | 8 | /* Security stuff */ 9 | #define L_FLASH_CODE_2_ORIGIN 0x009f0000 10 | #define L_FLASH_CODE_2_LENGTH L_SIZE_64K 11 | 12 | -------------------------------------------------------------------------------- /boards/zynq_zc702/build_config.mk: -------------------------------------------------------------------------------- 1 | 2 | # ARCH defines 3 | ARCH=armv7_ar 4 | ARCH_FAM=arm 5 | 6 | # 7 | # CFG (y/n) macros 8 | # 9 | 10 | CFG=ARM ARMV7_AR ARM_GIC ZYNQ 11 | # Add our board 12 | CFG+=BRD_ZYNQ_ZC702 OS_SYSTICK2 13 | 14 | CFG+=TIMER_GLOBAL 15 | CFG+=HW_FLOAT 16 | CFG+=THUMB 17 | CFG+=TIMER 18 | CFG+=MMU_SETUP 19 | 20 | 21 | # What buildable modules does this board have, 22 | # default or private 23 | 24 | # MCAL 25 | MOD_AVAIL+=ADC CAN DIO MCU FLS FEE PORT PWM GPT ICU WDG SPI ETH LIN 26 | MOD_AVAIL+=TCF LWIP TCPIP SLEEP SOAD DOIP ETHSM 27 | # Required modules 28 | MOD_USE += MCU KERNEL 29 | 30 | # 31 | # Extra defines 32 | # 33 | 34 | #def-y += NON_ASR_ETH_DRIVER 35 | #def-y += USE_NO_ETHIF 36 | 37 | # Default cross compiler 38 | DEFAULT_CROSS_COMPILE = /opt/arm-none-eabi/bin/arm-none-eabi- 39 | DEFAULT_ARMCC_COMPILE=/c/devtools/DS-5 40 | 41 | -------------------------------------------------------------------------------- /boards/zynq_zc702/memory.ldf: -------------------------------------------------------------------------------- 1 | 2 | flash(R) : ORIGIN = 0x00000000, LENGTH = 128K 3 | ram(RW) : ORIGIN = 0x00020000, LENGTH = 64K 4 | -------------------------------------------------------------------------------- /cdd/DltUartCom/mod.mk: -------------------------------------------------------------------------------- 1 | obj-y += DltUartCom.o 2 | inc-y += $(ROOTDIR)/Cdd/DltUartCom/src 3 | vpath-y += $(ROOTDIR)/Cdd/DltUartCom/src 4 | -------------------------------------------------------------------------------- /cdd/EthTrcv/mod.mk: -------------------------------------------------------------------------------- 1 | ifeq ($(BOARDDIR),rh850f1h) 2 | obj-y += CDD_EthTrcv_NonGeneric.o 3 | else ifeq ($(BOARDDIR),mpc5748g_mpc574xg_mb) 4 | obj-y += CDD_EthTrcv_NonGeneric.o 5 | else ifeq ($(BOARDDIR),mpc5746c_mpc574xg_mb) 6 | obj-y += CDD_EthTrcv_NonGeneric.o 7 | else ifeq ($(BOARDDIR),mpc5748g_mpc574xg_mb) 8 | obj-y += CDD_EthTrcv_NonGeneric.o 9 | else ifeq ($(BOARDDIR),mpc5777c_mpc57xx_mb) 10 | obj-y += CDD_EthTrcv_NonGeneric.o 11 | else ifeq ($(BOARDDIR),jacinto6) 12 | obj-y += CDD_EthTrcv_NonGeneric.o 13 | else ifeq ($(BOARDDIR),s32k148_evbq176) 14 | obj-y += CDD_EthTrcv_NonGeneric.o 15 | else 16 | obj-y += CDD_EthTrcv_Generic.o 17 | endif 18 | obj-$(USE_CDDETHTRCV) += CddEthTrcv_Cfg.o 19 | inc-y += $(ROOTDIR)/communication/EthTrcv/inc 20 | inc-y += $(ROOTDIR)/cdd/EthTrcv/inc 21 | vpath-y += $(ROOTDIR)/cdd/EthTrcv/src 22 | -------------------------------------------------------------------------------- /cdd/LinSlv/cdd_linslv.mod.mk: -------------------------------------------------------------------------------- 1 | #CDD_LinSlv 2 | obj-$(USE_CDD_LINSLV) += CDD_LinSlv.o 3 | obj-$(USE_CDD_LINSLV) += CDD_LinSlv_Internal.o 4 | obj-$(USE_CDD_LINSLV) += CDD_LinSlv_Cfg.o 5 | inc-$(USE_CDD_LINSLV) += $(ROOTDIR)/cdd/LinSlv/src/ 6 | vpath-$(USE_CDD_LINSLV) += $(ROOTDIR)/cdd/LinSlv/src 7 | vpath-$(USE_CDD_LINSLV) += $(ROOTDIR)/cdd/LinSlv/src/$(ARCH_FAM) -------------------------------------------------------------------------------- /cdd/PduR/mod.mk: -------------------------------------------------------------------------------- 1 | 2 | 3 | obj-y += CddPduR.o 4 | obj-y += CddPduR_Cfg.o 5 | inc-y += $(ROOTDIR)/cdd/PduR/src 6 | vpath-y += $(ROOTDIR)/cdd/PduR/src 7 | -------------------------------------------------------------------------------- /clib/clib.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef CLIB_H_ 16 | #define CLIB_H_ 17 | 18 | #include "device.h" 19 | 20 | 21 | #endif /* CLIB_H_ */ 22 | -------------------------------------------------------------------------------- /clib/fcntl.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | #ifndef FCNTL_H_ 15 | #define FCNTL_H_ 16 | 17 | #define O_NONBLOCK 1 18 | 19 | #define F_SETFL 1 20 | #define F_GETFL 2 21 | 22 | int fcntl(int fd, int cmd, int arg ); 23 | 24 | #endif /* FS_H_ */ 25 | -------------------------------------------------------------------------------- /common/crtin.c: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | typedef void (*func_ptr)(void); 16 | 17 | extern func_ptr _init_array_start[], _init_array_end[]; 18 | extern func_ptr _fini_array_start[], _fini_array_end[]; 19 | 20 | void _init(void) 21 | { 22 | for ( func_ptr* func = _init_array_start; func != _init_array_end; func++ ) { 23 | (*func)(); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /common/tcf/streams.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef STREAMS_H_ 16 | #define STREAMS_H_ 17 | 18 | #include "Std_Types.h" 19 | #include "tcf.h" 20 | 21 | uint8_t TCF_TTY_SendChar (uint8_t ch); 22 | void init_streams(); 23 | 24 | uint16_t handle_StreamsCommand(TCF_Command* command, char* buf); 25 | uint16_t handle_StreamsEvent(TCF_Event* event, char* buf); 26 | 27 | #endif /* STREAMS_H_ */ 28 | -------------------------------------------------------------------------------- /common/tcf/sys_monitor.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef SYSMONITOR_H_ 16 | #define SYSMONITOR_H_ 17 | 18 | #include "Std_Types.h" 19 | #include "tcf.h" 20 | 21 | uint16_t handle_SysMonCommand(TCF_Command* command, char* buf); 22 | uint16_t handle_SysMonEvent(TCF_Event* event, char* buf); 23 | 24 | #endif /* SYSMONITOR_H_ */ 25 | -------------------------------------------------------------------------------- /common/tcf/tcf.mod.mk: -------------------------------------------------------------------------------- 1 | #TCF 2 | obj-$(USE_TCF) += tcf.o 3 | obj-$(USE_TCF) += Tcf_Cfg.o 4 | obj-$(USE_TCF) += sys_monitor.o 5 | obj-$(USE_TCF) += streams.o 6 | inc-$(USE_TCF) += $(ROOTDIR)/common/tcf 7 | vpath-$(USE_TCF) += $(ROOTDIR)/common/tcf -------------------------------------------------------------------------------- /communication/CanIf/CanIf.mod.mk: -------------------------------------------------------------------------------- 1 | #CanIf 2 | obj-$(USE_CANIF) += CanIf.o 3 | obj-$(USE_CANIF) += CanIf_Cfg.o 4 | pb-obj-$(USE_CANIF) += CanIf_PBCfg.o 5 | pb-pc-file-$(USE_CANIF) += CanIf_Cfg.h CanIf_Cfg.c 6 | 7 | vpath-$(USE_CANIF) += $(ROOTDIR)/communication/CanIf/src 8 | inc-$(USE_CANIF) += $(ROOTDIR)/communication/CanIf/inc 9 | -------------------------------------------------------------------------------- /communication/CanIf/inc/CanIf_MemMap.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #include "MemMap.h" 16 | 17 | -------------------------------------------------------------------------------- /communication/CanNm/CanNm.mod.mk: -------------------------------------------------------------------------------- 1 | # CanNm 2 | obj-$(USE_CANNM) += CanNm.o 3 | obj-$(USE_CANNM) += CanNm_Cfg.o 4 | pb-obj-$(USE_CANNM) += CanNm_PBCfg.o 5 | pb-pc-file-$(USE_CANNM) += CanNm_Cfg.c CanNm_Cfg.h 6 | 7 | inc-$(USE_CANNM) += $(ROOTDIR)/communication/CanNm/inc 8 | inc-$(USE_CANNM) += $(ROOTDIR)/communication/CanNm/src 9 | vpath-$(USE_CANNM) += $(ROOTDIR)/communication/CanNm/src 10 | -------------------------------------------------------------------------------- /communication/CanNm/inc/CanNm_Cbk.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | 16 | #ifndef CANNM_CBK_H_ 17 | #define CANNM_CBK_H_ 18 | 19 | /* We need this to export pdu id's */ 20 | #include "CanNm.h" 21 | 22 | #endif /* CANNM_CBK_H_ */ 23 | -------------------------------------------------------------------------------- /communication/CanSM/CanSM.mod.mk: -------------------------------------------------------------------------------- 1 | # CanSm 2 | obj-$(USE_CANSM) += CanSM.o 3 | obj-$(USE_CANSM) += CanSM_Internal.o 4 | obj-$(USE_CANSM) += CanSM_LCfg.o 5 | ifeq ($(filter CanSM_Extension.o,$(obj-y)),) 6 | obj-$(USE_CANSM_EXTENSION) += CanSM_Extension.o 7 | endif 8 | 9 | inc-$(USE_CANSM) += $(ROOTDIR)/communication/CanSM/inc 10 | inc-$(USE_CANSM) += $(ROOTDIR)/communication/CanSM/src 11 | vpath-$(USE_CANSM) += $(ROOTDIR)/communication/CanSM/src 12 | -------------------------------------------------------------------------------- /communication/CanSM/inc/CanSM_ComM.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | 16 | #ifndef CANSM_COMM_H_ 17 | #define CANSM_COMM_H_ 18 | 19 | /* !req CANSM009 */ 20 | 21 | #endif /* CANSM_COMM_H_ */ 22 | -------------------------------------------------------------------------------- /communication/CanSM/inc/CanSM_EcuM.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | 16 | #ifndef CANSM_ECUM_H_ 17 | #define CANSM_ECUM_H_ 18 | 19 | #include "CanSM.h" 20 | 21 | /** This service initializes the CanSM module */ 22 | /** @req CANSM023 */ 23 | /** @req CANSM253 */ 24 | void CanSM_Init( const CanSM_ConfigType* ConfigPtr ); 25 | 26 | #endif /* CANSM_ECUM_H_ */ 27 | -------------------------------------------------------------------------------- /communication/CanSM/inc/CanSM_MemMap.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #include "MemMap.h" 16 | -------------------------------------------------------------------------------- /communication/CanTp/CanTp.mod.mk: -------------------------------------------------------------------------------- 1 | #CanTp 2 | obj-$(USE_CANTP) += CanTp.o 3 | pb-obj-$(USE_CANTP) += CanTp_PBCfg.o 4 | pb-pc-file-$(USE_CANTP) += CanTp_Cfg.h 5 | 6 | vpath-$(USE_CANTP) += $(ROOTDIR)/communication/CanTp/src 7 | inc-$(USE_CANTP) += $(ROOTDIR)/communication/CanTp/inc -------------------------------------------------------------------------------- /communication/Com/Com.mod.mk: -------------------------------------------------------------------------------- 1 | # Com 2 | obj-$(USE_COM) += Com_Cfg.o 3 | pb-obj-$(USE_COM) += Com_PbCfg.o 4 | pb-pc-file-$(USE_COM) += Com_Cfg.h Com_Cfg.c 5 | 6 | obj-$(USE_COM) += Com_Com.o 7 | obj-$(USE_COM) += Com_Sched.o 8 | obj-$(USE_COM) += Com.o 9 | obj-$(USE_COM) += Com_misc.o 10 | 11 | inc-$(USE_COM) += $(ROOTDIR)/communication/Com/inc 12 | inc-$(USE_COM) += $(ROOTDIR)/communication/Com/src 13 | vpath-$(USE_COM) += $(ROOTDIR)/communication/Com/src 14 | -------------------------------------------------------------------------------- /communication/Com/inc/Com_Cbk.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | 16 | 17 | /* This file should contain all callback functions 18 | * and all configurable callout functions. 19 | * */ 20 | /* !req COM731 */ 21 | 22 | 23 | #ifndef COM_CBK_H_ 24 | #define COM_CBK_H_ 25 | 26 | #endif /*COM_CBK_H_*/ 27 | -------------------------------------------------------------------------------- /communication/Com/inc/Com_MemMap.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #include "MemMap.h" 16 | -------------------------------------------------------------------------------- /communication/Com/inc/Com_Sched.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef COM_SCHED_H_ 16 | #define COM_SCHED_H_ 17 | 18 | #include "Com.h" 19 | 20 | /* @req COM398 */ 21 | void Com_MainFunctionRx(void); 22 | /* @req COM399 */ 23 | void Com_MainFunctionTx(void); 24 | 25 | void Com_MainFunctionRouteSignals(void); 26 | 27 | 28 | #endif /* COM_SCHED_H_ */ 29 | -------------------------------------------------------------------------------- /communication/ComM/ComM.mod.mk: -------------------------------------------------------------------------------- 1 | # ComM 2 | obj-$(USE_COMM) += ComM.o 3 | obj-$(USE_COMM) += ComM_Cfg.o 4 | obj-$(USE_COMM) += ComM_ASIL.o 5 | pb-obj-$(USE_COMM) += ComM_PBcfg.o 6 | pb-pc-file-$(USE_COMM) += ComM_Cfg.h ComM_Cfg.c 7 | 8 | 9 | inc-$(USE_COMM) += $(ROOTDIR)/communication/ComM/inc 10 | inc-$(USE_COMM) += $(ROOTDIR)/communication/ComM/src 11 | vpath-$(USE_COMM) += $(ROOTDIR)/communication/ComM/src -------------------------------------------------------------------------------- /communication/ComM/inc/ComM_BusSM.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef COMM_BUSSM_H_ 16 | #define COMM_BUSSM_H_ 17 | 18 | #include "ComStack_Types.h" 19 | #include "ComM_Types.h" 20 | 21 | void ComM_BusSM_ModeIndication( NetworkHandleType Channel,ComM_ModeType *ComMode ); 22 | 23 | #endif /*COMM_BUSSM_H_*/ 24 | -------------------------------------------------------------------------------- /communication/ComM/inc/ComM_Dcm.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | 16 | #ifndef COMM_DCM_H 17 | #define COMM_DCM_H 18 | 19 | void ComM_DCM_ActiveDiagnostic(NetworkHandleType Channel); /** @req COMM873 */ 20 | void ComM_DCM_InactiveDiagnostic(NetworkHandleType Channel); /** @req COMM874 */ 21 | 22 | #endif /*COMM_DCM_H*/ 23 | -------------------------------------------------------------------------------- /communication/ComM/inc/ComM_EcuM.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | 16 | #ifndef COMM_ECUM_H 17 | #define COMM_ECUM_H 18 | 19 | void ComM_EcuM_WakeUpIndication( NetworkHandleType Channel ); 20 | 21 | #endif /*COMM_ECUM_H*/ 22 | -------------------------------------------------------------------------------- /communication/ComM/inc/ComM_MemMap.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #include "MemMap.h" 16 | -------------------------------------------------------------------------------- /communication/DoIP/DoIP.mod.mk: -------------------------------------------------------------------------------- 1 | # DoIP 2 | obj-$(USE_DOIP) += DoIP_Cfg.o 3 | obj-$(USE_DOIP) += DoIP.o 4 | ifeq ($(filter DoIP_Callout_Stubs.o,$(obj-y)),) 5 | obj-$(USE_DOIP) += DoIP_Callout_Stubs.o 6 | endif 7 | 8 | 9 | inc-$(USE_DOIP) += $(ROOTDIR)/communication/DoIP/inc 10 | vpath-$(USE_DOIP) += $(ROOTDIR)/communication/DoIP/src 11 | 12 | -------------------------------------------------------------------------------- /communication/DoIP/inc/DoIP_Cbk.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /communication/EthIf/EthIf.mod.mk: -------------------------------------------------------------------------------- 1 | # EthIF 2 | obj-$(USE_ETHIF) += EthIf_Lcfg.o 3 | obj-$(USE_ETHIF) += EthIf_PBcfg.o 4 | obj-$(USE_ETHIF) += EthIf.o 5 | 6 | vpath-$(USE_ETHIF) += $(ROOTDIR)/communication/EthIf/src 7 | inc-$(USE_ETHIF) += $(ROOTDIR)/communication/EthIf/inc 8 | inc-$(USE_ETHIF) += $(ROOTDIR)/mcal/Eth/inc -------------------------------------------------------------------------------- /communication/EthSM/EthSM.mod.mk: -------------------------------------------------------------------------------- 1 | #Ethernet 2 | obj-$(USE_ETHSM) += EthSM_Cfg.o 3 | obj-$(USE_ETHSM) += EthSM.o 4 | 5 | vpath-$(USE_ETHSM) += $(ROOTDIR)/communication/EthSM/src 6 | inc-$(USE_ETHSM) += $(ROOTDIR)/communication/EthSM/inc 7 | -------------------------------------------------------------------------------- /communication/EthTSyn/EthTSyn.mod.mk: -------------------------------------------------------------------------------- 1 | #Ethernet 2 | obj-$(USE_ETHTSYN) += EthTSyn_Cfg.o 3 | obj-$(USE_ETHTSYN) += EthTSyn_Internal.o 4 | obj-$(USE_ETHTSYN) += EthTSyn.o 5 | 6 | inc-$(USE_ETHTSYN) += $(ROOTDIR)/include/rte 7 | vpath-$(USE_ETHTSYN) += $(ROOTDIR)/communication/EthTSyn/src 8 | inc-$(USE_ETHTSYN) += $(ROOTDIR)/communication/EthTSyn/inc 9 | inc-$(USE_ETHTSYN) += $(ROOTDIR)/system/StbM/inc -------------------------------------------------------------------------------- /communication/EthTrcv/inc/EthTrcv_Types.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef ETHTRCV_TYPES_H_ 16 | #define ETHTRCV_TYPES_H_ 17 | 18 | #include "Eth_GeneralTypes.h" 19 | #if 0 /* Not available */ 20 | #include "EthTrcv_Cfg.h" 21 | #endif 22 | 23 | 24 | 25 | #endif /* ETHTRCV_TYPES_H_ */ 26 | 27 | -------------------------------------------------------------------------------- /communication/FrIf/FrIf.mod.mk: -------------------------------------------------------------------------------- 1 | #FrIf 2 | obj-$(USE_FRIF) += FrIf.o 3 | obj-$(USE_FRIF) += FrIf_Cfg.o 4 | obj-$(USE_FRIF) += FrIf_Lcfg.o 5 | obj-$(USE_FRIF) += FrIf_PBcfg.o 6 | obj-$(USE_FRIF) += FrIf_Internal.o 7 | 8 | vpath-$(USE_FRIF) += $(ROOTDIR)/communication/FrIf/src 9 | inc-$(USE_FRIF) += $(ROOTDIR)/communication/FrIf/inc 10 | 11 | -------------------------------------------------------------------------------- /communication/FrNm/FrNm.mod.mk: -------------------------------------------------------------------------------- 1 | #FrNm 2 | obj-$(USE_FRNM) += FrNm.o 3 | obj-$(USE_FRNM) += FrNm_Internal.o 4 | obj-$(USE_FRNM) += FrNm_PBcfg.o 5 | obj-$(USE_FRNM) += FrNm_Lcfg.o 6 | 7 | vpath-$(USE_FRNM) += $(ROOTDIR)/communication/FrNm/src 8 | inc-$(USE_FRNM) += $(ROOTDIR)/communication/FrNm/inc 9 | inc-$(USE_FRNM) += $(ROOTDIR)/communication/FrNm/src -------------------------------------------------------------------------------- /communication/FrSM/FrSM.mod.mk: -------------------------------------------------------------------------------- 1 | #FrSM 2 | obj-$(USE_FRSM) += FrSM.o 3 | obj-$(USE_FRSM) += FrSM_Internal.o 4 | obj-$(USE_FRSM) += FrSM_Lcfg.o 5 | obj-$(USE_FRSM) += FrSM_PBcfg.o 6 | 7 | vpath-$(USE_FRSM) += $(ROOTDIR)/communication/FrSM/src 8 | inc-$(USE_FRSM) += $(ROOTDIR)/communication/FrSM/inc -------------------------------------------------------------------------------- /communication/FrTp/FrTp.mod.mk: -------------------------------------------------------------------------------- 1 | #FrTp 2 | obj-$(USE_FRTP) += FrTp.o 3 | obj-$(USE_FRTP) += FrTp_PBcfg.o 4 | obj-$(USE_FRTP) += FrTp_Lcfg.o 5 | 6 | vpath-$(USE_FRTP) += $(ROOTDIR)/communication/FrTp/src 7 | inc-$(USE_FRTP) += $(ROOTDIR)/communication/FrTp/inc 8 | -------------------------------------------------------------------------------- /communication/IpduM/IpduM.mod.mk: -------------------------------------------------------------------------------- 1 | # IpduM 2 | obj-$(USE_IPDUM) += IpduM.o 3 | obj-$(USE_IPDUM) += IpduM_PbCfg.o 4 | 5 | inc-$(USE_IPDUM) += $(ROOTDIR)/communication/IpduM/inc 6 | vpath-$(USE_IPDUM) += $(ROOTDIR)/communication/IpduM/src 7 | -------------------------------------------------------------------------------- /communication/IpduM/inc/IpduM_Cbk.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | #ifndef IPDUM_CBK_H_ 15 | #define IPDUM_CBK_H_ 16 | 17 | void IpduM_RxIndication(PduIdType RxPduId, PduInfoType *PduInfoPtr); /* @req 4.0.3/IPDUM040 */ 18 | void IpduM_TxConfirmation(PduIdType TxPduId); /* @req 4.0.3/IPDUM044 */ 19 | 20 | #endif /*IPDUM_CBK_H_*/ 21 | -------------------------------------------------------------------------------- /communication/J1939Tp/J1939Tp.mod.mk: -------------------------------------------------------------------------------- 1 | #J1939Tp 2 | obj-$(USE_J1939TP) += J1939Tp.o 3 | obj-$(USE_J1939TP) += J1939Tp_PBcfg.o 4 | 5 | inc-$(USE_J1939TP) += $(ROOTDIR)/communication/J1939Tp/inc 6 | vpath-$(USE_J1939TP) += $(ROOTDIR)/communication/J1939Tp/src -------------------------------------------------------------------------------- /communication/LdCom/LdCom.mod.mk: -------------------------------------------------------------------------------- 1 | #LdCom 2 | obj-$(USE_LDCOM) += LdCom.o 3 | obj-$(USE_LDCOM) += LdCom_Lcfg.o 4 | obj-$(USE_LDCOM) += LdCom_PBcfg.o 5 | 6 | vpath-$(USE_LDCOM) += $(ROOTDIR)/communication/LdCom/src 7 | inc-$(USE_LDCOM) += $(ROOTDIR)/communication/LdCom/inc 8 | -------------------------------------------------------------------------------- /communication/LinIf/LinIf.mod.mk: -------------------------------------------------------------------------------- 1 | # LinIf 2 | obj-$(USE_LINIF) += LinIf_Lcfg.o 3 | obj-$(USE_LINIF) += LinIf_PBcfg.o 4 | obj-$(USE_LINIF) += LinIf.o 5 | 6 | inc-$(USE_LINIF) += $(ROOTDIR)/communication/LinIf/inc 7 | vpath-$(USE_LINIF) += $(ROOTDIR)/communication/LinIf/src -------------------------------------------------------------------------------- /communication/LinIf/LinTp.mod.mk: -------------------------------------------------------------------------------- 1 | # LinIf 2 | obj-$(USE_LINTP) += LinTp_Lcfg.o 3 | obj-$(USE_LINTP) += LinTp_PBcfg.o 4 | obj-$(USE_LINTP) += LinTp.o 5 | 6 | inc-$(USE_LINTP) += $(ROOTDIR)/communication/LinIf/inc 7 | vpath-$(USE_LINTP) += $(ROOTDIR)/communication/LinIf/src -------------------------------------------------------------------------------- /communication/LinIf/inc/LinIf_Cbk.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | #ifndef LINIF_CBK_H_ 23 | #define LINIF_CBK_H_ 24 | 25 | #include "Std_Types.h" 26 | 27 | void LinIf_Cbk_CheckWakeup(NetworkHandleType Channel); 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /communication/LinSM/LinSM.mod.mk: -------------------------------------------------------------------------------- 1 | #LinSM 2 | obj-$(USE_LINSM) += LinSM_Lcfg.o 3 | obj-$(USE_LINSM) += LinSM_Cfg.o 4 | obj-$(USE_LINSM) += LinSM.o 5 | 6 | inc-$(USE_LINSM) += $(ROOTDIR)/communication/LinSM/inc 7 | vpath-$(USE_LINSM) += $(ROOTDIR)/communication/LinSM/src -------------------------------------------------------------------------------- /communication/Nm/Nm.mod.mk: -------------------------------------------------------------------------------- 1 | # Nm 2 | obj-$(USE_NM) += Nm.o 3 | obj-$(USE_NM) += Nm_Cfg.o 4 | ifeq ($(filter Nm_Extension.o,$(obj-y)),) 5 | obj-$(USE_NM_EXTENSION) += Nm_Extension.o 6 | endif 7 | 8 | inc-$(USE_NM) += $(ROOTDIR)/communication/Nm/inc 9 | vpath-$(USE_NM) += $(ROOTDIR)/communication/Nm/src -------------------------------------------------------------------------------- /communication/Nm/inc/Nm_Cbk.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | 16 | #ifndef NM_CBK_H_ 17 | #define NM_CBK_H_ 18 | 19 | 20 | #endif /* NM_CBK_H_ */ 21 | -------------------------------------------------------------------------------- /communication/OsekNm/OsekNm.mod.mk: -------------------------------------------------------------------------------- 1 | #OsekNm 2 | obj-$(USE_OSEKNM) += OsekDirectNm.o 3 | obj-$(USE_OSEKNM) += OsekIndirectNm.o 4 | obj-$(USE_OSEKNM) += OsekNm.o 5 | obj-$(USE_OSEKNM) += OsekNm_Cfg.o 6 | obj-$(USE_OSEKNM) += OsekNmDllStubs.o 7 | 8 | vpath-$(USE_OSEKNM) += $(ROOTDIR)/communication/OsekNm/src 9 | inc-$(USE_OSEKNM) += $(ROOTDIR)/communication/OsekNm/inc 10 | -------------------------------------------------------------------------------- /communication/PduR/PduR.mod.mk: -------------------------------------------------------------------------------- 1 | # PduR 2 | obj-$(USE_PDUR) += PduR_CanNm.o 3 | obj-$(USE_PDUR) += PduR_Com.o 4 | obj-$(USE_PDUR) += PduR_Logic.o 5 | obj-$(USE_PDUR) += PduR_LinIf.o 6 | obj-$(USE_PDUR) += PduR_CDD_LinSlvIf.o 7 | obj-$(USE_PDUR) += PduR_CddPduR.o 8 | pb-obj-$(USE_PDUR) += PduR_PbCfg.o 9 | pb-pc-file-$(USE_PDUR) += PduR_Cfg.h PduR_Cfg.c 10 | obj-$(USE_PDUR) += PduR_Cfg.o 11 | obj-$(USE_PDUR) += PduR_CanIf.o 12 | obj-$(USE_PDUR) += PduR_CanTp.o 13 | obj-$(USE_PDUR) += PduR_J1939Tp.o 14 | obj-$(USE_PDUR) += PduR_IpduM.o 15 | obj-$(USE_PDUR) += PduR_Dcm.o 16 | obj-$(USE_PDUR) += PduR_SoAd.o 17 | obj-$(USE_PDUR) += PduR_DoIP.o 18 | obj-$(USE_PDUR) += PduR_Routing.o 19 | obj-$(USE_PDUR) += PduR.o 20 | obj-$(USE_PDUR) += PduR_FrIf.o 21 | obj-$(USE_PDUR) += PduR_FrNm.o 22 | obj-$(USE_PDUR) += PduR_FrTp.o 23 | obj-$(USE_PDUR) += PduR_UdpNm.o 24 | obj-$(USE_PDUR) += PduR_LdCom.o 25 | obj-$(USE_PDUR) += PduR_SecOC.o 26 | 27 | inc-$(USE_PDUR) += $(ROOTDIR)/communication/Com/inc 28 | inc-$(USE_PDUR) += $(ROOTDIR)/communication/PduR/inc 29 | vpath-$(USE_PDUR) += $(ROOTDIR)/communication/PduR/src -------------------------------------------------------------------------------- /communication/PduR/inc/PduR_LdCom.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef PDUR_LDCOM_H_ 16 | #define PDUR_LDCOM_H_ 17 | 18 | #include "PduR.h" 19 | 20 | #if (PDUR_ZERO_COST_OPERATION == STD_OFF) && (PDUR_LDCOM_SUPPORT == STD_ON) 21 | 22 | Std_ReturnType PduR_LdComTransmit(PduIdType pduId, const PduInfoType* pduInfoPtr); 23 | #endif 24 | 25 | #endif /* PDUR_CANTP_H_ */ 26 | -------------------------------------------------------------------------------- /communication/PduR/src/PduR_LdCom.c: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | 16 | #include "PduR.h" 17 | 18 | #if (PDUR_ZERO_COST_OPERATION == STD_OFF) && (PDUR_LDCOM_SUPPORT == STD_ON) 19 | 20 | // Autosar4 API 21 | 22 | Std_ReturnType PduR_LdComTransmit(PduIdType pduId, const PduInfoType* pduInfoPtr) { 23 | return PduR_UpTransmit(pduId, pduInfoPtr, 0x89); 24 | } 25 | #endif 26 | -------------------------------------------------------------------------------- /communication/SD/SD.mod.mk: -------------------------------------------------------------------------------- 1 | # SD 2 | obj-$(USE_SD) += SD_Cfg.o 3 | obj-$(USE_SD) += SD_LCfg.o 4 | obj-$(USE_SD) += SD_PBCfg.o 5 | obj-$(USE_SD) += SD_ClientService.o 6 | obj-$(USE_SD) += SD_ServerService.o 7 | obj-$(USE_SD) += SD_Send_Receive.o 8 | obj-$(USE_SD) += SD_Entries.o 9 | obj-$(USE_SD) += SD_Messages.o 10 | obj-$(USE_SD) += SD.o 11 | 12 | inc-$(USE_SD) += $(ROOTDIR)/communication/SD/inc 13 | vpath-$(USE_SD) += $(ROOTDIR)/communication/SD/src 14 | -------------------------------------------------------------------------------- /communication/SecOC/SecOC.mod.mk: -------------------------------------------------------------------------------- 1 | #SecOC 2 | obj-$(USE_SECOC) += SecOC.o 3 | obj-$(USE_SECOC) += SecOC_Cfg.o 4 | 5 | inc-$(USE_SECOC) += $(ROOTDIR)/communication/SecOC/inc 6 | vpath-$(USE_SECOC) += $(ROOTDIR)/communication/SecOC/src -------------------------------------------------------------------------------- /communication/SoAd/SoAd.mod.mk: -------------------------------------------------------------------------------- 1 | # SoAd 2 | obj-$(USE_SOAD) += SoAd_Cfg.o 3 | obj-$(USE_SOAD) += SoAd.o 4 | 5 | 6 | inc-$(USE_SOAD) += $(ROOTDIR)/communication/SoAd/inc 7 | vpath-$(USE_SOAD) += $(ROOTDIR)/communication/SoAd/src -------------------------------------------------------------------------------- /communication/TcpIp/inc/TcpIp_Cbk.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | 16 | #ifndef TCPIP_CBK_H 17 | #define TCPIP_CBK_H 18 | 19 | #include "Eth_GeneralTypes.h" 20 | 21 | void TcpIp_RxIndication(uint8 CtrlIdx, Eth_FrameType FrameType, boolean IsBroadcast, const uint8* PhysAddrPtr, uint8* DataPtr, uint16 LenByte); 22 | 23 | #endif /* TCPIP_CBK_H */ 24 | -------------------------------------------------------------------------------- /communication/TcpIp/inc/TcpIp_EthSM.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef TCPIP_ETHSM_H_ 16 | #define TCPIP_ETHSM_H_ 17 | 18 | #include "TcpIp_Types.h" 19 | 20 | /* This header file shall shall export the part of the TcpIp API exactly required by EthSM.*/ 21 | 22 | /* @req SWS_TCPIP_00070 */ 23 | Std_ReturnType TcpIp_RequestComMode(uint8 CtrlIdx, TcpIp_StateType State); 24 | 25 | #endif /*TCPIP_ETHSM_H_*/ 26 | -------------------------------------------------------------------------------- /communication/TcpIp/tcpip.mod.mk: -------------------------------------------------------------------------------- 1 | #TCPIP 2 | 3 | ifeq ($(CFG_GNULINUX),y) 4 | obj-$(USE_TCPIP)-$(CFG_GNULINUX) += TcpIp_Linos.o 5 | inc-$(USE_TCPIP)-$(CFG_GNULINUX) += $(ROOTDIR)/mcal/Eth/inc 6 | else 7 | obj-$(USE_TCPIP) += TcpIp.o 8 | endif 9 | obj-$(USE_TCPIP) += TcpIp_Cfg.o 10 | 11 | 12 | inc-$(USE_TCPIP) += $(ROOTDIR)/communication/TcpIp/inc 13 | vpath-$(USE_TCPIP) += $(ROOTDIR)/communication/TcpIp/src 14 | 15 | -------------------------------------------------------------------------------- /communication/UdpNm/UdpNm.mod.mk: -------------------------------------------------------------------------------- 1 | # UdpNm 2 | obj-$(USE_UDPNM) += UdpNm_PBCfg.o 3 | obj-$(USE_UDPNM) += UdpNm.o 4 | 5 | inc-$(USE_UDPNM) += $(ROOTDIR)/communication/UdpNm/inc 6 | vpath-$(USE_UDPNM) += $(ROOTDIR)/communication/UdpNm/src -------------------------------------------------------------------------------- /communication/UdpNm/inc/UdpNm_Cbk.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | 16 | #ifndef UDPNM_CBK_H_ 17 | #define UDPNM_CBK_H_ 18 | 19 | /* We need this to export pdu id's */ 20 | #include "UdpNm.h" 21 | 22 | #endif /* UDPNM_CBK_H_ */ 23 | -------------------------------------------------------------------------------- /communication/Xcp/Xcp.mod.mk: -------------------------------------------------------------------------------- 1 | # Xcp 2 | obj-$(USE_XCP) += Xcp.o 3 | obj-$(USE_XCP) += Xcp_FlashProgramming.o 4 | obj-$(USE_XCP) += Xcp_OnlineCalibration.o 5 | obj-$(USE_XCP) += Xcp_MemoryHelper.o 6 | obj-$(USE_XCP) += Xcp_Cfg.o 7 | 8 | obj-$(USE_XCP)-$(USE_CANIF) += XcpOnCan.o 9 | obj-$(USE_XCP)-$(USE_SOAD) += XcpOnEth.o 10 | 11 | ifeq ($(filter Xcp_Callout_Stubs.o,$(obj-y)),) 12 | obj-$(USE_XCP) += Xcp_Callout_Stubs.o 13 | endif 14 | 15 | inc-$(USE_XCP) += $(ROOTDIR)/communication/Xcp/inc 16 | inc-$(USE_XCP) += $(ROOTDIR)/communication/Xcp/src 17 | vpath-$(USE_XCP) += $(ROOTDIR)/communication/Xcp/src 18 | vpath-$(USE_XCP) += $(ROOTDIR)/communication/Xcp/integration 19 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/FILES: -------------------------------------------------------------------------------- 1 | src/ - The source code for the lwIP TCP/IP stack. 2 | doc/ - The documentation for lwIP. 3 | test/ - Some code to test whether the sources do what they should. 4 | 5 | See also the FILES file in each subdirectory. 6 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/apps/chargen/chargen.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_CHARGEN_H 2 | #define LWIP_CHARGEN_H 3 | 4 | #include "lwip/opt.h" 5 | 6 | #if LWIP_SOCKET 7 | 8 | void chargen_init(void); 9 | 10 | #endif /* LWIP_SOCKET */ 11 | 12 | #endif /* LWIP_CHARGEN_H */ 13 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/apps/httpserver/README: -------------------------------------------------------------------------------- 1 | HTTPSERVER 2 | 3 | This is a demonstration of how to make the most basic kind 4 | of server using lWIP. 5 | 6 | * httpserver-raw.c - uses raw TCP calls (coming soon!) 7 | 8 | * httpserver-netconn.c - uses netconn and netbuf API 9 | 10 | This code updates the examples in Adam Dunkel's original 11 | lwIP documentation to match changes in the code since that 12 | PDF release. 13 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/apps/httpserver/httpserver-netconn.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_HTTPSERVER_NETCONN_H 2 | #define LWIP_HTTPSERVER_NETCONN_H 3 | 4 | void http_server_netconn_init(void); 5 | 6 | #endif /* LWIP_HTTPSERVER_NETCONN_H */ 7 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/apps/netio/netio.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_NETIO_H 2 | #define LWIP_NETIO_H 3 | 4 | void netio_init(void); 5 | 6 | #endif /* LWIP_NETIO_H */ 7 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/apps/ping/ping.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_PING_H 2 | #define LWIP_PING_H 3 | 4 | /** 5 | * PING_USE_SOCKETS: Set to 1 to use sockets, otherwise the raw api is used 6 | */ 7 | #ifndef PING_USE_SOCKETS 8 | #define PING_USE_SOCKETS LWIP_SOCKET 9 | #endif 10 | 11 | 12 | void ping_init(void); 13 | 14 | #if !PING_USE_SOCKETS 15 | void ping_send_now(void); 16 | #endif /* !PING_USE_SOCKETS */ 17 | 18 | #endif /* LWIP_PING_H */ 19 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/apps/rtp/rtp.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_RTP_H 2 | #define LWIP_RTP_H 3 | 4 | #if LWIP_SOCKET && LWIP_IGMP 5 | void rtp_init(void); 6 | #endif /* LWIP_SOCKET && LWIP_IGMP */ 7 | 8 | #endif /* LWIP_RTP_H */ 9 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/apps/snmp_private_mib/private_mib.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file 3 | * Exports Private lwIP MIB 4 | */ 5 | 6 | #ifndef LWIP_HDR_PRIVATE_MIB_H 7 | #define LWIP_HDR_PRIVATE_MIB_H 8 | 9 | #include "lwip/apps/snmp_opts.h" 10 | 11 | #include "lwip/apps/snmp_core.h" 12 | 13 | #ifdef __cplusplus 14 | extern "C" { 15 | #endif 16 | 17 | /* export MIB */ 18 | extern const struct snmp_mib mib_private; 19 | 20 | void lwip_privmib_init(void); 21 | 22 | #ifdef __cplusplus 23 | } 24 | #endif 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/apps/socket_examples/socket_examples.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_SOCKET_EXAMPLES_H 2 | #define LWIP_SOCKET_EXAMPLES_H 3 | 4 | void socket_examples_init(void); 5 | 6 | #endif /* LWIP_SOCKET_EXAMPLES_H */ 7 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/ArcticCore/arm_cm3/lwipopts.h: -------------------------------------------------------------------------------- 1 | #define LWIP_AR_MAJOR_VERSION 1 2 | #define LWIP_AR_MINOR_VERSION 0 3 | #define LWIP_AR_PATCH_VERSION 0 4 | 5 | #define LWIP_SW_MAJOR_VERSION 1 6 | #define LWIP_SW_MINOR_VERSION 0 7 | #define LWIP_SW_PATCH_VERSION 0 8 | 9 | /* New important lwip1.4.1 defines */ 10 | #define LWIP_TCPIP_CORE_LOCKING 1 11 | #define LWIP_CHECKSUM_ON_COPY 0 12 | #define LWIP_COMPAT_MUTEX_ALLOWED 1 13 | 14 | #define TCPIP_MBOX_SIZE 50 15 | #define MEMP_NUM_NETBUF 10 16 | #define MEMP_NUM_TCPIP_MSG_INPKT 20 17 | 18 | /* We want to be notified when the link changes status. */ 19 | #define LWIP_NETIF_STATUS_CALLBACK 1 20 | 21 | /* Support IPV6(mandatory for doip) */ 22 | #define LWIP_IPV6 0 23 | 24 | #include "LwIp_Cfg.h" 25 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/ArcticCore/asrIf/lwipopts.h: -------------------------------------------------------------------------------- 1 | #ifndef ETH_LWIPOPTS_H_ 2 | #define ETH_LWIPOPTS_H_ 3 | 4 | #include "stddef.h" 5 | 6 | #define LWIP_AR_MAJOR_VERSION 1 7 | #define LWIP_AR_MINOR_VERSION 0 8 | #define LWIP_AR_PATCH_VERSION 0 9 | 10 | #define LWIP_SW_MAJOR_VERSION 1 11 | #define LWIP_SW_MINOR_VERSION 0 12 | #define LWIP_SW_PATCH_VERSION 0 13 | 14 | /* New important lwip1.4.1 defines */ 15 | #define LWIP_TCPIP_CORE_LOCKING 1 16 | #define LWIP_COMPAT_MUTEX_ALLOWED 1 17 | #define LWIP_CHECKSUM_ON_COPY 1 18 | 19 | #define TCPIP_MBOX_SIZE 50 20 | #define MEMP_NUM_NETBUF 20 21 | #define MEMP_NUM_TCPIP_MSG_INPKT 20 22 | 23 | /* We want to be notified when the link changes status. */ 24 | #define LWIP_NETIF_STATUS_CALLBACK 1 25 | 26 | /* Support IPV6(mandatory for doip) */ 27 | #define LWIP_IPV6 0 28 | 29 | void * __memcpy(void * dst, void const * src,size_t len); 30 | 31 | #include "LwIp_Cfg.h" 32 | 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/ArcticCore/mpc5xxx/lwipopts.h: -------------------------------------------------------------------------------- 1 | #define LWIP_AR_MAJOR_VERSION 1 2 | #define LWIP_AR_MINOR_VERSION 0 3 | #define LWIP_AR_PATCH_VERSION 0 4 | 5 | #define LWIP_SW_MAJOR_VERSION 1 6 | #define LWIP_SW_MINOR_VERSION 0 7 | #define LWIP_SW_PATCH_VERSION 0 8 | 9 | /* New important lwip1.4.1 defines */ 10 | #define LWIP_TCPIP_CORE_LOCKING 1 11 | #define LWIP_CHECKSUM_ON_COPY 1 12 | #define LWIP_COMPAT_MUTEX_ALLOWED 1 13 | 14 | /* We want to be notified when the link changes status. */ 15 | #define LWIP_NETIF_STATUS_CALLBACK 1 16 | 17 | #define TCPIP_MBOX_SIZE 50 18 | #define MEMP_NUM_NETBUF 10 19 | #define MEMP_NUM_TCPIP_MSG_INPKT 20 20 | 21 | /* Support IPV6(mandatory for doip) */ 22 | #define LWIP_IPV6 1 23 | 24 | #include "LwIp_Cfg.h" 25 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/ArcticCore/netbios.h: -------------------------------------------------------------------------------- 1 | #ifndef __NETBIOS_H__ 2 | #define __NETBIOS_H__ 3 | 4 | void netbios_init(void); 5 | 6 | #endif /* __NETBIOS_H__ */ 7 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/ArcticCore/tc29x/lwipopts.h: -------------------------------------------------------------------------------- 1 | #ifndef ETH_LWIPOPTS_H_ 2 | #define ETH_LWIPOPTS_H_ 3 | 4 | #include "stddef.h" 5 | 6 | #define LWIP_AR_MAJOR_VERSION 1 7 | #define LWIP_AR_MINOR_VERSION 0 8 | #define LWIP_AR_PATCH_VERSION 0 9 | 10 | #define LWIP_SW_MAJOR_VERSION 1 11 | #define LWIP_SW_MINOR_VERSION 0 12 | #define LWIP_SW_PATCH_VERSION 0 13 | 14 | /* New important lwip1.4.1 defines */ 15 | #define LWIP_TCPIP_CORE_LOCKING 1 16 | #define LWIP_CHECKSUM_ON_COPY 0 17 | #define LWIP_COMPAT_MUTEX_ALLOWED 1 18 | #define LWIP_SOCKET_SET_ERRNO 0 19 | 20 | #define TCPIP_MBOX_SIZE 50 21 | #define MEMP_NUM_NETBUF 10 22 | #define MEMP_NUM_TCPIP_MSG_INPKT 20 23 | 24 | /* We want to be notified when the link changes status. */ 25 | #define LWIP_NETIF_STATUS_CALLBACK 1 26 | 27 | /* Support IPV6(mandatory for doip) */ 28 | #define LWIP_IPV6 0 29 | 30 | void * __memcpy(void * dst, void const * src,size_t len); 31 | 32 | #include "LwIp_Cfg.h" 33 | 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/ArcticCore/utils/httpd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/communication/lwip-2.0.3/contrib/ports/ArcticCore/utils/httpd.c -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/ArcticCore/utils/httpd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/communication/lwip-2.0.3/contrib/ports/ArcticCore/utils/httpd.h -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/FILES: -------------------------------------------------------------------------------- 1 | unix/ - Architectural files for testing on unix-like systems 2 | (assuming gcc and pthreads). 3 | - Maintained by Kieran Mansley 4 | 5 | msvc6/ - Architectural files for Microsoft Visual C++ 6.0. 6 | - Maintained by Simon Goldschmidt 7 | 8 | old/ - Ports that are no longer actively maintained 9 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/unix/check/README: -------------------------------------------------------------------------------- 1 | 2 | Helper files to run lwIP unit tests on unix-like systems. 3 | 4 | 1. Install the check library, through a package manager or from http://check.sourceforge.net/ 5 | 2. Put the lwip code in a directory called 'lwip' in the same directory as lwip-contrib is 6 | 3. Run `make check` 7 | 4. Make sure all tests pass 8 | 9 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/unix/check/config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/communication/lwip-2.0.3/contrib/ports/unix/check/config.h -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/unix/fuzz/config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/communication/lwip-2.0.3/contrib/ports/unix/fuzz/config.h -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/unix/fuzz/inputs/arp/arp_req.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/communication/lwip-2.0.3/contrib/ports/unix/fuzz/inputs/arp/arp_req.bin -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/unix/fuzz/inputs/icmp/icmp_ping.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/communication/lwip-2.0.3/contrib/ports/unix/fuzz/inputs/icmp/icmp_ping.bin -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/unix/fuzz/inputs/ipv6/neighbor_solicitation.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/communication/lwip-2.0.3/contrib/ports/unix/fuzz/inputs/ipv6/neighbor_solicitation.bin -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/unix/fuzz/inputs/ipv6/router_adv.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/communication/lwip-2.0.3/contrib/ports/unix/fuzz/inputs/ipv6/router_adv.bin -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/unix/fuzz/inputs/tcp/tcp_syn.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/communication/lwip-2.0.3/contrib/ports/unix/fuzz/inputs/tcp/tcp_syn.bin -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/unix/fuzz/inputs/udp/udp_port_5000.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/communication/lwip-2.0.3/contrib/ports/unix/fuzz/inputs/udp/udp_port_5000.bin -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/unix/fuzz/output_to_pcap.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [ -z "$1" ] 4 | then 5 | echo "This script will make pcap files from the afl-fuzz crash/hang files" 6 | echo "It needs hexdump and text2pcap" 7 | echo "Please give output directory as argument" 8 | exit 2 9 | fi 10 | 11 | for i in `ls $1/crashes/id*` 12 | do 13 | PCAPNAME=`echo $i | grep pcap` 14 | if [ -z "$PCAPNAME" ]; then 15 | hexdump -C $i > $1/$$.tmp 16 | text2pcap $1/$$.tmp ${i}.pcap 17 | fi 18 | done 19 | for i in `ls $1/hangs/id*` 20 | do 21 | PCAPNAME=`echo $i | grep pcap` 22 | if [ -z "$PCAPNAME" ]; then 23 | hexdump -C $i > $1/$$.tmp 24 | text2pcap $1/$$.tmp ${i}.pcap 25 | fi 26 | done 27 | rm -f $1/$$.tmp 28 | 29 | echo 30 | echo "Created pcap files:" 31 | ls $1/*/*.pcap 32 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/unix/lib/README: -------------------------------------------------------------------------------- 1 | This directory contains an example of how to compile lwIP as a self 2 | initialising shared library on Linux. 3 | 4 | Some brief instructions: 5 | 6 | * Compile the code: 7 | 8 | > make clean all 9 | 10 | This should produce liblwip4unixlib.so. This is the shared library. 11 | 12 | * Link an application against the shared library 13 | 14 | If you're using gcc you can do this by including -llwip4unixlib in 15 | your link command. 16 | 17 | * Run your application 18 | 19 | Ensure that LD_LIBRARY_PATH includes the directory that contains 20 | liblwip4unixlib.so (ie. this directory) 21 | 22 | 23 | 24 | If you are unsure about shared libraries and libraries on linux in 25 | general, you might find this HOWTO useful: 26 | 27 | 28 | 29 | 30 | 31 | Kieran Mansley, October 2002. -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/unix/minimal/README: -------------------------------------------------------------------------------- 1 | This is an example of a very minimal lwIP project. It runs in a single 2 | thread and runs a single example application - an echo server. The 3 | echo application is implemented using the raw API. Additionally this 4 | raw API example hosts the SNMPv1 agent for development purposes. 5 | 6 | In order to run the demo without root priviledges, you can create a 7 | preconfigured tap device in advance and then run the application with the 8 | interface passed in via an environment variable: 9 | 10 | $ sudo ip tuntap add dev tap0 mode tap user YOUR-USER-NAME 11 | $ sudo ip a a dev tap0 192.168.0.1/24 12 | $ PRECONFIGURED_TAPIF=tap0 ./echop 13 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/unix/port/include/netif/list.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef LWIP_LIST_H 3 | #define LWIP_LIST_H 4 | 5 | struct elem; 6 | 7 | struct list { 8 | struct elem *first, *last; 9 | int size, elems; 10 | }; 11 | 12 | struct elem { 13 | struct elem *next; 14 | void *data; 15 | }; 16 | 17 | struct list *list_new(int size); 18 | int list_push(struct list *list, void *data); 19 | void *list_pop(struct list *list); 20 | void *list_first(struct list *list); 21 | int list_elems(struct list *list); 22 | void list_delete(struct list *list); 23 | int list_remove(struct list *list, void *elem); 24 | void list_map(struct list *list, void (* func)(void *arg)); 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/unix/setup-tapif: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Run me using "source setup-tapif" to get exported PRECONFIGURED_TAPIF variable 4 | # Alternatively, add "export PRECONFIGURED_TAPIF=tap0" to ~/.bashrc 5 | 6 | # http://backreference.org/2010/03/26/tuntap-interface-tutorial/ 7 | 8 | # After executing this script, start unixsim/simhost. 9 | # Enter 192.168.0.2 or "http://simhost.local/" (Zeroconf) 10 | # in your webbrowser to see simhost webpage. 11 | 12 | sudo ip tuntap add dev tap0 mode tap user `whoami` 13 | sudo ip link set tap0 up 14 | sudo ip addr add 192.168.0.1/24 dev tap0 15 | export PRECONFIGURED_TAPIF=tap0 16 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/win32/check/config.h: -------------------------------------------------------------------------------- 1 | /* config.h for check-0.9.8 on win32 under MSVC/MinGW */ 2 | 3 | #ifdef _MSC_VER 4 | 5 | typedef unsigned int pid_t; 6 | typedef unsigned int uint32_t; 7 | 8 | #define ssize_t size_t 9 | #define snprintf _snprintf 10 | 11 | #define HAVE_DECL_STRDUP 1 12 | #define HAVE_DECL_FILENO 1 13 | #define HAVE_DECL_PUTENV 1 14 | 15 | #define _CRT_SECURE_NO_WARNINGS 16 | 17 | /* disable some warnings */ 18 | #pragma warning (disable: 4090) /* const assigned to non-const */ 19 | #pragma warning (disable: 4996) /* fileno is deprecated */ 20 | 21 | #endif /* _ MSC_VER */ 22 | 23 | 24 | #define LWIP_UNITTESTS_NOFORK 25 | 26 | #include 27 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/win32/check/sys/time.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_SYS__TIME_H 2 | #define LWIP_SYS__TIME_H 3 | 4 | #include /* time_t */ 5 | 6 | struct timeval { 7 | time_t tv_sec; /* seconds */ 8 | long tv_usec; /* and microseconds */ 9 | }; 10 | int gettimeofday(struct timeval* tp, void* tzp); 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/win32/check/unistd.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_UNISTD_H 2 | #define LWIP_UNISTD_H 3 | 4 | /* include io.h for read() and write() */ 5 | #include 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/win32/include/arch/bpstruct.h: -------------------------------------------------------------------------------- 1 | #pragma pack(push,1) 2 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/win32/include/arch/epstruct.h: -------------------------------------------------------------------------------- 1 | #pragma pack(pop) 2 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/win32/include/ppp_settings.h: -------------------------------------------------------------------------------- 1 | #ifdef _MSC_VER 2 | #pragma warning (disable: 4242) /* PPP only: conversion from 'x' to 'y', possible loss of data */ 3 | #pragma warning (disable: 4244) /* PPP only: conversion from 'x' to 'y', possible loss of data (again?) */ 4 | #pragma warning (disable: 4310) /* PPP only: cast truncates constant value */ 5 | #pragma warning (disable: 4706) /* PPP only: assignment within conditional expression */ 6 | #endif /* MSC_VER */ 7 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/win32/lwippools.h: -------------------------------------------------------------------------------- 1 | /* OPTIONAL: Pools to replace heap allocation 2 | * Optional: Pools can be used instead of the heap for mem_malloc. If 3 | * so, these should be defined here, in increasing order according to 4 | * the pool element size. 5 | * 6 | * LWIP_MALLOC_MEMPOOL(number_elements, element_size) 7 | */ 8 | #if MEM_USE_POOLS 9 | LWIP_MALLOC_MEMPOOL_START 10 | LWIP_MALLOC_MEMPOOL(100, 256) 11 | LWIP_MALLOC_MEMPOOL(50, 512) 12 | LWIP_MALLOC_MEMPOOL(20, 1024) 13 | LWIP_MALLOC_MEMPOOL(20, 1536) 14 | LWIP_MALLOC_MEMPOOL_END 15 | #endif /* MEM_USE_POOLS */ 16 | 17 | /* Optional: Your custom pools can go here if you would like to use 18 | * lwIP's memory pools for anything else. 19 | */ 20 | LWIP_MEMPOOL(SYS_MBOX, 22, 100, "SYS_MBOX") 21 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/win32/msvc/lwIP_pcapif.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {0d38b8c3-e694-4572-89b8-fc6e825a092d} 6 | cpp;c;cxx;rc;def;r;odl;idl;hpj;bat 7 | 8 | 9 | {e5ce29d5-319e-4e99-978b-b88e8d6167e4} 10 | 11 | 12 | 13 | 14 | Source Files 15 | 16 | 17 | Source Files 18 | 19 | 20 | 21 | 22 | Header Files 23 | 24 | 25 | Header Files 26 | 27 | 28 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/win32/msvc/makefsdata.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | Quelldateien 12 | 13 | 14 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/win32/pcapif.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_PCAPIF_H 2 | #define LWIP_PCAPIF_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #include "lwip/err.h" 9 | 10 | /** Set to 1 to let rx use an own thread (only for NO_SYS==0). 11 | * If set to 0, ethernetif_poll is used to poll for packets. 12 | */ 13 | #ifndef PCAPIF_RX_USE_THREAD 14 | #define PCAPIF_RX_USE_THREAD !NO_SYS 15 | #endif 16 | #if PCAPIF_RX_USE_THREAD && NO_SYS 17 | #error "Can't create a dedicated RX thread with NO_SYS==1" 18 | #endif 19 | 20 | struct netif; 21 | 22 | err_t pcapif_init (struct netif *netif); 23 | void pcapif_shutdown(struct netif *netif); 24 | #if !PCAPIF_RX_USE_THREAD 25 | void pcapif_poll (struct netif *netif); 26 | #endif /* !PCAPIF_RX_USE_THREAD */ 27 | 28 | #ifdef __cplusplus 29 | } 30 | #endif 31 | 32 | #endif /* LWIP_PCAPIF_H */ 33 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/win32/pcapif_helper.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_PCAPIF_HELPER_H 2 | #define LWIP_PCAPIF_HELPER_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | struct pcapifh_linkstate; 9 | 10 | enum pcapifh_link_event { 11 | PCAPIF_LINKEVENT_UNKNOWN, 12 | PCAPIF_LINKEVENT_UP, 13 | PCAPIF_LINKEVENT_DOWN 14 | }; 15 | 16 | struct pcapifh_linkstate* pcapifh_linkstate_init(char *adapter_name); 17 | enum pcapifh_link_event pcapifh_linkstate_get(struct pcapifh_linkstate* state); 18 | void pcapifh_linkstate_close(struct pcapifh_linkstate* state); 19 | 20 | 21 | #ifdef __cplusplus 22 | } 23 | #endif 24 | 25 | #endif /* LWIP_PCAPIF_HELPER_H */ -------------------------------------------------------------------------------- /communication/lwip-2.0.3/contrib/ports/win32/readme.txt: -------------------------------------------------------------------------------- 1 | lwIP for Win32 2 | 3 | - MSVC6 compiler, read contrib\ports\win32\msvc6\readme.txt 4 | 5 | - MSVC8 compiler, read contrib\ports\win32\msvc8\readme.txt 6 | 7 | lwIP: http://savannah.nongnu.org/projects/lwip/ 8 | WinPCap: http://netgroup-serv.polito.it/winpcap/ 9 | Visual C++: http://www.microsoft.com/express/download/ 10 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/doc/FILES: -------------------------------------------------------------------------------- 1 | doxygen/ - Configuration files and scripts to create the lwIP doxygen source 2 | documentation (found at http://www.nongnu.org/lwip/) 3 | 4 | savannah.txt - How to obtain the current development source code. 5 | contrib.txt - How to contribute to lwIP as a developer. 6 | rawapi.txt - The documentation for the core API of lwIP. 7 | Also provides an overview about the other APIs and multithreading. 8 | sys_arch.txt - The documentation for a system abstraction layer of lwIP. 9 | ppp.txt - Documentation of the PPP interface for lwIP. 10 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/doc/doxygen/generate.bat: -------------------------------------------------------------------------------- 1 | doxygen lwip.Doxyfile 2 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/doc/doxygen/generate.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | doxygen lwip.Doxyfile 4 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/doc/doxygen/output/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Redirection 5 | 6 | 7 | 8 | index.html 9 | 10 | 11 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/doc/doxygen_docs.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/communication/lwip-2.0.3/doc/doxygen_docs.zip -------------------------------------------------------------------------------- /communication/lwip-2.0.3/src/FILES: -------------------------------------------------------------------------------- 1 | api/ - The code for the high-level wrapper API. Not needed if 2 | you use the lowel-level call-back/raw API. 3 | 4 | apps/ - Higher layer applications that are specifically programmed 5 | with the lwIP low-level raw API. 6 | 7 | core/ - The core of the TPC/IP stack; protocol implementations, 8 | memory and buffer management, and the low-level raw API. 9 | 10 | include/ - lwIP include files. 11 | 12 | netif/ - Generic network interface device drivers are kept here. 13 | 14 | For more information on the various subdirectories, check the FILES 15 | file in each directory. 16 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/src/apps/httpd/fs/404.html: -------------------------------------------------------------------------------- 1 | 2 | lwIP - A Lightweight TCP/IP Stack 3 | 4 | 5 | 6 | 19 |
7 | SICS logo 9 | 10 |

lwIP - A Lightweight TCP/IP Stack

11 |

404 - Page not found

12 |

13 | Sorry, the page you are requesting was not found on this 14 | server. 15 |

16 |
17 |   18 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/src/apps/httpd/fs/img/sics.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/communication/lwip-2.0.3/src/apps/httpd/fs/img/sics.gif -------------------------------------------------------------------------------- /communication/lwip-2.0.3/src/apps/httpd/makefsdata/readme.txt: -------------------------------------------------------------------------------- 1 | This directory contains a script ('makefsdata') to create C code suitable for 2 | httpd for given html pages (or other files) in a directory. 3 | 4 | There is also a plain C console application doing the same and extended a bit. 5 | 6 | Usage: htmlgen [targetdir] [-s] [-i]s 7 | targetdir: relative or absolute path to files to convert 8 | switch -s: toggle processing of subdirectories (default is on) 9 | switch -e: exclude HTTP header from file (header is created at runtime, default is on) 10 | switch -11: include HTTP 1.1 header (1.0 is default) 11 | 12 | if targetdir not specified, makefsdata will attempt to 13 | process files in subdirectory 'fs'. 14 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/src/include/lwip/apps/FILES: -------------------------------------------------------------------------------- 1 | This directory contains application headers. 2 | Every application shall provide one api file APP.h and optionally one options file APP_opts.h 3 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/src/include/netif/etharp.h: -------------------------------------------------------------------------------- 1 | /* ARP has been moved to core/ipv4, provide this #include for compatibility only */ 2 | #include "lwip/etharp.h" 3 | #include "netif/ethernet.h" 4 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/src/netif/FILES: -------------------------------------------------------------------------------- 1 | This directory contains generic network interface device drivers that 2 | do not contain any hardware or architecture specific code. The files 3 | are: 4 | 5 | ethernet.c 6 | Shared code for Ethernet based interfaces. 7 | 8 | ethernetif.c 9 | An example of how an Ethernet device driver could look. This 10 | file can be used as a "skeleton" for developing new Ethernet 11 | network device drivers. It uses the etharp.c ARP code. 12 | 13 | lowpan6.c 14 | A 6LoWPAN implementation as a netif. 15 | 16 | slipif.c 17 | A generic implementation of the SLIP (Serial Line IP) 18 | protocol. It requires a sio (serial I/O) module to work. 19 | 20 | ppp/ Point-to-Point Protocol stack 21 | The lwIP PPP support is based from pppd (http://ppp.samba.org) with 22 | huge changes to match code size and memory requirements for embedded 23 | devices. Please read /doc/ppp.txt and ppp/PPPD_FOLLOWUP for a detailed 24 | explanation. 25 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/test/fuzz/config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/communication/lwip-2.0.3/test/fuzz/config.h -------------------------------------------------------------------------------- /communication/lwip-2.0.3/test/fuzz/inputs/arp/arp_req.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/communication/lwip-2.0.3/test/fuzz/inputs/arp/arp_req.bin -------------------------------------------------------------------------------- /communication/lwip-2.0.3/test/fuzz/inputs/icmp/icmp_ping.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/communication/lwip-2.0.3/test/fuzz/inputs/icmp/icmp_ping.bin -------------------------------------------------------------------------------- /communication/lwip-2.0.3/test/fuzz/inputs/ipv6/neighbor_solicitation.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/communication/lwip-2.0.3/test/fuzz/inputs/ipv6/neighbor_solicitation.bin -------------------------------------------------------------------------------- /communication/lwip-2.0.3/test/fuzz/inputs/ipv6/router_adv.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/communication/lwip-2.0.3/test/fuzz/inputs/ipv6/router_adv.bin -------------------------------------------------------------------------------- /communication/lwip-2.0.3/test/fuzz/inputs/tcp/tcp_syn.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/communication/lwip-2.0.3/test/fuzz/inputs/tcp/tcp_syn.bin -------------------------------------------------------------------------------- /communication/lwip-2.0.3/test/fuzz/inputs/udp/udp_port_5000.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/communication/lwip-2.0.3/test/fuzz/inputs/udp/udp_port_5000.bin -------------------------------------------------------------------------------- /communication/lwip-2.0.3/test/fuzz/output_to_pcap.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [ -z "$1" ] 4 | then 5 | echo "This script will make pcap files from the afl-fuzz crash/hang files" 6 | echo "It needs hexdump and text2pcap" 7 | echo "Please give output directory as argument" 8 | exit 2 9 | fi 10 | 11 | for i in `ls $1/crashes/id*` 12 | do 13 | PCAPNAME=`echo $i | grep pcap` 14 | if [ -z "$PCAPNAME" ]; then 15 | hexdump -C $i > $1/$$.tmp 16 | text2pcap $1/$$.tmp ${i}.pcap 17 | fi 18 | done 19 | for i in `ls $1/hangs/id*` 20 | do 21 | PCAPNAME=`echo $i | grep pcap` 22 | if [ -z "$PCAPNAME" ]; then 23 | hexdump -C $i > $1/$$.tmp 24 | text2pcap $1/$$.tmp ${i}.pcap 25 | fi 26 | done 27 | rm -f $1/$$.tmp 28 | 29 | echo 30 | echo "Created pcap files:" 31 | ls $1/*/*.pcap 32 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/test/unit/core/test_mem.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_HDR_TEST_MEM_H 2 | #define LWIP_HDR_TEST_MEM_H 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite *mem_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/test/unit/core/test_pbuf.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_HDR_TEST_PBUF_H 2 | #define LWIP_HDR_TEST_PBUF_H 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite *pbuf_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/test/unit/dhcp/test_dhcp.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_HDR_TEST_DHCP_H 2 | #define LWIP_HDR_TEST_DHCP_H 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite* dhcp_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/test/unit/etharp/test_etharp.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_HDR_TEST_ETHARP_H 2 | #define LWIP_HDR_TEST_ETHARP_H 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite* etharp_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/test/unit/ip4/test_ip4.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_HDR_TEST_IP4_H 2 | #define LWIP_HDR_TEST_IP4_H 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite* ip4_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/test/unit/mdns/test_mdns.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_HDR_TEST_MDNS_H__ 2 | #define LWIP_HDR_TEST_MDNS_H__ 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite* mdns_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/test/unit/tcp/test_tcp.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_HDR_TEST_TCP_H 2 | #define LWIP_HDR_TEST_TCP_H 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite *tcp_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/test/unit/tcp/test_tcp_oos.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_HDR_TEST_TCP_OOS_H 2 | #define LWIP_HDR_TEST_TCP_OOS_H 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite *tcp_oos_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /communication/lwip-2.0.3/test/unit/udp/test_udp.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_HDR_TEST_UDP_H 2 | #define LWIP_HDR_TEST_UDP_H 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite* udp_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /datastructures/Queue/Queue.mod.mk: -------------------------------------------------------------------------------- 1 | ifneq ($(filter y,$(USE_RTE) $(USE_QUEUE)),) 2 | obj-$(USE_QUEUE) += Queue.o 3 | 4 | 5 | inc-y += $(ROOTDIR)/datastructures/Queue/inc 6 | vpath-y += $(ROOTDIR)/datastructures/Queue/src 7 | endif -------------------------------------------------------------------------------- /datastructures/Safety_Queue/SafeQ.mod.mk: -------------------------------------------------------------------------------- 1 | obj-$(USE_SAFEQ) += Safety_Queue.o 2 | 3 | inc-$(USE_SAFEQ) += $(ROOTDIR)/datastructures/Safety_Queue/inc 4 | vpath-$(USE_SAFEQ) += $(ROOTDIR)/datastructures/Safety_Queue/src 5 | -------------------------------------------------------------------------------- /diagnostic/Dcm/Dcm.mod.mk: -------------------------------------------------------------------------------- 1 | #Dcm 2 | obj-$(USE_DCM) += Dcm.o 3 | obj-$(USE_DCM) += Dcm_Dsp.o 4 | obj-$(USE_DCM) += Dcm_Dsd.o 5 | obj-$(USE_DCM) += Dcm_Dsl.o 6 | obj-$(USE_DCM) += Dcm_ROE.o 7 | obj-$(USE_DCM) += Dcm_Internal.o 8 | obj-$(USE_DCM) += Dcm_LCfg.o 9 | ifeq ($(filter Dcm_Callout_Stubs.o,$(obj-y)),) 10 | obj-$(USE_DCM) += Dcm_Callout_Stubs.o 11 | endif 12 | 13 | inc-$(USE_DCM) += $(ROOTDIR)/diagnostic/Dcm/inc 14 | inc-$(USE_DCM) += $(ROOTDIR)/diagnostic/Dcm/src 15 | vpath-$(USE_DCM) += $(ROOTDIR)/diagnostic/Dcm/src -------------------------------------------------------------------------------- /diagnostic/Dem/Dem.mod.mk: -------------------------------------------------------------------------------- 1 | #Dem 2 | obj-$(USE_DEM) += Dem.o 3 | ifeq ($(filter Dem_Extension.o,$(obj-y)),) 4 | obj-$(USE_DEM_EXTENSION) += Dem_Extension.o 5 | endif 6 | obj-$(USE_DEM) += Dem_Debounce.o 7 | obj-$(USE_DEM) += Dem_LCfg.o 8 | obj-$(USE_DEM) += Dem_NvM.o 9 | 10 | inc-$(USE_DEM) += $(ROOTDIR)/diagnostic/Dem/inc 11 | inc-$(USE_DEM) += $(ROOTDIR)/diagnostic/Dem/src 12 | vpath-$(USE_DEM) += $(ROOTDIR)/diagnostic/Dem/src -------------------------------------------------------------------------------- /diagnostic/Det/Det.mod.mk: -------------------------------------------------------------------------------- 1 | #DET 2 | obj-$(USE_DET) += Det.o 3 | obj-$(USE_DET) += Det_Cfg.o 4 | inc-$(USE_DET) += $(ROOTDIR)/diagnostic/Det/inc 5 | inc-$(USE_DET) += $(ROOTDIR)/diagnostic/Det/src 6 | vpath-$(USE_DET) += $(ROOTDIR)/diagnostic/Det/src -------------------------------------------------------------------------------- /diagnostic/Dlt/Dlt.mod.mk: -------------------------------------------------------------------------------- 1 | # Dlt 2 | obj-$(USE_DLT) += Dlt.o 3 | obj-$(USE_DLT) += Dlt_cfg.o 4 | ifeq ($(filter Dlt_Callout_Stubs.o,$(obj-y)),) 5 | obj-$(USE_DLT) += Dlt_Callout_Stubs.o 6 | endif 7 | 8 | vpath-$(USE_DLT) += $(ROOTDIR)/diagnostic/Dlt/src 9 | inc-$(USE_DLT) += $(ROOTDIR)/diagnostic/Dlt/inc -------------------------------------------------------------------------------- /diagnostic/FiM/FiM.mod.mk: -------------------------------------------------------------------------------- 1 | # FiM 2 | FIM_PB ?= y 3 | 4 | obj-$(USE_FIM) += FiM.o 5 | ifeq (${FIM_PB},y) 6 | pb-obj-$(USE_FIM) += FiM_PBCfg.o 7 | pb-pc-file-$(USE_FIM) += FiM_Cfg.h 8 | else 9 | obj-$(USE_FIM) += FiM_PBCfg.o 10 | endif 11 | 12 | vpath-$(USE_FIM) += $(ROOTDIR)/diagnostic/FiM/src 13 | inc-$(USE_FIM) += $(ROOTDIR)/diagnostic/FiM/inc -------------------------------------------------------------------------------- /diagnostic/readme.txt: -------------------------------------------------------------------------------- 1 | In this folder should modules related to diagnostic services be placed. -------------------------------------------------------------------------------- /drivers/CanTrcv/cantrcv.mod.mk: -------------------------------------------------------------------------------- 1 | #CanTrcv 2 | vpath-$(USE_CANTRCV) += $(ROOTDIR)/drivers/CanTrcv 3 | inc-$(USE_CANTRCV) += $(ROOTDIR)/drivers/Can 4 | inc-$(USE_CANTRCV) += $(ROOTDIR)/drivers/CanTrcv 5 | obj-$(USE_CANTRCV) += CanTrcv.o 6 | obj-$(USE_CANTRCV) += CanTrcv_Cfg.o 7 | pb-obj-$(USE_CANTRCV) += CanTrcv_PBcfg.o 8 | pb-pc-file-$(USE_CANTRCV) += CanTrcv_Cfg.h CanTrcv_Cfg.c 9 | vpath-$(USE_CANTRCV)-$(CFG_TJA1145) += $(ROOTDIR)/arch/transceivers/tja1145 10 | inc-$(USE_CANTRCV)-$(CFG_TJA1145) += $(ROOTDIR)/arch/transceivers/tja1145 11 | obj-$(USE_CANTRCV)-$(CFG_TJA1145) += CanTrcv_TJA1145.o -------------------------------------------------------------------------------- /drivers/Eep/Eep.mod.mk: -------------------------------------------------------------------------------- 1 | #Eep 2 | obj-$(USE_EEP) += Eep.o 3 | obj-$(USE_EEP) += Eep_Lcfg.o 4 | inc-$(USE_EEP)-$(if $(CFG_JACINTO)$(CFG_RH850)$(CFG_MPC55XX)$(CFG_MPC56XX)$(CFG_TMS570),y) += $(ROOTDIR)/drivers/Eep 5 | vpath-$(USE_EEP)-$(if $(CFG_JACINTO)$(CFG_RH850)$(CFG_MPC55XX)$(CFG_MPC56XX)$(CFG_TMS570),y) += $(ROOTDIR)/drivers/Eep 6 | 7 | -------------------------------------------------------------------------------- /drivers/Fr/fr.mod.mk: -------------------------------------------------------------------------------- 1 | #Flexray driver 2 | obj-$(USE_FR) += Fr.o 3 | obj-$(USE_FR) += Fr_PBcfg.o 4 | obj-$(USE_FR)-$(RH850F1H) += Fr_Internal.o 5 | obj-$(USE_FR)-$(CFG_PPC) += Fr_mpc5xxx.o 6 | 7 | inc-$(USE_FR) += $(ROOTDIR)/drivers/Fr 8 | vpath-$(USE_FR) += $(ROOTDIR)/drivers/Fr -------------------------------------------------------------------------------- /drivers/dma.mod.mk: -------------------------------------------------------------------------------- 1 | #DMA 2 | obj-$(USE_DMA) += Dma.o 3 | obj-$(USE_DMA) += Dma_Cfg.o 4 | inc-$(USE_DMA) += $(ROOTDIR)/$(ARCH_DRIVER_PATH-y)/drivers 5 | -------------------------------------------------------------------------------- /drivers/icu.mod.mk: -------------------------------------------------------------------------------- 1 | #ICU 2 | 3 | obj-$(USE_ICU) += Icu_Lcfg.o 4 | obj-$(USE_ICU) += Icu_PBcfg.o 5 | 6 | obj-$(USE_ICU)-$(CFG_MPC5645S) += Icu_mpc5xxx.o 7 | obj-$(USE_ICU)-$(CFG_MPC5746C) += Icu_mpc5xxx.o 8 | obj-$(USE_ICU)-$(CFG_MPC5646B) += Icu_mpc5xxx.o 9 | obj-$(USE_ICU)-$(CFG_MPC560X) += Icu_mpc5xxx.o 10 | obj-$(USE_ICU)-$(CFG_ZYNQ) += Icu_zynq.o 11 | obj-$(USE_ICU)-$(CFG_MPC5748G) += Icu_mpc5xxx.o 12 | vpath-$(USE_ICU)+= $(ROOTDIR)/mcal/Icu/src 13 | inc-$(USE_ICU) += $(ROOTDIR)/mcal/Icu/inc 14 | -------------------------------------------------------------------------------- /drivers/irq.mod.mk: -------------------------------------------------------------------------------- 1 | #irq -------------------------------------------------------------------------------- /drivers/ocu.mod.mk: -------------------------------------------------------------------------------- 1 | # Ocu 2 | obj-$(USE_OCU) += Ocu_mpc5xxx.o 3 | obj-$(USE_OCU) += Ocu_PBcfg.o 4 | obj-$(USE_OCU) += Ocu_Irq.o 5 | 6 | 7 | vpath-$(USE_OCU)+= $(ROOTDIR)/mcal/Ocu/src 8 | inc-$(USE_OCU) += $(ROOTDIR)/mcal/Ocu/inc 9 | -------------------------------------------------------------------------------- /drivers/serial_dbg_code_composer.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef SERIAL_DBG_WINIDEA_H_ 16 | #define SERIAL_DBG_WINIDEA_H_ 17 | 18 | 19 | extern DeviceSerialType CodeComposer_Device; 20 | 21 | 22 | #endif /* SERIAL_DBG_WINIDEA_H_ */ 23 | -------------------------------------------------------------------------------- /drivers/serial_dbg_t32.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef SERIAL_DBG_T32_H_ 16 | #define SERIAL_DBG_T32_H_ 17 | 18 | 19 | extern DeviceSerialType T32_Device; 20 | 21 | 22 | #endif /* SERIAL_DBG_T32_H_ */ 23 | -------------------------------------------------------------------------------- /drivers/serial_dbg_ude.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef SERIAL_DBG_UDE_H_ 16 | #define SERIAL_DBG_UDE_H_ 17 | 18 | 19 | extern DeviceSerialType UDE_Device; 20 | 21 | 22 | #endif /* SERIAL_DBG_UDE_H_ */ 23 | -------------------------------------------------------------------------------- /drivers/serial_dbg_ude_arm.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef SERIAL_DBG_UDE_H_ 16 | #define SERIAL_DBG_UDE_H_ 17 | 18 | 19 | extern DeviceSerialType UDE_Device; 20 | 21 | 22 | #endif /* SERIAL_DBG_UDE_H_ */ 23 | -------------------------------------------------------------------------------- /drivers/serial_dbg_winidea.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef SERIAL_DBG_WINIDEA_H_ 16 | #define SERIAL_DBG_WINIDEA_H_ 17 | 18 | 19 | extern DeviceSerialType WinIdea_Device; 20 | 21 | 22 | #endif /* SERIAL_DBG_WINIDEA_H_ */ 23 | -------------------------------------------------------------------------------- /drivers/serial_sci.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef SERIAL_SCI_H_ 16 | #define SERIAL_SCI_H_ 17 | 18 | 19 | extern DeviceSerialType SCI_Device; 20 | 21 | 22 | #endif /* SERIAL_SCI_H_ */ 23 | -------------------------------------------------------------------------------- /include/Bsd.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef BSD_H 16 | #define BSD_H 17 | 18 | #if defined(USE_LWIP) 19 | #include "lwip/inet.h" 20 | #include "lwip/sockets.h" 21 | 22 | #else 23 | #error "We currently only support LWIP socket implementation" 24 | #endif 25 | 26 | #endif /* BSD_H */ 27 | -------------------------------------------------------------------------------- /include/DoIP_MemMap.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | 16 | #ifndef DOIP_MEMMAP_H_ 17 | #define DOIP_MEMMAP_H_ 18 | 19 | #include "MemMap.h" 20 | 21 | #endif /*DOIP_MEMMAP_H_*/ 22 | -------------------------------------------------------------------------------- /include/I2c_MemMap.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | #ifndef I2C_MEMMAP_H_ 15 | #define I2C_MEMMAP_H_ 16 | 17 | 18 | 19 | #endif /* I2C_MEMMAP_H_ */ 20 | -------------------------------------------------------------------------------- /include/Lin_Types.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | #ifndef LIN_TYPES_H_ 23 | #define LIN_TYPES_H_ 24 | 25 | #include "Std_Types.h" 26 | 27 | #endif -------------------------------------------------------------------------------- /include/Ocu_MemMap.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef OCU_MEMMAP_H_ 16 | #define OCU_MEMMAP_H_ 17 | 18 | 19 | #endif /*OCU_MEMMAP_H_ */ 20 | -------------------------------------------------------------------------------- /include/hc1x/regs.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef _REGS_H_ 16 | #define _REGS_H_ 17 | 18 | #if defined(CFG_HCS12D) 19 | #include "regs_hcs12d.h" 20 | #elif defined(CFG_HCS12XD) 21 | #include "regs_hcs12xd.h" 22 | #else 23 | #error NO MCU SELECTED!!!! 24 | #endif 25 | 26 | #endif /* ifndef _REGS_H_ */ 27 | -------------------------------------------------------------------------------- /include/logger.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef _LOGGER_H 16 | #define _LOGGER_H 17 | 18 | #define LOG_MAX_STR 20 19 | #define LOG_SIZE 200 20 | 21 | void Log_Add( const char *str ); 22 | void Log_Add2( const char *str, const char *str2 ); 23 | 24 | void Log_Init( void ); 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /include/rte/Dcm_MemMap.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef DCM_MEMMAP_H_ 16 | #define DCM_MEMMAP_H_ 17 | 18 | #ifdef USE_RTE 19 | #warning This file should only be used when not using an RTE with Dcm service component. 20 | #endif 21 | 22 | 23 | 24 | #endif /* DCM_MEMMAP_H_ */ 25 | -------------------------------------------------------------------------------- /include/rte/Dem_MemMap.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef DEM_MEMMAP_H_ 16 | #define DEM_MEMMAP_H_ 17 | 18 | #ifdef USE_RTE 19 | #warning This file should only be used when not using an RTE with Dem service component. 20 | #endif 21 | 22 | 23 | 24 | #endif /* DEM_MEMMAP_H_ */ 25 | -------------------------------------------------------------------------------- /include/rte/FiM_MemMap.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | #ifndef FIM_MEMMAP_H_ 15 | #define FIM_MEMMAP_H_ 16 | 17 | #ifdef USE_RTE 18 | #warning This file should only be used when not using an RTE with FiM service component. 19 | #endif 20 | 21 | #endif /* FIM_MEMMAP_H_ */ 22 | -------------------------------------------------------------------------------- /include/rte/Rte_DoIP.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef RTE_DOIP_H 16 | #define RTE_DOIP_H 17 | 18 | 19 | #endif /* RTE_DOIP_H */ 20 | -------------------------------------------------------------------------------- /include/rte/Rte_Main.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef RTE_MAIN_H_ 16 | #define RTE_MAIN_H_ 17 | 18 | #ifdef USE_RTE 19 | #warning This file should only be used when not using an RTE. 20 | #endif 21 | 22 | Std_ReturnType Rte_Start( void ); 23 | Std_ReturnType Rte_Stop( void ); 24 | 25 | #endif /*RTE_MAIN_H_*/ 26 | -------------------------------------------------------------------------------- /include/rte/WdgM_MemMap.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef WDGM_MEMMAP_H_ 16 | #define WDGM_MEMMAP_H_ 17 | 18 | #ifdef USE_RTE 19 | #warning This file should only be used when not using an RTE with WdgM service component. 20 | #endif 21 | 22 | 23 | 24 | #endif /* WDGM_MEMMAP_H_ */ 25 | -------------------------------------------------------------------------------- /include/strace.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | /* 23 | * strace.h 24 | * 25 | * Created on: May 11, 2009 26 | * Author: mahi 27 | */ 28 | 29 | #ifndef STRACE_H_ 30 | #define STRACE_H_ 31 | 32 | #ifdef USE_STRACE 33 | #define STRACE(_x) strace((_x)) 34 | #else 35 | #define STRACE(_x) 36 | #endif 37 | 38 | #endif /* STRACE_H_ */ 39 | -------------------------------------------------------------------------------- /include/tricore/tc2xx.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | 16 | #ifndef TC2XX_H_ 17 | #define TC2XX_H_ 18 | 19 | /* Trap flags */ 20 | #define TRP_NOT_HANDLED 1UL 21 | #define TRP_HANDLED 2UL 22 | #define TRP_ADJUST_ADDR 4UL 23 | 24 | // Trap handler function 25 | uint32 TC2xx_HandleTrap(uint32 tin , uint32 trapClass, uint32 instrAddr ); 26 | 27 | #endif /* TC2XX_H_ */ 28 | -------------------------------------------------------------------------------- /include/xtoa.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef XTOA_H_ 16 | #define XTOA_H_ 17 | 18 | void xtoa(unsigned long val, char* str, int base,int negative); 19 | // unsigned long to string 20 | void ultoa(unsigned long value, char* str, int base); 21 | // int to string 22 | char * itoa(int value, char* str, int base); 23 | 24 | 25 | #endif /* XTOA_H_ */ 26 | -------------------------------------------------------------------------------- /memory/Ea/Ea.mod.mk: -------------------------------------------------------------------------------- 1 | #Ea 2 | 3 | obj-$(USE_EA)-$(CFG_GNULINUX) += Ea_gnulinux.o 4 | obj-$(USE_EA)-$(if $(CFG_GNULINUX),n,y) += Ea.o 5 | obj-$(USE_EA) += Ea_Lcfg.o 6 | 7 | vpath-$(USE_EA) += $(ROOTDIR)/memory/Ea/src 8 | inc-$(USE_EA) += $(ROOTDIR)/memory/Ea/inc -------------------------------------------------------------------------------- /memory/Ea/inc/Ea_Cbk.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | 16 | 17 | #ifndef EA_CBK_H_ 18 | #define EA_CBK_H_ 19 | 20 | /** @req EA114 */ 21 | void Ea_JobEndNotification(void); /** @req EA094 */ 22 | void Ea_JobErrorNotification(void); /** @req EA095 */ 23 | 24 | #endif /*EA_CBK_H_*/ 25 | -------------------------------------------------------------------------------- /memory/Fee/Fee.mod.mk: -------------------------------------------------------------------------------- 1 | # Fee 2 | obj-$(USE_FEE) += Fee.o 3 | obj-$(USE_FEE) += Fee_Cfg.o 4 | 5 | inc-$(USE_FEE) += $(ROOTDIR)/memory/Fee/inc 6 | vpath-$(USE_FEE) += $(ROOTDIR)/memory/Fee/src -------------------------------------------------------------------------------- /memory/Fee/inc/Fee_Cbk.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | /** @reqSettings DEFAULT_SPECIFICATION_REVISION=4.0.3 */ 16 | 17 | #ifndef FEE_CBK_H_ 18 | #define FEE_CBK_H_ 19 | 20 | /* @req FEE069 */ 21 | 22 | void Fee_JobEndNotification(void); /** @req FEE095 */ 23 | void Fee_JobErrorNotification(void); /** @req FEE096 */ 24 | 25 | #endif /*FEE_CBK_H_*/ 26 | -------------------------------------------------------------------------------- /memory/MemIf/MemIf.mod.mk: -------------------------------------------------------------------------------- 1 | #MemIf 2 | obj-$(USE_MEMIF) += MemIf.o 3 | 4 | inc-$(USE_MEMIF) += $(ROOTDIR)/memory/MemIf/inc 5 | vpath-$(USE_MEMIF) += $(ROOTDIR)/memory/MemIf/src -------------------------------------------------------------------------------- /memory/NvM/NvM.mod.mk: -------------------------------------------------------------------------------- 1 | # NvM 2 | obj-$(USE_NVM) += NvM.o 3 | obj-$(USE_NVM) += NvM_Cfg.o 4 | 5 | inc-$(USE_NVM) += $(ROOTDIR)/memory/NvM/inc 6 | vpath-$(USE_NVM) += $(ROOTDIR)/memory/NvM/src -------------------------------------------------------------------------------- /memory/NvM/inc/NvM_Types.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | /** @reqSettings DEFAULT_SPECIFICATION_REVISION=4.0.3 */ 15 | 16 | 17 | /** @req NVM550 */ 18 | 19 | 20 | #ifndef NVM_TYPES_H_ 21 | #define NVM_TYPES_H_ 22 | 23 | /* @req NVM690 */ 24 | #include "Std_Types.h" 25 | /* @req NVM755 */ 26 | #include "Rte_NvM_Type.h" 27 | 28 | 29 | #endif /*NVM_TYPES_H_*/ 30 | -------------------------------------------------------------------------------- /memory/RamTst/RamTst.mod.mk: -------------------------------------------------------------------------------- 1 | #RamTst 2 | obj-$(USE_RAMTST) += RamTst.o 3 | obj-$(USE_RAMTST) += RamTst_Cfg.o 4 | 5 | inc-$(USE_RAMTST) += $(ROOTDIR)/memory/RamTst/inc 6 | vpath-$(USE_RAMTST) += $(ROOTDIR)/memory/RamTst/src -------------------------------------------------------------------------------- /safety_security/SafeLib/Crc/Crc.mod.mk: -------------------------------------------------------------------------------- 1 | #Crc 2 | obj-$(USE_CRC) += Crc.o 3 | obj-$(USE_CRC) += Crc_8.o 4 | obj-$(USE_CRC) += Crc_16.o 5 | obj-$(USE_CRC) += Crc_32.o 6 | obj-$(USE_CRC) += Crc_32P4.o 7 | inc-$(USE_CRC) += $(ROOTDIR)/safety_security/SafeLib/Crc/inc 8 | inc-$(USE_CRC) += $(ROOTDIR)/safety_security/SafeLib/Crc/src 9 | vpath-$(USE_CRC) += $(ROOTDIR)/safety_security/SafeLib/Crc/src -------------------------------------------------------------------------------- /safety_security/SafeLib/Crc/models/crcTableGen/crcTableGen.layout: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /safety_security/SafeLib/Crc/src/Crc_MemMap.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | /** @reqSettings DEFAULT_SPECIFICATION_REVISION=4.3.0 */ 16 | 17 | #ifndef CRC_MEMMAP_H_ 18 | #define CRC_MEMMAP_H_ 19 | 20 | #include "MemMap.h" 21 | 22 | #endif /* CRC_MEMMAP_H_ */ 23 | -------------------------------------------------------------------------------- /safety_security/SafeLib/E2E/E2E.mod.mk: -------------------------------------------------------------------------------- 1 | #E2E 2 | obj-$(USE_E2E) += E2E.o 3 | obj-$(USE_E2E) += E2E_P01.o 4 | obj-$(USE_E2E) += E2E_P02.o 5 | obj-$(USE_E2E) += E2E_P04.o 6 | obj-$(USE_E2E) += E2E_P05.o 7 | obj-$(USE_E2E) += E2E_P06.o 8 | obj-$(USE_E2E) += E2E_SM.o 9 | inc-$(USE_E2E) += $(ROOTDIR)/safety_security/SafeLib/E2E/inc 10 | inc-$(USE_E2E) += $(ROOTDIR)/safety_security/SafeLib/E2E/src 11 | vpath-$(USE_E2E) += $(ROOTDIR)/safety_security/SafeLib/E2E/src -------------------------------------------------------------------------------- /safety_security/SafeLib/E2E/src/E2E_MemMap.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | /** @reqSettings DEFAULT_SPECIFICATION_REVISION=4.3.0 */ 16 | 17 | #ifndef E2E_MEMMAP_H_ 18 | #define E2E_MEMMAP_H_ 19 | 20 | #include "MemMap.h" 21 | 22 | #endif /* E2E_MEMMAP_H_ */ 23 | -------------------------------------------------------------------------------- /safety_security/WdgIf/WdgIf.mod.mk: -------------------------------------------------------------------------------- 1 | #WdgIf 2 | obj-$(USE_WDGIF) += WdgIf.o 3 | obj-$(USE_WDGIF) += WdgIf_Cfg.o 4 | 5 | inc-y += $(ROOTDIR)/safety_security/WdgIf/inc 6 | vpath-y += $(ROOTDIR)/safety_security/WdgIf/src -------------------------------------------------------------------------------- /safety_security/WdgM/WdgM.mod.mk: -------------------------------------------------------------------------------- 1 | #WdgM 2 | obj-$(USE_WDGM) += WdgM.o 3 | obj-$(USE_WDGM) += WdgM_PBcfg.o 4 | 5 | inc-y += $(ROOTDIR)/safety_security/WdgM/inc 6 | inc-y += $(ROOTDIR)/safety_security/WdgM/src 7 | vpath-y += $(ROOTDIR)/safety_security/WdgM/src -------------------------------------------------------------------------------- /scripts/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/scripts/__init__.py -------------------------------------------------------------------------------- /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 | ifeq (${COMPILER},cw) 6 | lint_extra=+v -b -i$(TOPDIR)/scripts/pclint -i$(TOPDIR)/scripts/pclint/lnt cw.lnt 7 | else ifeq (${COMPILER},ghs) 8 | ifeq (${ARCH},rh850_x) 9 | lint_extra=-i$(GHS_COMPILE)/include/v800 -d__v800__ -d__LITTLE_ENDIAN__ -d__V850__ -d__V850 10 | else 11 | lint_extra=-i$(GHS_COMPILE)/include/ppc -d__ppc 12 | endif 13 | lint_extra+=+v -b -i$(TOPDIR)/scripts/pclint -i$(GHS_COMPILE)/ansi -i$(TOPDIR)/scripts/pclint/lnt ghs.lnt 14 | else ifeq (${COMPILER},armcc) 15 | lint_extra=+v -b -i$(ARMCC_COMPILE)/include -i$(TOPDIR)/scripts/pclint -i$(TOPDIR)/scripts/pclint/lnt armcc.lnt 16 | else 17 | # Use Gcc settings for all other compilers 18 | lint_extra=+v -b -i$(TOPDIR)/scripts/pclint -i$(TOPDIR)/scripts/pclint/lnt $(addprefix $(lintinc_ext),$(cc_inc_path)) gcc.lnt 19 | ifeq (${ARCH},aurix) 20 | lint_extra+=-d__HIGHTEC__ 21 | endif 22 | endif 23 | 24 | ifeq (${ALLOW_LINT_WARNINGS},y) 25 | lint_extra += -zero 26 | endif 27 | 28 | lint_extra += ${LINT_EXTRA} -------------------------------------------------------------------------------- /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 | mpc5744p_mmb:powerpc-eabispe/bin/powerpc-eabispe- 9 | hcs12_elmicro_card12:m6811-elf/bin/m6811-elf- 10 | hcs12x_elmicro_tboard:m6811-elf/bin/m6811-elf- 11 | linux: 12 | -------------------------------------------------------------------------------- /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/get_version.awk: -------------------------------------------------------------------------------- 1 | /^#define[ \t]+_ARCTIC_CORE_MAJOR_/ { 2 | core_major=strtonum($3) 3 | } 4 | /^#define[ \t]+_ARCTIC_CORE_MINOR_/ { 5 | core_minor=strtonum($3) 6 | } 7 | 8 | /^#define[ \t]+_ARCTIC_CORE_PATCHLEVEL_/ { 9 | core_patch=strtonum($3) 10 | } 11 | 12 | /^#define[ \t]+_ARCTIC_CORE_BUILDTYPE_/ { 13 | core_buildtype=$3 14 | } 15 | 16 | END { 17 | printf "v%d%c%d%c%d%c%s\n", core_major,type,core_minor,type,core_patch,type,core_buildtype; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /scripts/linker/compiler.ldf: -------------------------------------------------------------------------------- 1 | 2 | 3 | /* Harmonize MEMORY 4 | * In linker file use: 5 | * ORIGIN and LENGTH 6 | * RAM and FLASH 7 | * 8 | * E.g. 9 | * RAM : ORIGIN = 0, LENGTH = 123 10 | */ 11 | 12 | #if defined(__CWCC__) 13 | #define ORIGIN origin 14 | #define LENGTH length 15 | #endif 16 | /* 17 | #define RAM ram 18 | #define FLASH flash 19 | #elif defined(__GNUC__) 20 | #define RAM ram(RW) 21 | #define FLASH flash(R) 22 | #else 23 | #define FLASH flash 24 | #define RAM ram 25 | #endif 26 | */ 27 | 28 | 29 | -------------------------------------------------------------------------------- /scripts/linker/memory_pre.ldf: -------------------------------------------------------------------------------- 1 | 2 | #define L_FLASH_CODE_0_START 0x00000000 3 | 4 | /* Size macros */ 5 | #define L_SIZE_8M 0x00800000 6 | #define L_SIZE_4M 0x00400000 7 | #define L_SIZE_3M 0x00300000 8 | #define L_SIZE_2M 0x00200000 9 | #define L_SIZE_1M5 0x00180000 10 | #define L_SIZE_1M 0x00100000 11 | #define L_SIZE_768K 0x000C0000 12 | #define L_SIZE_512K 0x00080000 13 | #define L_SIZE_384K 0x00060000 14 | #define L_SIZE_256K 0x00040000 15 | #define L_SIZE_248K 0x0003E000 16 | #define L_SIZE_192K 0x00030000 17 | #define L_SIZE_160K 0x00028000 18 | #define L_SIZE_128K 0x00020000 19 | #define L_SIZE_94K 0x00017800 20 | #define L_SIZE_96K 0x00018000 21 | #define L_SIZE_80K 0x00014000 22 | #define L_SIZE_64K 0x00010000 23 | #define L_SIZE_48K 0x0000c000 24 | #define L_SIZE_32K 0x00008000 25 | #define L_SIZE_28K 0x00007000 -------------------------------------------------------------------------------- /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_diab.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/memory_footprint_ghs.awk: -------------------------------------------------------------------------------- 1 | 2 | /^[ \t]+[0-9a-f]+\+[0-9a-f]+[ \t]+__rom_start/ { 3 | rom_start=strtonum("0x"$1) 4 | } 5 | /^[ \t]+[0-9a-f]+\+[0-9a-f]+[ \t]+__rom_end/ { 6 | rom_end=strtonum("0x"$1) 7 | } 8 | 9 | /^[ \t]+[0-9a-f]+\+[0-9a-f]+[ \t]+__ram_start/ { 10 | ram_start=strtonum("0x"$1) 11 | } 12 | 13 | /^[ \t]+[0-9a-f]+\+[0-9a-f]+[ \t]+__ram_end/ { 14 | ram_end=strtonum("0x"$1) 15 | } 16 | 17 | /^[ \t]+[0-9a-f]+\+[0-9a-f]+[ \t]+__total_ram/ { 18 | total_ram=strtonum("0x"$1) 19 | } 20 | 21 | END { 22 | kilobyte = 1024 23 | 24 | printf " ROM %8x %8x %10.1f\n", rom_start, rom_end, (rom_end-rom_start)/kilobyte; 25 | printf " RAM %8x %8x %10.1f\n", ram_start, ram_end, (ram_end-ram_start)/kilobyte; 26 | printf " TOTAL RAM %8x %8x %10.1f\n", ram_start, total_ram, (total_ram-ram_start)/kilobyte; 27 | 28 | } -------------------------------------------------------------------------------- /scripts/pclint/armcc.lnt: -------------------------------------------------------------------------------- 1 | /* This is the lint file to be used together with ARM CC */ 2 | 3 | au-misra2.lnt //To check MISRA 2004 C rules 4 | au-misra3.lnt //To check MISRA 2012 C rules 5 | lnt/co-ARMCC-5.lnt // ArmCc options 6 | std.lnt // Arccore standard options 7 | 8 | -esym(129, __value_in_regs) 9 | -esym(40, __promise) 10 | -------------------------------------------------------------------------------- /scripts/pclint/cw.lnt: -------------------------------------------------------------------------------- 1 | /* This is the lint file to be used together with Code Warrior */ 2 | 3 | au-misra2.lnt //To check MISRA 2004 C rules 4 | au-misra3.lnt //To check MISRA 2012 C rules 5 | lnt/co-mwPPC.lnt // CW options 6 | std.lnt // Arccore standard options -------------------------------------------------------------------------------- /scripts/pclint/gcc.lnt: -------------------------------------------------------------------------------- 1 | /* This is the lint file to be used together with GCC */ 2 | 3 | // au-misra2.lnt //To check MISRA 2004 C rules 4 | au-misra3.lnt //To check MISRA 2012 C rules 5 | lnt/co-gcc.lnt // Gcc options 6 | std.lnt // Arccore standard options 7 | 8 | /* Rules for generic module i.e. non safety modules (it was not possible to pass as 9 | * argument and should be removed when these warnings are fixed for generic tests) 10 | */ 11 | -strong() // No strong type checking 12 | 13 | // False posive on include file 14 | -efile(451,stdint.h) -------------------------------------------------------------------------------- /scripts/pclint/ghs.lnt: -------------------------------------------------------------------------------- 1 | /* This is the lint file to be used together with Code Warrior */ 2 | 3 | au-misra2.lnt //To check MISRA 2004 C rules 4 | au-misra3.lnt //To check MISRA 2012 C rules 5 | lnt/co-ghs.lnt // GHS options 6 | std.lnt // Arccore standard options -------------------------------------------------------------------------------- /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/lint-cw.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | 16 | #define my_get_spr(a) ((uint32_t)(*(volatile uint32_t *)a)) 17 | #define my_set_spr(a,b) ((void)b) 18 | 19 | -------------------------------------------------------------------------------- /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/sphinx/confluence_to_rst.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # $1 - HTML source, e.g. html/content.html 3 | # 4 | cdir=`dirname $0` 5 | echo "Converting" 6 | #/c/devtools/Pandoc/pandoc --columns 1000 -r docx -t rst-simple_tables $1 > index.pandoc 7 | mv $1/page* $1/content.html 8 | /c/devtools/Pandoc/pandoc --columns 1000 -r html -t rst $1/content.html > index_pandoc.rst 9 | #cp $1/*.png . 10 | 11 | apa=/c/Users/mahi/git/arc-a4/core/scripts/sphinx/ 12 | python $apa/pandoc_to_rst.py index_pandoc.rst > index.rst 13 | 14 | #cp index.rst $cdir/../../safety_security/Sm/doc/ 15 | #cp *.pnh $cdir/../../safety_security/Sm/doc/ 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /scripts/sphinx/create_symlink.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | import argparse 4 | #import os 5 | import os 6 | import shutil 7 | 8 | 9 | if __name__ == '__main__': 10 | parser = argparse.ArgumentParser() 11 | parser.add_argument('pairs', metavar='N', nargs='+', 12 | help='an integer for the accumulator') 13 | 14 | args = parser.parse_args() 15 | 16 | for key,value in vars(args).iteritems(): 17 | for val in value: 18 | dst,src=val.split(",") 19 | print src 20 | print dst 21 | shutil.copyfile(src, dst) 22 | #os.symlink(str(src), str(dst)) 23 | -------------------------------------------------------------------------------- /scripts/sphinx/makefile: -------------------------------------------------------------------------------- 1 | 2 | .PHONY: build_doc 3 | 4 | # This dir. 5 | export ARC_DOC_ROOT=$(CURDIR) 6 | # Root of the core directory 7 | export ROOTDIR=$(CURDIR)/../.. 8 | export PYTHON_ROOT=/c/Python27 9 | 10 | 11 | export MIKTEX_ROOT?=/d/tmp/miktex/texmfs/install/miktex/bin 12 | export PATH:=$(PATH):$(MIKTEX_ROOT):$(PYTHON_ROOT)/Scripts 13 | 14 | 15 | build_doc: 16 | ./build_doc.sh 17 | 18 | 19 | -------------------------------------------------------------------------------- /system/BswM/BswM.mod.mk: -------------------------------------------------------------------------------- 1 | #BswM 2 | 3 | obj-$(USE_BSWM) += BswM.o 4 | obj-$(USE_BSWM) += BswM_Cfg.o 5 | pb-obj-$(USE_BSWM) += BswM_PBcfg.o 6 | pb-pc-file-$(USE_BSWM) += BswM_Cfg.h BswM_Cfg.c 7 | 8 | inc-$(USE_BSWM) += $(ROOTDIR)/system/BswM/inc 9 | inc-$(USE_BSWM) += $(ROOTDIR)/system/BswM/src 10 | vpath-$(USE_BSWM) += $(ROOTDIR)/system/BswM/src -------------------------------------------------------------------------------- /system/BswM/inc/BswM_CanSM.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | 16 | #ifndef BSWM_CANSM_H_ 17 | #define BSWM_CANSM_H_ 18 | 19 | #include "CanSM_BswM.h" 20 | /* @req BswM0049 */ 21 | void BswM_CanSM_CurrentState(NetworkHandleType Network, CanSM_BswMCurrentStateType CurrentState); 22 | 23 | #endif /* BSWM_CANSM_H_ */ 24 | -------------------------------------------------------------------------------- /system/BswM/inc/BswM_ComM.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | 16 | #ifndef BSWM_COMM_H_ 17 | #define BSWM_COMM_H_ 18 | 19 | void BswM_ComM_CurrentMode(NetworkHandleType Network, ComM_ModeType RequestedMode); 20 | void BswM_ComM_CurrentPNCMode(PNCHandleType PNC, ComM_PncModeType CurrentPncMode); 21 | 22 | #endif /* BSWM_COMM_H_ */ 23 | -------------------------------------------------------------------------------- /system/BswM/inc/BswM_DCM.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef BSWM_DCM_H_ 16 | #define BSWM_DCM_H_ 17 | 18 | void BswM_Dcm_CommunicationMode_CurrentState(NetworkHandleType Network, Dcm_CommunicationModeType RequestedMode); 19 | 20 | #endif /* BSWM_DCM_H_ */ 21 | -------------------------------------------------------------------------------- /system/BswM/inc/BswM_EcuM.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | 16 | #ifndef BSWM_ECUM_H_ 17 | #define BSWM_ECUM_H_ 18 | 19 | void BswM_EcuM_CurrentState(EcuM_StateType CurrentState); 20 | void BswM_EcuM_CurrentWakeup(EcuM_WakeupSourceType source, EcuM_WakeupStatusType state); 21 | 22 | #endif /* BSWM_ECUM_H_ */ 23 | -------------------------------------------------------------------------------- /system/BswM/inc/BswM_EthSM.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | 16 | #ifndef BSWM_ETHSM_H_ 17 | #define BSWM_ETHSM_H_ 18 | #include "EthSM.h" 19 | /* !req SWS_BswM_00050 */ 20 | void BswM_EthSM_CurrentState(NetworkHandleType Network, EthSM_NetworkModeStateType CurrentState); 21 | 22 | #endif /* BSWM_ETHSM_H_ */ 23 | -------------------------------------------------------------------------------- /system/BswM/inc/BswM_FrSM.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | 16 | #ifndef BSWM_FRSM_H_ 17 | #define BSWM_FRSM_H_ 18 | 19 | #include "FrSM_Types.h" 20 | 21 | /* @req BswM0051 */ 22 | void BswM_FrSM_CurrentState(NetworkHandleType Network, FrSM_BswM_StateType CurrentState); 23 | 24 | #endif /* BSWM_FRSM_H_ */ 25 | -------------------------------------------------------------------------------- /system/BswM/inc/BswM_LinSM.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef BSWM_LINSM_H_ 16 | #define BSWM_LINSM_H_ 17 | #include "LinSM.h" 18 | /* !req BswM0058 */ 19 | void BswM_LinSM_CurrentSchedule(NetworkHandleType Network, LinIf_SchHandleType CurrentSchedule); 20 | 21 | /* !req BswM0052*/ 22 | void BswM_LinSM_CurrentState(NetworkHandleType Network, LinSM_ModeType CurrentState); 23 | 24 | #endif /* BSWM_LINSM_H_ */ 25 | -------------------------------------------------------------------------------- /system/BswM/inc/BswM_LinTp.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef BSWM_LINTP_H_ 16 | #define BSWM_LINTP_H_ 17 | 18 | /* @req BswM0156 */ 19 | void BswM_LinTp_RequestMode( NetworkHandleType Network, LinTp_Mode LinTpRequestedMode ); 20 | 21 | #endif /* BSWM_LINTP_H_ */ 22 | 23 | -------------------------------------------------------------------------------- /system/Cal/Cal.mod.mk: -------------------------------------------------------------------------------- 1 | #CAL 2 | obj-$(USE_CAL) += Cal_Mac.o 3 | obj-$(USE_CAL) += Cal_Cfg.o 4 | 5 | inc-$(USE_CAL) += $(ROOTDIR)/system/Cal/inc 6 | vpath-$(USE_CAL) += $(ROOTDIR)/system/Cal/src -------------------------------------------------------------------------------- /system/Cpl/Cpl.mod.mk: -------------------------------------------------------------------------------- 1 | #CPL 2 | obj-$(USE_CPL) += Cpl_Mac.o 3 | obj-$(USE_CPL) += hmac_sha2.o 4 | obj-$(USE_CPL) += sha2.o 5 | 6 | 7 | inc-$(USE_CPL) += $(ROOTDIR)/system/Cpl 8 | inc-$(USE_CPL) += $(ROOTDIR)/system/Cpl/src 9 | inc-$(USE_CPL) += $(ROOTDIR)/system/Cpl/crypto 10 | vpath-$(USE_CPL) += $(ROOTDIR)/system/Cpl/src 11 | vpath-$(USE_CPL) += $(ROOTDIR)/system/Cpl/crypto 12 | -------------------------------------------------------------------------------- /system/LinuxOs/src/ethernetif.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef _ETHERNETIF_H 16 | #define _ETHERNETIF_H 17 | 18 | /* LINOS stops at the IP layer */ 19 | 20 | #endif /* _ETHERNETIF_H */ 21 | -------------------------------------------------------------------------------- /system/LinuxOs/src/linos_time.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef _LINOS_TIME_H_ 16 | #define _LINOS_TIME_H_ 17 | 18 | #ifndef _WIN32 19 | 20 | #include "Std_Types.h" 21 | 22 | #include 23 | 24 | Std_ReturnType Linos_GetCurrentTime(struct timespec *tp); 25 | 26 | #endif /* Not defined _WIN32 */ 27 | 28 | #endif /* _LINOS_TIME_H_ */ 29 | -------------------------------------------------------------------------------- /system/LinuxOs/src/os_stubs.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef _OS_STUBS_H 16 | #define _OS_STUBS_H 17 | 18 | void tcpip_task( void ); 19 | 20 | #ifdef _WIN32 21 | 22 | #include "Platform_types.h" 23 | 24 | #define INET_ADDRSTRLEN (16) 25 | 26 | typedef int pthread_t; 27 | typedef int pthread_mutex_t; 28 | typedef int pthread_cond_t; 29 | #endif 30 | 31 | 32 | #endif /* _OS_STUBS_H */ 33 | -------------------------------------------------------------------------------- /system/Os/doc/dd/makefile: -------------------------------------------------------------------------------- 1 | 2 | SPHINXDIR=../../../../scripts/sphinx 3 | 4 | doc_module=OSAL 5 | doc_type=dd 6 | doc_mcu=mpc560x 7 | 8 | #rstp-y += index.rst 9 | 10 | #build_mcal_doc can um mpc5xxx 11 | #build_mcal_dd_doc MCAL dd 12 | 13 | include $(SPHINXDIR)/build_doc.mk 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /system/Os/osal/generic/linux/kernel/arc_krn.sx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/system/Os/osal/generic/linux/kernel/arc_krn.sx -------------------------------------------------------------------------------- /system/Os/osal/generic/linux/kernel/arch_krn.sx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/system/Os/osal/generic/linux/kernel/arch_krn.sx -------------------------------------------------------------------------------- /system/Os/osal/generic/linux/kernel/irq.c: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #include "irq.h" 16 | #include "Std_Types.h" 17 | void Irq_Init( void ) { 18 | 19 | } 20 | 21 | void Irq_EnableVector( sint16 vector, uint8 priority, sint32 core ) { 22 | 23 | } 24 | void Irq_EOI( int16_t vector ) { 25 | (void)vector; 26 | } 27 | -------------------------------------------------------------------------------- /system/Os/osal/generic/linux/kernel/sys_tick.c: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | s 15 | 16 | #include "Std_Types.h" 17 | void Os_SysTickInit( void ) { 18 | } 19 | void Os_SysTickStart(uint32_t period_ticks) { 20 | } 21 | -------------------------------------------------------------------------------- /system/Os/osal/generic/linux/scripts/gcc.mk: -------------------------------------------------------------------------------- 1 | 2 | 3 | cflags-$(OS_32BIT)+= -m32 4 | LDFLAGS-$(OS_32BIT)+= -m32 5 | -------------------------------------------------------------------------------- /system/Os/osal/gnulinux/gnulinux/kernel/arc_krn.sx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/system/Os/osal/gnulinux/gnulinux/kernel/arc_krn.sx -------------------------------------------------------------------------------- /system/Os/osal/gnulinux/gnulinux/kernel/arch_krn.sx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/system/Os/osal/gnulinux/gnulinux/kernel/arch_krn.sx -------------------------------------------------------------------------------- /system/Os/osal/gnulinux/gnulinux/kernel/irq.c: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #include "irq.h" 16 | #include "Std_Types.h" 17 | void Irq_Init( void ) { 18 | 19 | } 20 | void Irq_EnableVector( sint16 vector, uint8 priority, sint32 core ) { 21 | 22 | } 23 | void Irq_EOI( int16_t vector ) { 24 | (void)vector; 25 | 26 | } 27 | -------------------------------------------------------------------------------- /system/Os/osal/gnulinux/gnulinux/kernel/sys_tick.c: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #include "Std_Types.h" 16 | 17 | void Os_SysTickInit( void ) { 18 | } 19 | void Os_SysTickStart(uint32_t period_ticks) { 20 | } 21 | 22 | -------------------------------------------------------------------------------- /system/Os/osal/gnulinux/gnulinux/scripts/gcc.mk: -------------------------------------------------------------------------------- 1 | 2 | 3 | cflags-$(OS_32BIT)+= -m32 4 | LDFLAGS-$(OS_32BIT)+= -m32 5 | 6 | # Nvidia recommended compiler flags for Linux userspace 7 | ifneq ($(CROSS_COMPILE),) 8 | # DEBUG 9 | cflags-y += -march=armv8-a -Wcast-align 10 | # RELEASE 11 | # -O2 -fomit-frame-pointer -finline-functions -finline-limit=300 fgcse-after-reload 12 | endif 13 | 14 | 15 | # Code coverage 16 | #cflags-y += -fprofile-arcs -ftest-coverage 17 | #LDFLAGS += -lgcov --coverage 18 | # 19 | ifneq ($(OS),Windows_NT) 20 | LDFLAGS += -pthread 21 | endif 22 | inc-y += $(ROOTDIR)/system/Os/include 23 | # SimonG or $(ROOTDIR)/boards/linux/Os.h 24 | -------------------------------------------------------------------------------- /system/SchM/SchM.mod.mk: -------------------------------------------------------------------------------- 1 | #SchM 2 | 3 | # Add the regular SchM as a target if both SCHM is used as module 4 | # and if SAFETY_PLATFORM has not been added to CFG += 5 | obj-$(USE_SCHM)-$(if $(CFG_SAFETY_PLATFORM),,y) += SchM.o 6 | 7 | # Add safety platform SCHM solution if both SCHM and 8 | # CFG_SAFETYPLATFORM have been defined 9 | obj-$(USE_SCHM)-$(CFG_SAFETY_PLATFORM) += SchM_partition_QM.o 10 | obj-$(USE_SCHM)-$(CFG_SAFETY_PLATFORM) += SchM_partition_A0.o 11 | 12 | # The SchM/inc should always be included even if SchM module is not used 13 | inc-y += $(ROOTDIR)/system/SchM/inc 14 | vpath-$(USE_SCHM) += $(ROOTDIR)/system/SchM/src 15 | 16 | # MemMap is located in src directory, used for safety platform 17 | inc-$(USE_SCHM)-$(CFG_SAFETY_PLATFORM) += $(ROOTDIR)/system/SchM/src 18 | 19 | 20 | -------------------------------------------------------------------------------- /system/SchM/inc/SchM_Adc.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | #ifndef _SCHM_ADC_H_ 15 | #define _SCHM_ADC_H_ 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | #endif /* SCHM_CAN_H_ */ 24 | -------------------------------------------------------------------------------- /system/SchM/inc/SchM_Dio.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | 16 | #ifndef SCHM_DIO_H_ 17 | #define SCHM_DIO_H_ 18 | 19 | #include "Os.h" 20 | 21 | #define SchM_Enter_Dio_EA_0() SuspendOSInterrupts() 22 | #define SchM_Exit_Dio_EA_0() ResumeOSInterrupts() 23 | 24 | #endif /* SCHM_DIO_H_ */ 25 | -------------------------------------------------------------------------------- /system/SchM/inc/SchM_DoIP.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | 16 | #ifndef SCHM_DOIP_H_ 17 | #define SCHM_DOIP_H_ 18 | 19 | #include "Os.h" 20 | 21 | #define SchM_Enter_DoIP_EA_0() SuspendOSInterrupts() 22 | #define SchM_Exit_DoIP_EA_0() ResumeOSInterrupts() 23 | 24 | 25 | #endif /* SCHM_DoIP_H_ */ 26 | -------------------------------------------------------------------------------- /system/SchM/inc/SchM_FiM.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | #ifndef _SCHM_FIM_H_ 15 | #define _SCHM_FIM_H_ 16 | 17 | #define SCHM_MAINFUNCTION_FIM() SCHM_MAINFUNCTION(FIM,FiM_MainFunction()) 18 | 19 | #endif /* _SCHM_FIM_H_ */ 20 | -------------------------------------------------------------------------------- /system/SchM/inc/SchM_Gpt.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------- Arctic Core ------------------------------ 2 | * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. 3 | * Contact: 4 | * 5 | * You may ONLY use this file: 6 | * 1)if you have a valid commercial ArcCore license and then in accordance with 7 | * the terms contained in the written license agreement between you and ArcCore, 8 | * or alternatively 9 | * 2)if you follow the terms found in GNU General Public License version 2 as 10 | * published by the Free Software Foundation and appearing in the file 11 | * LICENSE.GPL included in the packaging of this file or here 12 | * 13 | *-------------------------------- Arctic Core -----------------------------*/ 14 | 15 | #ifndef SCHM_GPT_H_ 16 | #define SCHM_GPT_H_ 17 | 18 | /* INTEGR094 sws_bsw_scheduler */ 19 | #include "Os.h" 20 | 21 | #define SchM_Enter_Gpt_EA_0() SuspendOSInterrupts() 22 | #define SchM_Exit_Gpt_EA_0() ResumeOSInterrupts() 23 | 24 | #endif /* SCHM_GPT_H_ */ 25 | -------------------------------------------------------------------------------- /system/StbM/StbM.mod.mk: -------------------------------------------------------------------------------- 1 | #StbM 2 | obj-$(USE_STBM) += StbM.o 3 | obj-$(USE_STBM) += StbM_Cfg.o 4 | 5 | inc-$(USE_STBM) += $(ROOTDIR)/system/StbM/inc 6 | inc-$(USE_STBM) += $(ROOTDIR)/include/rte 7 | vpath-$(USE_STBM) += $(ROOTDIR)/system/StbM/src 8 | 9 | -------------------------------------------------------------------------------- /system/readme.txt: -------------------------------------------------------------------------------- 1 | In this directory modules related to the System services specifications 2 | should be placed. -------------------------------------------------------------------------------- /testCommon/build_for_linux.mk: -------------------------------------------------------------------------------- 1 | 2 | ARC_DIR?=core 3 | 4 | ifeq (${MAKELEVEL},0) 5 | # Build from within eclipse 6 | ifeq ($(OS),Windows_NT) 7 | PROJECT_DIR?=/$(subst :/,/,$(subst \,/,$(PWD))) 8 | else 9 | PROJECT_DIR?=$(PWD) 10 | endif 11 | ARC_PATH?=$(PROJECT_DIR)/../$(ARC_DIR) 12 | BDIR=$(CURDIR) 13 | export BDIR 14 | else 15 | # "Normal build 16 | ARC_PATH?=../$(ARC_DIR) 17 | PROJECT_DIR?=$(abspath $(CURDIR)) 18 | endif 19 | 20 | export CROSS_COMPILE:= 21 | export TEST_DIR:=$(abspath $(CURDIR)) 22 | export BOARDDIR:=linux 23 | export BDIR=$(TEST_DIR) 24 | export SELECT_CLIB=CLIB_NATIVE 25 | export PROJECT_DIR 26 | 27 | .PHONY: clean 28 | 29 | clean all: 30 | $(Q)$(MAKE) -r -C $(ARC_PATH) $(MAKECMDGOALS) 31 | 32 | -------------------------------------------------------------------------------- /testCommon/common_build_config.mk: -------------------------------------------------------------------------------- 1 | # This file is included by the build_config.mk in the os tests 2 | # It is currently only used for setting up the return value when 3 | # lint produces warnings. 4 | # 5 | 6 | ALLOW_LINT_WARNINGS=y 7 | CFG+=MINIMAL_OUTPUT 8 | 9 | 10 | ifeq ($(board_name), mpc5604b_xpc560b) 11 | ifeq ($(COMPILER), cw) 12 | ALLOW_LINT_WARNINGS=n 13 | endif 14 | endif 15 | 16 | ifeq ($(board_name), rh850f1l) 17 | RH850_PARTNUM ?= RF7010243 18 | endif 19 | 20 | ifeq ($(BUILD_OS_SAFETY_PLATFORM),y) 21 | def-y += OS_SYSTICK_APP=APPLICATION_ID_OsApplication_Sys 22 | 23 | CFG+=TC2XX_OPTIMIZE_IRQ_VECTORTABLE_SIZE 24 | 25 | CFG+=ARC_CLIB 26 | # Currently only winidea support 27 | SELECT_CONSOLE = TTY_WINIDEA 28 | board_name_suffix=_sp 29 | endif 30 | 31 | 32 | -------------------------------------------------------------------------------- /tools/t32/Shortcut to t32mppc.lnk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/tools/t32/Shortcut to t32mppc.lnk -------------------------------------------------------------------------------- /tools/t32/TRACE32 ICD ARM USB-64.lnk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/tools/t32/TRACE32 ICD ARM USB-64.lnk -------------------------------------------------------------------------------- /tools/t32/TRACE32 ICD ARM USB.lnk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/tools/t32/TRACE32 ICD ARM USB.lnk -------------------------------------------------------------------------------- /tools/t32/armv7-m_destroyregs.cmm: -------------------------------------------------------------------------------- 1 | LOCAL &val 2 | r.s r0 0xffffffff 3 | r.s r1 0x11111111 4 | //r.s r2 0x22222222 5 | //r.s r3 0x33333333 6 | r.s r4 0x44444444 7 | r.s r5 0x55555555 8 | r.s r6 0x66666666 9 | r.s r7 0x77777777 10 | r.s r8 0x88888888 11 | r.s r9 0x99999999 12 | r.s r10 0x10101010 13 | r.s r11 0x11111111 14 | r.s r12 0x12121212 15 | //r.s r13 &val // sp 16 | enddo 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /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/ipc_path.cmm: -------------------------------------------------------------------------------- 1 | //y.spath.setrecursedir + C:\Users\mahi\git\mta-j6\ipc\packages\ti 2 | y.reset 3 | d.load.elf C:\Users\mahi\git\arc-a4\core\binaries\jacinto6_vayu_evm\MessageQMulti.elf /nocode 4 | //d.load.elf C:\Users\mahi\git\arc-a4\core\binaries\jacinto6_vayu_evm\MessageQApp.elf /nocode 5 | 6 | y.spath + C:\Users\mahi\git\mta-j6\ipc\packages\ti\sdo\ipc 7 | y.spath + C:\Users\mahi\git\mta-j6\ipc\packages\ti\sdo\ipc\arc 8 | y.spath + C:\Users\mahi\git\mta-j6\ipc\packages\ti\sdo\ipc\arc 9 | y.spath + C:\Users\mahi\git\mta-j6\ipc\packages\ti\ipc\transports 10 | y.spath + C:\Users\mahi\git\mta-j6\ipc\packages\ti\ipc\rpmsg 11 | y.spath + C:\Users\mahi\git\mta-j6\ipc\packages\ti\ipc\family\vayu_arc 12 | y.spath + C:\Users\mahi\git\mta-j6\ipc\packages\ti\sdo\ipc\family\vayu_arc 13 | y.spath + C:\Users\mahi\git\mta-j6\ipc\packages\ti\ipc\remoteproc\ 14 | 15 | enddo 16 | -------------------------------------------------------------------------------- /tools/t32/jac6/layout_A15.cmm: -------------------------------------------------------------------------------- 1 | // T32_1000001 Fri Feb 19 16:48:24 2016 2 | 3 | B:: 4 | 5 | TOOLBAR ON 6 | STATUSBAR ON 7 | FramePOS 270.86 17.0 81. 31. 8 | WinPAGE.RESet 9 | 10 | WinPAGE.Create P000 11 | WinCLEAR 12 | 13 | WinPOS 1.7143 0.75 64. 16. 0. 0. W001 14 | sys 15 | 16 | WinPAGE.select P000 17 | 18 | ENDDO 19 | -------------------------------------------------------------------------------- /tools/t32/jac6/setup_A15.cmm: -------------------------------------------------------------------------------- 1 | 2 | WCLEAR 3 | 4 | SYStem.Down 5 | SYStem.CPU DRA75x 6 | SYStem.JC RTCK 7 | SYStem.MemAccess DAP 8 | 9 | TrOnchip.set undef off ; ignore undef 10 | TrOnchip.set pabort off ; ignore page abort 11 | TrOnchip.set dabort off ; ignore data abort 12 | 13 | do jac6/layout_A15 14 | 15 | ENDDO 16 | -------------------------------------------------------------------------------- /tools/t32/jac6/setup_M4.cmm: -------------------------------------------------------------------------------- 1 | 2 | GLOBAL &skip_project_config_g 3 | 4 | &skip_project_config_g="y" 5 | 6 | SYStem.Down 7 | SYStem.CPU DRA74XIPU1-CORE0 8 | SYStem.JC RTCK 9 | SYStem.MemAccess DAP 10 | Trace.METHOD Onchip 11 | 12 | // Attach A15, it will be running 13 | intercom 10000 sys.attach 14 | sys.mode Attach 15 | 16 | do start 17 | 18 | 19 | ENDDO 20 | -------------------------------------------------------------------------------- /tools/t32/lay.cmm: -------------------------------------------------------------------------------- 1 | // t32 Fri Mar 21 19:53:07 2014 2 | 3 | B:: 4 | 5 | TOOLBAR ON 6 | STATUSBAR ON 7 | FRAMEPOS 3.5714,25.0,,,Maximized 8 | WINPAGE.RESET 9 | 10 | WINCLEAR 11 | WINPOS 0.14286 64.167 111. 16. 0. 0. W001 12 | ws.area 13 | 14 | WINPOS 0.28571 0.33333 110. 68. 13. 1. W000 15 | WINTABS 10. 10. 25. 62. 16 | ws.d.l 17 | 18 | WINPOS 201.0 59.583 77. 20. 0. 0. W004 19 | ws.r /spotlight 20 | 21 | WINPOS 162.86 37.75 121. 20. 0. 0. W006 22 | ws.term.view e:address.offset(v.address(t32_outport)) e:address.offset(v.address(t32_inport)) 23 | 24 | WINPOS 196.14 0.25 80. 18. 0. 0. W002 25 | ws.var.ref 26 | 27 | WINPAGE.SELECT P000 28 | 29 | ENDDO 30 | -------------------------------------------------------------------------------- /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/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/tools/t32/mpc55xx_sim.dll -------------------------------------------------------------------------------- /tools/t32/orti.cmm: -------------------------------------------------------------------------------- 1 | 2 | 3 | task.orti C:/Users/mahi/git/arc-a4/examples/OsOrti/config/Os.orti 4 | task.stack.pattern 0x42 5 | menu.rp orti.men 6 | //menu.rp ortiperf.men 7 | 8 | //trace.chart.task 9 | //trace.chart.taskintr 10 | //trace.chart.func 11 | //Trace.STATistic.TASKFunc 12 | 13 | enddo 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /tools/t32/orti.men: -------------------------------------------------------------------------------- 1 | add 2 | menu 3 | ( 4 | popup "ArcCore_ORTI_2_2" 5 | ( 6 | menuitem "Display OS" "TASK.DOS" 7 | menuitem "Display Tasks" "TASK.DTASK" 8 | menuitem "Display Stacks" "TASK.STACK" 9 | menuitem "Display Counters" "TASK.DCOUNTER" 10 | menuitem "Display Alarms" "TASK.DALARM" 11 | menuitem "Display Resources" "TASK.DRESOURCE" 12 | ) 13 | ) 14 | -------------------------------------------------------------------------------- /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 0x20000000 0 0 11 | // sim.load C:\projects\workspace\t32_sim\Release\mpc55xx_sim.dll 20000 0 0 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 | 47 | 48 | -------------------------------------------------------------------------------- /tools/t32/t32.cmm: -------------------------------------------------------------------------------- 1 | 2 | do start 3 | enddo 4 | -------------------------------------------------------------------------------- /tools/t32/t32mtc - Shortcut.lnk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openAUTOSAR/classic-platform/09433770bebb8f27a7b480d7c96d814c68ffed3e/tools/t32/t32mtc - Shortcut.lnk -------------------------------------------------------------------------------- /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 200. 1000. 11 | term.scroll on 12 | term.mode vt100 13 | 14 | IF CPUFAMILY()=="ARM" 15 | ( 16 | term.METHOD SE 17 | term.view e:address.offset(v.address(t32_outport)) e:address.offset(v.address(t32_inport)) 18 | ) 19 | ELSE 20 | ( 21 | winsmall.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 | --------------------------------------------------------------------------------