Merge pull request #470 from renesas/SWFLEX-1517-littlefs-thread-safe-option

Add thread safe wrappers
This commit is contained in:
Christopher Haster
2020-12-03 23:47:32 -06:00
3 changed files with 619 additions and 271 deletions

View File

@@ -224,6 +224,22 @@ jobs:
# report-size will compile littlefs and report the size
script: [*report-size]
# test compilation in thread-safe mode
- stage: test
env:
- NAME=littlefs-threadsafe
- CC="arm-linux-gnueabi-gcc --static -mthumb"
- CFLAGS="-Werror -DLFS_THREADSAFE"
if: branch !~ -prefix$
install:
- *install-common
- sudo apt-get install
gcc-arm-linux-gnueabi
libc6-dev-armel-cross
- arm-linux-gnueabi-gcc --version
# report-size will compile littlefs and report the size
script: [*report-size]
# self-host with littlefs-fuse for fuzz test
- stage: test
env: