spi control of L3GD20

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
taisik_ham
Posts: 7
Joined: Fri Mar 01, 2013 11:58 pm

spi control of L3GD20

Post 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
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: spi control of L3GD20

Post 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
Post Reply