Other Parts Discussed in Thread: MSP430G2211
I recently upgraded to CCS 5 and noticed some of my old CCS 4 projects that employ nested header files do not work anymore. It appears that the mspx2xx1 header file which is defined in A.h is not showing up when I include A.h in a project. Does anyone know how to fix this? The code used in the project is:
Code: A.h
#ifndef MCU_H_
#define MCU_H_
#include <msp430g2211.h> //Processor Selection (Replace with processor you are using)
#define CLK_Speed 0x3 //Processor Speed in Megahertz
#define _PWM_Port_1
#endif /*MCU_H_*/
Code: Project
#include "A.h"
#include"PULSE_Power.h"
void main(void){
WDTCTL =WDTPW + WDTHOLD; //Disable Watchdog
BCSCTL1 = CALBC1_1MHZ;
DCOCTL = CALDCO_1MHZ; // D
PULSE();
}
This project returns error saying that the symbols (WDTCTL, BSCTL1, etc.) are undefined. The pulse function however is defined.