Zhe Weng
f2ff5cee03
net/nat: Make some IPv4 NAT functions as common
...
To prepare for future IPv6 NAT functions.
- Rename common ipv4_nat_xxx to nat_xxx
- Move some common definitions into header
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2024-04-11 22:23:29 +08:00
Emmanuel Ferdman
4847587cf2
Documentation: update broken links
2024-04-10 15:17:53 -03:00
vela-mib
9847c6219d
add libuv and cmocka test cases with file system on sim and qemu on CI
...
Signed-off-by: vela-mib <vela-mib@xiaomi.com>
2024-04-10 14:46:53 +08:00
Alin Jerpelea
589bb56bcb
Documentation: add NuttX-12.5.1 release notes
...
Add release notes for 12.5.1 release
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2024-04-08 21:40:59 +08:00
Zhe Weng
a1a09f271f
net/nat: Support Symmetric NAT
...
The symmetric NAT limits one external port to be used with only one peer ip:port.
Note:
1. To avoid using too much #ifdef, we're always passing peer_ip and peer_port as arguments, but won't use them under full cone NAT, let the compiler optimize them.
2. We need to find port binding without peer ip:port, so don't add peer ip:port into hash key.
3. Symmetric NAT needs to *select another external port if a port is used by any other NAT entry*, this behavior is exactly same as Full Cone NAT, so we don't need to change anything related to `ipv4_nat_port_inuse`.
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2024-04-07 23:57:55 +08:00
Zhe Weng
9ab0d8cce6
Documentation: Add docs for lower-half of netdriver
...
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2024-04-07 10:17:13 -03:00
chenrun1
52f381fdd4
Adjust the apps/benchmarks directory and add some new Profile tools
...
Based on the adjustment of https://github.com/apache/nuttx-apps/pull/2346 , update the Document
Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2024-04-07 18:49:16 +08:00
Jorge Guzman
de29fe3102
stm32h7/linum-stm32h753bi: add support to zmodem
...
Signed-off-by: Jorge Guzman <jorge.gzm@gmail.com>
2024-04-07 09:06:04 +08:00
TimJTi
87dc54d755
Correct error/omissions in Custom Boards guide
2024-04-04 23:07:39 +08:00
TimJTi
f9a81d3912
Correct error/omissions in Custom Apps guide
2024-04-04 23:06:53 +08:00
Jorge Guzman
0fae71f239
stm32h7/linum-stm32h753bi: fixed leds example
...
Signed-off-by: Jorge Guzman <jorge.gzm@gmail.com>
2024-04-03 10:15:29 -03:00
Jorge Guzman
62e1af457d
stm32h7/linum-stm32h753bi: add support to leds
...
Signed-off-by: Jorge Guzman <jorge.gzm@gmail.com>
2024-04-01 13:24:05 -03:00
Alin Jerpelea
e5e5ed590d
Documentation: add NuttX-12.5.0 release notes
...
Add release notes for 12.5.0 release
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2024-04-01 00:29:39 +08:00
chenwen@espressif.com
ffc7442af2
xtensa/esp32s3: Add ESP32-S3 AES driver
...
1. Support AES-128/AES-256 encryption and decryption
Signed-off-by: chenwen@espressif.com <chenwen@espressif.com>
2024-03-28 09:34:04 +08:00
Eren Terzioglu
9bf72d95d9
Docs/esp32c6: Rename esp32c6-devkit as esp32c6-devkitc
2024-03-26 09:43:08 +08:00
Eren Terzioglu
ce9e298fa0
Docs/esp32c6: Add ESP32C6-DevKitM documentation
2024-03-26 09:43:08 +08:00
mishuaishuai
22877e0fa5
add two new gd32f4 boards
...
modify format
add two new boards doc
modify bug
Signed-off-by: mishuaishuai <wangshuai26@xiaomi.com>
2024-03-22 13:22:20 +08:00
Stuart Ianna
401b3e682c
arch/risc-v/litex: Allow FDT to be passed from previous boot change.
...
Allows a flattened device tree to be passed from either openSBI or the LiteX bios. The FDT is registered can be used, if supported.
2024-03-20 20:53:17 +08:00
Ville Juven
a7713af0ef
arm64/imx9: Add board for imx93-evk
...
Adds board definition for imx93-evk board
- Support for the Cortex-A55 core in i.MX93, support for the Cortex-M33
core is _not_ provided
- "nsh" profile is provided, this includes a minimalistic feature set
which boots the SoM to nsh console
- A bootloader is required, u-boot has been tested
2024-03-20 20:13:14 +08:00
Jorge Guzman
8e0bf9a0b4
stm32h7/linum-stm32h753bi: Add buzzer support
...
Signed-off-by: Jorge Guzman <jorge.gzm@gmail.com>
2024-03-18 13:48:59 +08:00
Rodrigo Sim
a7ba822389
board/stm32f401rc-rs485: Add support to Quadrature Encoder
...
Signed-off-by: Rodrigo Sim <rcsim10@gmail.com>
2024-03-17 10:00:57 -03:00
Marco Casaroli
d048caf1d2
arch/esp32 add openeth mac driver
...
This driver is used with QEMU, to make it possible
to use networking.
This is not the MAC in ESP32, however, it can be used with QEMU.
The code was shamelessly copied from 31dac92e5f
2024-03-12 08:31:06 -03:00
Eren Terzioglu
61689237f6
docs/esp32c6: Add spiflash docs for esp32c6
...
docs/esp32c6: Remove sotest docs esp32c6
docs/esp32c3: Add spiflash docs esp32c3
docs/esp32c3: Remove sotest docs esp32c3
docs/esp32h2: Add spiflash docs esp32h2
docs/esp32h2: Remove sotest docs esp32h2
2024-03-11 22:57:10 +08:00
Rodrigo Sim
82d3ffc3b0
board/stm32f401rc-rs485: Add support to PWM/DAC
...
Signed-off-by: Rodrigo Sim <rcsim10@gmail.com>
2024-03-11 10:11:45 +08:00
raiden00pl
8210604886
boards/stm32h7: add Waveshare OpenH743I board
2024-03-10 01:47:39 +08:00
Jorge Guzman
4b5ad956c3
stm32h7/linum-stm32h753bi: Add support to eeprom using the i2c3
...
Signed-off-by: Jorge Guzman <jorge.gzm@gmail.com>
2024-03-07 01:55:56 +08:00
Michal Lenc
44a087111d
samv7: add support for USART TX DMA transfers
...
This commit adds support for TX DMA transfers for USART peripheral. Code
refactor in sam_serial.h was also required in order to have correct
defines for all possible cases (both RX and TX DMA used, just one used,
none used).
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2024-03-05 09:48:03 +08:00
Tiago Medicci Serrano
e287ed9090
documentation: implement on-demand paging for RISC-V devices
...
It documents how the on-demand paging was implemented for RISC-V
devices and how it can be extended to other architectures.
2024-03-05 09:45:49 +08:00
Tiago Medicci Serrano
ae9ef972c0
paging: Rename existing CONFIG_PAGING to CONFIG_LEGACY_PAGING
...
Current `CONFIG_PAGING` refers to an experimental implementation
to enable embedded MCUs with some limited RAM space to execute
large programs from some non-random access media.
On-demand paging should be implemented for the kernel mode with
address environment implementation enabled.
2024-03-05 09:45:49 +08:00
Saurav Pal
1bec133385
drivers/mtd/mtd_nandram: Adds virtual NAND Flash device simulator.
...
Adds virtual NAND Flash device simulator, NAND flash log wrapper, and documentation for it.
Signed-off-by: Saurav Pal <resyfer.dev@gmail.com>
2024-03-04 10:38:08 -03:00
Rodrigo Sim
634b605476
board/stm32f401rc-rs485: Add support to ADC
...
Signed-off-by: Rodrigo Sim <rcsim10@gmail.com>
2024-03-03 12:03:18 -03:00
Jorge Guzman
d11f5b4763
stm32h7/linum-stm32h753bi: Add support to sdcard
...
Signed-off-by: Jorge Guzman <jorge.gzm@gmail.com>
2024-03-03 10:24:42 -03:00
Yanfeng Liu
3bd35487f0
docs/comments: add simple document and fix typo
...
This patch adds simple document for the shared memory file system.
with typos fix in a other places.
Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
2024-03-03 01:55:07 +08:00
Junbo Zheng
850be17142
Documentation: correct CMakeList.txt
to CMakeLists.txt
...
Signed-off-by: Junbo Zheng <zhengjunbo1@xiaomi.com>
2024-03-01 20:15:10 +08:00
Michał Łyszczek
84a2cab886
drivers/analog/hx711.c: Add driver for hx711 adc
...
Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
2024-02-26 19:16:51 -03:00
Jorge Guzman
b0e382be5f
stm32h7/linum-stm32h753bi: Add USB console support
...
This commit adds support to use NSH over USB without
connecting an external USB/Serial adapter.
Signed-off-by" Jorge Guzman jorge.gzm@gmail.com
2024-02-25 16:27:57 -03:00
Rodrigo Sim
1647a596fe
board/stm32f401rc-rs485: Add support to LM75 sensor
2024-02-24 19:01:42 -08:00
Alan Carvalho de Assis
a7fbf7c5cf
DOC: Fix https://github.com/apache/nuttx/issues/11760
...
The Make.defs to CustomHello example was missing.
Signed-off-by: Alan C. Assis <acassis@gmail.com>
2024-02-23 15:33:53 +01:00
Yanfeng Liu
e0de25f82c
risc-v/k230: update AMP related document
...
This patch update documents to reflect the fact that remote node is kicked
off by master node. It also adds debug dump to aid the MISA reading issue
investigation.
Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
2024-02-23 04:21:09 -08:00
Zhe Weng
1eaeef5251
Documentation: Add documentation for packet sockets
...
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2024-02-23 08:32:49 +01:00
Zhe Weng
da536bed9c
Documentation: Move nat.rst and netdev.rst to net/
...
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2024-02-23 08:32:49 +01:00
Alan Carvalho de Assis
45fd5d44bd
DOC: Fix NXPlayer name typo
2024-02-22 08:09:44 -08:00
chao an
930ad64a0c
Documentation: Add docummentation for Infineon’s AURIX TriCore architecture
...
This commit add documentation for the Infineon’s AURIX TriCore architecture.
Signed-off-by: chao an <anchao@lixiang.com>
2024-02-21 21:39:19 -08:00
Jorge Guzman
97724cbe6c
stm32h7/linum-stm32h753bi: add modbus master using uart6
2024-02-21 07:20:08 -08:00
Saurav Pal
93d03d0418
fs: Add VFS docs
...
This commit adds VFS docmentation, and details about the VFS interface.
Signed-off-by: Saurav Pal <resyfer.dev@gmail.com>
2024-02-20 18:28:09 -08:00
Yanfeng Liu
81d3e123cb
docs/rpmsgfs: initial docs on RPMsg file system usage.
...
This patch adds steps about configuring and using the RPMsg file system
with simple example.
Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
2024-02-20 18:25:18 -08:00
Tiago Medicci Serrano
d453f94f63
Documentation: Add entry about the RMT peripheral for ESP32 family
...
Add documentation about the RMT peripheral (and using it to drive
WS2812 addressable RGB LEDs) for ESP32-S2, ESP32-S3, ESP32-C3,
ESP32-C6 and ESP32-H2.
2024-02-19 19:02:34 -08:00
Alan Carvalho de Assis
e0051240fb
Documentation: Add docummentation to AVR32DEV1/UC3B-CPU board.
...
This commit add documentation to the UC3B-CPU board, this is
board is a clone of Atmel AVR32DEV1.
Signed-off-by: Alan C. Assis <acassis@gmail.com>
2024-02-18 17:29:48 -08:00
raiden00pl
b3b543e093
arch/nrf52: add initial support for IEEE 802.15.4
...
Supported features:
- frame transmition
- frame reception and filtering
- immediate ACK (incoming and outgoing)
- promiscuous mode
- delayed transmision
- radio events trace
- setting pending bit for all incoming Data Request frames
- un-slotted CSMA-CA
Work in progres features (some logic is present, but they require more work):
- beacon transmision (periodic transmition works, but requires verification)
- slotted CSMA-CA
- GTS
Fetures not implemented:
- enhanced ACK (Enh-ACK)
- enhanced beacon
- low power mode
- advanced features from IEEE 802.15.4e (DSME, TSCH)
Added examples for boards:
- nrf52832-dk: mrf24j40_6lowpan
- nrf52832-dk: mrf24j40_mac
- nrf52840-dk: ieee802154_6lowpan
- nrf52840-dk: ieee802154_mac
- nrf52840-dongle: ieee802154_mac
- nrf9160-dk-nrf52: ieee802154_6lowpan
- nrf9160-dk-nrf52: ieee802154_mac
2024-02-18 07:40:41 -08:00
raiden00pl
a99275ec1a
various cosmetic changes related to ieee802154
2024-02-18 07:40:41 -08:00