projects
/
platform
/
upstream
/
tvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2247a2e
)
Trivial fix, up the rodata section for the discovery board to 512 bytes. (#6259)
author
Tom Gall
<tom.gall@linaro.org>
Thu, 13 Aug 2020 15:34:34 +0000
(10:34 -0500)
committer
GitHub
<noreply@github.com>
Thu, 13 Aug 2020 15:34:34 +0000
(08:34 -0700)
This is more reasonable as the trivial tflite example module needs 208 bytes.
Signed-off-by: Tom Gall <tom.gall@linaro.org>
python/tvm/micro/device/arm/stm32f746xx.py
patch
|
blob
|
history
diff --git
a/python/tvm/micro/device/arm/stm32f746xx.py
b/python/tvm/micro/device/arm/stm32f746xx.py
index
997093b
..
3f4efff
100644
(file)
--- a/
python/tvm/micro/device/arm/stm32f746xx.py
+++ b/
python/tvm/micro/device/arm/stm32f746xx.py
@@
-30,7
+30,7
@@
BASE_ADDR = 0x20000000
AVAILABLE_MEM = 320000
DEFAULT_SECTION_CONSTRAINTS = {
"text": (18000, MemConstraint.ABSOLUTE_BYTES),
- "rodata": (
100
, MemConstraint.ABSOLUTE_BYTES),
+ "rodata": (
512
, MemConstraint.ABSOLUTE_BYTES),
"data": (100, MemConstraint.ABSOLUTE_BYTES),
"bss": (640, MemConstraint.ABSOLUTE_BYTES),
"args": (4096, MemConstraint.ABSOLUTE_BYTES),