Skip to content

Commit d269a91

Browse files
test without frpi and frwpi
1 parent 84f3a51 commit d269a91

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile.defines

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ endif
9090

9191
CFLAGS += -fdata-sections -ffunction-sections -funsigned-char -fshort-enums
9292
CFLAGS += -mno-unaligned-access
93-
CFLAGS += -fropi
93+
#CFLAGS += -fropi
9494
CFLAGS += -fno-jump-tables # avoid jump tables for switch to avoid problems with invalid PIC access
9595

9696
LDFLAGS += -Wall
@@ -101,14 +101,14 @@ LDFLAGS += -nostdlib -nodefaultlibs
101101

102102
ifeq ($(TARGET_NAME),TARGET_NANOX)
103103
CPU = cortex-m3
104-
CFLAGS += -frwpi
104+
#CFLAGS += -frwpi
105105
LDFLAGS += -L$(BOLOS_SDK)/arch/st33/lib/
106106
endif
107107

108108
ifeq ($(TARGET_NAME),$(filter $(TARGET_NAME),TARGET_STAX TARGET_FLEX TARGET_NANOS2 TARGET_APEX_P TARGET_APEX_M))
109109
CPU = cortex-m35p+nodsp
110110
CFLAGS += -msoft-float
111-
CFLAGS += -frwpi
111+
#CFLAGS += -frwpi
112112
LDFLAGS += -L$(BOLOS_SDK)/arch/st33k1/lib/
113113
endif
114114

0 commit comments

Comments
 (0)