{"id":25911316,"url":"https://github.com/chalandi/osek","last_synced_at":"2025-09-07T15:41:48.630Z","repository":{"id":44207399,"uuid":"121372516","full_name":"Chalandi/OSEK","owner":"Chalandi","description":"OSEK (ECC1/BCC1) Implementation for Cortex™-M3","archived":false,"fork":false,"pushed_at":"2023-05-17T22:09:38.000Z","size":101,"stargazers_count":33,"open_issues_count":0,"forks_count":13,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-11T02:43:09.519Z","etag":null,"topics":["osek","osek-vdx","rtos"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Chalandi.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,"governance":null}},"created_at":"2018-02-13T11:03:38.000Z","updated_at":"2025-04-21T23:04:46.000Z","dependencies_parsed_at":"2022-08-19T20:01:05.385Z","dependency_job_id":"0e95a264-d67b-42ae-87d0-cedfe5da9273","html_url":"https://github.com/Chalandi/OSEK","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Chalandi/OSEK","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chalandi%2FOSEK","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chalandi%2FOSEK/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chalandi%2FOSEK/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chalandi%2FOSEK/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chalandi","download_url":"https://codeload.github.com/Chalandi/OSEK/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chalandi%2FOSEK/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274058941,"owners_count":25215200,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["osek","osek-vdx","rtos"],"created_at":"2025-03-03T09:17:13.225Z","updated_at":"2025-09-07T15:41:48.496Z","avatar_url":"https://github.com/Chalandi.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"chalandi/OSEK\n==================\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/chalandi/OSEK/actions\"\u003e\n        \u003cimg src=\"https://github.com/chalandi/OSEK/actions/workflows/OSEK.yml/badge.svg\" alt=\"Build Status\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/chalandi/OSEK/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc\"\u003e\n        \u003cimg src=\"https://custom-icon-badges.herokuapp.com/github/issues-raw/chalandi/OSEK?logo=github\" alt=\"Issues\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/chalandi/OSEK/blob/master/gpl-3.0.txt\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/license-GPL%203.0-blue.svg\" alt=\"GNU GENERAL PUBLIC LICENSE 3.0\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/chalandi/OSEK\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/languages/code-size/chalandi/OSEK\" alt=\"GitHub code size in bytes\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nThis repository implements an OSEK-like, bare-metal\noperating system for ARM(R) Cortex(R)-M3.\nThe goals are to achieve near-compatibility with OSEK (ECC1/BCC1)\nand to provide an intuitive, esay-to-understand sample application\nthat can be extended for your own projects.\n\nFeatures include:\n  - OSEK-like OS implementation with support of most common features.\n  - The sample application runs on the STM32F100-NUCLEO Board.\n  - Tasks and events interact to produce a blinky LED show featuring the green and blue LEDs toggling at 1Hz (green) and 1/2 Hz (blue) respectively.\n  - Use a simple self-written bare-metal startup.\n  - Power, clock and port initialization.\n  - 1ms timebase derived from the ARM(R) `SysTick`.\n  - Implementation in C99 with absolute minimal use of assembly.\n\nA clear and easy-to-understand build system based on either free GNUmake/GCC\nor alternatively KEIL MDK completes this fun and educational project.\n\nThis repository provides keen insight on writing your own\n_bare_ _metal_ operating system from scratch on a modern\nmicrocontroller using entirely free tools and open standards.\n\n## Details on the Application\n\nFollowing low-level chip initialization, the program jumps\nto the `main()` subroutine in [Application/Appli.c](./Application/Appli.c).\nHere there are two functional lines. The first line initializes the LEDs.\nThe second line subsequently starts the operatng system via call\nto `OS_StartOS()`.\n\nAn idle task and one single extended task animate the user LED,\nproviding a simple blinky LED show featuring the gren and blue\nLED(s) toggling at 1Hz (green) and 1/2 Hz (blue) respectively.\n\n## Building the Application\n\n### Build with KEIL uVision (MDK)\n\nBuild on `Win*` is easy using an installed KEIL-MDK.\nSimply use the project file `PRJ_02.uvprojx` which can\nbe found in the project's root directory.\n\n### Build with GNUmake on `*nix`\n\nBuild on `*nix*` is easy using an installed `gcc-arm-none-eabi`\n\n```sh\ncd OSEK\n./Build.sh\n```\n\nThe build results including ELF-file, HEX-mask, MAP-file\ncan be found in the `Output` directory following the GNUmake build.\n\n## References\nFurther information on open standard OSEK can be found in ISO 17356 and in the link below:\n* https://en.wikipedia.org/wiki/OSEK\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchalandi%2Fosek","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchalandi%2Fosek","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchalandi%2Fosek/lists"}