ucosii

ucosii

ucosii-1

1. Download attachments, try to compile and run ucos in the vc6.0

2. Download attachments, try to compile run ucos vs2017, give your problems and solutions

First, download and install vc6.0, very well run and the following results

after downloading vc2017, always display the download fails, then from there to test the students, they always fail configuration, and finally gave up

ucosii-2 (OPTIONAL)

Reading the code in the annex, replied:

How 1. ucos are hierarchical?

2.HAL have what code?

3. Analyze how the task switching.

1. divided into four layers:
hardware-dependent layer: In this layer, there are three most important interface Open, Close, Ctrl. Open accomplished primarily correspond to hardware initialization, parameter includes a bit, initialization parameters. Close disability hardware. Ctrl to implement some changes to control such as: priority interrupt callback function and so on, different hardware, content is also very different.
Driver Interface Layer: an interface used in one or more hardware layers, combined to achieve a particular functionality program.
Application Interface Layer: main drive and connecting applications.
Application layer: in this module may have a common modular main header file, to facilitate maintenance of the module. In fact, direct access to the hardware interface to the calling application can be completed.

Guess you like

Origin www.cnblogs.com/20175203mayuda/p/12116176.html