/ projects / maixpy_k210 / config_defaults.mk
config_defaults.mk
  1  # Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib)
  2  
  3  #
  4  # Toolchain configuration
  5  #
  6  CONFIG_TOOLCHAIN_PATH="/opt/kendryte-toolchain/bin"
  7  CONFIG_TOOLCHAIN_PREFIX="riscv64-unknown-elf-"
  8  # end of Toolchain configuration
  9  
 10  #
 11  # Components configuration
 12  #
 13  
 14  #
 15  # Board config
 16  #
 17  CONFIG_BOARD_MAIX=y
 18  # CONFIG_BOARD_M5STICK is not set
 19  CONFIG_LCD_DEFAULT_WIDTH=320
 20  CONFIG_LCD_DEFAULT_HEIGHT=240
 21  CONFIG_LCD_DEFAULT_FREQ=15000000
 22  CONFIG_SENSOR_FREQ=24000000
 23  # end of Board config
 24  
 25  CONFIG_COMPONENT_DRIVERS_ENABLE=y
 26  
 27  #
 28  # Drivers configuration
 29  #
 30  
 31  #
 32  # SD card
 33  #
 34  CONFIG_SPI_SD_CARD_FORCE_HIGH_SPEED=y
 35  # end of SD card
 36  
 37  #
 38  # WS2812
 39  #
 40  CONFIG_WS2812_ENABLE=y
 41  # end of WS2812
 42  
 43  #
 44  # HTPA thermal sensor
 45  #
 46  # CONFIG_HTPA_ENABLE is not set
 47  # end of HTPA thermal sensor
 48  # end of Drivers configuration
 49  
 50  CONFIG_COMPONENT_KENDRYTE_SDK_ENABLE=y
 51  
 52  #
 53  # Kendryte SDK configurations
 54  #
 55  CONFIG_SDK_LOG_LEVEL=5
 56  CONFIG_FREERTOS_ENABLE=y
 57  
 58  #
 59  # FreeRTOS configurations
 60  #
 61  CONFIG_STATIC_TASK_CLEAN_UP_ENABLE=y
 62  # CONFIG_FREERTOS_MALLOC_CUSTOM is not set
 63  CONFIG_FREEROTS_MINIMUM_STACK_SIZE=2048
 64  # end of FreeRTOS configurations
 65  
 66  CONFIG_MIC_ARRAY_ENABLE=y
 67  # end of Kendryte SDK configurations
 68  
 69  CONFIG_COMPONENT_MICROPYTHON_ENABLE=y
 70  
 71  #
 72  # Micropython configurations
 73  #
 74  CONFIG_MAIXPY_GC_HEAP_SIZE=0x80000
 75  
 76  #
 77  # Modules configurations
 78  #
 79  CONFIG_MAIXPY_IDE_SUPPORT=y
 80  CONFIG_MAIXPY_THREAD_ENABLE=y
 81  CONFIG_MAIXPY_NES_ENABLE=y
 82  CONFIG_MAIXPY_VIDEO_ENABLE=y
 83  CONFIG_MAIXPY_TOUCH_SCREEN_ENABLE=y
 84  CONFIG_MAIXPY_TOUCH_SCREEN_DRIVER_NS2009=y
 85  # CONFIG_MAIXPY_OMV_MINIMUM is not set
 86  CONFIG_MAIXPY_OMV_CONV_YUV_FAST=y
 87  CONFIG_MAIXPY_OMV_DOUBLE_BUFF=y
 88  CONFIG_MAIXPY_MIC_ARRAY_ENABLE=y
 89  # CONFIG_MAIXPY_LVGL_ENABLE is not set
 90  # CONFIG_MAIXPY_LODEPNG_ENABLE is not set
 91  CONFIG_MAIXPY_WS2812_ENABLE=y
 92  # CONFIG_MAIXPY_HTPA_ENABLE is not set
 93  CONFIG_MICROPYTHON_ULAB_ENALBE=y
 94  CONFIG_MICROPYTHON_KMODEL_V4_SUPPORT=y
 95  CONFIG_MAIXPY_WIZNET5K_ENABLE=y
 96  # end of Modules configurations
 97  
 98  #
 99  # Debug configurations
100  #
101  # CONFIG_MAIXPY_K210_UARTHS_DEBUG is not set
102  # end of Debug configurations
103  
104  CONFIG_BUILTIN_PY_DIR="${SDK_PATH}/components/micropython/port/builtin_py"
105  # end of Micropython configurations
106  
107  #
108  # Others
109  #
110  # CONFIG_COMPONENT_LIB_SIPEED_KPU_SRC_ENABLE is not set
111  # end of Others
112  
113  CONFIG_COMPONENT_SPIFFS_ENABLE=y
114  
115  #
116  # SPIFFS Configuration
117  #
118  
119  #
120  # SPIFFS Cache Configuration
121  #
122  CONFIG_SPIFFS_CACHE=y
123  CONFIG_SPIFFS_CACHE_WR=y
124  # CONFIG_SPIFFS_CACHE_STATS is not set
125  # end of SPIFFS Cache Configuration
126  
127  CONFIG_SPIFFS_SIZE=0x300000
128  CONFIG_SPIFFS_START_ADDR=0xD00000
129  CONFIG_SPIFFS_EREASE_SIZE=0x1000
130  CONFIG_SPIFFS_LOGICAL_BLOCK_SIZE=0x20000
131  CONFIG_SPIFFS_LOGICAL_PAGE_SIZE=0x1000
132  CONFIG_SPIFFS_OBJ_NAME_LEN=128
133  CONFIG_SPIFFS_USE_MAGIC=y
134  CONFIG_SPIFFS_USE_MAGIC_LENGTH=y
135  CONFIG_SPIFFS_META_LENGTH=0
136  
137  #
138  # Debug Configuration
139  #
140  # CONFIG_SPIFFS_DBG is not set
141  # CONFIG_SPIFFS_API_DBG is not set
142  # CONFIG_SPIFFS_GC_DBG is not set
143  # CONFIG_SPIFFS_CACHE_DBG is not set
144  # CONFIG_SPIFFS_CHECK_DBG is not set
145  # end of Debug Configuration
146  # end of SPIFFS Configuration
147  
148  CONFIG_COMPONENT_UTILS_ENABLE=y
149  # end of Components configuration
150  
151  #
152  # Others
153  #
154  # CONFIG_LIB_NNCASE_SOURCE_CODE_ENABLE is not set
155  # end of Others