Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2021-01

Custom options FPC WpXXX.

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Alfred

Hello,

Work is done regarding the FPC embedded FreeRTOS target. Results are looking very good.
Time for a bit more Lazarus integration.

Question.

When compiling for embedded, the -WpXXX FPC option is used as a custom option in Lazarus. To define an embedded system. This setting is exported as a FPC macro: FPC_MCU_XXX. However, this macro is not visible/usable in Lazarus. All code enclosed if a {$define FPC_MCU_XXX}...{$endif} remains grayed out.

It would be very nice to get this implemented.
If somebody points me to the right direction, I will make a patch myself if needed. However, I need some help to know were to start.

Thanks, Alfred.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20210127/bbdd9faf/attachment.html>

Reply by email