Hi @application_ninja,
Thanks for your question and comments
Below is the workaround for subfolder support based on GUI Guider v1.6.1.
1. create "src" subfolder in "custom" folder
2. add source files, e.g. "mytest.c" and "mytest.h"
3. add "src.mk" in "src“ folder, the following is the content of src.mk
GEN_CSRCS += $(notdir $(wildcard $(PRJ_DIR)/custom/src/*.c))
DEPPATH += --dep-path $(PRJ_DIR)/custom/src
VPATH += :$(PRJ_DIR)/custom/src
CFLAGS += "-I$(PRJ_DIR)/custom/src"
4. edit "custom.mk" to add "include $(PRJ_DIR)/custom/src/src.mk"
## SPDX-License-Identifier: MIT
## Copyright 2020 NXP
include $(PRJ_DIR)/custom/src/src.mk
GEN_CSRCS += $(notdir $(wildcard $(PRJ_DIR)/custom/*.c))
DEPPATH += --dep-path $(PRJ_DIR)/custom
VPATH += :$(PRJ_DIR)/custom
CFLAGS += "-I$(PRJ_DIR)/custom"
Then the newly added source files in subfolder will be included and built.
Best Regards,
Zhenhua