ShinyAllocator is a library of a block memory allocator for real-time high-integrity embedded systems.
Documentation Static Dependency UML Diagram
Source and Header Dependencies | Allocator Instance |
---|---|
![]() |
![]() |
Fragment/FragmentHeader Struct | UnitTest |
---|---|
![]() |
![]() |
-
Choose your Installation path and version of your toolchain in installation script.
-
Install GNU Arm Embedded Toolchain
chmod +x ./scripts/install_toolchain.sh sudo scripts/install_toolchain.sh
-
script will print two lines to add toolchain directory to your PATH with default settings you can run
export PATH=$PATH:/usr/share/gcc-arm-none-eabi-10.3-2021.10/bin/ && source ~/.bashrc
-
Install build, documentation, debug and profiling tools make,doxygen,graphviz,valgrind,kcachegrind
sudo apt-get update && sudo apt-get upgrade sudo apt-get install make cmake doxygen graphviz valgrind kcachegrind
-
Installing test framework [ gtest ]
- On Ubuntu/RPI:
sudo apt-get install libgtest-dev cd /usr/src/gtest sudo cmake CMakeLists.txt sudo make sudo cp *.a /usr/lib sudo ldconfig
- Build from source for your targer platform (arm):
sudo apt-get install cmake git clone https://github.com/google/googletest.git cd googletest mkdir build cd build cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/arm-none-eabi.cmake .. make sudo make install
- On Ubuntu/RPI: