I checked it out and I really liked the way things are separated out
into modules. Right now I am going through the code. May be once I get
an handle of the code, will be able to contribute to it.
>>
>> But when I try to do make it still gives me a error that intrinsics.h
>> is missing. Attached the error message below.
>
> The commit that removes it is recent, maybe Aljaz pushed the commit
> without testing :p Have you tried commenting out the #include?
> I don't have a toolchain here so I cannot push a fix right now.
The instrinsics.h header file was included in the following 4 files.
ack-grep intrinsics.h
simpliciti/Components/bsp/bsp.h
42:/*#include <intrinsics.h>*/
simpliciti/Components/bsp/mcus/bsp_msp430_defs.h
80:/*#include <intrinsics.h>*/
122:/*#include <intrinsics.h>*/
136:/*#include <intrinsics.h>*/
simpliciti/Components/nwk/nwk_QMgmt.c
40://#include <intrinsics.h>
include/project.h
42:/*#include <intrinsics.h>*/
I commented out all of them, but then get the following error
driver/rf1a.o: In function `ReadSingleReg':
rf1a.c:(.text+0x6): undefined reference to `__get_interrupt_state'
rf1a.c:(.text+0x1a): undefined reference to `__set_interrupt_state'
driver/rf1a.o: In function `WriteSingleReg':
rf1a.c:(.text+0x2e): undefined reference to `__get_interrupt_state'
rf1a.c:(.text+0x60): undefined reference to `__set_interrupt_state'
driver/rf1a.o: In function `Strobe':
rf1a.c:(.text+0x84): undefined reference to `__get_interrupt_state'
rf1a.c:(.text+0x100): undefined reference to `__set_interrupt_state'
driver/rf1a.o: In function `ReadBurstReg':
rf1a.c:(.text+0x130): undefined reference to `__get_interrupt_state'
rf1a.c:(.text+0x172): undefined reference to `__set_interrupt_state'
driver/rf1a.o: In function `WriteBurstReg':
rf1a.c:(.text+0x18a): undefined reference to `__get_interrupt_state'
rf1a.c:(.text+0x1cc): undefined reference to `__set_interrupt_state'
driver/rf1a.o: In function `WritePATable':
rf1a.c:(.text+0x1dc): undefined reference to `__get_interrupt_state'
rf1a.c:(.text+0x240): undefined reference to `__set_interrupt_state'
collect2: ld returned 1 exit status
make: *** [main] Error 1
So I think, we can't just comment out all the includes.
Let me try to compile after reverting the last commit
>>
>> I installed the msp430 toolchain in Ubuntu by using the following command
>>
>> apt-get install gcc-msp430
>>
>> Can someone kindly tell me if I am missing something. Thanks for your time.
>
> Just check that that msp430 version is not the deprecated mspgcc4.
The version I am using is msp430-gcc (GNU GCC patched mspgcc-20110716)
4.5.3. I think this is not the deprecated one.