Hello,
what I try to achive is compiling a fpc program with target embedded and upload it directly to the microcontroller. The command line for the uploader could be defined in "Project options / Compiler options / Compiler Commands / Execute after". And for Build (Shift+F9) this works fine. But when pressing Run (F9), then Lazarus is trying to start a Exe with name of the project. If I place a dummy exe in the same folder, then Lazarus trys to start the debugger resulting in an error message.
When I uncheck the option "runnable" in the "Project options / Miscellaneous" menue then Run (F9) wouldn't even work.
I also tried menue "Run / Run parameters / Local / Launching application", but this didn't work eigher (Lazarus still tried to run a Exe).
So does anybody know if and how its possible to define a commandline for the Run-command and run it instead of searching for an executable?
Thanks!
Regards~