Coder Social home page Coder Social logo

Comments (22)

Dogm avatar Dogm commented on July 21, 2024

it handle errors in current state

from sailfish-mightyboardfirmware.

dcnewman avatar dcnewman commented on July 21, 2024

Use gcc 5.x at your own risk. It may or may not work. Back in 2012 we were never been able to get gcc 4.7 or 4.8 to produce correct, working code. The Marlin folks recently tried gcc 4.8 and have encountered problems. (That happened because newer versions of the Arduino app have moved from 4.3 to 4.8.) The problems generally manifest while actually printing. Consequently, we only build Sailfish with the avr-gcc 4.6.2 or 4.6.3 tool chains.

from sailfish-mightyboardfirmware.

Dogm avatar Dogm commented on July 21, 2024

ok change to correct links please - no matter version
! current file contains broken links

from sailfish-mightyboardfirmware.

dcnewman avatar dcnewman commented on July 21, 2024

If you know working links for 4.6.2 or 4.6.3, then I can update them. Problem is, the links do not remain viable for ever so it becomes a constant battle keeping them up to date. A better alternative may be to find the tarballs for that chain and park them here at github. I do not recall if I have the tarballs lying about or not. Will take several days to find out (as I'm traveling at the moment).

from sailfish-mightyboardfirmware.

Dogm avatar Dogm commented on July 21, 2024

did you mean this?
http://www.netgull.com/gcc/releases/gcc-4.6.3/gcc-4.6.3.tar.gz
http://www.netgull.com/gcc/releases/gcc-4.6.3/gcc-core-4.6.3.tar.gz
http://www.netgull.com/gcc/releases/gcc-4.6.3/gcc-g++-4.6.3.tar.gz

this links is work for me,
and need correct scripts

from sailfish-mightyboardfirmware.

Dogm avatar Dogm commented on July 21, 2024

also i dont see any avr-libc-1.7.2 version
In old folder max version:

p.s. good traveling 8)

from sailfish-mightyboardfirmware.

dcnewman avatar dcnewman commented on July 21, 2024

On 06/08/2015 8:01 AM, Dogm wrote:

did you mean this?
http://www.netgull.com/gcc/releases/gcc-4.6.3/gcc-4.6.3.tar.gz
http://www.netgull.com/gcc/releases/gcc-4.6.3/gcc-core-4.6.3.tar.gz
http://www.netgull.com/gcc/releases/gcc-4.6.3/gcc-g++-4.6.3.tar.gz

Needs binutils (e.g., 2.22) and avrlibc (e.g., 1.7.2rc2252) as well.

Have you looked at

https://github.com/jetty840/Sailfish-MightyBoardFirmware/tree/master/dist/build-avr-gcc

Dan

from sailfish-mightyboardfirmware.

Dogm avatar Dogm commented on July 21, 2024

http://ftp.gnu.org/gnu/binutils/binutils-2.22.tar.gz
http://ftp.gnu.org/gnu/binutils/binutils-2.22.tar.bz2

from sailfish-mightyboardfirmware.

Dogm avatar Dogm commented on July 21, 2024

All ways avr-libc going to

Sample:

from sailfish-mightyboardfirmware.

Dogm avatar Dogm commented on July 21, 2024

It's dummy idea but maybe make VirtualBox/Wmware vdi?
Sample: http://www.osboxes.org/ubuntu/

It will contains stable compilation stand
I mean fixed scheme for all needed packages and versions

what do you think about?

from sailfish-mightyboardfirmware.

dcnewman avatar dcnewman commented on July 21, 2024

Good idea.

I use vagrant, virtualbox, and vmware fusion all the time, including using boxcutter, etc. to make compact, downloadable VMs. So, I'm familiar with the concept. I'll give it some thought. Not something I can do until easily until next week when I return from my travels. I may also just "make clean" and tar up the necessary tool chain packages -- they'll be easier for folks to download and build.

from sailfish-mightyboardfirmware.

dcnewman avatar dcnewman commented on July 21, 2024

Note that you can use avr-libc 1.8. You just need to make the #defines's mentioned in the avr-gcc.mardown page,

DELAY_BACKWARD_COMPATIBLE
PROG_TYPES_COMPAT

from sailfish-mightyboardfirmware.

Dogm avatar Dogm commented on July 21, 2024

also need update avrdude (config + win ver)
https://drive.google.com/folderview?id=0BxaDtEyC1MbnfnNERDBNU0R1YTk2UjhQN1hUb1NQOHhkal9rUjdlSlBIRFFMc1lkN3FSU0k&usp=sharing

from sailfish-mightyboardfirmware.

Dogm avatar Dogm commented on July 21, 2024
  • this version support programmer usbasp
  • this config allow use Atmega 16u2 chips
  • this allow use https://github.com/zkemble/AVRDUDESS
  • this version have more stable write to chip with auto-retry

from sailfish-mightyboardfirmware.

dcnewman avatar dcnewman commented on July 21, 2024
  1. I've updated build-avr-gcc-ubuntu12.04.sh to use gcc 4.6.3 and avrlibc 1.8.1.
  2. I've introduced Compat.hh which for now detects avrlibc 1.8 and later and automatically defines some definitions to allow the old _delay(), prog_uchar, and prog_char to be used. Compiles wiil toss warnings about prog_char and prog_uchar being deprecated.

Later, I'll build a fresh 12.04.5 VM in virtual box and do a full test. Then, I'll see what can be done to make the box available.

from sailfish-mightyboardfirmware.

Dogm avatar Dogm commented on July 21, 2024
  1. thanks will test this...

from sailfish-mightyboardfirmware.

dcnewman avatar dcnewman commented on July 21, 2024

And I'm doing a

vagrant package --base "Ubuntu 64bit 12.04.5"

at this moment. The package.box will likely be ~2GB... So, I may not get it uploaded anywhere until I return from my travels.

from sailfish-mightyboardfirmware.

dcnewman avatar dcnewman commented on July 21, 2024

I won't be able to upload the actual VM until after I'm done travelling. Loading 1.2GB will just take too long.

from sailfish-mightyboardfirmware.

Dogm avatar Dogm commented on July 21, 2024

hmmm why 1.2Gb?
maybe zip?

from sailfish-mightyboardfirmware.

dcnewman avatar dcnewman commented on July 21, 2024

That is compressed. Standard trick of zeroing out the drive

sudo dd if=/dev/zero of=/EMPTY bs=1M
sudo rm -f /EMPTY

then shutting down the VM and letting Vagrant package and compress it. They just aren't small. (The .iso image itself for Ubuntu was 758M and it expanded to over 1.5G after being installed.)
that was with a variable sized Virtual Box .vdi for the virtual disk.

These things just aren't small. It was the Ubuntu 12.04.5 64bit desktop install with only libreoffice* removed. (Saves a little space.) But all of gnome and base stuff was there. Adds up.

from sailfish-mightyboardfirmware.

Dogm avatar Dogm commented on July 21, 2024

why 64bit is need for compilers?
maybe just use x86 build (if it's smaller)?

from sailfish-mightyboardfirmware.

dcnewman avatar dcnewman commented on July 21, 2024

Habit. I always only make 64bit VMs and never bother with 32bit. I can try making a 32bit one and see if it's any smaller. It will be smaller. I just don't know how much smaller.

from sailfish-mightyboardfirmware.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.