Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | # MIMXRT1170-EVK board # Copyright 2021,2023 NXP # SPDX-License-Identifier: Apache-2.0 if BOARD_MIMXRT1170_EVK_CM7 || BOARD_MIMXRT1170_EVK_CM4 config BOARD default "mimxrt1170_evk_cm7" if BOARD_MIMXRT1170_EVK_CM7 default "mimxrt1170_evk_cm4" if BOARD_MIMXRT1170_EVK_CM4 choice CODE_LOCATION default CODE_FLEXSPI if BOARD_MIMXRT1170_EVK_CM7 default CODE_OCRAM if BOARD_MIMXRT1170_EVK_CM4 && SECOND_CORE_MCUX default CODE_SRAM0 if BOARD_MIMXRT1170_EVK_CM4 endchoice if SECOND_CORE_MCUX && BOARD_MIMXRT1170_EVK_CM4 config BUILD_OUTPUT_INFO_HEADER default y DT_CHOSEN_IMAGE_M4 = nxp,m4-partition # Adjust the offset of the output image if building for RT11xx SOC config BUILD_OUTPUT_ADJUST_LMA default "($(dt_chosen_reg_addr_hex,$(DT_CHOSEN_IMAGE_M4)) + \ $(dt_node_reg_addr_hex,/soc/spi@400cc000,1)) - \ $(dt_node_reg_addr_hex,/soc/ocram@20200000)" endif if DISK_DRIVERS config IMX_USDHC_DAT3_PWR_TOGGLE default y endif # DISK_DRIVERS if FLASH choice FLASH_MCUX_FLEXSPI_XIP_MEM_TARGET default FLASH_MCUX_FLEXSPI_XIP_MEM_ITCM if CPU_CORTEX_M7 default FLASH_MCUX_FLEXSPI_XIP_MEM_SRAM if CPU_CORTEX_M4 endchoice endif #FLASH config KSCAN default y if LVGL if KSCAN config KSCAN_GT911_INTERRUPT default y endif # KSCAN if NETWORKING config NET_L2_ETHERNET default y if CPU_CORTEX_M7 # No cache memory support is required for driver config ETH_MCUX_PHY_RESET default y endif # NETWORKING if DISPLAY config MIPI_DSI default y config REGULATOR default y endif # DISPLAY if LVGL config LV_Z_POINTER_KSCAN default y # LVGL should allocate buffers equal to size of display config LV_Z_VDB_SIZE default 100 # Enable double buffering config LV_Z_DOUBLE_VDB default y # Force full refresh. This prevents memory copy associated with partial # display refreshes, which is not necessary for the eLCDIF driver config LV_Z_FULL_REFRESH default y config LV_Z_BITS_PER_PIXEL default 16 config LV_Z_DPI default 128 choice LV_COLOR_DEPTH default LV_COLOR_DEPTH_16 endchoice endif # LVGL endif # BOARD_MIMXRT1170_EVK_CM7 || BOARD_MIMXRT1170_EVK_CM4 |