modules: hal_infineon: added initial Kconfig and CMakeLists.txt

- added initial Kconfig
- added initial CMakeLists.txt (root, core-lib,  mtb-pal-cat1)
- updated module, driver and soc to use CONFIG_USE_INFINEON_xx
  defines from modules/hal_infineon/Kconfig

Signed-off-by: Nazar Palamar <nazar.palamar@infineon.com>
This commit is contained in:
Nazar Palamar 2022-05-09 15:19:46 +03:00 committed by Carles Cufí
commit d940d23c10
6 changed files with 152 additions and 0 deletions

View file

@ -9,5 +9,6 @@ config UART_PSOC6
depends on SOC_FAMILY_PSOC6
select SERIAL_HAS_DRIVER
select SERIAL_SUPPORT_INTERRUPT
select USE_INFINEON_UART
help
This option enables the SCB[UART] driver for PSoC-6 SoC family.

View file

@ -6,5 +6,6 @@
config SPI_PSOC6
bool "PSoC-6 MCU SCB spi driver"
depends on SOC_FAMILY_PSOC6
select USE_INFINEON_SPI
help
This option enables the SCB[SPI] driver for PSoC-6 SoC family.