다마고치 연구소 한국어판 소스 공개
This commit is contained in:
commit
db23855630
661 files changed
+503597
No files matched your search
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
# Builds the flash app (Cortex-M4, Thumb) into ../flashapp.bin.
|
||||
# Needs clang, ld.lld and llvm-objcopy. The result is byte-identical to the
|
||||
# flashapp.bin shipped in this folder.
|
||||
set -e
|
||||
cd "$(dirname "$0")"
|
||||
clang --target=thumbv7em-none-eabi -mcpu=cortex-m4 -mthumb -ffreestanding -nostdlib -Os -fno-common -DFW_PRECHECK -c fw.c -o /tmp/fw.o
|
||||
ld.lld -T link.ld --no-rosegment /tmp/fw.o -o /tmp/fw.elf
|
||||
llvm-objcopy -O binary /tmp/fw.elf ../flashapp.bin
|
||||
echo "done: flashapp.bin"
|
||||
Reference in new issue
Block a user