Couldn't get TI cc2530 based ZBOSS stack

Added by dwaraka nath over 7 years ago

Hi all,

I couldnt get ZBOSS for CC2530.

can anyone provide me the source..

Thanks in Advance.


Replies (7)

RE: Couldn't get TI cc2530 based ZBOSS stack - Added by Denis Akopov over 7 years ago

It's the same sources as for all other platforms. For CC2530 ZBOSS can be compiled using IAR. IAR project file located in the project root.

RE: Couldn't get TI cc2530 based ZBOSS stack - Added by dwaraka nath over 7 years ago

I tried to compile the available stack for CC2530.

I set the project options for TI cc2530 and appropriate linker options.

when I compile the UBEC's codes are also including and generating errors.

RE: Couldn't get TI cc2530 based ZBOSS stack - Added by Denis Akopov over 7 years ago

ZBOSS can be compiled using IAR right out of box.
I think you can unpack ZBOSS to a clean folder and try to build it using iar w/o changing any settings or options.
If it won't help, please provide me more details about your actions and errors generated by IAR.

RE: Couldn't get TI cc2530 based ZBOSS stack - Added by Justin King-Lacroix over 7 years ago

What about using SDCC? (I'm at a university which, as far as I know, doesn't have an IAR license floating around.)

RE: Couldn't get TI cc2530 based ZBOSS stack - Added by Denis Akopov over 7 years ago

You can try to build SDCC version (do not forget to make sure that you have all ZB_CC25XX defined and make file conatins all CC2530 related files)

ln -s build-configurations/Platform-8051 Platform
ln -s build-configurations/Options-8051-sim-debug Options
make rebuild

But, please note, that SDCC support in ZBOSS is very limited. No more than a simple association etc. SDCC generates huge and dirty code and requires tons of workarounds.
Probably we or anybody from the community will try new version of SDCC to check if something changes with it.

RE: Couldn't get TI cc2530 based ZBOSS stack - Added by Justin King-Lacroix over 7 years ago

Oh... is there another open-source compiler that could work, then? Say a GCC variant?

RE: Couldn't get TI cc2530 based ZBOSS stack - Added by Denis Akopov over 7 years ago

Well, GCC has stubs for 8-bit MCU (CC2530 is 8-bit) but has no implementation.
If you're talking about AVR-GCC - We didn't tried it.
From the box ZBOSS can be build for network simulator using GCC and for ARM11 using GCC-Based toolchain.

(1-7/7)