From: Tom Gall Date: Thu, 13 Aug 2020 15:34:34 +0000 (-0500) Subject: Trivial fix, up the rodata section for the discovery board to 512 bytes. (#6259) X-Git-Tag: upstream/0.7.0~261 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=889d3b69e161d5b44e616133178700abc9ab994c;p=platform%2Fupstream%2Ftvm.git 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 --- diff --git a/python/tvm/micro/device/arm/stm32f746xx.py b/python/tvm/micro/device/arm/stm32f746xx.py index 997093b..3f4efff 100644 --- 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),