The Wayback Machine - https://web.archive.org/web/20220524132832/https://github.com/topics/rtos
Skip to content
#

rtos

Here are 563 public repositories matching this topic...

wineee
wineee commented May 22, 2022

https://github.com/RT-Thread/rt-thread/blob/master/include/rtservice.h

/**
 * rt_container_of - return the member address of ptr, if the type of ptr is the
 * struct type.
 */
#define rt_container_of(ptr, type, member) \
    ((type *)((char *)(ptr) - (unsigned long)(&((type *)0)->member)))

按照英文,应该是说如果 ptr 的类型是 struct 类型,返回ptr的成员(member)的地址

但实际上,ptr 应该是某个 struct (type)的一个

good first issue
cvinayak
cvinayak commented Nov 16, 2021

Is your enhancement proposal related to a problem? Please describe.
access_addr always seems to be of size 4; that should be #defined.
crc_init always seem to be of size 3; that should be #defined.

https://github.com/zephyrproject-rtos/zephyr/pull/31009/files#r736229677
https://github.com/zephyrproject-rtos/zephyr/pull/31009/files#r736229386

Describe the solution you'd like
A

Enhancement area: Bluetooth Good first issue area: Bluetooth Controller
hydai
hydai commented May 18, 2022

Motivation

In #1459, we would like to have the socket handled by fd_write and fd_read. That's why we need to implement the WASI-IO proposal.

Details

The WASI-IO proposal is a phase 2 proposal, so the spec of this proposal may change. Please follow the latest master to finish the implementation.

Appendix

enhancement good first issue help wanted feature
patacongo
patacongo commented Jul 30, 2020

In PROTECTED mode, the MPU is used to map regions of memory to supervisor- and/or user-accessible memory. Currently, that algorithm is very simple: The entire address range is made accessible in supervisor mode; a single MPU region is used to enable user-mode access in each user memory region.

Each MPU region must bit both of a power-of-two size and with an alignment in memory equal to the si

enhancement good first issue

A high-performance, high-stability, cross-platform MQTT client, developed based on the socket API, can be used on embedded devices (FreeRTOS / LiteOS / RT-Thread / TencentOS tiny), Linux, Windows, Mac, with a very concise The API interface realizes the quality of service of QOS2 with very few resources, and seamlessly connects the mbedtls encryption library.

  • Updated May 13, 2022
  • C

Improve this page

Add a description, image, and links to the rtos topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the rtos topic, visit your repo's landing page and select "manage topics."

Learn more