annotate examples/hello.c @ 2180:c1e37181a6da

* include/flash_am29xxxxx_parts.inl [CYGHWR_DEVS_FLASH_AMD_MX29LV128]: * cdl/flash_amd_am29xxxxx.cdl: Add MXIC MX29LV128 part. * include/flash_am29xxxxx.inl: (find_sector) Fixed dealing with bootblocks. Was returning device block size even for boot blocks.
author asl
date Sun, 09 Apr 2006 11:33:52 +0000
parents ead06911cbae
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
168
ead06911cbae Add up-to-date examples
jlarmour
parents:
diff changeset
1 /* this is a simple hello world program */
ead06911cbae Add up-to-date examples
jlarmour
parents:
diff changeset
2 #include <stdio.h>
ead06911cbae Add up-to-date examples
jlarmour
parents:
diff changeset
3
ead06911cbae Add up-to-date examples
jlarmour
parents:
diff changeset
4 int main(void)
ead06911cbae Add up-to-date examples
jlarmour
parents:
diff changeset
5 {
ead06911cbae Add up-to-date examples
jlarmour
parents:
diff changeset
6 printf("Hello, eCos world!\n");
ead06911cbae Add up-to-date examples
jlarmour
parents:
diff changeset
7 return 0;
ead06911cbae Add up-to-date examples
jlarmour
parents:
diff changeset
8 }