Page 2 of 3

Re: New IDE v1.6.8

Posted: Sat Aug 05, 2017 7:37 pm
by rimai
Sorry. It was committed to my local git and I never pushed it to github
I just did now

Re: New IDE v1.6.8

Posted: Sat Aug 05, 2017 8:00 pm
by binder
rimai wrote:Sorry. It was committed to my local git and I never pushed it to github
I just did now
ok. no worries. thanks!

Sent from my XT1585 using Tapatalk

Re: New IDE v1.6.8

Posted: Sun Aug 06, 2017 10:19 am
by binder
I'm getting some errors when I installed the mac version listed in the OP.

Here's the errors I get:

Code: Select all

Arduino:  (Reef Angel compilation) v1.6.8 (Mac OS X), Board: "Reef Angel Plus Controller"

The following features were automatically added:
Watchdog Timer
Version Menu

The following features were detected:
Wifi Attachment
DC Pump Control (Jebao/Tunze)
Dimming Signal
2014 Main Screen
Extra Font - Medium Size (8x8 pixels)
Salinity Expansion Module
Water Level Expansion Module
Simple Menu
failed MSpanList_Insert 0x30c6c0 0x399ecd5329b9 0x0
fatal error: MSpanList_Insert

runtime stack:
runtime.MSpanList_Insert(0x2c7e08, 0x30c6c0)
	/usr/local/go/src/runtime/mheap.c:692 +0x8f
runtime.MHeap_Alloc(0x2c6c20, 0x1, 0x1000000002b, 0x10359)
	/usr/local/go/src/runtime/mheap.c:240 +0x66
runtime.MCentral_CacheSpan(0x2d05b8, 0x194ec0)
	/usr/local/go/src/runtime/mcentral.c:85 +0x167
runtime.MCache_Refill(0x307000, 0x10000002b, 0x30b548)
	/usr/local/go/src/runtime/mcache.c:90 +0xa0

goroutine 1 [running]:
runtime.switchtoM()
	/usr/local/go/src/runtime/asm_amd64.s:198 fp=0xc208030fe8 sp=0xc208030fe0
runtime.mallocgc(0x1000, 0x159ce0, 0x1, 0x28)
	/usr/local/go/src/runtime/malloc.go:178 +0x849 fp=0xc208031098 sp=0xc208030fe8
runtime.newarray(0x159ce0, 0x1000, 0x307000)
	/usr/local/go/src/runtime/malloc.go:365 +0xc1 fp=0xc2080310d0 sp=0xc208031098
