2 Get Buildroot for Microchip MPU

To get the source code, the buildroot-mchp and buildroot-external-microchip repositories should be cloned. buildroot-mchp is a fork of Buildroot with a few specific patches. The external tree provides additional defconfigs and packages dedicated to our demos.

To clone buildroot-mchp from the repository:

$ git clone github.com/linux4microchip/buildroot-mchp

To clone buildroot-external-microchip from the repository:

$ git clone github.com/linux4microchip/buildroot-external-microchip

The source code should be pointing to the latest version of the buildroot-mchp and buildroot-external-microchip repositories.
Tip: We advise you to use the same linux4microchip tag for both repositories.
Note: The buildroot-mchp and buildroot-external-microchip tree is now part of linux4microchip, hence the tags on this repository are named linux4microchip-***.
To check out the latest version of buidlroot-mchp:
  1. Navigate to the buildroot-mchp directory:

    $ cd buildroot-mchp

  2. Enter the following command to display the versions available in 2024:

    $ git tag | grep 2024

  3. Check out the latest version:

    $ git checkout linux4microchip-2024.04

To check out the latest version of buildroot-external-microchip:
  1. Navigate to the buildroot-external-microchip directory:

    $ cd ..

    $ cd buildroot-external-microchip

  2. Enter the following command to know the available versions in 2024:

    $ git tag | grep 2024

  3. Check out the latest version:

    $ git checkout linux4microchip-2024.04