areusch commented on pull request #7392:
URL: https://github.com/apache/tvm/pull/7392#issuecomment-771809534
@cbalint13 thanks for the example. could you clarify--are you trying to run
your demo as:
1. a simulation with the C runtime executing in a subprocess
2. on nrf5340dk
I ask because there are a couple of different lines that need to match:
- line 57 should be either `micro('host')` or `micro(<device>)`, depending
on situation 1 or 2
- line 76 should either instantiate `DefaultCompiler` or `ZephyrCompiler`,
depending on situation 1 or 2
- line 77, the argument should either be (approximately)
`$CRT_ROOT_DIR/host` or `path/to/runtime/crt`, depending on situation 1 or 2
it seems like based on your comment at the end of the file, you want
situation 1--so just fix up line 57 and things should work properly. right now,
`DefaultCompiler` is invoking the ARM cross-compiler because it thinks you are
targeting the dev board based on your target definition on line 57.
----------------------------------------------------------------
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]