Error compiling basic PIC32 AI project

Beta Testing discussion on mikroC AI for PIC32.
Post Reply
Author
Message
Dominic75
Posts: 87
Joined: 05 Oct 2012 23:37
Location: Quebec, Canada

Error compiling basic PIC32 AI project

#1 Post by Dominic75 » 26 Jan 2021 14:50

Hi,
There is not PIC32 AI compiler forum so Ill post my question here.

When trying to create a minimum project (main.c file only with single while() that does nothing) There are errors when I try to compile.

Steps:
  • Create new project
  • Legacy project
  • Generic PIC32 board
  • Select Pic32MX120F064H
  • MikroProgForPIC
  • Finish
When you compile, you get errors in the Issues window:

Code: Select all

Message: Bad absolute address 'INTCON'    File: PIC32MX120F064H.c    Line: 4608
main.c: (Only file in the project)

Code: Select all

/**
 * @file main.c
 * @brief Main function for Untitled application.
 */

void main(void)
{
    /* Replace with your application code */
    while (1)
    {
    }
}
Any way to fix this?

Thanks!

Product Version:
Necto Studio 1.4.0
mikroC AI for PIC32 1.0.0

(@mikroe: How about creating a PIC32 AI compiler forum topic?)

User avatar
filip.grujcic
Posts: 822
Joined: 14 May 2018 08:34

Re: Error compiling basic PIC32 AI project

#2 Post by filip.grujcic » 27 Jan 2021 12:06

Hello,

Our developers are aware of this bugged and it has been addressed already, however I'm afraid that it most likely won't make it to the next 1.4.1 update. In the 1.5.0 update it will be there for sure.
Sadly there aren't any workarounds that I could provide at the moment.
I apologize for the inconvenience this might have caused you.

Kind regards,
Filip Grujcic

Dominic75
Posts: 87
Joined: 05 Oct 2012 23:37
Location: Quebec, Canada

Re: Error compiling basic PIC32 AI project

#3 Post by Dominic75 » 27 Jan 2021 14:49

Hi Filip,
Thanks for the answer. Ill wait for the update then!

Will there be a PIC32 AI Forum topic? I don't think it's a good idea to post PIC32 AI question on the PIC AI forum...

Thanks!

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Error compiling basic PIC32 AI project

#4 Post by filip » 28 Jan 2021 08:44

Hi,

We've moved the topic to PIC32 AI compilers, thanks for the suggestion.

Regards,
Filip.

Post Reply

Return to “mikroC AI for PIC32 Beta Testing”