This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3357: Accessing GPIO Pins on AM335X

Part Number: AM3357


Hello,

I want to know how can i control user led within C program on am335x. Where is the driver file located on the filesystem?

  • Hi Vraj,

    I assume you are using AM335x TI PSDK Linux.

    AM335x GPIO linux driver and LED driver are located at:

    linux-kernel/drivers/gpio/gpio-omap.c

    linux-kernel/drivers/leds/leds-gpio.c


    For GPIO C application directions, refer to the below pointers:

    Regards,
    Pavel