Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Makefile32.win32 file
09-04-2014, 10:05 PM,
#1
RE: Windows IDE download package updated to X4 rev 996
There is a bug in the Makefile32.win32 file.

Code:
54: __MIPS16_ENABLE__ = false

107: ifdef __MIPS16_ENABLE__
108:      MIPS16_INTER = -minterlink-mips16
109:      MIPS16_OPT   = -mips16
110: endif

Because __MIPS16_ENABLE__ is declared as false in line 54, the test in line 107 will always be true and make will always compile with 16bit option.

It needs to be corrected as follow.

Code:
107: ifeq (__MIPS16_ENABLE__, true)
108:      MIPS16_INTER = -minterlink-mips16
109:      MIPS16_OPT   = -mips16
110: endif

DJ
Reply
12-04-2014, 09:34 PM,
#2
RE: Makefile32.win32 file
Correct. I did it for the Linux Makefile but forgot to fix it for the Windows one.
I will publish the new version soon.
Thanks.

(09-04-2014, 10:05 PM)djpark Wrote: There is a bug in the Makefile32.win32 file.

Code:
54: __MIPS16_ENABLE__ = false

107: ifdef __MIPS16_ENABLE__
108:      MIPS16_INTER = -minterlink-mips16
109:      MIPS16_OPT   = -mips16
110: endif

Because __MIPS16_ENABLE__ is declared as false in line 54, the test in line 107 will always be true and make will always compile with 16bit option.

It needs to be corrected as follow.

Code:
107: ifeq (__MIPS16_ENABLE__, true)
108:      MIPS16_INTER = -minterlink-mips16
109:      MIPS16_OPT   = -mips16
110: endif

DJ
It is easier to complain than it is to do, but it is better to do than it is to complain.
Reply
13-04-2014, 04:20 PM,
#3
RE: Makefile32.win32 file
Hi

The Makefile32.win32, even with correction, do not work with PIC32_PINGUINO_MICRO, MIPS was not enabled for this board.
To work I use 981 version of this file.

I correct even io.c, PIC32_PINGUINO_MICRO do not have TRISA.


Bye Bye, Moreno
Reply
14-04-2014, 09:47 AM,
#4
RE: Makefile32.win32 file
Ok. Fixed.
FYI : Pinguino IDE v11 Board Selector will have MIPS and HEAP options for 32-bit boards.
It is easier to complain than it is to do, but it is better to do than it is to complain.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)