Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions arch/arm64/src/imx9/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,8 @@ if(CONFIG_IMX9_FLEXCAN)
list(APPEND SRCS imx9_flexcan.c)
endif()

if(CONFIG_IMX9_SAR_ADC)
list(APPEND SRCS imx9_sar_adc.c)
endif()

target_sources(arch PRIVATE ${SRCS})
5 changes: 5 additions & 0 deletions arch/arm64/src/imx9/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,11 @@ config IMX9_TPM6_PWM_CHMUX
hex "Channel mux for TPM6"
default 0x03020100

config IMX9_SAR_ADC
bool "i.MX9 SAR ADC"
depends on ARCH_CHIP_IMX93
default n

config IMX9_USBDEV
bool
default n
Expand Down
4 changes: 4 additions & 0 deletions arch/arm64/src/imx9/Make.defs
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,7 @@ endif
ifeq ($(CONFIG_IMX9_FLEXCAN),y)
CHIP_CSRCS += imx9_flexcan.c
endif

ifeq ($(CONFIG_IMX9_SAR_ADC),y)
CHIP_CSRCS += imx9_sar_adc.c
endif
Loading
Loading