C
building a module against given kernel tree (makefile with crosscompiler selection)
nazgee — Thu, 04/22/2010 - 15:05
There are two ways to build a *.ko file for a specific kernel version. New module can be added directly to a kernel source tree, or it can be build outside it. There are pros and cons of both scenarios, so and deciding on a way to go is a matter of personal favour.
Building a module outside a kernel tree is straightforward- all it takes is to use a makefile like the one attached to this text. By editing content of the configuration section shown below you can alter:
- path to the kernel sources that you'd like to finally insert your module to
Long, long time ago, when I began to loose my mind and money for RC helis, I came across Lithium-polymer batteries for the first time. My LiPo charger was... let's say "not perfect", so I decided to make something that will suit my needs and satisfy my will of creation - my own LiPo charger with integrated balancer.
LEDs were my fetish since I've managed to light first of them up, using 51 uc. This project is the result of this fascination.
Single SPIN unit is built of two boards:
- each of the two boards has 32 LEDs on each side
- both boards are equipped with single AA battery socket
SPIN can hold up to 16 images (32x256 radial pixels) which can be edited by user. It displays images only if bike is moving fast enough to let ti display persistent images (so it does not consume energy thoughtlessly).
