Trivial fix, up the rodata section for the discovery board to 512 bytes. (#6259)
authorTom Gall <tom.gall@linaro.org>
Thu, 13 Aug 2020 15:34:34 +0000 (10:34 -0500)
committerGitHub <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

index 997093b..3f4efff 100644 (file)
@@ -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),