Page 1 of 1

spi control of L3GD20

Posted: Sat Mar 02, 2013 12:04 am
by taisik_ham
I have written spi code to control the L3GD20 on the stm32f3discouvery board.

Where should I put the spi code controlling the L3GD20 so that it can be used by other chibios supported mcu?

regards
Taisik

Re: spi control of L3GD20

Posted: Sat Mar 02, 2013 8:11 am
by Giovanni
Hi,

If it is portable code its place is under ./os/various/devices_lib/xxxx.

If you want to make it available to everybody then the best way is to post the code in the "Contributions" forum, make sure to include the files and a brief explanation of how yo use it.

Giovanni