gromero opened a new pull request #7772:
URL: https://github.com/apache/tvm/pull/7772


   Hi,
   
   Could the following changes be reviewed please?
   
   They aim to make microTVM (HEAD) work again for STM32F746.
   
   Commit c39a6e25d "Clean up uTVM demo runtime, add ONNX model test and
   tutorial (#7557)" changed the location of the Zephyr code example to
   apps/ so this commit updates the tutorial examples under tutorials/micro
   to reflect the new location where src/main.c resides.
   
   Since commit c39a6e25d also split Zephyr configuration per boards,
   under project's boards/, this commits also adds a proper config for the
   STM32F746 Discovery board and fixes a nit in the comment in
   boards/nucleo_f746zg.conf. It also removes CONFIG_MAIN_STACK_SIZE=50 for
   disco and nucleo boards since the MCUs for both boads are Cortex-m7
   based, not Contex-m33.
   
   For the new boards/stm32f746g_disco.conf board config file
   
   CONFIG_TEST_RANDOM_GENERATOR=y is set
   
   otherwise when CONFIG_ENTROPY_GENERATOR=y linkage will fail with:
   
   rand32.h:33: undefined reference to `z_impl_sys_rand32_get'
   
   Finally this commit sets the UART ring buffer size back to 512 bytes,
   only for disco and nucleo boards, otherwise the new value introduced
   by commit c39a6e25d makes noinit section not fitting the SRAM region
   on these devices, so linkage fails with:
   
   ld: zephyr_prebuilt.elf section `noinit' will not fit in region `SRAM'
   ld: section .intList VMA [0000000020050000,00000000200500e7] overlaps 
section noinit VMA [000000002004f5d8,0000000020050317]
   ld: region `SRAM' overflowed by 792 bytes
   
   Signed-off-by: Gustavo Romero <[email protected]>
   
   Thanks and best regards,
   Gustavo
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to