avr-libc3
avr-libc3 copied to clipboard
Commit ff52582 does not build
I've identified a few issues with the latest commit ff52582 which prevent it from building:
-
There's a command line in
Makefile.in
that's indented with 4 spaces instead of a tab which causes an error when make tries to parse the file. -
The header file avr/io.h now has a block surrounded by
#if !defined(AVR_LIBC_LEGACY_IO)
...#endif
. The problem is that this conditional block skips includingavr/common.h
(and others) whenAVR_LIBC_LEGACY_IO
is defined. This causes the compiler to eventually generate an error sinceAVR_STACK_POINTER_REG
inlibc/stdlib/stdlib_private.h
is no longer defined. -
Many of the header files in
avr/legacyio
refer to common headers which were previously just in theavr
directory. For example,iom48.h
includesavr/iomx8.h
. Sinceiomx8.h
has been moved tolegacyio
directory this and other include directives fail.
This version is a work in progress, i seriously didn't expect anyone to use it yet. That said, your patches are appreciated. I am currently heavily tied up with work so can't get much time to work on this, but i haven't abandoned it. So if you like to propose patches, i am happy to apply them.
I suggest to follow a branching model like git-flow, which makes it much easier for people to see what is work in progress, and what is deployable.