Recent

Author Topic: [SOLVED] IDE Macros in Compiler Command ( Execute Before, After )  (Read 712 times)

d.ioannidis

  • Full Member
  • ***
  • Posts: 229
    • Nephelae
[SOLVED] IDE Macros in Compiler Command ( Execute Before, After )
« on: September 02, 2023, 09:25:04 pm »
Hi,

  I would like to define a macro ( IDE Macro, Custom Option what ever it works )  that the IDE can use in the Execute After compiler commands .

  Is it possible ?

EDIT: Lazarus 2.2.6

regards,
« Last Edit: September 02, 2023, 10:17:20 pm by d.ioannidis »

d.ioannidis

  • Full Member
  • ***
  • Posts: 229
    • Nephelae
Re: IDE Macros in Compiler Command ( Execute Before, After )
« Reply #1 on: September 02, 2023, 10:16:59 pm »
Hi,

  it seems that there is a bug in the "Additions and Overrides"'s "Show Options" functionality . It doesn't shows ( or parses ) the user defined IDE Macros, but the user defined IDE Macros work in the "Compiler Commands" ( Before or After ) .

See in attachments that the IDE Macro 'AVRPART', while it works, it doesn't show in the "Show Options"'s "Execute After" tab.

EDIT:

FWIW, this is the "Execute After" "Compiler Commands" I use :

Code: Pascal  [Select][+][-]
  1. $ENV(AVRDUDE_DIR)\avrdude$(ExeExt)  -p $(AVRPART) -c usbasp -Uflash:w:$Path($(OutputFile))$NameOnly($(OutputFile)).hex:i

regards,

« Last Edit: September 02, 2023, 10:21:40 pm by d.ioannidis »

 

TinyPortal © 2005-2018