Skip to content

Commit

Permalink
Trivial fix, up the rodata section for the discovery board to 512 byt…
Browse files Browse the repository at this point in the history
…es. (apache#6259)

This is more reasonable as the trivial tflite example module needs 208 bytes.

Signed-off-by: Tom Gall <[email protected]>
  • Loading branch information
tom-gall authored and Trevor Morris committed Sep 2, 2020
1 parent b23afc1 commit 0f0cbb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tvm/micro/device/arm/stm32f746xx.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 0f0cbb8

Please sign in to comment.