.. _ModifyBSP-62: Modify The BSP ============== .. include:: ../substitutions.rst .. include:: ../../common/developingwithyocto/modifyBSP1.rst Change the Linux Kernel Device Tree ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Let's try making a small change to the kernel's device tree and enable a heartbeat LED using the User LED1 (\ |heartbeat-ref|\ ) to let us know that the system is alive automatically upon boot (this User LED1 is automatically on by default, checkout the GPIO guide to learn more about controlling it as-is): .. image:: ../../images/phycore-am62x/pb-07124_gpio.png :width: 700px :alt: phyCORE-AM62x User LED Use your favorite text editor to open the main device tree file for the |product| development kit: .. code-block:: none :caption: Host (Linux) :substitutions: vi |kernel-path|/|kernel-dts-path| Edit the file according to the following diff: **Device Tree Diff** .. code-block:: ... leds { compatible = "gpio-leds"; pinctrl-names = "default"; pinctrl-0 = <&leds_pins_default>, <&user_leds_pins_default>; led-1 { gpios = <&main_gpio0 32 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "mmc0"; + linux,default-trigger = "heartbeat"; }; led-2 { ... .. include:: ../../common/developingwithyocto/modifyBSP2.rst