#ifndef __407_BASE_H #define __407_BASE_H #ifdef __cplusplus extern "C" { #endif #ifndef USE_ELOG #define USE_ELOG #endif #if !defined(LOG_TAG) #define LOG_TAG "BASE" #endif #undef LOG_LVL #if defined(BASE_LOG_LVL) #define LOG_LVL BASE_LOG_LVL #endif #ifdef USE_ELOG #include "elog.h" #undef LOG_LVL #if !defined(LOG_TAG) #define LOG_TAG "BASE" #endif #undef LOG_LVL #if defined(BASE_LOG_LVL) #define LOG_LVL BASE_LOG_LVL #endif #define BASE_INFO(fmt,arg...) log_i(""fmt"",##arg) #else #include #define BASE_INFO(fmt,arg...) printf("[Base] -> "fmt"\n",##arg) #endif #include "FreeRTOS.h" #include "task.h" #include "main.h" #include "cmsis_os.h" #include "usart.h" #include "stm32f4xx.h" #include "myrtos.h" #include "bsp_sdram.h" #include "bsp_nand.h" #include "malloc.h" #include "bsp_dma2d.h" #include "bsp_lcd.h" // #include "bsp_ltdc.h" // #include "bsp_gt9xx.h" #include "bsp_spiflash.h" #include "fatfs.h" #ifdef __cplusplus } #endif #endif