diff options
author | Mark Meserve <mark.meserve@ni.com> | 2019-04-11 15:14:37 -0500 |
---|---|---|
committer | michael-west <michael.west@ettus.com> | 2019-05-21 16:08:43 -0700 |
commit | 4f57ecab13e37f132c99ec797d412def3f1e2a66 (patch) | |
tree | 4789bce38abf657f52a4ebd1dabce720e1e62f68 /firmware/fx3/b200/makefile | |
parent | 914206e04182d2446de14be29ef886ae7c013641 (diff) | |
download | uhd-4f57ecab13e37f132c99ec797d412def3f1e2a66.tar.gz uhd-4f57ecab13e37f132c99ec797d412def3f1e2a66.tar.bz2 uhd-4f57ecab13e37f132c99ec797d412def3f1e2a66.zip |
b200: add custom bootloader
- Adds custom bootloader code
- Refactor common functions in firmware and bootloader
Diffstat (limited to 'firmware/fx3/b200/makefile')
-rw-r--r-- | firmware/fx3/b200/makefile | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/firmware/fx3/b200/makefile b/firmware/fx3/b200/makefile deleted file mode 100644 index 22eb1bbcc..000000000 --- a/firmware/fx3/b200/makefile +++ /dev/null @@ -1,51 +0,0 @@ -# -# Copyright 2013-2014 Ettus Research LLC -# - -HEX_OUT = usrp_b200_fw.hex - -all:$(HEX_OUT) - -# Pull in the Cypress SDK files to build the firmware -FX3FWROOT=.. -FX3PFWROOT=../u3p_firmware -include $(FX3FWROOT)/common/fx3_build_config.mak - -ifndef OC - OC = arm-none-eabi-objcopy -endif - -MODULE = b200_main - -SOURCE += $(MODULE).c -SOURCE += b200_usb_descriptors.c -SOURCE += b200_i2c.c - -INCLUDES = b200_main.h b200_gpifconfig.h b200_i2c.h - -LDLIBS += \ - "$$ARMGCC_INSTALL_PATH"/arm-none-eabi/lib/libm.a - -C_OBJECT=$(SOURCE:%.c=./%.o) -A_OBJECT=$(SOURCE_ASM:%.S=./%.o) - -EXES = $(MODULE).$(EXEEXT) - -$(MODULE).$(EXEEXT): $(A_OBJECT) $(C_OBJECT) - $(LINK) $(LINKFLAGS) - -$(C_OBJECT) : %.o : %.c $(INCLUDES) - $(COMPILE) $(INCFLAGS) - -$(A_OBJECT) : %.o : %.S - $(ASSEMBLE) - -clean: - rm -f ./$(MODULE).$(EXEEXT) - rm -f ./$(MODULE).map - rm -f ./*.o - -$(HEX_OUT): $(C_OBJECT) $(A_OBJECT) $(EXES) - $(OC) -O ihex $(EXES) $@ - -#[]# |