Jump to content
Sign in to follow this  

Using Hardware PWM on Tiva Launchpad

Recommended Posts


I apologize, my fault - the startup.gcc provided was from StrelarisWare version 9453, so the only correction is to add #include <stdint.h> at the beginning of startup_gcc.c file, and you need to place it as the first include, since there are already other two files.

Please take care to provide an include path to the stdint.h file in your compiler installation if not already specified.


Share this post

Link to post
Share on other sites

Hi Guys,

I'm recognize this problem beause of #define PART_TM4C123GH6PM not active for pin_map.h

Resolve 1: open pin_map.h in drivelib, add the code line at :#define  PART_TM4C123GH6PM below #define __DRIVERLIB_PIN_MAP_H__ and in the main file eraser code line: #define PART_TM4C123GH6PM

Resolve 2: create pin_map.h file for tm4c123gh6pm chip only, then include this file in your code replace for #include "driverlib/pin_map.h" .This file is included bellow

I fixed this problem with Energia, Good luck!

Preference additional:



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this