RT-Thread 5.0 sistimi e sebetsang ea nako ea nnete e fumaneha

Ho lokolloa ha RT-Thread 5.0, mokhoa oa sebele oa ho sebetsa (RTOS) bakeng sa lisebelisoa tsa Inthanete ea Lintho, e hatisitsoe. Sistimi ena e ntlafalitsoe ho tloha 2006 ke sechaba sa bahlahisi ba Machaena mme hajoale e se e kentsoe liboto tse ka bang 200, li-chips le li-microcontrollers tse ipapisitseng le meralo ea x86, ARM, MIPS, C-SKY, Xtensa, ARC le RISC-V. Mohaho o monyane oa RT-Thread (Nano) o hloka feela 3 KB ea Flash le 1.2 KB ea RAM ho sebetsa. Bakeng sa lisebelisoa tsa IoT tse sa fokolang haholo ka lisebelisoa, ho fanoa ka mofuta o felletseng o tšehetsang taolo ea liphutheloana, li-configurator, stack ea marang-rang, liphutheloana tse nang le ts'ebetsong ea sebopeho sa graphical, litsamaiso tsa taolo ea lentsoe, DBMS, lits'ebeletso tsa marang-rang le lienjineri tsa ts'ebetso. mengolo. Khoutu e ngotsoe ka C mme e ajoa tlasa laesense ea Apache 2.0.

Likarolo tsa sethala:

  • Tšehetso ea Architecture:
    • ARM Cortex-M0/M0+/M3/M4/M7/M23/M33 (li-microcontrollers tse tsoang ho bahlahisi ba kang ST, Winner Micro, MindMotion, Realtek, Infineon, GigaDevic, Nordic, Nuvoton, NXP li tšehetsoa).
    • ARM Cortex-R4.
    • ARM Cortex-A8/A9 (NXP).
    • ARM7 (Samsung).
    • ARM9 (Allwinner, Xilinx, GOKE).
    • ARM11 (Fullhan).
    • MIPS32 (Loongson, Ingenic).
    • RISC-V RV32E/RV32I[F]/RV64[D] (sifive, Canaan Kendryt, bouffalo_lab, Nuclei, T-Head).
    • ARC (SYNOPSYS)
    • DSP (TI).
    • C-Sky.
    • x86.
  • Mehaho e atolositsoeng ea modular e u lumellang ho theha tikoloho e loketseng litsamaiso tse nang le lisebelisoa tse fokolang (litlhoko tse tlase - 3 KB Flash le 1.2 KB RAM).
  • Ts'ehetso bakeng sa likhokahano tse fapaneng tse tloaelehileng bakeng sa nts'etsopele ea lenaneo, joalo ka POSIX, CMSIS, C++ API. Lera la RTduino le ntse le ntlafatsoa ka thoko bakeng sa ho ikamahanya le API le lilaebrari tsa morero oa Arduino.
  • Monyetla oa ho atolosoa ka sistimi ea liphutheloana le likarolo tsa plug-in.
  • Ts'ehetso bakeng sa nts'etsopele ea kopo bakeng sa ts'ebetso ea ts'ebetso e phahameng ea ts'ebetso.
  • Sistimi ea taolo ea matla e feto-fetohang e u lumellang hore u ikemisetse ho kenya sesebelisoa mokhoeng oa ho robala le ho laola motlakase le maqhubu ho latela mojaro.
  • Ts'ehetso ea Hardware bakeng sa encryption le decryption, phano ea lilaebrari tse nang le li-algorithms tse fapaneng tsa cryptographic.
  • Khokahano e kopaneng bakeng sa phihlello ea lisebelisoa tsa peripheral le lisebelisoa tse ling.
  • Sistimi ea faele ea sebele le ho fumaneha ha bakhanni ba litsamaiso tsa lifaele tse kang FAT, UFFS, NFSv3, ROMFS le RAMFS.
  • Protocol stack bakeng sa TCP/IP, Ethernet, Wi-Fi, Bluetooth, NB-IoT, 2G/3G/4G, HTTP, MQTT, LwM2M, joalo-joalo.
  • Sistimi ea ho tsamaisa thepa e hole le ho kenya liapdeite tse ts'ehetsang encryption le netefatso o sebelisa signature ea dijithale, ho qala ts'ebetso e sitisitsoeng, ho hlaphoheloa ha ho hloleha, ho khutlisa liphetoho, jj.
  • Sistimi ea li-module tsa kernel tse laetsoeng ka matla tse u lumellang ho aha le ho nts'etsapele likarolo tsa kernel ka thoko, le ho li kenya ka matla ha ho hlokahala.
  • E ts'ehetsa liphutheloana tse fapaneng tsa mokha oa boraro, joalo ka Yaffs2, SQLite, FreeModbus, Canopen, jj.
  • Bokhoni ba ho bokella sephutheloana sa BSP ka kotloloho (Sephutheloana sa Tšehetso sa Boto) se nang le likarolo tse tšehetsang sethala se itseng sa hardware, le ho se kenya botong.
  • Ho fumaneha ha emulator (BSP qemu-vexpress-a9), e u lumellang hore u ntlafatse lits'ebetso ntle le ho sebelisa liboto tsa 'nete.
  • Tšehetso bakeng sa li-compilers tse tloaelehileng le lisebelisoa tsa nts'etsopele tse kang GCC, MDK Keil le IAR.
  • Nts'etsopele ea tikoloho ea rona ea nts'etsopele e kopaneng ea RT-Thread Studio IDE, e o lumellang ho theha le ho lokisa lits'ebetso, ho li kenya libotong, le ho laola litlhophiso. Li-plugins tsa nts'etsopele tsa RT-Thread le tsona lia fumaneha bakeng sa Eclipse le VS Code.
    RT-Thread 5.0 sistimi e sebetsang ea nako ea nnete e fumaneha
  • Ho ba teng ha Env console interface, e nolofatsang pōpo ea merero le ho theha tikoloho.
    RT-Thread 5.0 sistimi e sebetsang ea nako ea nnete e fumaneha

