Lazarus

Programming => Operating Systems => Other => Topic started by: jcdammeyer on February 12, 2020, 03:18:49 am

Title: Cross compiling for Microchip PIC32 processors running the Free RTOS.
Post by: jcdammeyer on February 12, 2020, 03:18:49 am
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?
Title: Re: Cross compiling for Microchip PIC32 processors running the Free RTOS.
Post by: trev on February 12, 2020, 07:43:23 am
See the Wiki https://wiki.lazarus.freepascal.org/TARGET_Embedded_Mipsel
Title: Re: Cross compiling for Microchip PIC32 processors running the Free RTOS.
Post by: Thaddy 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.
Title: Re: Cross compiling for Microchip PIC32 processors running the Free RTOS.
Post by: trev 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.  :-[
Title: Re: Cross compiling for Microchip PIC32 processors running the Free RTOS.
Post by: Thaddy 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.
Title: Re: Cross compiling for Microchip PIC32 processors running the Free RTOS.
Post by: MiR 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)
Title: Re: Cross compiling for Microchip PIC32 processors running the Free RTOS.
Post by: avra on April 21, 2020, 02:37:22 pm
There is FreeRTOS version for ESP32:
https://wiki.freepascal.org/ESP32#Xtensa-FreeRTOS
Title: Re: Cross compiling for Microchip PIC32 processors running the Free RTOS.
Post by: PascalDragon 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.
Title: Re: Cross compiling for Microchip PIC32 processors running the Free RTOS.
Post by: Thaddy 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...
Title: Re: Cross compiling for Microchip PIC32 processors running the Free RTOS.
Post by: MiR 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