Author Topic: No symbols found matching UCB0CTLW0 - SlickEdit Pro 2019 (v24.0.0.8 64-bit)  (Read 1352 times)

JimmieC

  • Senior Community Member
  • Posts: 490
  • Hero Points: 17
I am working on code for the Texas Instruments MSP430. This is a bare-metal application. I have two projects in one workspace. One is the application code, the other project is RTL, libs, & misc provided by TI.

In the application source file is the line:
UCB0CTLW0 = UCMSB | UCMODE_0 | UCSYNC;

When I right-click and select Go to Definition, I get the message "No symbols found matching UCB0CTLW0".

In the libs project, the file msp430fr5728.h has these lines:
#define SFR_8BIT(address)   extern volatile unsigned char address
SFR_8BIT(UCB0CTLW0_L);                        /* USCI B0 Control Word Register 0 */

Is it normal for SE not to be able to find a symbol when it is nested into another define like that?
Or, is there something I need to do to fix it?

Regards,
Jim



Dennis

  • Senior Community Member
  • Posts: 3960
  • Hero Points: 517
Document > C/C++ Options > C/C++ Preprocess > Add... > SFR_8BIT(address) ...