Skip to content

Commit

Permalink
Update the file and folder structure.
Browse files Browse the repository at this point in the history
  • Loading branch information
At-EC committed Feb 9, 2024
1 parent 252e0cb commit afb7414
Show file tree
Hide file tree
Showing 9 changed files with 69 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.20)
project(kernal_sample
LANGUAGES C)

set(At_RTOS_PATH "../../")
set(At_RTOS_PATH "../../../")

include(${At_RTOS_PATH}/CMakeLists.txt)

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$VersionFile = "atos_version.h"
$VersionPath = "../kernal/include"
$VersionPath = "../../kernal/include"
$FileContent = '/**
* Copyright (c) Riven Zheng ([email protected]).
*
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kernal-sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Build Kernal Sample CMake
shell: bash
working-directory: samples/kernal_sample
working-directory: .github/samples/kernal_sample
run: |
cmake -S . -B build
cmake --build build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trigger-version-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Execute Version Script
id: version
shell: powershell
working-directory: script
working-directory: .github/script
run: |
$message = powershell.exe -ExecutionPolicy bypass .\auto-version.ps1
echo "value=$message" >> "$env:GITHUB_OUTPUT"
Expand Down
65 changes: 65 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,71 @@ If this project was useful to you, give it a ⭐️ and I'll keep improving it.
* **Tiny footprint:** It's as low as 1KB ROM/few bytes of RAM.
* **Learn Once, Write Anywhere:** We don't make assumptions about the rest of your technology stack, so you can develop new features in At-RTOS without rewriting existing code.

## Kernal Structure

```shell
# At-RTOS source code tree
At-RTOS
├── arch
│ ├── arch32
│ │ └── arm
│ │ └── cmsis
│ │ └── include
│ ├── arch.h
│ └── CMakeLists.txt
├── clock
│ ├── include
│ │ └── clock_tick.h
│ ├── clock_systick.c
│ └── CMakeLists.txt
├── port
│ ├── include
│ │ └── port.h
│ ├── port_keil.c
│ └── CMakeLists.txt
├── include
│ ├── atos_configuration.h
│ └── CMakeLists.txt
├── kernal
│ ├── include
│ │ ├── at_rtos.h
│ │ ├── atos_version.h
│ │ ├── basic.h
│ │ ├── compiler.h
│ │ ├── configuration.h
│ │ ├── event.h
│ │ ├── idle.h
│ │ ├── kernal.h
│ │ ├── kernal_thread.h
│ │ ├── linker.h
│ │ ├── list.h
│ │ ├── member_struct.h
│ │ ├── mutex.h
│ │ ├── postcode.h
│ │ ├── queue.h
│ │ ├── semaphore.h
│ │ ├── thread.h
│ │ ├── timer.h
│ │ ├── trace.h
│ │ ├── type.h
│ │ └── unique.h
│ ├── basic.c
│ ├── event.c
│ ├── kernal.c
│ ├── kernal_thread.c
│ ├── linker.c
│ ├── list.c
│ ├── mutex.c
│ ├── queue.c
│ ├── semaphore.c
│ ├── thread.c
│ ├── timer.c
│ ├── trace.c
│ └── CMakeLists.txt
├── kernal_idle.c
└── CMakeLists.txt
```

## What's New

[v1.0.0] Welcome to At-RTOS. v1.0.0 was released now. A basic RTOS feature was implemented in the kernal system, Pls enjoy it (:
Expand Down

0 comments on commit afb7414

Please sign in to comment.