runtime.makeslice(0x151960, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/local/go/src/runtime/slice.go:32 +0x15c fp=0xc208031118 sp=0xc2080310d0
os.(*File).readdirnames(0xc208040068, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/local/go/src/os/dir_unix.go:23 +0xd9 fp=0xc208031208 sp=0xc208031118
os.(*File).Readdirnames(0xc208040068, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/local/go/src/os/doc.go:134 +0x9e fp=0xc208031248 sp=0xc208031208
arduino.cc/builder/gohasissues.readDirNames(0xc208034040, 0x3e, 0x0, 0x0, 0x0, 0x0, 0x0)
	/Users/jenkins/jenkins/workspace/arduino-builder-macosx/src/arduino.cc/builder/gohasissues/go_has_issues.go:93 +0xdd fp=0xc2080312b8 sp=0xc208031248
arduino.cc/builder/gohasissues.walk(0xc208034040, 0x3e, 0x318c98, 0xc208066460, 0xc2080315d8, 0x0, 0x0)
	/Users/jenkins/jenkins/workspace/arduino-builder-macosx/src/arduino.cc/builder/gohasissues/go_has_issues.go:62 +0x1bf fp=0xc2080313f0 sp=0xc2080312b8
arduino.cc/builder/gohasissues.walk(0x7fff5fbffb42, 0x3a, 0x318c98, 0xc208036c80, 0xc2080315d8, 0x0, 0x0)
	/Users/jenkins/jenkins/workspace/arduino-builder-macosx/src/arduino.cc/builder/gohasissues/go_has_issues.go:75 +0x516 fp=0xc208031528 sp=0xc2080313f0
arduino.cc/builder/gohasissues.Walk(0x7fff5fbffb42, 0x3a, 0xc2080315d8, 0x0, 0x0)
	/Users/jenkins/jenkins/workspace/arduino-builder-macosx/src/arduino.cc/builder/gohasissues/go_has_issues.go:46 +0xf2 fp=0xc208031590 sp=0xc208031528
arduino.cc/builder.findBuiltinToolsVersionsFile(0x7fff5fbffb42, 0x3a, 0x0, 0x0, 0x0, 0x0)
	/Users/jenkins/jenkins/workspace/arduino-builder-macosx/src/arduino.cc/builder/tools_loader.go:163 +0xa0 fp=0xc2080315f0 sp=0xc208031590
arduino.cc/builder.(*ToolsLoader).Run(0x2c0908, 0xc20803c510, 0x0, 0x0)
	/Users/jenkins/jenkins/workspace/arduino-builder-macosx/src/arduino.cc/builder/tools_loader.go:50 +0x1ec fp=0xc208031788 sp=0xc2080315f0
arduino.cc/builder.(*ContainerSetupHardwareToolsLibsSketchAndProps).Run(0x2c0908, 0xc20803c510, 0x0, 0x0)
	/Users/jenkins/jenkins/workspace/arduino-builder-macosx/src/arduino.cc/builder/container_setup.go:59 +0x6b8 fp=0xc208031978 sp=0xc208031788
arduino.cc/builder.runCommands(0xc20803c510, 0xc208031b90, 0x1d, 0x1d, 0x19501, 0x0, 0x0)
	/Users/jenkins/jenkins/workspace/arduino-builder-macosx/src/arduino.cc/builder/builder.go:187 +0x139 fp=0xc208031a08 sp=0xc208031978
arduino.cc/builder.(*Builder).Run(0xc208031d88, 0xc20803c510, 0x0, 0x0)
	/Users/jenkins/jenkins/workspace/arduino-builder-macosx/src/arduino.cc/builder/builder.go:118 +0xef7 fp=0xc208031d68 sp=0xc208031a08
arduino.cc/builder.RunBuilder(0xc20803c510, 0x0, 0x0)
	/Users/jenkins/jenkins/workspace/arduino-builder-macosx/src/arduino.cc/builder/builder.go:218 +0x49 fp=0xc208031d90 sp=0xc208031d68
main.main()
	/Users/jenkins/jenkins/workspace/arduino-builder-macosx/main.go:320 +0x1eb2 fp=0xc208031f98 sp=0xc208031d90
runtime.main()
	/usr/local/go/src/runtime/proc.go:63 +0xf3 fp=0xc208031fe0 sp=0xc208031f98
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:2232 +0x1 fp=0xc208031fe8 sp=0xc208031fe0
arduino-builder returned 2
Error compiling for board Reef Angel Plus Controller.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I replaced my Arduino folder inside Documents with the new one from the DMG file.
I copied the Arduino15 folder into the Library folder.
I replaced the original Arduino app with the new one from the DMG file.

I launched the arduino program and it shows the 1.6.8 Reef Angel compilation in the title bar. I have the library manager, etc viewable. I originally got this error when I tried to compile my existing sketch file. So I just used the wizard and generated a simple file and this is the same output.
Before I dive into it any further, anybody got any tips on this?

Re: New IDE v1.6.8

Posted: Sun Aug 06, 2017 11:48 am
by rimai
Hummm.
I don't get this error here and can't replicate :(

Re: New IDE v1.6.8

Posted: Sun Aug 06, 2017 11:51 am
by rimai
Do you happen to have Sierra OSX?
I may need to update the IDE again and recompile :(
https://github.com/arduino/Arduino/issues/5360

Re: New IDE v1.6.8

Posted: Sun Aug 06, 2017 12:37 pm
by binder
rimai wrote:Do you happen to have Sierra OSX?
I may need to update the IDE again and recompile :(
https://github.com/arduino/Arduino/issues/5360
yup. I'm running the latest version. it's not a big deal or big rush. I can still use the webwizard and I'm working on getting it to work under my Linux/Debian desktop (just going slow).

Sent from my XT1585 using Tapatalk

Re: New IDE v1.6.8

Posted: Tue Aug 08, 2017 4:00 pm
by binder
I have the latest built for Linux but am missing some of the changes for us. I'm missing the boards.txt custom file and maybe some other stuff. my list of boards is all of the arduino boards (I'm assuming the defaults). is this file in github? are there certain files or certain things you do during the build process to create the package/exe for distribution?

Sent from my XT1585 using Tapatalk

Re: New IDE v1.6.8

Posted: Tue Aug 08, 2017 4:05 pm
by rimai
board.txt

Code: Select all

menu.cpu=Processor

##############################################################

RA.name=Reef Angel Controller w/ optiboot

RA.vid.0=0x2341
RA.pid.0=0x0043
RA.vid.1=0x2341
RA.pid.1=0x0001
RA.vid.2=0x2A03
RA.pid.2=0x0043
RA.vid.3=0x2341
RA.pid.3=0x0243

RA.upload.tool=avrdude
RA.upload.protocol=arduino
RA.upload.maximum_size=32256
RA.upload.maximum_data_size=2048
RA.upload.speed=115200

RA.bootloader.tool=avrdude
RA.bootloader.low_fuses=0xFF
RA.bootloader.high_fuses=0xDE
RA.bootloader.extended_fuses=0x05
RA.bootloader.unlock_bits=0x3F
RA.bootloader.lock_bits=0x0F
RA.bootloader.file=reefangel/optiboot_ReefAngel.hex

RA.build.mcu=atmega328p
RA.build.f_cpu=16000000L
RA.build.board=AVR_RA
RA.build.core=arduino
RA.build.variant=standard

##############################################################

diecimila.name=Reef Angel Controller

diecimila.upload.tool=avrdude
diecimila.upload.protocol=arduino
diecimila.upload.maximum_size=30720
diecimila.upload.maximum_data_size=2048
diecimila.upload.speed=57600

diecimila.bootloader.tool=avrdude
diecimila.bootloader.low_fuses=0xFF
diecimila.bootloader.unlock_bits=0x3F
diecimila.bootloader.lock_bits=0x0F
diecimila.bootloader.high_fuses=0xDA
diecimila.bootloader.extended_fuses=0x05
diecimila.bootloader.file=atmega/ATmegaBOOT_168_atmega328.hex

diecimila.build.mcu=atmega328p
diecimila.build.f_cpu=16000000L
diecimila.build.board=AVR_DUEMILANOVE
diecimila.build.core=arduino
diecimila.build.variant=standard

##############################################################

RAPlus.name=Reef Angel Plus Controller

RAPlus.vid.0=0x2341
RAPlus.pid.0=0x0010
RAPlus.vid.1=0x2341
RAPlus.pid.1=0x0042
RAPlus.vid.2=0x2A03
RAPlus.pid.2=0x0010
RAPlus.vid.3=0x2A03
RAPlus.pid.3=0x0042
RAPlus.vid.4=0x2341
RAPlus.pid.4=0x0210
RAPlus.vid.5=0x2341
RAPlus.pid.5=0x0242

RAPlus.upload.tool=avrdude
RAPlus.upload.protocol=wiring
RAPlus.upload.maximum_size=253952
RAPlus.upload.maximum_data_size=8192
RAPlus.upload.speed=115200

RAPlus.bootloader.tool=avrdude
RAPlus.bootloader.low_fuses=0xFF
RAPlus.bootloader.unlock_bits=0x3F
RAPlus.bootloader.lock_bits=0x0F
RAPlus.bootloader.high_fuses=0xD8
RAPlus.bootloader.extended_fuses=0xFD
RAPlus.bootloader.file=reefangel/stk500boot_RAPlus.hex

RAPlus.build.mcu=atmega2560
RAPlus.build.f_cpu=16000000L
RAPlus.build.board=AVR_MEGA2560
RAPlus.build.core=arduino
RAPlus.build.variant=RAPlus

##############################################################

RAStar.name=Reef Angel Star Controller

RAStar.vid.0=0x2341
RAStar.pid.0=0x0010
RAStar.vid.1=0x2341
RAStar.pid.1=0x0042
RAStar.vid.2=0x2A03
RAStar.pid.2=0x0010
RAStar.vid.3=0x2A03
RAStar.pid.3=0x0042
RAStar.vid.4=0x2341
RAStar.pid.4=0x0210
RAStar.vid.5=0x2341
RAStar.pid.5=0x0242

RAStar.upload.tool=avrdude
RAStar.upload.protocol=wiring
RAStar.upload.maximum_size=253952
RAStar.upload.maximum_data_size=8192
RAStar.upload.speed=115200

RAStar.bootloader.tool=avrdude
RAStar.bootloader.low_fuses=0xFF
RAStar.bootloader.unlock_bits=0x3F
RAStar.bootloader.lock_bits=0x0F
RAStar.bootloader.high_fuses=0xD8
RAStar.bootloader.extended_fuses=0xFD
RAStar.bootloader.file=reefangel/stk500boot_RA_Star.hex

RAStar.build.mcu=atmega2560
RAStar.build.f_cpu=16000000L
RAStar.build.board=AVR_MEGA2560
RAStar.build.core=arduino
RAStar.build.variant=RAPlus

Re: New IDE v1.6.8

Posted: Tue Aug 08, 2017 4:09 pm
by rimai
The exe for windows is done with Inno Setup to create an installation file.
It's not part of the build process.
The files that the installer goes through and places in the proper spots are:

Code: Select all

Source: "arduino-1.6.8\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "Wifi_Utility.exe"; DestDir: "{app}";
Source: "INO\*"; DestDir: "{userdocs}\Arduino\Example Codes\"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "RA_Preloaded\*"; DestDir: "{userdocs}\Arduino\RA_Preloaded\"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "libraries\*"; DestDir: "{userdocs}\Arduino\libraries\"; Flags: ignoreversion recursesubdirs createallsubdirs 
Source: "tools\*"; DestDir: "{userdocs}\Arduino\tools\"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "update\*"; DestDir: "{userdocs}\Arduino\update\"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "drivers\*"; DestDir: "{app}\drivers"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "lib\*"; DestDir: "{app}\lib"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "data\*"; DestDir: "{app}\data"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "Arduino15\*"; DestDir: "{localappdata}\Arduino15"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "preferences.txt"; DestDir: "{userappdata}\Arduino";
Mostly the example codes and wizard files.

Re: New IDE v1.6.8

Posted: Tue Aug 08, 2017 4:25 pm
by binder
rimai wrote:The exe for windows is done with Inno Setup to create an installation file.
It's not part of the build process.
The files that the installer goes through and places in the proper spots are:

Code: Select all

Source: "arduino-1.6.8\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "Wifi_Utility.exe"; DestDir: "{app}";
Source: "INO\*"; DestDir: "{userdocs}\Arduino\Example Codes\"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "RA_Preloaded\*"; DestDir: "{userdocs}\Arduino\RA_Preloaded\"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "libraries\*"; DestDir: "{userdocs}\Arduino\libraries\"; Flags: ignoreversion recursesubdirs createallsubdirs 
Source: "tools\*"; DestDir: "{userdocs}\Arduino\tools\"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "update\*"; DestDir: "{userdocs}\Arduino\update\"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "drivers\*"; DestDir: "{app}\drivers"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "lib\*"; DestDir: "{app}\lib"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "data\*"; DestDir: "{app}\data"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "Arduino15\*"; DestDir: "{localappdata}\Arduino15"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "preferences.txt"; DestDir: "{userappdata}\Arduino";
Mostly the example codes and wizard files.
awesome! thanks. that looks like it will help me build/create a package for Linux to be "unzipped" and ran. :mrgreen:

Sent from my XT1585 using Tapatalk

Re: New IDE v1.6.8

Posted: Tue Aug 15, 2017 10:19 am
by binder
I did some further digging into everything to get a build working for me.
I tested both of the installers linked in the OP and I came across some stuff:
  • None of the installers contain the RA* board. (I have to use the boards.txt file that was provided in the discussion.)
  • The RA* bootloader is not included in the github repository.
I know that it's not a big deal but I did notice in the boards.txt file that the bootloader folder has changed a little and there's a reefangel folder that contains all the bootloaders for simplicity.

I'm assuming that the bootloader files were just copied and renamed to the appropriate RAPlus and RAStar hex files. Is there anything else different with them? Or can I just create the Star file using the same RAPlus file? I'm assuming this is safe and the way I need to handle it based on other discussions.

Re: New IDE v1.6.8

Posted: Tue Aug 15, 2017 11:56 am
by binder
SUCCESS!!

I now have a working arduino build for 64bit linux and uses the latest dev libraries and can talk to the RA* just fine. Woohoo!

Now I can get some of these fixes made and posted. :ugeek:

Re: New IDE v1.6.8

Posted: Wed Aug 16, 2017 9:21 am
by rimai
Yeah, the bootloader is only required once.
We never had to burn bootloader in the past, but if someone were to create RA* from scratch, they would need that.
Attached is a revised board.txt and the bootloader. I changed the name to comply with what I had in here.

Re: New IDE v1.6.8

Posted: Wed Aug 16, 2017 9:44 am
by binder
cool. i didn't think we needed to worry about it because it was already set. however arduino wouldn't let me compile and upload without having it.
i remember with the original ra when you switched bootloaders and we had to burn the optiboot one....i still have my programmer from back then for it....never had to use it since either. :-)


Sent from my iPad using Tapatalk

Re: New IDE v1.6.8

Posted: Mon Oct 16, 2017 12:20 pm
by Naptalene
Hi,

When I use the Dev IDE and the web wizard, my custom labels don't come up on the head unit and my DCpump mode doesn't reflect the correct mode on startup. The DCpump mode is a bit of a non-issue as once I re-set it via the U-App it's fine.
If I revert to the standard IDE (1.1.3 not the dev) it all loads as expected.

Have I missed something?

Thanks

Re: New IDE v1.6.8

Posted: Mon Oct 16, 2017 4:46 pm
by rimai
We were running into issues with the labels being declared the way they were.
So everything got moved to RA_CustomsLabels.h file.
You need to manually edit it if you are using the Arduino IDE.
The web wizard needs to be updated still. It's on my todo list.

Re: New IDE v1.6.8

Posted: Tue Oct 17, 2017 12:01 am
by Naptalene
Ah, ok cool, thanks :)
I have gotten a second RA system for my new build and I've started coding it. Am I correct that the web wizard and IDEv1.6.8 are where the system is headed? So it makes sense to keep programming with one of those two instead of the older standard version?

EDIT- Geez, after using the WebPlugin, the IDE is EXTREMELY ugly and bright lol. It's much more pleasant to use the webplug.

Re: New IDE v1.6.8

Posted: Tue Oct 17, 2017 8:57 am
by rimai
I think you are better off using the web wizard from now on.

Re: New IDE v1.6.8

Posted: Tue Oct 24, 2017 4:46 am
by Naptalene
Ok Cool, thanks :)

Re: New IDE v1.6.8

Posted: Tue Nov 28, 2017 8:41 pm
by binder
rimai wrote:Do you happen to have Sierra OSX?
I may need to update the IDE again and recompile :(
https://github.com/arduino/Arduino/issues/5360
I know this is on your list of items, but just checking on the status of this. I'm running High Sierra OSX as my main setup for now (and probably will be for several months).
I can switch to running a VM of linux to get things working for me (since I already had/have it running under linux).
Anyways, just curious. :?:

Re: New IDE v1.6.8

Posted: Tue Nov 28, 2017 11:15 pm
by rimai
Sorry... :(
No update.
I need to find the new VM for the MacOSX

Re: New IDE v1.6.8

Posted: Wed Nov 29, 2017 5:08 am
by binder
rimai wrote:Sorry... :(
No update.
I need to find the new VM for the MacOSX
no worries. I just wanted to ask.

Sent from my XT1585 using Tapatalk

Re: New IDE v1.6.8

Posted: Wed Nov 29, 2017 10:39 am
by binder
rimai wrote:Sorry... :(
No update.
I need to find the new VM for the MacOSX
is there something i could do to help out?


Sent from my iPad using Tapatalk

Re: New IDE v1.6.8

Posted: Wed Nov 29, 2017 11:07 am
by rimai
You can try recompiling the Arduino IDE on your OS :)
https://github.com/reefangel/Arduino
You would need to fork it, merge with the latest release from Arduino team branch. They are already on 1.8.5
Then compile.
The fix for Sierra was released around 1.6.12 and my fork is on 1.6.8

Re: New IDE v1.6.8

Posted: Wed Nov 29, 2017 12:25 pm
by binder
rimai wrote:You can try recompiling the Arduino IDE on your OS :)
https://github.com/reefangel/Arduino
You would need to fork it, merge with the latest release from Arduino team branch. They are already on 1.8.5
Then compile.
The fix for Sierra was released around 1.6.12 and my fork is on 1.6.8
ok. i’ll look into doing that sometime later this week. might as well let my laptop do something with the background cpu cycles when i’m using a web browser to do my office paperwork.


Sent from my iPad using Tapatalk

Re: New IDE v1.6.8

Posted: Wed Nov 29, 2017 8:37 pm
by binder
rimai wrote:You can try recompiling the Arduino IDE on your OS :)
https://github.com/reefangel/Arduino
You would need to fork it, merge with the latest release from Arduino team branch. They are already on 1.8.5
Then compile.
The fix for Sierra was released around 1.6.12 and my fork is on 1.6.8
I've got the latest 1.8.6 compiled on my system. Now I have switched over to migrating 1.8.5 release (since 1.8.6 isn't finalized yet) into the reefangel branch and will be getting that to compile. I'm done working on it tonight, so I'll be working on it more in the next few days. I just have to make sure that the changes are maintained in your branch and that I follow along with the new changes that were made to the environment. Anyways, I should have a working build of the RA Arduino this weekend and I'll get it to you for you to test out and then package up for distribution.

Re: New IDE v1.6.8

Posted: Sun Feb 04, 2018 9:57 am
by binder
When I try and run the wizard or restore default code for example, I see errors like this.

Code: Select all

Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: processing.app.Base.getSketchbookFolder()Ljava/io/File;
	at com.reefangel.tool.Wizard$WizardPreferences.<clinit>(Unknown Source)
	at com.reefangel.tool.Wizard.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
roberto, what did you have to do on the mac to get rid of this error? i’ve got 1.8.5 compiled and running but i get this error with the addon functions and the boards are incorrect.
i have copied the file to the applications to replace the 1.6.8 install but i still get the errors. did you have to add the addon tools to the source folders along with the boards file during the build process? i haven’t had much time to dive into it fully so i figured i would ask you since you have your build process.


Sent from my iPad using Tapatalk

Re: New IDE v1.6.8

Posted: Sun Feb 04, 2018 12:07 pm
by rimai

Re: New IDE v1.6.8

Posted: Mon Feb 05, 2018 8:21 pm
by binder
rimai wrote:Try these tools folder.
https://www.dropbox.com/s/0fxyokdsm7s1m ... s.zip?dl=0
The Reef Angel Libraries version works from these tools.
The Restore Preloaded Code and the Wizard do not. This is not a problem for me since I don't use any of them, but it could/would be a problem for others.
I get the same errors when I run the tools:

Code: Select all

Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: processing.app.Sketch.getCode(I)Lprocessing/app/SketchCode;
	at com.reefangel.tool.Wizard.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Re: New IDE v1.6.8

Posted: Mon Feb 05, 2018 10:01 pm
by rimai
There might be a change on the Arduino IDE that requires the wizard and preloaded code to be recompiled too.
I have only tested on v1.6.8.