gromero commented on pull request #9229: URL: https://github.com/apache/tvm/pull/9229#issuecomment-961512197
@areusch I've removed the ugly "lookahead" hack and replaced it by a real parser in https://github.com/apache/tvm/pull/9229/commits/409ee6c768517df37300cb6fa529f716e31e7751 The change also now allows using `-h` or `--help` to list the platform options like: ``` gromero@amd:~/git/tvm$ tvmc micro create-project --force /tmp/x46 ~/scripts/sine.tar zephyr --help usage: tvmc micro create-project project_dir MLF zephyr --project-option OPTION=VALUE [OPTION=VALUE ...] [-h] optional arguments: --project-option OPTION=VALUE [OPTION=VALUE ...] extra_files_tar=EXTRA_FILES_TAR if given, during generate_project, uncompress the tarball at this path into the project dir. project_type={aot_demo, host_driven} type of project to generate. (required) west_cmd=WEST_CMD path to the west tool. If given, supersedes both the zephyr_base option and ZEPHYR_BASE environment variable. Defaults to '/usr/bin/python3 -m west'. zephyr_board={mimxrt1050_evk, mps2_an521, nrf5340dk_nrf5340_cpuapp, nucleo_f746zg, nucleo_l4r5zi, qemu_cortex_r5, qemu_riscv32, qemu_riscv64, qemu_x86, stm32f746g_disco} name of the Zephyr board to build for. (required) config_main_stack_size=CONFIG_MAIN_STACK_SIZE sets CONFIG_MAIN_STACK_SIZE for Zephyr board. -h, --help, --list-options show this help message with platform-specific options and exit. ``` Which was done in https://github.com/apache/tvm/pull/9229/commits/99f701fd7efc8be34e1e142210ae07f360427898 -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
