diff --git a/meson.build b/meson.build index 395acd21..df10efdf 100644 --- a/meson.build +++ b/meson.build @@ -208,7 +208,8 @@ md3x0_src = src + stm32f405_src + ['platform/drivers/display/HX8353_MDx.c', 'platform/targets/MD-3x0/platform.c'] md3x0_inc = inc + stm32f405_inc + ['platform/targets/MD-3x0'] -md3x0_def = def + stm32f405_def + {'PLATFORM_MD3x0': ''} +md3x0_def = def + stm32f405_def + {'PLATFORM_MD3x0': '', + 'timegm': 'mktime'} ## TYT MD-UV380 mduv380_src = src + stm32f405_src + ['platform/drivers/display/HX8353_MDx.c', diff --git a/rtos/uC-OS3/Cfg/os_cfg_arm.h b/rtos/uC-OS3/Cfg/os_cfg_arm.h index 70bf385e..5cb72944 100644 --- a/rtos/uC-OS3/Cfg/os_cfg_arm.h +++ b/rtos/uC-OS3/Cfg/os_cfg_arm.h @@ -82,7 +82,7 @@ #define OS_CFG_STAT_TASK_STK_CHK_EN 0u /* Check task stacks from the statistic task */ #define OS_CFG_TASK_CHANGE_PRIO_EN 0u /* Include code for OSTaskChangePrio() */ -#define OS_CFG_TASK_DEL_EN 0u /* Include code for OSTaskDel() */ +#define OS_CFG_TASK_DEL_EN 1u /* Include code for OSTaskDel() */ #define OS_CFG_TASK_IDLE_EN 1u /* Include the idle task */ #define OS_CFG_TASK_PROFILE_EN 0u /* Include variables in OS_TCB for profiling */ #define OS_CFG_TASK_Q_EN 1u /* Include code for OSTaskQXXXX() */