fix a bug of header file dependency error

1. in tos_k.h, port_config.h should go ahead of tos_cpu_types.h
This commit is contained in:
daishengdong
2020-02-18 10:38:02 +08:00
parent 5868b6bdb6
commit 0d6f72a351
5 changed files with 30 additions and 18 deletions

View File

@@ -278,6 +278,10 @@
#define TOS_CFG_TICKLESS_EN 0u
#endif
#ifndef TOS_CFG_VFS_EN
#define TOS_CFG_VFS_EN 0u
#endif
#if (TOS_CFG_PWR_MGR_EN > 0u) || (TOS_CFG_TICKLESS_EN > 0u)
#if TOS_CFG_IDLE_TASK_STK_SIZE < 256
#undef TOS_CFG_IDLE_TASK_STK_SIZE