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.

Error: L6002U: Could not open file PART_TM4C123GH

Other Parts Discussed in Thread: TM4C123GH6PM

Hi!

I'm new using TivaWare C API and I'm getting an error when compiling:

linking...
.\PWMDual.axf: error: L6002U: Could not open file PART_TM4C123GH6PM: No such file or directory
Finished: 0 information, 0 warning, 0 error and 1 fatal error messages.
".\PWMDual.axf" - 1 Error(s), 0 Warning(s).
Target not created

This is my function new call (before inserting this and its include files the whole program worked fine):

PWMDeadBandDisable(0x40030000,PWM_GEN_0_BIT);

(it is a PWM function call to disable Dead Band for the first module. It's documented here: http://www.ti.com/lit/ug/spmu298/spmu298.pdf page 207).

and these are my includes for the PWM function above:

#include "tm4c123gh6pm.h"

#include <stdint.h>
#include <stdbool.h>
#include "D:\ti\TivaWare_C_Series-2.0.1.11577\inc\hw_types.h"
#include "..\inc/hw_memmap.h"
#include "..\inc/hw_gpio.h"
#include "..\driverlib/sysctl.h"
#include "..\driverlib/pin_map.h"
#include "..\driverlib/rom_map.h"
#include "..\driverlib/gpio.h"
#include "..\driverlib/pwm.h"

I have checked in options for this target and I have already this line at C/C++ tab "Preprocessor Symbols": 

rvmdk PART_TM4C123GH6PM TARGET_IS_TM4C123_RB1

So I don't know what else to do. Any idea? Thanks!

Francisco