I am pleased to report that 1.8.6 on macOS compiles a Plus and Star code without any errors. I have not tested uploading the code to the controller but I can say everything compiles just fine. So the latest version you have posted as the time of this post appears to works for macOS.
Like you reported, none of the "extras" work...the Libraries Version, Wizard and Restore Pre-loaded code.
I know in my attempt for building 1.8.5, I was able to get the Libraries Version function to work. Although that's not a big deal. Just sharing.
New IDE 1.8.6
21 posts
• Page 2 of 3 • 1, 2, 3
I also can compile the arm version of the IDE and can compile code for the RA boards. I had to do some extraction from the MAC build to get the boards/firmwares/variants correct, but all appears well. I have an issue where the IDE is unable to find the features.txt file, but the error appears to be superficial and proceeds with the compile. When I attempt to compile an actual RA wizard generated sketch I end up with a bunch of library class errors. I will have to dig into those later. Below are my current state errors along with notes for the prerequisites and IDE compile process.
Library Errors:
Notes:
|
|
Ok resolved the features file issue by copying it from a windows build (I found an older thread where Roberto explained the IDE customization which is pretty critical!). All is well now, compiling, and updating my test mega with RA* code. Will move over and install in place, bridge the serial to network via socat and leave the Pi enabled all the time for sudo-OTA updates
![]() |
|
nice.
maybe create a new thread describing your layout and what you did so others could possibly reproduce? it's up to you. very cool though. ![]() Sent from my XT1585 using Tapatalk |
|
I can confirm that the 1.8.6 release also works on Windows, once a few files missing from the Dropbox release are copied from something else. (They're also missing from the Github page.) I had to copy boards.txt and hardware\arduino\avr\variants\RAPlus\pins_arduino.h from the MacOS release. (Which can be opened with 7zip, and probably other Windows tools.)
I also had success building and installing with a normal installation of 1.8.6, using the "mega2560" board. As far as I can tell, the only thing missing is the automatic ReefAngel_Features.h generator. I had wasted some amount of time trying to get the installer from the "downloads" page working (reefangel.CENSORED / download.html); it might be nice to eliminate that and replace it with a link to this thread. |
|
Yes, the only sigficant difference is the automatic generation of the features file.
The downloadable installer doesn't have the star board. I decided that the webwizard was a better option for everyone and that's why this ide was never mainstream. webwizard Roberto.
|
|
Yes, I agree that the webwizard is a more mainstream option; I guess the better suggestion would be to delete the 1.x download (which doesn't work) and instead link to the webwizard, with maybe also a link to this thread or forum with a comment about how to use the Arduino IDE.
![]() Incidentally, the .ino file only needs to have
|
|
That's good to know.
I'll try it out. Roberto.
|
|
That's pretty cool. Something must have changed. We couldn't do that in the past. Roberto.
|
|
Yes, it's new since 1.6.6. I can't post links; there's a discussion at questions/6504211/ on stackoverflow. I don't know quite how it works, but I suspect it's also one of the reasons it takes so long to compile RA on Arduino. I should make a post about using PlatformIO (thanks for merging!); it's got different issues than Arduino but can do recompiles pretty quick.
The other big change in Arduino relatively recently is that the bundled version of avr-gcc now has proper C++11 support, which includes some features that can be useful to reduce the amount of RAM we require for global variables. I've been going through sort of randomly refactoring bits of the codebase trying to come up with a plan to cut RAM consumption dramatically while also allowing everything to be configured in the main sketch file, without having to modify ReefAngel_Features.h or the other header files. I'll either start a new forum topic or a pull request on Github to discuss if/when I've got a workable idea. (That's neither a threat nor a promise!) (By the way, I'm on a quest for RAM in part because I have this crazy idea to use SK6812 RGBW LEDs, aka NeoPixels, which allow individual color+brightness control of every individual LED but would require a whole bunch of RAM since I'll need hundreds of LEDs at four bytes a pop. This is for a planted freshwater tank; I suspect the RGBW LEDs are an even worse idea for reef tanks than FW.) |
|
21 posts
• Page 2 of 3 • 1, 2, 3
Return to Development Libraries
Who is online
Users browsing this forum: No registered users and 2 guests