A functional embedded cross compiler is required.
This would be great in principle, but requires quite a bit of work to ensure a working cross compiler with bin tools ready to use. Fpcupdeluxe already do this well, so perhaps this tool could scan for available cross compiler's and give a warning or note if it is missing.A functional embedded cross compiler is required.
Assuming that the FPC sources were available, could it build a cross compiler as needed?
Assuming that the FPC sources were available, could it build a cross compiler as needed?
MarkMLl
This would be great in principle, but requires quite a bit of work to ensure a working cross compiler with bin tools ready to use. Fpcupdeluxe already do this well, so perhaps this tool could scan for available cross compiler's and give a warning or note if it is missing.
It's easy, IMHO, to add an AVR cross compiler in an official Lazarus/FPC installation on Windows. The easiest way ( for me ) is the following which doesn't not require to change compiler binaries, sources dir, etc in the start "Configure Lazarus IDE" popup window but it will not use the latest changes/fixes from main.It seems that the problem with the SubArch has already been solved.
It's a ~10 minute work with two 2 clones, 1 copy 2 copies, 1 build and 1 edit process :[
.....
I just tested my latest build Lazarus with AVR 25/5/6.
All now run in parallel without me having to rebuild the cross compiler.
The whole point of my post was NOT to use the latest main of fpc and/or lazarus ....
Thank you for sharing this Mathias, it has great potential to help getting new users started in the embedded Pascal world.Thanks for the feedback
A couple of observations on the GUI:
- I expect a selection (say AVR) to hide non-relevant options elsewhere, for example only show AVRDude as programmer option, the other programmers are not relevant (maybe UF2 too).
- Currently the CPU info window does not show the controllers for the selected architecture on the main window. As an additional feature, when selecting a controller, the OK button can copy the controller back to the main window (this will then also require a Cancel button)
- The AVRDude panel does not show the bottom setting on my small laptop screen - scroll bars should be enabled so that users with smaller screens can navigate to out of view areas
- Changing the architecture should clear the previously selected example template (could be an empty program skeleton), else one ends up with an example that isn't compatible with the new architecture
- I think the Programmer selection should only happen in one place, either as radiobuttons or maybe a dropdown list. Then only show the configuration for the selected programmer.
Of course these observations are just my expectation of the work flow of using the interface.
The package is developed under Linux, so it may still have bugs under Windows.
If you have a Mac, you are welcome to test it.The package is developed under Linux, so it may still have bugs under Windows.
What's the word for Mac OS?
or Ubuntu in a VM under Mac OS?
I may do an Arduino or Pico sometime later this year (or early next year ).
i already tested on ubuntu, avr work very good the other not working.Unfortunately you cut off the AVR when trying to prevent images, but I assume it's the Atmega328.
thank you.
i already tested on ubuntu, avr work very good the other not working.Unfortunately you cut off the AVR when trying to prevent images, but I assume it's the Atmega328.
thank you.
Did you also install the SubArchs with the ARMs and ESPxx?
Or did you just use the default setting?
Did you use the latest fpcudeluxe?
the name Lazarus Embedded GUI I still think is quite missleading. When I read it I expect a GUI framework for target embedded (forms and controls for an embedded display).
I assure you that you're not the only sloppy reader
The name comes from the fact that this is a GUI extension of Lazarus.I assure you that you're not the only sloppy reader
The question is if Mathias holds this title dear, or just does not bother with thinking out a perfect name suiting evreryone (won't be easy).
Personally, i think Lazarus Embedded Connector would be more understandable for newbs. But then i think there would be people who would bash it and say "`connector` is something totally else"
Or, maybe, in embedded development "GUI" has very specific sense and means not what it usually means to non-embedded programmers.
Can you tell me what fpcupdeluxe outputs as soon as you start iti already tested on ubuntu, avr work very good the other not working.Unfortunately you cut off the AVR when trying to prevent images, but I assume it's the Atmega328.
thank you.
Did you also install the SubArchs with the ARMs and ESPxx?
Or did you just use the default setting?
Did you use the latest fpcudeluxe?
i installed ARM ESP and AVR SubArch from latest fpcupdeluxe, using environment by fpcupdeluxe default. i do a lot mcu programming using c++, pascal is a new for me in embedded world, although i'm also fullstack pascal programmer, c++ got very easy setting, easy setting would attract people to learn, i think. Thank you.
Done!! all works like a charm, i did not know if got any subarch setup. thank you! 8)Yes, the examples should work.
if got many sample it would be great, i tried extensa on windows before but it failed, i'm trying using linux -> work very well.
does this compatible with this sample:??
https://github.com/ccrause/fpc-esp-freertos/tree/master/examples
Done!! all works like a charm, i did not know if got any subarch setup. thank you! 8)Yes, the examples should work.
if got many sample it would be great, i tried extensa on windows before but it failed, i'm trying using linux -> work very well.
does this compatible with this sample:??
https://github.com/ccrause/fpc-esp-freertos/tree/master/examples