Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Accessing registers/interrupts
30-03-2015, 07:44 PM,
#3
RE: Accessing registers/interrupts
(29-03-2015, 09:20 PM)pingotg Wrote: One use b but the error shows B - is that a clue maybe?

John

Hi John,
thx for answering. Unfortunately, it makes no difference whether I compile the code with IFS0Bits.T1IF or IFS0bits.T1IF. In both cases an user.c file will be created with IFS0Bits.T1IF.

Am I the only one, who has this problem or am I the only one who wants to program under windows? Smile

Here the stbout output:

if exist C:\pinguino-11\user\source\main32.o @del C:\pinguino-11\user\source\main32.o

if exist C:\pinguino-11\user\source\main32.elf @del C:\pinguino-11\user\source\main32.elf
if exist C:\pinguino-11\user\source\main32.hex @del C:\pinguino-11\user\source\main32.hex
if exist C:\pinguino-11\user\source\obj\non-free\processor.o @del C:\pinguino-11\user\source\obj\non-free\processor.o
C:\pinguino-11\compilers\p32\bin\p32-gcc.exe -march=m4k -EL -msoft-float -nostdlib -static -O3 -minterlink-mips16 -ffunction-sections -fdata-sections -Wl,--gc-sections -Wl,-LC:\pinguino-11\user\source\obj\non-free -Wl,--defsym,_min_heap_size=512 -Wl,-Map=C:\pinguino-11\user\source\output.map -D __PIC32MX__ -D __32MX220F032D__ -D PIC32_PINGUINO_220 -TC:\pinguino-11\p32\lkr\32MX220F032D.ld -TC:\pinguino-11\p32\lkr\elf32pic32mx.x -LC:\pinguino-11\user\source\obj\non-free\usb -lm -lgcc -lc -fdollars-in-identifiers -IC:\pinguino-11\p32\include\non-free -IC:\pinguino-11\p32\include\pinguino\core -IC:\pinguino-11\p32\include\pinguino\libraries -IC:\pinguino-11\p32\lkr -IC:\pinguino-11\user\examples\08.Interrupt -IC:\pinguino-11\user\source\obj\non-free -mips16 -S -o C:\pinguino-11\user\source\main32.S C:\pinguino-11\user\source\main32.c
In file included from C:\pinguino-11\user\source\define.h:3:0,
from C:\pinguino-11\user\source\main32.c:39:
C:\pinguino-11\p32\include\pinguino\libraries/cdc.c: In function 'CDC_printf':
C:\pinguino-11\p32\include\pinguino\libraries/cdc.c:451:14: warning: passing argument 1 of 'cdc_puts' from incompatible pointer type
cdc_puts(&buffer,length);
^
In file included from C:\pinguino-11\p32\include\pinguino\libraries/cdc.c:90:0,
from C:\pinguino-11\user\source\define.h:3,
from C:\pinguino-11\user\source\main32.c:39:
C:\pinguino-11\p32\include\pinguino\libraries/usb/usb_function_cdc.c:299:6: note: expected 'const char *' but argument is of type 'u8 (*)[64]'
void cdc_puts(const char *buffer, u32 length)
^
In file included from C:\pinguino-11\user\source\main32.c:58:0:
C:\pinguino-11\user\source\user.c: In function 'Tmr1Interrupt':
C:\pinguino-11\user\source\user.c:44:5: error: 'IFS0Bits' undeclared (first use in this function)
if (IFS0Bits.T1IF)
^
C:\pinguino-11\user\source\user.c:44:5: note: each undeclared identifier is reported only once for each function it appears in
make: *** [compile] Error 1

Thx in advance,
Robert
Reply


Messages In This Thread
Accessing registers/interrupts - by Dobby_ - 29-03-2015, 04:10 PM
RE: Accessing registers/interrupts - by pingotg - 29-03-2015, 09:20 PM
RE: Accessing registers/interrupts - by Dobby_ - 30-03-2015, 07:44 PM
RE: Accessing registers/interrupts - by pingotg - 31-03-2015, 05:03 PM
RE: Accessing registers/interrupts - by moreno - 31-03-2015, 06:11 PM
RE: Accessing registers/interrupts - by Dobby_ - 31-03-2015, 08:15 PM
RE: Accessing registers/interrupts - by moreno - 31-03-2015, 09:33 PM
RE: Accessing registers/interrupts - by joel - 01-04-2015, 06:54 PM
RE: Accessing registers/interrupts - by Dobby_ - 01-04-2015, 10:03 PM
RE: Accessing registers/interrupts - by Dobby_ - 01-04-2015, 08:57 PM
RE: Accessing registers/interrupts - by joel - 02-04-2015, 10:42 AM
RE: Accessing registers/interrupts - by Dobby_ - 02-04-2015, 09:22 PM
RE: Accessing registers/interrupts - by pingotg - 02-04-2015, 10:15 PM
RE: Accessing registers/interrupts - by Dobby_ - 07-04-2015, 10:09 PM
RE: Accessing registers/interrupts - by Dobby_ - 25-05-2015, 11:38 AM
RE: Accessing registers/interrupts - by regis - 28-05-2015, 09:42 AM
RE: Accessing registers/interrupts - by Dobby_ - 30-05-2015, 12:31 PM
RE: Accessing registers/interrupts - by regis - 01-06-2015, 12:40 PM
RE: Accessing registers/interrupts - by Dobby_ - 04-06-2015, 08:42 AM
RE: Accessing registers/interrupts - by regis - 04-06-2015, 11:30 AM
RE: Accessing registers/interrupts - by Dobby_ - 04-06-2015, 06:09 PM
RE: Accessing registers/interrupts - by regis - 08-06-2015, 12:31 PM
RE: Accessing registers/interrupts - by Dobby_ - 13-06-2015, 05:55 PM
RE: Accessing registers/interrupts - by regis - 13-06-2015, 06:15 PM
RE: Accessing registers/interrupts - by Dobby_ - 13-06-2015, 09:59 PM
RE: Accessing registers/interrupts - by fpeixeiro - 29-09-2016, 04:31 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)