Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

Arduino IDE compiler support

3 posters

Go down  Message [Page 1 of 1]

1Arduino IDE compiler support Empty Arduino IDE compiler support Wed Dec 28, 2022 12:39 am

acebrian



I have added support for Arduino IDE compiler to SimulIDE.

Now it is possible to select legacy Arduino (1.x) compiler and new Arduino IDE (2.x) compiler. By default, Arduino IDE compiler is selected when opening a .ino file.

Patch for trunk branch attached. Only tested under Linux.

BTW: "src/icons/components/transformer.png" is missing in trunk branch.
Attachments
Arduino IDE compiler support Attachmentpatch.zip
You don't have permission to download attachments.
(3 Kb) Downloaded 3 times

2Arduino IDE compiler support Empty Re: Arduino IDE compiler support Wed Dec 28, 2022 2:57 am

arcachofo

arcachofo

Now it is possible to select legacy Arduino (1.x) compiler and new Arduino IDE (2.x) compiler. By default, Arduino IDE compiler is selected when opening a .ino file.
That's great! thank you very much.

BTW: "src/icons/components/transformer.png" is missing in trunk branch.
Sorry, fixed at Rev 1463.

3Arduino IDE compiler support Empty Re: Arduino IDE compiler support Thu Dec 29, 2022 2:28 am

acebrian



Patch updated to also work under Windows.

Now, tested on both Linux and Windows platforms.
Attachments
Arduino IDE compiler support Attachmentpatch.zip
You don't have permission to download attachments.
(3 Kb) Downloaded 2 times

arcachofo likes this post

4Arduino IDE compiler support Empty Re: Arduino IDE compiler support Sat Jan 21, 2023 3:38 pm

rvicedomini



Great addition!
Was this patch already added to the trunk branch or do you plan to further develop it before merging?

5Arduino IDE compiler support Empty Re: Arduino IDE compiler support Sat Jan 21, 2023 7:56 pm

arcachofo

arcachofo

Was this patch already added to the trunk branch or do you plan to further develop it before merging?
It is not added yet.
Now I'm more focused in finishing version 1.0.0, then I will get into this.

6Arduino IDE compiler support Empty Re: Arduino IDE compiler support Sun Jan 22, 2023 8:44 pm

rvicedomini



arcachofo wrote:
Now I'm more focused in finishing version 1.0.0, then I will get into this.

Ok, it sounds perfectly reasonable. I had no intention to put pressure on this point.
I was probably wrong thinking that the support for Arduino IDE 2.0 was already tested to be considered safe to merge...

I will try to apply the patch manually and re-compile the source code to see how it works.

7Arduino IDE compiler support Empty Re: Arduino IDE compiler support Yesterday at 1:55 pm

arcachofo

arcachofo

acebrian wrote:I have added support for Arduino IDE compiler to SimulIDE.
Added to all versions >= 1.0.0.
I just did some changes to auto-detect Arduino version based on which executables are found.
Also moved all configuration stuff to setToolPath(), so the compilation is faster.

Let me know if you see any problem with these changes.

8Arduino IDE compiler support Empty Re: Arduino IDE compiler support Yesterday at 10:11 pm

acebrian



Edited: Ignore the message. The file is already deleted from source code but I need to manually delete it from my build folder.

Don't forget to remove "resources/data/codeeditor/compilers/compilers/arduino-ide.xml".

"Arduino IDE" compiler name is not longer needed as compiler is now autodetected by found executables.

Best regards.

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum