aboutsummaryrefslogblamecommitdiff
path: root/libraries/libcli/Makefile
blob: ec79b3747d2f250bf0995b9972afe217330f1d69 (plain) (tree)
1
2
3
4
5
6pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { 
vpath %.c ${LIBCLI_SRC}
vpath %.h ${LIBCLI_SRC}

CFLAGS += \
	-DDO_CRYPT=0 \
	-DDO_FILE=0 \
	-DDO_FILTER=0 \
	-DDO_IDLE_TIMEOUT=0 \
	-DDO_MALLOC=0 \
	-DDO_PRINT_BUFFERED=0 \
	-DDO_REGULAR=0 \
	-DDO_SOCKET=0 \
	-DDO_TAB_COMPLETION=1 \
	-DDO_TELNET=0

all: libcli.a

libcli.a: libcli.o
	$(AR) rcs $@ $^

clean:
	rm -f libcli.[ao]
; #define DFU_FIRMWARE_ADDR ((uint32_t) &CRYPTECH_FIRMWARE_START) #define DFU_FIRMWARE_END_ADDR ((uint32_t) &CRYPTECH_FIRMWARE_END) #define DFU_UPLOAD_CHUNK_SIZE 4096 /* Magic bytes to signal the bootloader it should jump to the firmware * instead of trying to receive a new firmware using the MGMT UART. */ #define HARDWARE_EARLY_DFU_JUMP 0xBADABADA extern __IO uint32_t *dfu_control; extern __IO uint32_t *dfu_firmware; extern __IO uint32_t *dfu_msp_ptr; extern __IO uint32_t *dfu_code_ptr; extern int dfu_receive_firmware(void); #endif /* __STM32_BOOTLOADER_DFU_H */