Vmware-based ECOs application testing (Hello wold)

Source: Internet
Author: User

(1) script configuration
Ecosconfig new PC
Cdl_component cyg_hal_startup {
# Flavor: Data
# No user value, uncomment the following line to provide one.
User_value floppy (the modified location here)
# Value_source default
# Default value: Ram
# Legal values: "Ram" "Floppy" "Rom" "Grub"
....
}
# Default console channel.
#
Cdl_option cygnum_hal_virtual_vector_console_channel_default {
# Flavor: Data
# No user value, uncomment the following line to provide one.
User_value 2 (here the modified location)
# Value_source default
# Default value: 0
# Legal values: 0 to CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS-1
# Cygnum_hal_virtual_vector_comm_channels = 3

# The following properties are affected by this value
# Option cygnum_hal_virtual_vector_console_channel
# Defaultvalue: ygnum_hal_virtual_vector_lele_channel_default (the modified location here)
};
Ecosconfig tree
Make
Hello. c In the copy ecos-3.0 source file
CP ../ecos-3.0/examples/Hello. C ./
Compile hello. c
I386-elf-gcc-g-d_ecos-I./install/include hello. C-L./install/lib-ttarget. LD-nostdlib-O hello
I386-elf-objcopy-O binary hello. Bin
Generate a floppy Image
Dd Conv = sync if = Hello. bin of = Hello. Sort BS = 1440 K

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.