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
spi control of L3GD20
Moderator: RoccoMarco
- 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
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
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