Recent

Author Topic: Cross compiling for Microchip PIC32 processors running the Free RTOS.  (Read 5214 times)

jcdammeyer

  • Full Member
  • ***
  • Posts: 205
  • Embedded System Developer
    • Automation Artisans Inc.
One can use MPLAB-X to compile C programs that run and can be single step debugged on Microchip PIC32.  There's also the MikroPascal Pro for the PIC32.   But when it comes to the easy of creating applications Lazarus or Delphi are without question the best there is.

But is there a cross compiler/debugger for the PIC32 family?

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user

Thaddy

  • Hero Member
  • *****
  • Posts: 14201
  • Probably until I exterminate Putin.
Re: Cross compiling for Microchip PIC32 processors running the Free RTOS.
« Reply #2 on: February 12, 2020, 08:21:17 am »
See the Wiki https://wiki.lazarus.freepascal.org/TARGET_Embedded_Mipsel
That's not for RTOS, RTOS is an OS. I don't know if fpc can target OS_VERSION=RTOS. What you refer to is embedded, i.e. without OS.
Specialize a type, not a var.

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: Cross compiling for Microchip PIC32 processors running the Free RTOS.
« Reply #3 on: February 12, 2020, 09:16:57 am »
That's not for RTOS, RTOS is an OS. I don't know if fpc can target OS_VERSION=RTOS. What you refer to is embedded, i.e. without OS.

I was going to ask for some of what you were smoking... and then  I noticed the subject line of the post continued onto a second line.  :-[

Thaddy

  • Hero Member
  • *****
  • Posts: 14201
  • Probably until I exterminate Putin.
Re: Cross compiling for Microchip PIC32 processors running the Free RTOS.
« Reply #4 on: February 12, 2020, 11:35:04 am »
I was going to ask for some of what you were smoking... and then  I noticed the subject line of the post continued onto a second line.  :-[
It would be really nice if FPC could target RTOS, but I can't find anything in the repositories.
Specialize a type, not a var.

MiR

  • Full Member
  • ***
  • Posts: 246
Re: Cross compiling for Microchip PIC32 processors running the Free RTOS.
« Reply #5 on: April 20, 2020, 12:07:04 am »
Quote
It would be really nice if FPC could target RTOS, but I can't find anything in the repositories.

Well, look again  8)

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: Cross compiling for Microchip PIC32 processors running the Free RTOS.
« Reply #6 on: April 21, 2020, 02:37:22 pm »
There is FreeRTOS version for ESP32:
https://wiki.freepascal.org/ESP32#Xtensa-FreeRTOS
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

PascalDragon

  • Hero Member
  • *****
  • Posts: 5446
  • Compiler Developer
Re: Cross compiling for Microchip PIC32 processors running the Free RTOS.
« Reply #7 on: April 21, 2020, 03:47:56 pm »
And we now also have initial arm-freertos support. So mips-freertos should be possible as well.

Thaddy

  • Hero Member
  • *****
  • Posts: 14201
  • Probably until I exterminate Putin.
Re: Cross compiling for Microchip PIC32 processors running the Free RTOS.
« Reply #8 on: April 21, 2020, 04:27:17 pm »
Quote
It would be really nice if FPC could target RTOS, but I can't find anything in the repositories.

Well, look again  8)
I did... but that was added after my posting...
Specialize a type, not a var.

MiR

  • Full Member
  • ***
  • Posts: 246
Re: Cross compiling for Microchip PIC32 processors running the Free RTOS.
« Reply #9 on: April 21, 2020, 04:40:40 pm »
Seems you did not see the smiley in my post, I wanted to say something like 'please recheck, something is happening' but the joke obviously did not work...

esp32 version is brand new, it appeared beginning of April and arm is compilable in trunk since yesterday, very exiting times ahead of us.....

Michael

 

 

TinyPortal © 2005-2018