File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22SDK? =./SDK_2_13_1_MIMXRT1060-EVKB
33WOLFSSL? =../../wolfssl
44
5+ # make defaults CC to the host cc, which cannot take the cortex-m7 flags below
6+ CROSS_COMPILE? =arm-none-eabi-
7+ CC =$(CROSS_COMPILE ) gcc
8+ OBJCOPY =$(CROSS_COMPILE ) objcopy
9+
510# Common settings and files
611ASMFLAGS =-D__STARTUP_CLEAR_BSS -D__STARTUP_INITIALIZE_NONCACHEDATA -mcpu=cortex-m7 -Wall -mfloat-abi=hard -mfpu=fpv5-d16 -mthumb -fno-common -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -mapcs -std=gnu99
712CFLAGS+ =-I$(SDK ) /devices/MIMXRT1062/utilities/debug_console/
@@ -101,10 +106,10 @@ BENCH_OBJS:=$(WOLFSSL)/wolfcrypt/benchmark/benchmark.o main-bench.o
101106all : wolfcrypt-test.bin wolfcrypt-benchmark.bin
102107
103108wolfcrypt-test.bin : wolfcrypt-test.elf
104- arm-none-eabi-objcopy -O binary $^ $@
109+ $( OBJCOPY ) -O binary $^ $@
105110
106111wolfcrypt-benchmark.bin : wolfcrypt-benchmark.elf
107- arm-none-eabi-objcopy -O binary $^ $@
112+ $( OBJCOPY ) -O binary $^ $@
108113
109114wolfcrypt-test.elf : $(OBJS ) $(TEST_OBJS )
110115 $(CC ) -o $@ $^ $(LDFLAGS )
Original file line number Diff line number Diff line change @@ -52,14 +52,14 @@ Build wolfSSL
5252 - For ** MIMXRT1060-EVKB** :
5353
5454```
55- $ SDK=SDK_2_13_1_MIMXRT1060-EVKB make
55+ $ SDK=./ SDK_2_13_1_MIMXRT1060-EVKB make
5656```
5757
5858- For ** EVK-MIMXRT106** :
5959
6060
6161```
62- $ SDK=SDK_2_8_2_EVK-MIMXRT1060 make
62+ $ SDK=./ SDK_2_8_2_EVK-MIMXRT1060 make
6363```
6464
6565The resulting binary files will be in ` wolfssl-examples/RT1060 ` :
You can’t perform that action at this time.
0 commit comments