From 0f0cbb8e9834d94ca95c6f8058a36dc3b0099dd3 Mon Sep 17 00:00:00 2001 From: Tom Gall Date: Thu, 13 Aug 2020 10:34:34 -0500 Subject: [PATCH] Trivial fix, up the rodata section for the discovery board to 512 bytes. (#6259) This is more reasonable as the trivial tflite example module needs 208 bytes. Signed-off-by: Tom Gall --- python/tvm/micro/device/arm/stm32f746xx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tvm/micro/device/arm/stm32f746xx.py b/python/tvm/micro/device/arm/stm32f746xx.py index 997093b0c349..3f4efff4b6f5 100644 --- a/python/tvm/micro/device/arm/stm32f746xx.py +++ b/python/tvm/micro/device/arm/stm32f746xx.py @@ -30,7 +30,7 @@ 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),