Skip to main content
6 events
when toggle format what by license comment
Nov 14, 2023 at 19:55 comment added gilhad Nice, thank you :) I just typed that without thinking much, to try it as soon as possible :) (And to have all the flags and all as near as possible to original build, because my builds are sometimes more complicated)
Nov 14, 2023 at 12:55 comment added Edgar Bonet @gilhad: I added this to my answer, with a some modifications: I merged the two grep command into the sed call, and removed the compiler option -MMD in order to prevent the generation of defines.d.
Nov 14, 2023 at 12:55 history edited Edgar Bonet CC BY-SA 4.0
Break the command line for readability.
Nov 13, 2023 at 22:25 comment added gilhad Thank you very much - I just made script, that use the make, which normally runs arduino_cli and simply reuse its output: make |grep g++|grep .ino.cpp.o|sed "s/-o .*/-E -dM -o defines.dump/"|sh removed one unneeded file rm defines.d and got defines.dump as result :) You can add this to your answer for better visibility (or I vill make extra answer for that, but in your answer it would fit better)
Nov 13, 2023 at 22:23 vote accept gilhad
Nov 13, 2023 at 20:17 history answered Edgar Bonet CC BY-SA 4.0