{"id":13435679,"url":"https://github.com/autoas/as","last_synced_at":"2025-03-18T11:32:00.320Z","repository":{"id":27755832,"uuid":"31243944","full_name":"autoas/as","owner":"autoas","description":"automotive software(OSEK \u0026 AUTOSAR) and its tool-chain","archived":false,"fork":false,"pushed_at":"2023-01-02T09:11:56.000Z","size":20755,"stargazers_count":947,"open_issues_count":11,"forks_count":469,"subscribers_count":148,"default_branch":"master","last_synced_at":"2024-05-19T21:54:03.566Z","etag":null,"topics":["automotive","autosar","linux","osek"],"latest_commit_sha":null,"homepage":"https://github.com/autoas/ssas-public","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/autoas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-24T04:02:44.000Z","updated_at":"2024-05-18T21:56:12.000Z","dependencies_parsed_at":"2022-08-07T13:01:07.583Z","dependency_job_id":null,"html_url":"https://github.com/autoas/as","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autoas%2Fas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autoas%2Fas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autoas%2Fas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autoas%2Fas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/autoas","download_url":"https://codeload.github.com/autoas/as/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244211131,"owners_count":20416585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automotive","autosar","linux","osek"],"created_at":"2024-07-31T03:00:37.989Z","updated_at":"2025-03-18T11:31:55.311Z","avatar_url":"https://github.com/autoas.png","language":"C","readme":"# This repo is no longer active supported, a new project is started and source code opened at\n# https://github.com/autoas/ssas-public\n\n# as\nautomotive software and its tool-chain\n\n[![Build Status](https://travis-ci.org/autoas/as.svg?branch=master)](https://travis-ci.org/autoas/as)\n\n## why this repository\nBecause I am not powerful so I decided to develop tiny but smart part of automotive software based on open source, and create a general AUTOSAR \u0026 Automotive Software study environment.\n\nAs below picture shows, it was an virtual cluster based on AUTOSAR and can be simulated on Windows and Linux.\n\n![ascore posix vic on AUTOSAR](https://github.com/autoas/as/raw/gh-pages/images/ascore_posix_vic.gif)\n\n## Key Point\n\n### 1. BSW\n\n#### 1.1 Integrated ArcCore AUTOSAR 3.1 BSW\n* Communication: Can(CanFD) CanIf PduR Com SoAd J1939Tp\n* Diagnostic: CanTp Dcm DoIP Dem\n* System: EcuM SchM\n* Memory: Fls Fee Eep Ea NvM MemIf\n\n#### 1.2 AS Mini BSW\nMainly for the purpose to create a small footprint bootloader with all of the code implemented by me.\n\n* Diagnostic: [CanTpMini](https://github.com/autoas/as/blob/master/com/as.infrastructure/communication/CanTp/CanTpMini.c) [DcmMini](https://github.com/autoas/as/tree/master/com/as.infrastructure/diagnostic/Dcm/DcmMini.c)\n\n\n\n### 2. OS [ASKAR](https://github.com/autoas/as/tree/master/com/as.infrastructure/system/kernel/askar) - [Automotive oSeK AutosaR](http://autoas.github.io/as/autosar/2017/10/27/ASKAR-architecture.html)\nThis RTOS ASKAR is designed according to [OSEK/VDX OS223](http://trampolinebin.rts-software.org/os223.pdf) by taking a reference of a lot of other open source RTOS, generally, the bwlow is the list:\n\n* [toppers_osek](https://www.toppers.jp/osek-os.html)\n* [FreeOSEK](http://opensek.sourceforge.net/)\n* [FreeRTOS](http://www.freertos.org/)\n* [ucos ii](https://www.micrium.com/)\n* [toppers-atk2](https://www.toppers.jp/atk2.html)\n* [contiki](http://contiki-os.org/)\n* [trampoline](https://github.com/TrampolineRTOS/trampoline)\n* [rtthread](https://github.com/RT-Thread/rt-thread)\n\nFor the purpose that to be able to run most of the common applications which are based on posix, a series of posix APIs have been implemented based on the ASKAR OSEK tiny core.\n\n* posix threads\n* posix semaphore\n* posix mutex and condition\n* posix message queue\n* posix signals\n\nGeneral supported CPU architecture list:\n\n* arm32: cortex-m3 arm926\n* arm64: cortex-a57 (multicore is supported)\n* ppc: mpc5634\n* intel: i386\n* s12cpuv2: mc9s12xep100\n\n\n## 3. BSW configuration tool\n\u003e This GUI tool is the one from [OpenSAR](https://github.com/parai/OpenSAR.git) which is also developed by me, the GUI can be automatically created from xml.\n\n![as configure tool](http://autoas.github.io/as/images/config.infrastructure.system.gif)\n\n## 4. AUTOSAR \u0026 LINUX communication\n* [virtio](http://docs.oasis-open.org/virtio/virtio/v1.0/csprd01/virtio-v1.0-csprd01.pdf)\n* [remoteproc](https://www.kernel.org/doc/Documentation/remoteproc.txt)\n* [rpmsg](https://www.kernel.org/doc/Documentation/rpmsg.txt)\n* [virtio ring buffer](http://www.ibm.com/developerworks/cn/linux/1402_caobb_virtio/)\n\n## 5. Lua \u0026 Python Integrated\n* support CAN device by lascanlib or pyas: CANcaseXL, [PeakCAN](http://www.peak-system.com/PCAN-USB.199.0.html?L=1), [SocketCAN](https://en.wikipedia.org/wiki/SocketCAN), [ZLG USBCAN](http://www.zlg.cn/can/can/product/id/22.html)\n* support miscellaneous device by lasdevlib with the smae API interface \"open/read/write/ioctl/close\": rs232\n* a powerful python as.one.py tool: Dcm Xcp Bootloader and others.\n* a powerful third party RTE tool integrated: [cogu/autosar](https://github.com/cogu/autosar)\n\n![as.one.py bootloader](http://autoas.github.io/as/images/python3-asone-tool.png)\n\n## 6. Other 3rd part package\n* [LWIP](http://savannah.nongnu.org/projects/lwip/): about text:133Kb, data:11Kb\n* [contiki-net](http://contiki-os.org/): about text:54Kb(including the protothread), data:4Kb\n* [afbinder/websock](https://github.com/automotive-grade-linux/docs-agl/blob/master/docs/app-framework/index.md)\n* qemu PCI sample driver: [asnet](https://github.com/autoas/as/blob/master/com/as.tool/qemu/hw/char/asnet.c) [ascan](https://github.com/autoas/as/blob/master/com/as.tool/qemu/hw/char/ascan.c) [asblk](https://github.com/autoas/as/blob/master/com/as.tool/qemu/hw/char/asblk.c)\n* [FatFS](http://elm-chan.org/fsw/ff/00index_e.html)\n* [lwext4](https://github.com/gkostka/lwext4.git)\n* libelf: an OS independent ELF library for ELF loading\u0026executing.\n* [LVGL](https://github.com/littlevgl/lvgl):Littlev Graphics Libraray\n* [DTC/LIBFDT](https://github.com/dgibson/dtc) \n\n## 7. Setup Environment and Run\n\n\u003eCheck the page [as-study-platform](http://autoas.github.io/as/autosar/2018/02/20/as-study-platform.html) for how to setup the environment from zero by yourself.\n\n## 8. AS USB2CAN device\n\n[stm32f107vc USB2CAN](https://github.com/as-boards/stm32f107vc)\n\n![stm32](https://github.com/as-boards/stm32f107vc/blob/master/doc/usb2can_dut_demo.jpg)\n\n","funding_links":[],"categories":["C","RTOS"],"sub_categories":["Autosar"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautoas%2Fas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautoas%2Fas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautoas%2Fas/lists"}