-
Notifications
You must be signed in to change notification settings - Fork 10
add build system and video #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
tuanpmt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Em sửa hết các chỗ a review rồi commit lại
docs/basic/hello-world.rst
Outdated
| ================= | ||
| Espressif Internet Development Framework (ESP-IDF) sử dụng FreeRTOS để tận dụng tốt hơn hai bộ xử lý tốc độ cao và quản lý nhiều thiết bị ngoại vi được cài sẵn. Nó được thực hiện bằng cách tạo các tác vụ. Hãy bắt đầu bằng chương trình "Hello world" để hiểu rõ hơn. | ||
|
|
||
| Chương trình Hello world sau mỗi 10 giây in ra một chuỗi "Hello world" và hiển thị trên màn hình máy tính thông qua chuẩn truyền thông UART. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
và hiển thị trên terminal máy tính xuất từ cổng UART của ESP32
docs/basic/hello-world.rst
Outdated
| Hàm app_main() | ||
| ****************** | ||
|
|
||
| Ngay khi khởi động thực hiện chương trình bắt đầu với app_main (), cũng giống như hàm main () thường dùng. Đây là chức năng đầu tiên được gọi tự động. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
app_main được thực thi sau khi hoàn tất quá trình khởi động chip ESP32
docs/basic/hello-world.rst
Outdated
|
|
||
| * pvTaskCode: con trỏ tới hàm task. | ||
| * pcName: là tên đặt cho task. | ||
| * usStackDepth: là giá trị số thanh ghi Stack được cấp cho Task. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bộ nhớ stack sẽ được cấp phát cho task, phụ thuộc vào bộ nhớ biến cục bộ định nghĩa trong task và số lần gọi hàm
docs/basic/hello-world.rst
Outdated
| * pvTaskCode: con trỏ tới hàm task. | ||
| * pcName: là tên đặt cho task. | ||
| * usStackDepth: là giá trị số thanh ghi Stack được cấp cho Task. | ||
| * pvParameters: Biến được truyền vào Task. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Context đưa vào argument của task
docs/basic/hello-world.rst
Outdated
| * usStackDepth: là giá trị số thanh ghi Stack được cấp cho Task. | ||
| * pvParameters: Biến được truyền vào Task. | ||
| * uxPriority: giá trị ưu tiên của Task. | ||
| * pxCreatedTask: Như kiểu là cái tên định danh để ta có thể tác động vào task. ví dụ như khi thay đổi Priority của Task. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reference để điều khiển task
|
Em đã sửa lại rồi anh |
add build system and video