Re: New IDE v1.6.8
Posted: Sat Aug 05, 2017 7:37 pm
Sorry. It was committed to my local git and I never pushed it to github
I just did now
I just did now
Community discussion about Reef Angel Controllers and reefing related subjects
http://forum.reefangel.com/
ok. no worries. thanks!rimai wrote:Sorry. It was committed to my local git and I never pushed it to github
I just did now
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.
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).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
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
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";
awesome! thanks. that looks like it will help me build/create a package for Linux to be "unzipped" and ran.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:Mostly the example codes and wizard files.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";
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).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
no worries. I just wanted to ask.rimai wrote:Sorry...
No update.
I need to find the new VM for the MacOSX
is there something i could do to help out?rimai wrote:Sorry...
No update.
I need to find the new VM for the MacOSX
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.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.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
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.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)
The Reef Angel Libraries version works from these tools.rimai wrote:Try these tools folder.
https://www.dropbox.com/s/0fxyokdsm7s1m ... s.zip?dl=0
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)