Advertisement
Guest User

Untitled

a guest
Aug 14th, 2015
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.08 KB | None | 0 0
  1. arm-none-eabi-gcc -MD -c -std=gnu99 -Wall -Wextra -Werror -Wdouble-promotion -Wshadow -Wfloat-equal -Wpointer-arith -Wlogical-op -Wmissing-declarations -Wpacked -Wno-unused-parameter -Werror=format-security -Werror=array-bounds -Wfatal-errors -Wformat=1 -Werror=unused-but-set-variable -Werror=unused-variable -Werror=double-promotion -Werror=reorder -Werror=uninitialized -Werror=init-self -Wbad-function-cast -Wstrict-prototypes -Wold-style-declaration -Wmissing-parameter-type -Wmissing-prototypes -Wnested-externs -O3 -g3 -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer -funsafe-math-optimizations -fno-builtin-printf -ffunction-sections -fdata-sections -mcpu=cortex-m4 -mthumb -march=armv7e-m -mfpu=fpv4-sp-d16 -mfloat-abi=hard   -DCONFIG_ARCH_BOARD_PX4FMU_V2 -D__PX4_NUTTX   -fno-common
  2.  
  3. arm-none-eabi-ld -r -o romfs.o romfs.o.c.o romfs.o.bin.o
  4.  
  5. arm-none-eabi-objcopy romfs.o --redefine-sym    _binary_romfs_img_start=romfs_img --strip-symbol    _binary_romfs_img_size --strip-symbol   _binary_romfs_img_end --rename-section .data=.rodata
  6. rm -f romfs.o.c romfs.o.c.o romfs.o.bin.o
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement