Skip to content

Update to compile with newer avr-gcc versions.#5

Open
dietervansteenwegen wants to merge 4 commits intoadafruit:masterfrom
dietervansteenwegen:hourly_beep
Open

Update to compile with newer avr-gcc versions.#5
dietervansteenwegen wants to merge 4 commits intoadafruit:masterfrom
dietervansteenwegen:hourly_beep

Conversation

@dietervansteenwegen
Copy link

Interrupt vector names have been changed since the last commit of this code.

This page shows the new names.

Additionally, the SIGNAL() macro is deprecated and should be replaced with ISR(). See this note.

And newer versions of the avr-gcc compiler require that variables in PROGMEM are declared as const (see the GCC docs).

@dietervansteenwegen
Copy link
Author

Some additional information: I wanted to add an hourly beep (during office hours) option to the code.

I couldn't not get the gcc compiler to code as it was. These are the minimum changes to update it to new requirements/interrupt vector names.

Yes, some people are still using this clock :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant