Skip to content

Instantly share code, notes, and snippets.

@mekanix
Created August 2, 2017 14:10
Show Gist options
  • Save mekanix/172d0bd1798aa68186e69b7c2c7db81a to your computer and use it in GitHub Desktop.
Save mekanix/172d0bd1798aa68186e69b7c2c7db81a to your computer and use it in GitHub Desktop.
#ifdef __FreeBSD__
#error "FreeBSD"
#endif
@mekanix
Copy link
Author

mekanix commented Aug 2, 2017

clang -fno-builtin -fno-exceptions -fcheck-new -nostdlib -ffreestanding -target arm-none-eabi -march=armv7-m -mcpu=cortex-m4 -DCONFIG_WCHAR_BUILTIN -Wall -Wshadow -Wundef -g -Os -fno-strict-aliasing -fomit-frame-pointer -mcpu=cortex-m4 -mthumb -mfloat-abi=soft -o test test.c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment