File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -96,13 +96,13 @@ endif
96
96
ifeq ($(TARGET_NAME),TARGET_NANOX)
97
97
CFLAGS += -frwpi
98
98
LDFLAGS += -momit-leaf-frame-pointer
99
- CFLAGS += --target=armv6m -none-eabi -mthumb
100
- LDFLAGS += --target=armv6m -none-eabi -mthumb
101
- LDFLAGS += -mtune=cortex-m0plus - mlittle-endian -mcpu=cortex-m0plus
99
+ CFLAGS += --target=armv7m -none-eabi -mcpu=cortex-m3 -mthumb
100
+ LDFLAGS += --target=armv7m -none-eabi -mcpu=cortex-m3 -mthumb
101
+ LDFLAGS += -mlittle-endian
102
102
LDFLAGS += -nostdlib -nodefaultlibs #-nostartfiles
103
103
LDFLAGS += -mno-movt
104
104
LDFLAGS += -L$(BOLOS_SDK)/arch/st33/lib/
105
- AFLAGS += -mcpu=cortex-m0plus -mthumb
105
+ AFLAGS += -mcpu=cortex-m3 -mthumb
106
106
endif
107
107
108
108
ifeq ($(TARGET_NAME),$(filter $(TARGET_NAME),TARGET_STAX TARGET_FLEX TARGET_NANOS2))
You can’t perform that action at this time.
0 commit comments