energia / Energia

Fork of Arduino for the Texas Instruments LaunchPad's
http://energia.nu
Other
795 stars 671 forks source link

StellarPad branch: startup_gcc.c missing #include "inc/hw_nvic.h" #134

Closed bryanschremp closed 11 years ago

bryanschremp commented 11 years ago

I began getting compile errors this morning. I found that the startup_gcc.c was missing the include file for hw_nvic.h

Added:

include "inc/hw_nvic.h"

rei-vilo commented 11 years ago

I confirm: I have the same problem.

RickKimball commented 11 years ago

This include was in Energia.h and is needed by other downstream files. I added it here: https://github.com/energia/Energia/commit/eca818ddfeccd37acf8738abd5bcfc6a9ab60f4d It seems like it got lost in this merge: https://github.com/energia/Energia/commit/0a2fea863ccc883efe466687255584dbf0053504

rei-vilo commented 11 years ago

#include "inc/hw_nvic.h" is gone again from after Energia.h the following commits

November 16, 2012 Revisore pushed to stellarpad at energia/Energia

22f59d5 Changed Wire default module and trimmed code. Added selectModule() to… 9326c0c Added EEPROM library

rei-vilo commented 11 years ago

It seems there are two conflicting batches of files.

I opened issue #135 as other commits are lost.

rei-vilo commented 11 years ago

Seems to have been fixed with commit 140675b

Fix missing compiler define (issue #137)

Some of the libraries depend on having "gcc" defined. This fix adds a -Dgcc to the commandline args.

If issue fixed, please close.