{"id":21317221,"url":"https://github.com/oldrev/os-kernel-dev-demo","last_synced_at":"2025-03-15T21:44:04.355Z","repository":{"id":141075769,"uuid":"307221931","full_name":"oldrev/os-kernel-dev-demo","owner":"oldrev","description":"A simple demo to implements a Linux or Zephyr-OS like device driver management architecture.","archived":false,"fork":false,"pushed_at":"2020-10-26T00:54:27.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T10:47:21.373Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/oldrev.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-26T00:30:21.000Z","updated_at":"2020-12-22T10:33:12.000Z","dependencies_parsed_at":"2023-07-06T09:16:12.561Z","dependency_job_id":null,"html_url":"https://github.com/oldrev/os-kernel-dev-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oldrev%2Fos-kernel-dev-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oldrev%2Fos-kernel-dev-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oldrev%2Fos-kernel-dev-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oldrev%2Fos-kernel-dev-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oldrev","download_url":"https://codeload.github.com/oldrev/os-kernel-dev-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243796647,"owners_count":20349252,"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":[],"created_at":"2024-11-21T18:42:29.537Z","updated_at":"2025-03-15T21:44:04.332Z","avatar_url":"https://github.com/oldrev.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# os-kernel-dev-demo\nA simple demo to implements a Linux or Zephyr-OS like device driver management architecture.\n\n\n## Getting Started\n\n```bash\n$ gcc -T default.lds  main.c init.c -o demo\n$ ./demo\n```\n\nTo test it in your own STM32 project, **do not** use the `default.lds` file that included in this repository, instead you may add the following to your STM32 linker script (`*.ld/*.lds`):\n\n```lds\n  ._init :\n  {\n    PROVIDE_HIDDEN (__init_begin = .);\n    KEEP (*(SORT(._init.*)))\n    KEEP (*(._init*))\n    PROVIDE_HIDDEN (__init_end = .);\n  } \u003eFLASH\n\n  .devices :\n  {\n    PROVIDE_HIDDEN (__device_begin = .);\n    KEEP (*(SORT(.device_.*)))\n    KEEP (*(.device_*))\n    PROVIDE_HIDDEN (__device_end = .);\n  } \u003eFLASH\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foldrev%2Fos-kernel-dev-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foldrev%2Fos-kernel-dev-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foldrev%2Fos-kernel-dev-demo/lists"}