Skip to content

Commit

Permalink
ARC EMSDP: update common LCF to be not limit codesize. Update MLI lin…
Browse files Browse the repository at this point in the history
…k to more recent one
  • Loading branch information
dzakhar committed Jun 19, 2020
1 parent 6971de1 commit 0df881c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 17 deletions.
18 changes: 4 additions & 14 deletions tensorflow/lite/micro/tools/make/targets/arc/emsdp/emsdp.lcf
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,14 @@ SECTIONS {
.text? : { *('.text$crt*') }
* (TEXT): {}
* (LIT): {}
} > SRAM
* (DATA): {}
* (BSS): {}
} > PSRAM

GROUP BLOCK(4): {
.Zdata? : {}
.stack ALIGN(4) SIZE(DEFINED _STACKSIZE?_STACKSIZE:32K): {}
.heap? ALIGN(4) SIZE(DEFINED _HEAPSIZE?_HEAPSIZE:8K): {}
.heap? ALIGN(4) SIZE(DEFINED _HEAPSIZE?_HEAPSIZE:24K): {}
} > DCCM

GROUP BLOCK(4): {
Expand All @@ -65,18 +67,6 @@ SECTIONS {
.Ydata? : {}
} > YCCM

GROUP BLOCK(4): {
/* _SDA_BASE_ computed implicitly */
.sdata?: {}
.sbss?: {}
* (DATA): {}
* (BSS): {}
} > PSRAM

GROUP BLOCK(4): {
.rodata_in_data? : {}
} > PSRAM

GROUP BLOCK(4): {
.debug_log? : {}
} > SRAM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ifeq ($(TARGET), arc_emsdp)
ARC_TOOLCHAIN := mwdt


BUILD_ARC_MLI := false
BUILD_ARC_MLI := true
ARC_MLI_PRE_COMPILED_TARGET := emsdp_em11d_em9d_dfss

ifneq ($(filter no_arc_mli,$(ALL_TAGS)),)
Expand Down
4 changes: 2 additions & 2 deletions tensorflow/lite/micro/tools/make/third_party_downloads.inc
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ PERSON_MODEL_MD5 := "55b85f76e2995153e660391d4a209ef1"
PERSON_MODEL_INT8_URL := "https://storage.googleapis.com/download.tensorflow.org/data/tf_lite_micro_person_data_int8_grayscale_2020_05_27.zip"
PERSON_MODEL_INT8_MD5 := "a0ede2d058aa2a1d413893455dd55352"

EMBARC_MLI_URL := "https://github.com/foss-for-synopsys-dwc-arc-processors/embarc_mli/archive/58284867ca52d1f43b25045e8601999d7359d986.zip"
EMBARC_MLI_MD5 := "2bf4982a327fdaa9d475803ce014d1ef"
EMBARC_MLI_URL := "https://github.com/foss-for-synopsys-dwc-arc-processors/embarc_mli/archive/96f8e039ccd2bc79d03856dcf34bdb4c5c1f5829.zip"
EMBARC_MLI_MD5 := "14a5edd53c03792dc92050c512854ec1"

EMBARC_MLI_PRE_COMPILED_URL := "https://github.com/foss-for-synopsys-dwc-arc-processors/embarc_mli/releases/download/Release_1.1_RC2/embARC_MLI_package.zip"
EMBARC_MLI_PRE_COMPILED_MD5 := "a95ff9e0370434484f14e7e4114327f6"
Expand Down

0 comments on commit 0df881c

Please sign in to comment.