Commit Graph

51621 Commits

Author SHA1 Message Date
Tiago Medicci Serrano
41c1b153e3 esp32/bluetooth: Select option to pin the HCI TX thread to CPU core
When ESP32's BLE is enabled, select the option to pin the HCI TX
thread to a specific core. This is necessary to avoid problems
with the BLE task that runs pinned to the PRO CPU (core 0) while
running with SMP enabled.
2023-10-24 22:41:44 +08:00
Tiago Medicci Serrano
fe156a40e3 wireless/bluetooth: Add option to set the HCI TX thread affinity
By enabling the config `CONFIG_BLUETOOTH_TXCMD_PINNED_TO_CORE` and
setting the value of `CONFIG_BLUETOOTH_TXCMD_CORE`, it's possible
to pin the HCI TX thread to a specific core on a SMP-enabled setup.
This is necessary for devices that require that the function that
sends data (`bt_send`) to be called from a specific core.
2023-10-24 22:41:44 +08:00
Zhe Weng
ef1ad691c3 net/icmpv6: Fix net mask logic in icmpv6_setaddresses
1. Both IPv6 addresses and net masks should be stored in network byte
   order
2. Fix last 2 bytes of mask applying (although it seldom triggers)

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2023-10-24 10:31:14 -03:00
raiden00pl
6e9cd74e81 Documentaion: migrate tools/readme 2023-10-24 10:29:01 -03:00
raiden00pl
abdcc8d17c Documentation: unify applications/xxx/index.rst 2023-10-24 10:29:01 -03:00
raiden00pl
931096f3f6 Documentation: various cosmetic changes 2023-10-24 10:29:01 -03:00
raiden00pl
e229528d5a Documentation: fix warnings from games 2023-10-24 10:29:01 -03:00
raiden00pl
4520d8676a Documentaion: migrate wireless/readme 2023-10-24 10:29:01 -03:00
raiden00pl
a008eb8669 Documentaion: migrate examples/bastest/readme without test cases 2023-10-24 10:29:01 -03:00
raiden00pl
cffc74c664 Documentaion: migrate system/readme 2023-10-24 10:29:01 -03:00
raiden00pl
a9a1d719da Documentaion: migrate netutils/readme 2023-10-24 10:29:01 -03:00
raiden00pl
7e2a5f6f3f Documentaion: migrate modbus/readme 2023-10-24 10:29:01 -03:00
raiden00pl
0979fd0ab7 Documentaion: migrate interpreters/readme 2023-10-24 10:29:01 -03:00
raiden00pl
05b0b7c9f3 Documentaion: migrate graphics/readme 2023-10-24 10:29:01 -03:00
raiden00pl
454e3a210b Documentaion: migrate crypto/readme 2023-10-24 10:29:01 -03:00
raiden00pl
203f6cd4a9 Documentaion: migrate audioutils/readme 2023-10-24 10:29:01 -03:00
Michal Lenc
8f042f527e Documentation: add fmemopen test entry
Test tool for fmemopen() function added to documentation.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2023-10-24 10:28:01 -03:00
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