This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Files to chnage: arch/arm/mach-omap2/board-am335xevm.c | |
| ------------------------------------------------------------------------ | |
| + bbcape7lcd_init(); | |
| ------------------------------------------------------------------------ | |
| Initilization of bbcape7" lcd function declaration | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Enable Backlight Support: | |
| File Names changed : arch/arm/mach-omap2/board-am335xevm.c | |
| arch/arm/mach-omap2/mux33xx.c | |
| File Name: arch/arm/mach-omap2/board-am335xevm.c | |
| ------------------------------------------------------------------------------------------- | |
| +#include <linux/pwm/pwm.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| For adding ethernet support platform supported PHY values are added | |
| File Name : "arch/arm/mach-omap2/include/mach/board-am335xevm.h" | |
| + | |
| +/* Define Ethernet Phy Types */ | |
| +#define MII_MODE_ENABLE 0x0 | |
| +#define RMII_MODE_ENABLE 0x5 | |
| +#define RGMII_MODE_ENABLE 0xA | |
| +#define MAC_MII_SEL 0x650 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| For Kerenl porting/u-boot porting there are 3 types of files added/changed | |
| 1.cpu spefic files [arm cortex-A8 processor] | |
| 2.Machine/architecture spefic files [AM335x ] | |
| 3.Board spefic files [Beagle bone] | |
| Machine/Architecture spefic files are presented commonly in cpu and | |
| board realted files for ex.arch/arm/cpu/armv7/am335x/*.c | |
| [for armv7 processor --are cortex A8 and for am335x architecture spefic] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| File Name: arch/arm/mach-omap2/board_am335x_evm.c | |
| Complete analysis of template board file, this file gives minium requirements | |
| for the board to up and it gives priority to user to add other I/O devices such | |
| as LCD, MMC, NAND for providing kerenl support. | |
| MACHINE_START(AM335XEVM, "am335xevm") | |
| /* Maintainer: Texas Instruments */ | |
| .atag_offset = 0x100, | |
| .map_io = am335x_evm_map_io, | |
| .init_early = am33xx_init_early, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| I2C with segment display | |
| #include <LPC214x.h> | |
| #include <stdio.h> | |
| #define MAX 6 | |
| //<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Declarations >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> | |
| void I2C_ISR(void)__irq; | |
| void Wait (unsigned int); | |
| void I2C_Init (void); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This program is for sequential search | |
| #include <stdio.h> | |
| int main() | |
| { | |
| int key[20],i,s; | |
| int key1; | |
| printf("Enter the no. of elements:\n"); | |
| scanf("%d",&s); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Program is to find the "String matching pattern from source string". | |
| #include <stdio.h> | |
| #include <string.h> | |
| int match(char[],char[]); | |
| int main() | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| int main() | |
| { | |
| int s,temp,i,j,a[20]; | |
| printf("Enter total no. of elements:"); | |
| scanf("%d",&s); | |
| printf("Enter %d elements:",s); | |
| for(i=0;i<s;i++) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This Program is for queue implementation using arrays in C. | |
| #include <stdio.h> | |
| #define N 6 | |
| int queue[N] = {0}; | |
| int rear = 0,front = 0; | |
| void insert(void); | |
| void delete(void); | |
| void display(void); |