Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Porting upp Core to ESPE32/FreeRTOS
icon6.gif  Porting upp Core to ESPE32/FreeRTOS [message #60471] Sat, 24 February 2024 11:50 Go to next message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
Hi guys

I think it's time for upp to put a foot in the embedded / IoT world..

Having spent some time in ESP32 / FreeRTOS, I consider it quite possible to have upp console appocations be able to run as tasks inside the respective environment.

Why esp32 / FREERTOS: They represent both currently very popular choices that can be found in other environments too.

This means of corse porting Core to FreeRTOS.

Do we have a sort of porting guide or collection of typical construction/adaption sites?

I remember

config.h
Defs.h
Mt
LocalProcess
App.h

And of course

Core.h

The changes would very likely be

* processor adaption (endianness, types,..)
* OS adaption (task, locks, memory management,..)
* replacing tools or mapping to existing counterparts

Your 2 cents please 😊

[Updated on: Sat, 24 February 2024 11:56]

Report message to a moderator

Re: Porting upp Core to ESPE32/FreeRTOS [message #60476 is a reply to message #60471] Mon, 04 March 2024 10:48 Go to previous messageGo to next message
Xemuth is currently offline  Xemuth
Messages: 387
Registered: August 2018
Location: France
Senior Member
Hello Kohait00,

As an esp32 idf framework user having u++ core with this framework would be kind of strange except if you are separate logic that use only Upp core from logic that interact with the chip using esp idf framework.

Moreover the size of memory in esp32 is limited -> May upp core is too heavy to fit properly in several esp32 (Maybe) ?

Can't remember if Upp Core use RTTI but it can be a problem you have to think about (If I remember rtti on esp32 is disable by default)
Idem for exception.

I won't lie, when I started working with esp idf framework I wish I had Upp Core. Nowaday if Core was available without huge cost on esp32 binary size I would certainly use it. Very Happy

PS: Upp core is maybe highly tied to platform it run on (i.e linux/windows) for several reason/ features OS provide to Upp Core. Porting it to esp would irremediably result in a shrinked core or a huge amount of works to adapt everythings.
Re: Porting upp Core to ESPE32/FreeRTOS [message #60489 is a reply to message #60476] Sat, 09 March 2024 13:20 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
U++ as designed is unlikely to work with less than 4MB of heap memory.

It would be fun to do something for embedded, it could even use some U++ concepts, but I am afraid it would have to start mostly from the scratch.
Previous Topic: How umk is built under windows ?
Next Topic: Technology lab vs External resources
Goto Forum:
  


Current Time: Sat Apr 27 17:47:28 CEST 2024

Total time taken to generate the page: 1.91016 seconds