This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to develop Linux driver for cc2540

Other Parts Discussed in Thread: CC2540

Our board is using TI DM368 as application processor and cc2540 chip to connect with other bluetooth devices,  DM368 and cc2540 are connecting with uart (/dev/ttyS1),

We put cc2540 working in Network Processor mode, which is flashed HosttestApp hex, so dm368 should send HCI command to cc2540 in order to connect other bluetooth peripheral device, in order word we should develop driver for cc2540 in dm368 platform, which is running linux operation system. 

I have been searching all over the web without luck for the source code to the cc2540 with which we can use on the Montavista Linux (2.6.18) or any open source DM368 Linux (GIT) currently running on our DM368-custom target.  Does you know where I can find the driver source code or can any reference code?

We can use BTOOL in windows platform to talk with cc2540, but we cann't find the source code. If we can find this project code, we can port this code to Linux Platform. 

Thanks.