TESA Developer Space
  • 👏Welcome
  • 📺TESA Podcast
  • ⭐Getting Started
    • Who we are?
    • What we do?
    • Who's our Networking?
  • 🏫TESA University Program
    • RT-Thread IoT OS
      • University Program
        • RT-Thread Architecture
          • Hardware supported
          • RT-Thread Layers
          • RT-Thread x Renesas
        • Edge AI Workshop
          • Installation & First Coding
          • External IRQ via Button
          • Enable Ulog for FinSH
          • Enable WiFi for FinSH
          • IoT Connectivity using MQTT
          • OpenMV IDE
          • MicroPython Programming
          • TFLite in OpenMV
          • AI Model Training via Edge Impulse
      • RT-Thread on RISC-V
    • FPGA Edge AI
      • Professional Courses
    • Problem-based Learning
      • STM32 Development Toolchain
  • 📚TESA Technical Contents
    • Linux OS
      • Zero to Linux Hero
        • Computer OS Architecture
        • Anatomy of Linux System
          • Busybox
          • Linux Environment for Developer
        • Anatomy of Linux Kernel
          • UNIX/Linux History
          • GNU Project
          • Linux OS Architecture
        • Anatomy of Linux Kernel
          • Linux Kernel Principles
    • Karel Robot
  • 🤘RECOMMENDED by TESA
    • Embedded Systems Roadmap
Powered by GitBook
On this page
  • Device driver
  • FinSH Console
  • Ulog Log
  1. TESA University Program
  2. RT-Thread IoT OS
  3. University Program
  4. Edge AI Workshop

Enable Ulog for FinSH

PreviousExternal IRQ via ButtonNextEnable WiFi for FinSH

Last updated 5 months ago

Device driver

RT-Thread provides a set of I/O device framework. It is divided into three layers:

  • I/O device management layer implements the encapsulation of device drivers.

  • Device driver framework layer is an abstraction of the same kind of hardware device driver.

  • Device driver layer is a set of programs that drive the hardware devices to work, enabling access to hardware devices.

FinSH Console

FinSH is the command line component of RT-Thread. It provides a set of operation interfaces for users to call from the command line. It is mainly used to debug or view system information. It can communicate with a PC using serial/Ethernet/USB, etc. FinSH will read the device input command, parse and automatically scan the internal function table, find the corresponding function name, and execute the function. The response is output, the response is returned through the original path, and the result is displayed on the control terminal.

Ulog Log

Ulog is a very simple and easy to use C/C++ log component. It can achieve the lowest ROM<1K, RAM<0.2K resource usage. For the operating system, because the complexity of the software is very large, the log component is almost standard part on the operating system. The log output is designed to be thread-safe and supports asynchronous output mode. The logging system is highly reliable and is still available in complex environments such as interrupted ISRs and Hardfault.

🏫