- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have run out of resources in PSOC4 and muxst move to a PSOC3 part and having 2 issues
psoc3 does is giving the following two errors that psoc4 did not
volatile extern long in_sig1;
Build error: syntax error near 'extern'
and when I remove the volatile I get
WARNING: L15: MULTIPLE CALL TO FUNCTION _BLUE_LED_WRITE/BLUE_LED ISR_FRAME_INTERRUPT/ISR_FRAME ?C_C51STARTUP
WARNING: L15: MULTIPLE CALL TO FUNCTION _ISR_FRAME_SETVECTOR/ISR_FRAME ISR_FRAME_INTERRUPT/ISR_FRAME ?C_C51STARTUP
WARNING: L15: MULTIPLE CALL TO FUNCTION _ISR_FRAME_SETPRIORITY/ISR_FRAME ISR_FRAME_INTERRUPT/ISR_FRAME ?C_C51STARTUP
WARNING: L15: MULTIPLE CALL TO FUNCTION _RED_LED_WRITE/RED_LED ?C_C51STARTUP ISR_OUT_TIMER_INTERRUPT/ISR_OUT_TIMER
WARNING: L15: MULTIPLE CALL TO FUNCTION _ISR_OUT_TIMER_SETVECTOR/ISR_OUT_TIMER ISR_FRAME_INTERRUPT/ISR_FRAME ISR_OUT_TIMER_INTERRUPT/ISR_OUT_TIMER
WARNING: L15: MULTIPLE CALL TO FUNCTION _ISR_OUT_TIMER_SETPRIORITY/ISR_OUT_TIMER ISR_FRAME_INTERRUPT/ISR_FRAME ISR_OUT_TIMER_INTERRUPT/ISR_OUT_TIMER
any help would be appreciated
Ron
- Labels:
-
PSoC 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Consider posting the PSOC 3 project so forum can take a look at whole
code base.
“File” Creator
“Create Workspace Bundle”
Use Firefox or IE, not chrome to post.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Why did you step from PSoC4 to 3 and not to PSoC5? Both (4 and 5) have got a comparable core, an ARM, while the PSoC3 is equipped with the a bit old-fashioned 8051 core.
The warnings about the multiple calls come from the unique 8051 problems. I would suggest you to at least for testing to switch to a PSoC5 device and run a compile.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As Bod mentioned, moving to PSoC5 would be easier. However, if you still want to use PSOC3, check this.