123456789101112131415161718192021222324252627282930313233343536 |
- #----------------------------------------------------------------------------
- # Target file name (without extension).
- # This is the name of the compiled .hex file.
- TARGET = simple-speck
- # Set platform and target
- PLATFORM=CWLITEARM
- CRYPTO_TARGET=NONE
- # List C source files here.
- # Header files (.h) are automatically pulled in.
- SRC += simple-speck.c
- SRC += speck3264.c
- # -----------------------------------------------------------------------------
- ifeq ($(CRYPTO_OPTIONS),)
- CRYPTO_OPTIONS = AES128C
- endif
- #Add simpleserial project to build
- include deps/Makefile.simpleserial
- FIRMWAREPATH = deps/
- include $(FIRMWAREPATH)/Makefile.inc
- test:
- gcc test.c -o test
- local:
- gcc speck3264.c -o speck
- run:
- qemu-arm -g 1234 ./simple-speck-CWLITEARM.elf
- dbg:
- arm-none-eabi-gdb --eval-command "target remote localhost:1234" ./simple-speck-CWLITEARM.elf
|