Based on ARM + LINUX embedded software development, the main content is: U-Boot porting, kernel cropping and related drivers.ProgramDesign, root-Fs production, application design. The application mainly includes two aspects: GUI Design and logical control program implementation. During the entire developmentCodeThere are two aspects of the volume: Driver and application. General development boards all have related underlying driver routines. developers can use them in engineering projects with slight modifications (in fact, I don't know if this will violate anything like property rights, ).
First, the driver design.
It is easy to think that the LED is directly connected to the CPU gpio pin on the board, that is, the control of the corresponding gpio is the control of the peripheral led, the following table lists the resource usage of LEDs as peripherals on the board.