Jump to content
Sign in to follow this  
lawrence_jeff

Using Hardware PWM on Tiva Launchpad

Recommended Posts

Hi,

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.

L

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:

 

pin_map_tm4c123gh6pm.h

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...