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.

Starterware: missing header file hw_gpio.h

Tool/software: Starterware

Hi everybody,

i have downloaded and installed StarterWare 2.00.01.01 successfully.
I have noticed that in gpio.h file it has the following line:

#include "hw_gpio.h"

In this header file, i guess, they are supposed to be prototyped and defined some important functions and constant variables, respectively.

The problem is, as the title says, that there is no such file in the library and thus this header file turns out to be useless...although it is crucial for the building of my project regarding pwm.

Does anyone know what is going on or if i am mistaken?

Thanks in advance.

  • maneedos,

    Not sure why you are seeing this error. Could you please try with the latest Starterware package in the Processor SDK RTOS package? Do you see the same issue?

    software-dl.ti.com/.../index_FDS.html
    C:\ti\pdk_am335x_1_0_5\packages\ti\starterware

    Lali
  • Hey,

    Firstly, thanks for your reply.
    Unfortunately, i am not really sure i understood your solution.

    The AM335x Processor Software Development Kit (SDK) is TI's upgrade/replacement of
    Starterware? If so, i would like to ask a few questions.
    I have seen from the link you provided, that in the supported Devices list my board
    (beaglebone white) is covered but in the supported EVMs, it is not listed.
    Does that mean that i may have some kind of problem or can i use it?
    Moreover can i have both the AM335x Processor SDK kit and Starterware installed at the same time or is
    there any conflict? Or is it useless to have both?

    Thanks in advance!

  • Maneedos,

    I dont think BB white is fully supported in the PSDK. We rarely get folks using this board; mostly BB Black.
    The Starterware inside the PSDK is a newer versions that has bug fixes. There is a PWM example located at C:\ti\pdk_am335x_1_0_5\packages\ti\starterware\examples\epwm

    I don't think there is a problem having both versions of Starterware together. I would recommend just using the Starterware in the PSDK if possible.

    Lali
  • All the hw_XXXX.h files in Starterware are meant to be located at StarterWare 2.00.01.01\include\hw. I checked in the repo and it looks like the hw_gpio.h file was renamed to hw_gpio_v2.h. You can rename the file in gpio.h and use it.

    Please let us know if this resolves your issue.

    Regards,
    Rahul
  • Thanks a lot for your reply and sorry for the late response.

    i thing that resolves it.