prj.conf 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. # Kernel
  2. CONFIG_MULTITHREADING=y
  3. CONFIG_KERNEL_MEM_POOL=y
  4. CONFIG_NUM_MBOX_ASYNC_MSGS=0
  5. CONFIG_NUM_PIPE_ASYNC_MSGS=0
  6. CONFIG_HOSC_CLK_MHZ=32
  7. CONFIG_SYS_CLOCK_EXISTS=y
  8. CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=32000000
  9. CONFIG_HEAP_MEM_POOL_SIZE=8192
  10. CONFIG_MAIN_STACK_SIZE=10240
  11. CONFIG_THREAD_MONITOR=y
  12. CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=0
  13. # Drivers and peripherals
  14. CONFIG_I2C=n
  15. CONFIG_WDOG_ACTS=y
  16. CONFIG_WATCHDOG=y
  17. CONFIG_WDT_MODE_RESET=y
  18. CONFIG_GPIO=y
  19. CONFIG_SPI=n
  20. CONFIG_SERIAL=y
  21. CONFIG_FLASH=y
  22. CONFIG_DMA=y
  23. CONFIG_ACTS_TIMER=y
  24. CONFIG_ACTS_HRTIMER=n
  25. CONFIG_UART_ACTS=y
  26. CONFIG_GPIO_ACTS=y
  27. CONFIG_IPMSG_ACTS=n
  28. CONFIG_SPI_ACTS=y
  29. CONFIG_DMA_SPINAND_RESEVER_CHAN=9
  30. CONFIG_SOC_SPICACHE_PROFILE=n
  31. CONFIG_DMA_ACTS=y
  32. CONFIG_VDMA_ACTS=y
  33. CONFIG_DMA_DBG_DUMP=n
  34. # Interrupts
  35. CONFIG_DYNAMIC_INTERRUPTS=n
  36. CONFIG_IRQ_OFFLOAD=n
  37. # Memory protection
  38. CONFIG_ARM_MPU=n
  39. CONFIG_THREAD_STACK_INFO=n
  40. CONFIG_THREAD_CUSTOM_DATA=n
  41. CONFIG_FPU=n
  42. # Boot
  43. CONFIG_BOOT_BANNER=n
  44. CONFIG_BOOT_DELAY=0
  45. # Console
  46. CONFIG_CONSOLE=y
  47. CONFIG_UART_CONSOLE=y
  48. CONFIG_STDOUT_CONSOLE=n
  49. CONFIG_PRINTK=y
  50. CONFIG_EARLY_CONSOLE=n
  51. CONFIG_ACTIONS_PRINTK_DMA=n
  52. CONFIG_PRINTK_TIME_FREFIX=n
  53. CONFIG_KERNEL_SHOW_STACK=n
  54. CONFIG_KALLSYMS=n
  55. CONFIG_ASSERT=n
  56. CONFIG_CBPRINTF_COMPLETE_BROM=y
  57. # Build
  58. CONFIG_SIZE_OPTIMIZATIONS=y
  59. # Disk and FS
  60. CONFIG_SD_FS=y
  61. CONFIG_SD_FS_NAND_SD_STORAGE=n
  62. CONFIG_FLASH_MAP=n
  63. CONFIG_STREAM_FLASH=n
  64. CONFIG_DISK_ACCESS=y
  65. CONFIG_DISK_ACCESS_SD=y
  66. CONFIG_DISKIO_CACHE=n
  67. CONFIG_FILE_SYSTEM=n
  68. CONFIG_FAT_FILESYSTEM_ELM=n
  69. CONFIG_FS_FATFS_MOUNT_MKFS=n
  70. CONFIG_FS_FATFS_EXFAT=n
  71. CONFIG_MEMORY=y
  72. CONFIG_APP_USED_MEM_POOL=y
  73. # Power
  74. CONFIG_PM=n
  75. CONFIG_PM_DEVICE=n
  76. CONFIG_DEVICE_POWER_MANAGEMENT=n
  77. CONFIG_LOG=y
  78. CONFIG_LOG_MODE_MINIMAL=y
  79. CONFIG_SHELL_DBG=n
  80. CONFIG_NVRAM_CONFIG=y
  81. CONFIG_INPUT_DEV=n
  82. CONFIG_FIRMWARE_VERSION=n
  83. CONFIG_PARTITION=n
  84. # Debug
  85. CONFIG_RUNTIME_NMI=n
  86. CONFIG_FORCE_NO_ASSERT=y
  87. CONFIG_FAULT_DUMP=0
  88. # Display
  89. CONFIG_DISPLAY=y
  90. CONFIG_DISPLAY_CONTROLLER=y
  91. CONFIG_DISPLAY_ENGINE=n
  92. CONFIG_DMA2D_HAL=n
  93. #ota config
  94. CONFIG_OTA=y
  95. CONFIG_OTA_RECOVERY=y
  96. CONFIG_OTA_RECOVERY_APP=y
  97. CONFIG_OTA_UPGRADE=y
  98. CONFIG_OTA_APP=n
  99. CONFIG_OTA_BACKGROUND=n
  100. CONFIG_OTA_FOREGROUND=n
  101. CONFIG_OTA_BACKEND_SDCARD=n
  102. CONFIG_OTA_BACKEND_BLUETOOTH=n
  103. CONFIG_OTA_BACKEND_TEMP_PART=y
  104. CONFIG_OTA_RES_PATCH=n
  105. #framework
  106. CONFIG_ACTIONS_FRAMEWORK=y
  107. CONFIG_ACTIONS_UTILS=n
  108. CONFIG_UI_MANAGER=n
  109. #ota app
  110. CONFIG_FLASH_LOAD_OFFSET=0