mkatanbaf commented on code in PR #13885:
URL: https://github.com/apache/tvm/pull/13885#discussion_r1097992722


##########
apps/microtvm/zephyr/template_project/microtvm_api_server.py:
##########
@@ -413,6 +419,9 @@ def _create_prj_conf(
                 "CONFIG_UART_INTERRUPT_DRIVEN=y\n"
                 "\n"
             )
+            if config_led and not self._is_qemu(board, use_fvp):

Review Comment:
   add another condition to exclude fvp (`and not self._is_fvp(board,use_fvp`)



##########
apps/microtvm/zephyr/template_project/microtvm_api_server.py:
##########
@@ -658,13 +669,31 @@ def generate_project(self, model_library_format_path, 
standalone_crt_dir, projec
             API_SERVER_DIR / "crt_config" / "crt_config.h", crt_config_dir / 
"crt_config.h"
         )
 
-        # Populate src/
+        # Populate src and include
         src_dir = project_dir / "src"
-        if project_type != "host_driven" or self._is_fvp(zephyr_board, 
use_fvp):
-            shutil.copytree(API_SERVER_DIR / "src" / project_type, src_dir)
-        else:
-            src_dir.mkdir()
-            shutil.copy2(API_SERVER_DIR / "src" / project_type / "main.c", 
src_dir)
+        src_dir.mkdir()
+        include_dir = project_dir / "include" / "tvm"
+        include_dir.mkdir(parents=True)
+        src_project_tyoe_dir = API_SERVER_DIR / "src" / project_type

Review Comment:
   nit: src_project_type_dir?



-- 
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: commits-unsubscr...@tvm.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to