Embedded second summary

First, the embedded system development overview
? 1. What operating system embedded technology -> embedded operating system: management of resources, decoupling hardware and software;
2, embedded development direction: Embedded upper application development, embedded software development underlying system , embedded system engineers;
3, embedded learning route :( embedded operating systems, development tools, system application development (& GUI), system migration
4, with the knowledge of the system: C language, microcontroller, embedded operating system (compilation , C ++) programming language: C, C ++, assembler, Python OS: non-real-time (Linux) real-time (u cosi i) hardware basis: 51 32 arm 64 development tools + stm +: git / git hub , makefile prepared, gdb debugger, shell:
5, embedded operating system (portable operating system) species: Vxworks, Linux, uco SSII
6, select the embedded CPU (CPU architecture what?) driver, the kernel)
two, embedded Linux operating system:
learning content and objectives: introduce Linux, the Linux operating (command), Linux development tools target
1. install Linux development environment: vm virtual machine (by software simulation method pc), Why ? Select the dual system (embedded developers to interact with the kernel will cause a system crash)
Linux distributions (version issued to the user's)
RedHat (CentOS 7. Enterprise Edition)
Ubuntu (16.10, 18.04)
How to install deepin -? Own installation
2.Linux Introduction (POSIX; GPL, GNU) 1991 Linux 0.1 GPL: GPL open source community agreement -Linux 5.0unix: Father's 1978-1979 C language: the father of Dennis Ritchie == unix (commercial software)
the POSIX standard: Portable operating system Interface (cross-platform conditions)
the GNU plan: gun is not unix; (excellent tool gcc gdb)
Linux use (VS windows) Linux positioning: developers (efficiency) win32 positioning: regular user (simple)
Linux use:
the pursuit the goal: from mouse - command 1000+
learning objectives: 60 command - 20 commands
to learn: back, remember to practice
Linux operation and maintenance engineers of embedded Linux (80) different releases have some unique command (software development).
User management commands:
ISU (switch root) sudo (in exchange for more advanced permissions) ladduser deluser passwd
command file operations: Is is
Linux- point philosophy: - - Cut files are all
classified Linux files: regular files (-), directory document (D), the device file (c character device / b block device), link file (1)
pipe § file, the stack file (F), shared file (s): Linux special file
operation right Linux file: r-readable , w can be written, x executable permissions description: 3 groups (the current user, current user groups, others)
to modify the file permissions: chmod file create, view, delete.
User management commands:
su (switch root)
sudo (in exchange for more advanced permissions)
adduser deluser passwd
file manipulation commands: Is is
Linux a little bit of philosophy: everything is a file
classification Linux files: regular files (-), catalog file (d), the device file (c character device / b block device), link file (I) Linux special files: operating authority file § pipe, stack file (F), shared file (s) Linux file: R & lt readable, writable W, x execute
permissions description: 3 group (the current user, current user groups, others) to modify the file permissions: chmod
file create, view, delete: touch cat rm
file editing: gedit vim gvim - text editor
excellent IDE: vscode
compile the file: gcc compiler ./a .out
directory operations command: cd / cd ...
mkdir -p / rmdir RM -rf
root directory /: parent directory of all files (all files are stored in the directory) bin \ sbin \ etc \ dev \ home \ root \ usr
absolute and relative paths
cut or copy command: CP Music Videos
1.hello.c files are copied to directory 0303
cp hello.c 0303 (using a relative path)
2.kk catalog copy directory mm
CP -R & lt KK mm
3. the hello .c cut to mm
mv hello.c mm
commonly used commands clear clear screen; reset all saved Delete all characters; pwd view the absolute path
tar cvzf generate a compressed file

Published 10 original articles · won praise 0 · Views 273

Guess you like

Origin blog.csdn.net/m0_46451503/article/details/104760309