raiden00pl
24bc270d82
Documentation/examples: format the first header as in other files
2023-10-24 13:56:34 +08:00
raiden00pl
731eaefba2
Documentation/examples: add missing titles
2023-10-24 13:56:34 +08:00
raiden00pl
a342d2a7ac
Documentaion: migrate testing readmes
2023-10-24 13:56:34 +08:00
raiden00pl
3d7a395f52
Documentaion: migrate examples/mcuboot readme
2023-10-24 13:56:34 +08:00
raiden00pl
e8c135ba0c
Documentaion: migrate fsutils/inifile readme
2023-10-24 13:56:34 +08:00
raiden00pl
c4b2c65078
Documentaion: migrate graphics/lvgl readme
2023-10-24 13:56:34 +08:00
Alan Carvalho de Assis
10e1540b53
games: Add documentation
...
This commit add support to Games documentation on NuttX.
Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com>
2023-10-24 13:54:32 +08:00
Alan Carvalho de Assis
95800a7f54
boards: Rename shiftgame to brickmatch
...
This patch will rename the shiftgame to brickmatch and will add
support to initialize brickmatch automatically on esp32-devkitc.
2023-10-24 13:54:32 +08:00
Alan Carvalho de Assis
41a6adf93f
esp32: Add support to gesture and APA102 as LCD
2023-10-24 13:54:32 +08:00
Xiang Xiao
1883b91e3c
libc: Remove the unused lib_libdtoa.c
...
__dtoa is not used because currently NuttX uses other
function called __dtoa_engine() to do the same thing
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-10-23 20:06:34 -03:00
Ville Juven
9c725c4903
arch/risc-v: Simplify pmp_check_region_attrs sanity-checks
...
For TOR: Any size and 4-byte aligned address is required
For NA4: Only size 4 and 4-byte aligned address is good
For NAPOT: Minimum size is 8 bytes, minimum base alignment is 8 bytes,
and size must be power-of-two aligned with base
This commit simplifies these checks and removes all the nonsense added
by a misunderstanding of how the MPFS / Polarfire SoC's PMP works.
2023-10-23 13:10:59 -03:00
Ville Juven
8e6b448f47
arch/risc-v: Remove unnecessary PMP kconfig options
...
These options are just wrong and a result of misunderstanding of the
Polarfire SoC spec. There are no feature limitations in the CPU PMP
implementation -> remove any configuration options added.
2023-10-23 13:10:59 -03:00
David Sidrane
6101ebd565
imxrt:lpi2c Timeouts can not be 0
2023-10-23 22:44:55 +08:00
David Sidrane
91034ff4d6
s32k3xx:lpi2c Timeouts can not be 0
2023-10-23 22:44:55 +08:00
David Sidrane
7b8ea03ea3
s32k1xx:lpi2c Timeouts can not be 0
2023-10-23 22:44:55 +08:00
raiden00pl
c87a967806
Documentation: format the NSH command list
...
command names will be more visible and look nicer
2023-10-23 14:53:59 +03:00
raiden00pl
bca2a7925c
Documentation: migrate industry/abnt_codi readme
2023-10-23 19:52:53 +08:00
raiden00pl
af8548097f
Documentation: migrate system/i2c readme
2023-10-23 19:52:53 +08:00
raiden00pl
ecbc8aa62c
Documentation: migrate nimble readme
2023-10-23 19:52:53 +08:00
raiden00pl
e93eb76017
Documentation: list all supported libs tools and apps
2023-10-23 19:52:53 +08:00
raiden00pl
f84cb54515
Documentation: move nxdiag to applications/system
2023-10-23 19:52:53 +08:00
raiden00pl
f486c59f6f
Documentation: move wapi to applications/wireless
2023-10-23 19:52:53 +08:00
raiden00pl
a03b41291b
Documentation: migrate apps/logging doc
2023-10-23 19:52:53 +08:00
raiden00pl
61359f7fcc
Documentation: migrate apps/boot doc
2023-10-23 19:52:53 +08:00
raiden00pl
131f4151b7
Documentation: reflects the structure of nuttx-apps
2023-10-23 19:52:53 +08:00
yinshengkai
605c4e6c1f
note: fix notesnap compilation failure
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2023-10-23 12:50:19 +03:00
Rodrigo Sim
21ba49408c
boards/stm32: add support to STM32F401RC-RS485 board
...
The STM32F401RC-RS485 is a board with RS485 support, SD Card, buttons,
leds, temperature sensor, adc and etc.
Signed-off-by: Rodrigo Sim rcsim10@gmail.com
2023-10-23 14:28:27 +08:00
Xiang Xiao
d84aba8a42
fs: Change inode_checkflags to static function
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-10-22 21:23:08 +03:00
Xiang Xiao
66db15437d
libc/stdio: Change FILE buffer field from "unsigned char *" to "char *"
...
to avoid the unnecessary casting
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-10-22 21:18:46 +03:00
raiden00pl
88b7ce80a0
Documentation: add missing platforms to platforms/ and remove introduction/platforms
2023-10-22 19:06:44 +08:00
raiden00pl
52ec2326b3
Documentation: fix esp32-devkitc errors
2023-10-22 19:06:44 +08:00
raiden00pl
97fa781de7
Documentation: move a64 from arm to arm64
2023-10-22 19:06:44 +08:00
halyssonJr
48a878fd06
Adding initial support to board esp32-2432S028, is a board with SD Card, RGB LED, output for speak and display LCD
...
Signed-off-by: halyssonJr <halysson1007@gmail.com>
2023-10-22 00:57:36 +08:00
GD32-MCU
6e94f7432f
add gd32f470i board support
2023-10-21 11:45:03 -03:00
raiden00pl
3cccb0dd17
Documentation: migrate apps/example/README.md
2023-10-21 22:13:55 +08:00
raiden00pl
449c6028ba
Documentation: fix nxdiag Usage header level
2023-10-21 22:13:55 +08:00
raiden00pl
ce84c5db55
Documentation: split long lines
2023-10-21 22:13:55 +08:00
chao an
fa943c11b3
cmake: correct cmake rule file name
...
The rule of cmake file name should be CMakeLists.txt not CMakeList.txt
Signed-off-by: chao an <anchao@xiaomi.com>
2023-10-21 11:00:27 +08:00
TaiJuWu
51eaa59cc0
Replace enter_critical_section with spin_irqsave
...
Base on discusion: https://github.com/apache/nuttx/issues/10981
Signed-off-by: TaiJuWu <tjwu1217@gmail.com>
2023-10-21 11:00:07 +08:00
zhanghongyu
3ad28c28aa
usrsock: Make the field of usrsock_request native alignment
...
There is a risk that interfaces such as psock_ioctl/psock_setsockopt
will cause paramete to be not four-byte aligned after calculating the
offset, so align the length of the structure with parameters by four
bytes.
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2023-10-21 10:55:30 +08:00
zhanghongyu
0f1a49bba5
tun: Fix the error of calling tun_close when tun_txavail or tun_txavail_work is executed
...
When tun_txavail_work is running, switch to tun_close thread and priv->lock will be destroyed, then switch back to tun_txavail_work thread, an error will occur when nxmutex_unlock(&priv->lock)
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2023-10-21 06:29:21 +08:00
Xiang Xiao
b7e14c7490
endian: Make all endian related functions use the expicit type
...
so the printf can give the unambiguous format specifier
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-10-20 09:46:21 +08:00
Alan Carvalho de Assis
b95fd6a573
esp32: Add wifishare board config and documentation
...
Signed-off-by: Alan C. Assis <acassis@gmail.com>
2023-10-20 09:46:21 +08:00
chao an
a521fd7b82
debug/assert: decouple configuration of show file name feature
...
add new config CONFIG_ASSERTIONS_FILENAME to library call assert(3) to decouple with CONFIG_DEBUG_ASSERTIONS
| Function |CONFIG | Show filename/line |
| --- | --- | --- |
|assert(), ASSERT()|CONFIG_ASSERTIONS_FILENAME=y | Yes |
|assert(), ASSERT()|CONFIG_ASSERTIONS_FILENAME=n | No |
|DEBUGASSERT() |CONFIG_DEBUG_ASSERTIONS_FILENAME=y| Yes |
|DEBUGASSERT() |CONFIG_DEBUG_ASSERTIONS_FILENAME=n| No |
Signed-off-by: chao an <anchao@xiaomi.com>
2023-10-20 02:22:48 +08:00
Michal Lenc
2d8fc9522f
ci: add error status check for ostest
...
ostest should return OK (0) if successful.
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2023-10-19 21:39:24 +08:00
Michal Lenc
f43701c7c9
ci: fix file system CI test
...
File system CI test was not testing the correct behavior of scanf and just
checked whether program did not end with hard fault. This adds
functionality check and required configuration options to run FS test.
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2023-10-19 21:39:24 +08:00
Michal Lenc
7463052c8e
ci: fix scanf CI test
...
Scanf CI test was not testing the correct behavior of scanf and just
checked whether program did not end with hard fault. This adds
functionality check and required configuration options to run scanf
test.
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2023-10-19 21:39:24 +08:00
raiden00pl
93312c6196
libdsp: update LP_FILTER comment
...
add note about filter time constant (tau)
2023-10-19 21:38:45 +08:00
cuiziwei
c164fc9b21
nuttx:generate nuttx.map file when enable debug link map.
...
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
2023-10-19 19:19:22 +08:00
Xiang Xiao
04f834290c
ucans32k146/se05x: Refresh defconfig after https://github.com/apache/nuttx-apps/pull/2131
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-10-19 12:37:42 +08:00