Skip to content

Commit 720dc65

Browse files
committed
tc3: fix ARCH_FLASH_OFFSET
1 parent 5f13d7d commit 720dc65

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1362,7 +1362,6 @@ ifeq ($(ARCH), AURIX_TC3)
13621362
# TC3xx specific
13631363
ifeq ($(TARGET), aurix_tc3xx)
13641364
USE_GCC?=1
1365-
ARCH_FLASH_OFFSET=0x00000000
13661365

13671366
CFLAGS += -I$(TC3_DIR) -Ihal
13681367

@@ -1408,6 +1407,7 @@ ifeq ($(ARCH), AURIX_TC3)
14081407
endif
14091408

14101409
ifeq ($(AURIX_TC3_HSM),1)
1410+
ARCH_FLASH_OFFSET=0x80028000
14111411
# HSM compiler flags, build options, source code, etc
14121412
ifeq ($(USE_GCC),1)
14131413
# Just arm-none-eabi-gcc for now
@@ -1476,6 +1476,7 @@ ifeq ($(ARCH), AURIX_TC3)
14761476

14771477
else
14781478
# Tricore compiler settings
1479+
ARCH_FLASH_OFFSET=0x800A0000
14791480
ifeq ($(USE_GCC),1)
14801481
HT_ROOT?=/opt/hightec/gnutri_v4.9.4.1-11fcedf-lin64
14811482
CROSS_COMPILE?=$(HT_ROOT)/bin/tricore-

0 commit comments

Comments
 (0)