intrins.h

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
KrDe_284951
Level 4
Level 4
10 replies posted 10 questions asked 5 replies posted

Hi,

I installed PsoC Creator 4.4 on a new machine (see installation details below). When rebuilding an existing (and error free) PSoc3 project (previously we used Psoc Creator 4.2), I get the compiler error for instrins.h (this file does not even seem to be part of my project at all).

ERROR: C:\Program Files (x86)\Cypress\PSoC Creator\4.4\PSoC Creator\import\keil\pk51\9.51\C51\INC\intrins.h:19: missing ';' before 'extern'

Schermafbeelding 2020-12-11 101102.png

When hoovering over INTRINS.H I get the message:

Schermafbeelding 2020-12-11 101716.png

What causes this and how to prevent this error?

Clean and rebuild does not help...

Thansk for your advice

Kris

Installation environment:

PSoC Creator  4.4 (4.4.0.80)

Culture: Dutch (Netherlands)

OS Version: Microsoft Windows NT 10.0.19042.0

CLR Version: 4.0.30319.42000

Installed CyInstaller Products:

Peripheral Driver Library 3.1.3

PSoC Programmer 3.29.0

PSoC Creator 4.4

Loaded Plugins:

Name: Customizer Loader

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: Loads component customizers.

Name: Addin Discovery

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: Discovers PSoC Creator addins (kits, language packs, etc)

Name: Device Catalog

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: Device Catalog Plugin

Name: Documentation

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: Adds the topics available in the documentation.

Name: Start Page

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: Adds a start page to the framework.

Name: Output Window Plugin

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: Adds the output window

Name: SCC Manager

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: The Source Code Control Manager is the central class used for SCC actions within PSoC Creator.

Name: Symbol, Schematic and SchMacro Factory

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: The Symbol and Schematic Factory is used to load, cache, and retrieve symbols and schematics.

Name: Project Manager Plugin

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: Adds project management related functionality.

Name: GDE Plugin

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: Loads the Symbol and Schematic editors

Name: Language Plugin

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: Supports user files in multiple languages

Name: Workspace Factory

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: The Workspace Factory is used to retrieve instances of PSoC Creator workspaces.

Name: Project Factory

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: The Project Factory is used to retrieve instances of PSoC Creator projects.

Name: Toolchain Manager

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: PSoC Creator Toolchain Manager

Name: ARM GCC Generic

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: ARM GNU Generic

Name: ARM MDK Generic

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: ARM MDK Generic

Name: ARM IAR Generic

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: ARM IAR Generic

Name: DP8051 Keil Generic

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: DP8051 Keil Generic

Name: Device Selector

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: Adds a dialog that allows the user to select a device.

Name: File Editor Factory Plugin

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: Add file editors to the framework.

Name: Transport Framework

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: Provides a generic device communication framework for use by other plugins.

Name: Debugger Core

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: The Core Debugger provides an architecture independent framework for the common debug features.

Name: PSoC Debugger

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: Provides debugging support for the different PSoC families through a GDB back end.

Name: FM Debugger

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: Provides debugging support for FM device families

Name: Device IO Transport

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: Provides device IO support for Cypress devices though PSoC Programmer APIs.

Name: Serial Transport

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: Provides basic serial device support for the rest of the tool.

Name: Bootloader Host

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: Provides a host tool to perform bootloading operations.

Name: Background Elaborator

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: PSoC Creator Background Elaborator.

Name: TypeCache Factory

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: The TypeCache Factory is used to retrieve instances of TypeCaches.

Name: PSoC Fitter

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: PSoC Fitter Plugin

Name: FM Fitter

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: FM Fitter Plugin

Name: DWR Plugin

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: Registers resource editors with devices.

Name: DMA Wizard

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: Enables quick and correct development of applications that use DMA.

Name: Tuner Plugin

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: Manages custom component tuner executables

Name: Notice Window

Version: 4.4.0.80

Company: Cypress Semiconductor

Description: The Notice Window displays notices (status messages / errors with managed lifetimes).

0 Likes
1 Solution
Rakshith
Moderator
Moderator
Moderator
250 likes received 1000 replies posted 750 replies posted

Hi KrDe_284951​,

Although the error points it to the intrins.h, the error could be a syntax error in the source file. You can find more information about the file here - intrins.h

Are you able to open and build the project in PSoC Creator 4.2?

Just to make sure the compiler is set up correctly, can you please create an empty project and build it?
Would it be possible for you to share the project here?

Thanks and Regards,

Rakshith M B

Thanks and Regards,
Rakshith M B

View solution in original post

0 Likes
2 Replies
Rakshith
Moderator
Moderator
Moderator
250 likes received 1000 replies posted 750 replies posted

Hi KrDe_284951​,

Although the error points it to the intrins.h, the error could be a syntax error in the source file. You can find more information about the file here - intrins.h

Are you able to open and build the project in PSoC Creator 4.2?

Just to make sure the compiler is set up correctly, can you please create an empty project and build it?
Would it be possible for you to share the project here?

Thanks and Regards,

Rakshith M B

Thanks and Regards,
Rakshith M B
0 Likes
lock attach
Attachments are accessible only for community members.

Hi Rakshith,

Thank you very much for your reply. Seems indeed to be my mistake: a syntax error in my code

Sorry for this,

Kris

Van: RakshithM_16 <community-manager@cypress.com>

Verzonden: vrijdag 11 december 2020 11:22

Aan: Kris Demets <kris@signum-engineering.be>

Onderwerp: Re: - intrins.h

<http://www.cypress.com/>

Cypress Developer Community <https://community.cypress.com/?et=watches.email.thread>

intrins.h

reply from RakshithM_16<https://community.cypress.com/people/RakshithM_16?et=watches.email.thread> in PSoC 3 MCU - View the full discussion<https://community.cypress.com/message/269091?et=watches.email.thread#269091>

0 Likes