Sistimi ea ts'ebetso e na le likarolo tse tharo tsa mantlha:

  • Kernel e lumellang hore mesebetsi e etsoe ka nako ea nnete. Kernel e fana ka li-primitives tsa mantlha tse koahelang libaka tse joalo ka taolo ea senotlolo le khokahano ea data, kemiso ea mosebetsi, taolo ea likhoele, ho ts'oara mats'oao, queuing ea melaetsa, taolo ea nako le taolo ea memori. Likarolo tse ikhethileng tsa Hardware li kengoa tšebetsong maemong a libcpu le BSP, tse kenyelletsang li-driver tse hlokahalang le khoutu ho tšehetsa CPU.
  • Likarolo le lits'ebeletso tse tsamaeang ka holim'a kernel mme li fana ka lits'oants'o tse joalo ka sistimi ea faele ea sebele, sistimi ea ho sebetsana le mokhelo, polokelo ea linotlolo / boleng, sebopeho sa mohala oa taelo ea FinSH, marang-rang a marang-rang (LwIP) le meralo ea marang-rang, lilaebrari tsa tšehetso ea lisebelisoa, tsamaiso ea molumo, wireless stack, likarolo tse tšehetsang Wi-Fi, LoRa, Bluetooth, 2G/4G. Mehaho ea Modular e u lumella ho hokahanya likarolo le lits'ebeletso ho latela mesebetsi ea hau le lisebelisoa tse fumanehang tsa Hardware.
  • Lisebelisoa tsa software. Likarolo tse akaretsang tsa software le lilaeborari tsa ts'ebetso li ajoa le ho kenngoa ka mokhoa oa liphutheloana. Sebaka sa polokelo ha joale se kenyelletsa liphutheloana tse fetang 450, tse fanang ka ntho e 'ngoe le e' ngoe ho tloha ho li-interfaces tsa litšoantšo, lisebelisoa tsa multimedia le lisebelisoa tsa marang-rang ho tsamaiso ea liroboto le li-processor tse thehiloeng ho mochine. Liphutheloana li boetse li fana ka lienjineri tsa ho hlophisa ts'ebetso ea mananeo ka lipuo tsa Lua, JerryScript, MicroPython, PikaScript le Rust (rtt_rust).

RT-Thread 5.0 sistimi e sebetsang ea nako ea nnete e fumaneha

Har'a likarolo tse ncha tse kenyellelitsoeng ho mofuta oa 5.0, re ka hlokomela ntlafatso e kholo ea ts'ehetso ea litsamaiso tse ngata tsa mantlha le tse nang le likhoele tse ngata (mohlala, sethala sa marang-rang le litsamaiso tsa faele li lokiselitsoe ho sebetsa ka likhoele tse ngata, mohlophisi o arotsoe. ho khetha bakeng sa litsamaiso tsa single-core le SMP). Ts'ebetsong e ekelitsoeng ea TLS (Thread Local Storage). Ts'ehetso e ntlafalitsoeng bakeng sa lichifi tsa Cortex-A. Ts'ehetso e ntlafalitsoeng haholo bakeng sa litsamaiso tsa 64-bit (TCP/IP stack le litsamaiso tsa lifaele li netefalitsoe bakeng sa litsamaiso tsa 64-bit). Likarolo tsa taolo ea memori ea Flash li kopantsoe. Lethathamo la lisebelisoa tsa ho theha bakhanni le entsoe bocha.

Source: opennet.ru

Eketsa ka tlhaloso