Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make it easier to build only the freestanding code
Freestanding C, as opposed to hosted C (see the macro), is restricted to a few C headers and usually lacks a libc. In our case, that means we cannot assume <stdio.h> and FILE* is present, but we do require <string.h> (memcpy, memcmp). This commit simply makes it easier for me to test that TinyCBOR still compiles in freestanding mode. Eventually I need to test with an actual Zephyr build (issue intel#40). Signed-off-by: Thiago Macieira <[email protected]>
- Loading branch information