nitred / ccRTC

RTC library for CC3200 on the Energia Framework
MIT License
3 stars 1 forks source link

ccRTC doesn't work EMT feature in Energia 16 #1

Open kingofl337 opened 9 years ago

kingofl337 commented 9 years ago

I really like your module any chance you would know how to make it work with the EMT version of Energia?

Here is the error. In file included from C:\Users\amartin\Documents\Energia\libraries/ccRTC/ccRTC.h:2:0, from relay_0_7.ino:10: C:\energia-0101E0016/hardware/cc3200emt/cores/cc3200emt/driverlib/prcm.h:201:26: error: variable or field 'PRCMMCUReset' declared void extern void PRCMMCUReset(tBoolean bIncludeSubsystem); ^ C:\energia-0101E0016/hardware/cc3200emt/cores/cc3200emt/driverlib/prcm.h:201:26: error: 'tBoolean' was not declared in this scope C:\energia-0101E0016/hardware/cc3200emt/cores/cc3200emt/driverlib/prcm.h:209:8: error: 'tBoolean' does not name a type extern tBoolean PRCMPeripheralStatusGet(unsigned long ulPeripheral); ^ C:\energia-0101E0016/hardware/cc3200emt/cores/cc3200emt/driverlib/prcm.h:254:8: error: 'tBoolean' does not name a type extern tBoolean PRCMRTCInUseGet(void); ^ make: *\ [relay_0_7.obj] Error 1 C:\energia-0101E0016\tools\common\bin\make returned 2

rgbetanco commented 8 years ago

I changed the .../driverlib/pcmr.h file, just change the tBoolean for _Bool and it will compile and work fine

nitred commented 8 years ago

Off topic note ; Hello guys, I'm sorry I noticed this very late. I have stopped support for this repository mainly because I'm using the CC3200 anymore. If any of you guys are willing to take over, I'll happily hand it over. I'll update the license as well.