Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix LNX target #818

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Makefile.defines
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@ endif
ifeq ($(TARGET_NAME),TARGET_NANOX)
CFLAGS += -frwpi
LDFLAGS += -momit-leaf-frame-pointer
CFLAGS += --target=armv6m-none-eabi -mthumb
LDFLAGS += --target=armv6m-none-eabi -mthumb
LDFLAGS += -mtune=cortex-m0plus -mlittle-endian -mcpu=cortex-m0plus
CFLAGS += --target=armv7m-none-eabi -mcpu=cortex-m3 -mthumb
LDFLAGS += --target=armv7m-none-eabi -mcpu=cortex-m3 -mthumb
LDFLAGS += -mlittle-endian
LDFLAGS += -nostdlib -nodefaultlibs #-nostartfiles
LDFLAGS += -mno-movt
LDFLAGS += -L$(BOLOS_SDK)/arch/st33/lib/
AFLAGS += -mcpu=cortex-m0plus -mthumb
AFLAGS += -mcpu=cortex-m3 -mthumb
endif

ifeq ($(TARGET_NAME),$(filter $(TARGET_NAME),TARGET_STAX TARGET_FLEX TARGET_NANOS2))
Expand Down
Loading