693e869404
according to armv6-m/armv7-m arch reference manual: the three ISB {<opt>}, DSB {<opt>}, DMB {<opt>} instructions <opt> field are defined as: Specifies an optional limitation on the ISB/DSB/DMB operation. Allowered values are: Full system ISB/DSB/DMB operation, encoded as option=='1111'. Can be omitted. All other encodings of the options are RESERVED. the "#opt" field of "isb #opt" So we could remove the options field in Armv7-m platform. The following are the build error with greenhills compiler: CC: common/arm_exit.c [asarm] (error #2071) /tmp/gh_001h70j1.si 92: bad parameter isb 15 ------^ [asarm] (error #2071) /tmp/gh_001h70j1.si 112: bad parameter isb 15 ------^ [asarm] (error) errors during processing According to armv8-m arch reference manual: the ISB/DMB instruction's "opt" encoding rule is same as armv6-m/armv7-m, but the "DSB" instruction is different, in armv8-m, the "DSB {<opt>}" field has two valid encoding options: 0b0000, 0b0100. and all other encoding options are reserved. In Armv7-a/Armv8-a, the dsb/dmb option field has 8 valid state value. Signed-off-by: guoshichao <guoshichao@xiaomi.com> |
||
---|---|---|
.github | ||
arch | ||
audio | ||
binfmt | ||
boards | ||
cmake | ||
crypto | ||
Documentation | ||
drivers | ||
dummy | ||
fs | ||
graphics | ||
include | ||
libs | ||
mm | ||
net | ||
openamp | ||
pass1 | ||
sched | ||
syscall | ||
tools | ||
video | ||
wireless | ||
.asf.yaml | ||
.gitignore | ||
.yamllint | ||
AUTHORS | ||
CMakeLists.txt | ||
CONTRIBUTING.md | ||
INVIOLABLES.md | ||
Kconfig | ||
LICENSE | ||
Makefile | ||
NOTICE | ||
README.md | ||
ReleaseNotes |
Apache NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOSs (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).
For brevity, many parts of the documentation will refer to Apache NuttX as simply NuttX.
Getting Started
First time on NuttX? Read the Getting Started guide! If you don't have a board available, NuttX has its own simulator that you can run on terminal.
Documentation
You can find the current NuttX documentation on the Documentation Page.
Alternatively, you can build the documentation yourself by following the Documentation Build Instructions.
The old NuttX documentation is still available in the Apache wiki.
Supported Boards
NuttX supports a wide variety of platforms. See the full list on the Supported Platforms page.
Contributing
If you wish to contribute to the NuttX project, read the Contributing guidelines for information on Git usage, coding standard, workflow and the NuttX principles.
License
The code in this repository is under either the Apache 2 license, or a license compatible with the Apache 2 license. See the License Page for more information.