New IDE v1.6.8

Related to the development libraries, released by Curt Binder

Posts: 11723
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: 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
Roberto.
User avatar
Posts: 2562
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
PostPosted: Sat Aug 05, 2017 8:00 pm
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
User avatar
Posts: 2562
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
PostPosted: Sun Aug 06, 2017 10:19 am
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?

Posts: 11723
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Sun Aug 06, 2017 11:48 am
Hummm.
I don't get this error here and can't replicate :(
Roberto.

Posts: 11723
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Sun Aug 06, 2017 11:51 am
Do you happen to have Sierra OSX?
I may need to update the IDE again and recompile :(
https://github.com/arduino/Arduino/issues/5360
Roberto.
User avatar
Posts: 2562
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
PostPosted: Sun Aug 06, 2017 12:37 pm
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
User avatar
Posts: 2562
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
PostPosted: Tue Aug 08, 2017 4:00 pm
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

Posts: 11723
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Tue Aug 08, 2017 4:05 pm
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
Roberto.

Posts: 11723
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Tue Aug 08, 2017 4:09 pm
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.
Roberto.
User avatar
Posts: 2562
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
PostPosted: Tue Aug 08, 2017 4:25 pm
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
PreviousNext

Return to Development Libraries

Who is online

Users browsing this forum: No registered users and 1 guest