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 8 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 8 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 Thu Jan 26, 2023 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 Sun Sep 24, 2023 9:54 pm

acebrian



In latest ArduinoIDE v2.2.1 the path of the "arduino-cli" has changed from:

"resources/app/node_modules/arduino-ide-extension/build/arduino-cli"

to

"resources/app/lib/backend/resources/arduino-cli"

Therefore, "inodebugger.cpp" should be fixed to:

builder = "resources/app/lib/backend/resources/arduino-cli";

At least for "SimulIDE 1.1.0-RC0".

Best regards.

9Arduino IDE compiler support Empty Re: Arduino IDE compiler support Sun Sep 24, 2023 10:07 pm

arcachofo

arcachofo

Hi.
I think this issue was already solved at Rev 1911.
It just search for the executable wherever it is.

Sponsored content



Back to top  Message [Page 1 of 1]

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