8.1 Driver Source Code Integration

To integrate the WILCS02 device driver’s source code into the kernel’s build system, follow these steps:

  1. Add the driver source code, including the Kconfig file, under linux_root/drivers/net/wireless/microchip/wilc1000.
  2. Edit linux_root/drivers/net/wireless/Kconfig to add the path to the ATWILC driver’s Kconfig source:
    source "drivers/net/wireless/microchip/Kconfig"
  3. Edit linux_root/drivers/net/wireless/Makefile to include the WILCS02 driver source code:
    obj-$(CONFIG_WLAN_VENDOR_MICROCHIP) += microchip/
    Note: The driver directory name is WILC1000 for legacy reasons only.