Skip to content

Commit

Permalink
Build littlefs with LFS_NO_MALLOC (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickKa authored Jun 20, 2024
2 parents 32e7655 + 490d753 commit ffe09fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ cd ..

cd littlefs
if [[ $1 == "linux" ]]; then
cmake --toolchain ../linux-x86.cmake -DLFS_THREADSAFE=ON -S . -B build/linux-x86
cmake --toolchain ../linux-x86.cmake -DLFS_THREADSAFE=ON -DLFS_NO_MALLOC=ON -S . -B build/linux-x86
cmake --build build/linux-x86
sudo cmake --install build/linux-x86
else
cmake --toolchain ../stm32f411.cmake -DLFS_THREADSAFE=ON -S . -B build/cobc
cmake --toolchain ../stm32f411.cmake -DLFS_THREADSAFE=ON -DLFS_NO_MALLOC=ON -S . -B build/cobc
cmake --build ./build/cobc
sudo cmake --install build/cobc --prefix "$2"
fi
Expand Down
2 changes: 1 addition & 1 deletion libraries.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ rodos,0dd30adb373972b9adf2a4a4eb0b068130f45f53,https://github.com/SpaceTeam/rodo
etl,cceb5038664a4fa363e79709bc08bd0bb356ae50,https://github.com/ETLCPP/etl.git
debug_assert,c0b325e9023cc021bce0d23c8b4211f8e5b071d0,https://github.com/foonathan/debug_assert.git
Catch2,v3.1.0,https://github.com/catchorg/Catch2.git
littlefs,859da992c28b44c54cf08860fcbddeeaa1fe86c2,https://github.com/SpaceTeam/littlefs.git
littlefs,8e53bfeda7716ed7056a2b519bba45f40dea7df0,https://github.com/SpaceTeam/littlefs.git
NamedType,9461f8d26238e14ba3c41813cf8e8fe9a0c3c75e,https://github.com/SpaceTeam/NamedType.git
include-what-you-use,0.19,https://github.com/include-what-you-use/include-what-you-use.git

0 comments on commit ffe09fd

Please sign in to comment.