├── .clang-format ├── .gitignore ├── .gitmodules ├── .pre-commit-config.yaml ├── LICENSE ├── Makefile ├── README.md ├── doc ├── Developers.md ├── Mutexes.md ├── Project-Setup.md ├── Queues.md ├── Scheduler-Lock.md ├── Semaphores.md ├── Tasks.md ├── Tick-Counter.md ├── Timers.md └── home.md ├── examples ├── arm │ ├── README.md │ ├── librertos_port.c │ ├── librertos_port.h │ └── librertos_proj.h ├── avr │ ├── Makefile │ ├── README.md │ ├── librertos_port.c │ ├── librertos_port.h │ ├── librertos_proj.h │ ├── main.c │ └── tests.c └── linux │ ├── Makefile │ ├── README.md │ ├── librertos_port.c │ ├── librertos_port.h │ ├── librertos_proj.h │ └── main.c ├── include └── librertos.h ├── src └── librertos.c └── tests ├── concurrent_test.cpp ├── concurrent_test.sh ├── librertos_delay_test.cpp ├── librertos_event_test.cpp ├── librertos_list_test.cpp ├── librertos_sched_test.cpp ├── librertos_tick_test.cpp ├── librertos_timer_test.cpp ├── mocks └── librertos_assert.cpp ├── mutex_test.cpp ├── port ├── librertos_port.cpp ├── librertos_port.h ├── librertos_port_test.cpp └── librertos_proj.h ├── queue_test.cpp ├── run_tests.sh ├── semaphore_test.cpp └── utils ├── MemoryLeakDetector.h ├── build.mk ├── librertos_custom_tests.cpp ├── librertos_custom_tests.h ├── librertos_test_utils.cpp ├── librertos_test_utils.h ├── main.cpp └── tests └── librertos_listtester_test.cpp /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/.clang-format -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/.gitmodules -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/README.md -------------------------------------------------------------------------------- /doc/Developers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/doc/Developers.md -------------------------------------------------------------------------------- /doc/Mutexes.md: -------------------------------------------------------------------------------- 1 | # Mutexes 2 | -------------------------------------------------------------------------------- /doc/Project-Setup.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/doc/Project-Setup.md -------------------------------------------------------------------------------- /doc/Queues.md: -------------------------------------------------------------------------------- 1 | # Queues 2 | -------------------------------------------------------------------------------- /doc/Scheduler-Lock.md: -------------------------------------------------------------------------------- 1 | # Locking the Scheduler and Interrupts 2 | -------------------------------------------------------------------------------- /doc/Semaphores.md: -------------------------------------------------------------------------------- 1 | # Semaphores 2 | -------------------------------------------------------------------------------- /doc/Tasks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/doc/Tasks.md -------------------------------------------------------------------------------- /doc/Tick-Counter.md: -------------------------------------------------------------------------------- 1 | # Tick Counter 2 | -------------------------------------------------------------------------------- /doc/Timers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/doc/Timers.md -------------------------------------------------------------------------------- /doc/home.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/doc/home.md -------------------------------------------------------------------------------- /examples/arm/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/examples/arm/README.md -------------------------------------------------------------------------------- /examples/arm/librertos_port.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/examples/arm/librertos_port.c -------------------------------------------------------------------------------- /examples/arm/librertos_port.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/examples/arm/librertos_port.h -------------------------------------------------------------------------------- /examples/arm/librertos_proj.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/examples/arm/librertos_proj.h -------------------------------------------------------------------------------- /examples/avr/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/examples/avr/Makefile -------------------------------------------------------------------------------- /examples/avr/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/examples/avr/README.md -------------------------------------------------------------------------------- /examples/avr/librertos_port.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/examples/avr/librertos_port.c -------------------------------------------------------------------------------- /examples/avr/librertos_port.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/examples/avr/librertos_port.h -------------------------------------------------------------------------------- /examples/avr/librertos_proj.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/examples/avr/librertos_proj.h -------------------------------------------------------------------------------- /examples/avr/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/examples/avr/main.c -------------------------------------------------------------------------------- /examples/avr/tests.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/examples/avr/tests.c -------------------------------------------------------------------------------- /examples/linux/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/examples/linux/Makefile -------------------------------------------------------------------------------- /examples/linux/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/examples/linux/README.md -------------------------------------------------------------------------------- /examples/linux/librertos_port.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/examples/linux/librertos_port.c -------------------------------------------------------------------------------- /examples/linux/librertos_port.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/examples/linux/librertos_port.h -------------------------------------------------------------------------------- /examples/linux/librertos_proj.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/examples/linux/librertos_proj.h -------------------------------------------------------------------------------- /examples/linux/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/examples/linux/main.c -------------------------------------------------------------------------------- /include/librertos.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/include/librertos.h -------------------------------------------------------------------------------- /src/librertos.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/src/librertos.c -------------------------------------------------------------------------------- /tests/concurrent_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/tests/concurrent_test.cpp -------------------------------------------------------------------------------- /tests/concurrent_test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/tests/concurrent_test.sh -------------------------------------------------------------------------------- /tests/librertos_delay_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/tests/librertos_delay_test.cpp -------------------------------------------------------------------------------- /tests/librertos_event_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/tests/librertos_event_test.cpp -------------------------------------------------------------------------------- /tests/librertos_list_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/tests/librertos_list_test.cpp -------------------------------------------------------------------------------- /tests/librertos_sched_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/tests/librertos_sched_test.cpp -------------------------------------------------------------------------------- /tests/librertos_tick_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/tests/librertos_tick_test.cpp -------------------------------------------------------------------------------- /tests/librertos_timer_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/tests/librertos_timer_test.cpp -------------------------------------------------------------------------------- /tests/mocks/librertos_assert.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/tests/mocks/librertos_assert.cpp -------------------------------------------------------------------------------- /tests/mutex_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/tests/mutex_test.cpp -------------------------------------------------------------------------------- /tests/port/librertos_port.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2016-2023 Djones A. Boni - MIT License */ 2 | 3 | #include "librertos_port.h" 4 | -------------------------------------------------------------------------------- /tests/port/librertos_port.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/tests/port/librertos_port.h -------------------------------------------------------------------------------- /tests/port/librertos_port_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/tests/port/librertos_port_test.cpp -------------------------------------------------------------------------------- /tests/port/librertos_proj.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/tests/port/librertos_proj.h -------------------------------------------------------------------------------- /tests/queue_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/tests/queue_test.cpp -------------------------------------------------------------------------------- /tests/run_tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/tests/run_tests.sh -------------------------------------------------------------------------------- /tests/semaphore_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/tests/semaphore_test.cpp -------------------------------------------------------------------------------- /tests/utils/MemoryLeakDetector.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/tests/utils/MemoryLeakDetector.h -------------------------------------------------------------------------------- /tests/utils/build.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/tests/utils/build.mk -------------------------------------------------------------------------------- /tests/utils/librertos_custom_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/tests/utils/librertos_custom_tests.cpp -------------------------------------------------------------------------------- /tests/utils/librertos_custom_tests.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/tests/utils/librertos_custom_tests.h -------------------------------------------------------------------------------- /tests/utils/librertos_test_utils.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/tests/utils/librertos_test_utils.cpp -------------------------------------------------------------------------------- /tests/utils/librertos_test_utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/tests/utils/librertos_test_utils.h -------------------------------------------------------------------------------- /tests/utils/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/tests/utils/main.cpp -------------------------------------------------------------------------------- /tests/utils/tests/librertos_listtester_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/djboni/librertos/HEAD/tests/utils/tests/librertos_listtester_test.cpp --------------------------------------------------------------------------------