Forum > Embedded

New Version of FPCUPdeluxe specially for embedded targets

(1/2) > >>

Don Alfredo has released a new version of FPCUPdeluxe this weekend, the most important feature of this new release is the simplification of Installations for embedded targets.

Many thanks to Don Alfredo, he has spent the last weekends on optimizing FPCUPdeluxe to make it work A LOT better for embedded.

The new Version makes it very easy to build and use crosscompilers for arm-embedded, avr-embedded xtensa-freertos and arm-freertos.

Give it a try, you will not regret it!


Install from here:

My updated doku on the Wiki:


--- Quote from: MiR on February 28, 2021, 09:44:08 pm ---Install from here:

My updated doku on the Wiki:

--- End quote ---

Hi MiR,
I was curious about the FPCUPdeluxe for embedded targets, namely for STM32F0.
My machine is Ubuntu 18.04.5 LTS. I've downloaded fpcupdeluxe-x86_64-linux, V1.8.2r for x86_64-linux-gtk2. On the 'Basic' tab there is no 'embedded-mir' for FPC and 'embedded' for Lazarus. Using 'trunk.git' for both gives me an errors (when building Lazarus, I believe):

--- Code: ---[snip]
(3104) Compiling ./frames/editor_dividerdraw_options.pas
(3104) Compiling ./frames/editor_multiwindow_options.pas
(3104) Compiling ./frames/editor_indent_options.pas
(3104) Compiling ./frames/codetools_general_options.pas
(3104) Compiling ./frames/codetools_codecreation_options.pas
(3104) Compiling ./frames/codetools_classcompletion_options.pas
(3104) Compiling ./frames/codetools_wordpolicy_options.pas
(3104) Compiling ./frames/codetools_linesplitting_options.pas
(3104) Compiling ./frames/atom_checkboxes_options.pas
(3104) Compiling ./frames/codetools_space_options.pas
(3104) Compiling ./frames/codetools_identifiercompletion_options.pas
(3104) Compiling /home/alpi/fpcupdeluxe-arm/fpcupdeluxe-arm/lazarus/debugger/frames/debugger_general_options.pas
(3104) Compiling patheditordlg.pas
(3104) Compiling genericlistselect.pas
(3104) Compiling /home/alpi/fpcupdeluxe-arm/fpcupdeluxe-arm/lazarus/debugger/frames/debugger_class_options.pas
/home/alpi/fpcupdeluxe-arm/fpcupdeluxe-arm/lazarus/debugger/frames/debugger_class_options.pas(647,27) Error: (5000) Identifier not found "lisDebugOptionsFrmEditClass"
/home/alpi/fpcupdeluxe-arm/fpcupdeluxe-arm/lazarus/debugger/frames/debugger_class_options.pas(648,33) Error: (5000) Identifier not found "lisDebugOptionsFrmEditClassWarn"
debugger_class_options.pas(717) Fatal: (10026) There were 2 errors compiling module, stopping
Fatal: (1018) Compilation aborted
make[2]: *** [idepkg] Error 2
make[1]: *** [idepkg] Error 2
Error: /home/alpi/fpcupdeluxe-arm/fpcupdeluxe-arm/fpc/bin/x86_64-linux/ppcx64 returned an error exitcode
Makefile:4667: recipe for target 'lazarus' failed
Makefile:5105: recipe for target 'idepkg' failed
Makefile:3685: recipe for target 'idepkg' failed
Error: (lazarus) Build IDE: stopped with exit code 2
make: *** [useride] Error 2
Error: (lazarus) Building IDE: Building IDE failed.
Makefile:3691: recipe for target 'useride' failed
fpcupdeluxe: ERROR: LazarusNativeInstaller (BuildModuleCustom: UserIDE): make returned exit status #512

ERROR: Fpcupdeluxe fatal error !
Sequencer (UserIDE): Failure running fpcupdeluxe: error executing sequence UserIDE
Sequencer (Lazarus): Failure running fpcupdeluxe: error executing sequence Lazarus
Sequencer (Only): Failure running fpcupdeluxe: error executing sequence Only

--- End code ---

How to proceed?


I will have to update the documentation, in latest fpcupdeluxe embedded-mir was renamed to embedded and lazarus trunk now has all the needed changes that are necessary and embedded for lazarus was removed by Don Alfredo...

Choosing embedded for fpc and trunk for lazarus should do the trick.

The error you see is likely unrelated to your choices, I think I today read somewhere else that lazarus trunk itself has build issues atm, seems I was lucky when tesing latest fpcupdeluxe release on my Mac yesterday, then all still worked fine.

Thanks MiR,

Probably I'll wait until issues resolved. Not in a hurry.

I'm developing embedded products for a long time and, as you can easily guess, I use C language for that + a lot of different toolchains and IDEs.
Your post greatly increased my interest in cross-FPC, especially since I saw AVR and Z80 in the list, which are very small processors. I wonder how it is possible to develop for them, and since the information is quite scarce, how can I get more information about? This child board?


EDIT: Sorry, I've just found,49536.msg359394.html#msg359394. I'll read this board first before asking more silly questions.

Use the wiki as a starting point, there are a number of articles for avr + arm:

and when you still have questions use this board and it's subboards to get help. 


[0] Message Index

[#] Next page

Go to full version