Commit Graph

7571 Commits

Author SHA1 Message Date
YAMAMOTO Takashi
9a375abc08 toywasm: regen
```
REF=4db87d399cc871845237557020dae595cd6384dc ./regen.sh
```
2024-07-28 15:52:36 +08:00
YAMAMOTO Takashi
7570eae2ce toywasm: bump to v57.0.0 2024-07-28 15:52:36 +08:00
SPRESENSE
8a82400929 examples/camera: Fix wrong device file path
In camera_main.c, the dev paths of capture_initialize() and open()
are different. So open could always failed.
2024-07-28 15:52:26 +08:00
simbit18
00e77de94f build.yml: Updated the workflow to use version v4 of the actions/upload-artifact and actions/download-artifact
Sync the version of the macOS runner on GitHub with the version used in the nuttx repository.

runs-on: macos-12 -> runs-on: macos-13
2024-07-23 01:30:43 +08:00
Matteo Golin
2fce155def i2ctool dev has a -z option to use a zero-byte write request for
scanning the bus, which allows detection of more sensors such as the
MS5611 and SHT41 to be detected.
2024-07-20 08:51:59 -03:00
YAMAMOTO Takashi
2ef3eb25c0 wamr: add a few missing options to match the wamr repo counterpart 2024-07-18 23:02:20 +08:00
simbit18
c9ce47b33d github/workflows/build.yml: added option -N job docker (Linux)
added option -N Use CMake with Ninja as the backend.

depends on this PR https://github.com/apache/nuttx/pull/12721
2024-07-18 23:00:42 +08:00
shizhenghui
836aecb10d videoutils/x264: clone from github if no x264 source
Signed-off-by: shizhenghui <shizhenghui@xiaomi.com>
2024-07-17 12:06:51 -03:00
shizhenghui
7704254f68 videoutils/openh264: fix CI error since no sys/sysctl.h
Add sys/sysctl.h to apps/videoutils/openh264

Signed-off-by: shizhenghui <shizhenghui@xiaomi.com>
2024-07-17 12:06:51 -03:00
shizhenghui
697aa8f43e apps: move x264 to apps/videoutils/x264
Signed-off-by: shizhenghui <shizhenghui@xiaomi.com>
2024-07-17 12:06:51 -03:00
shizhenghui
639da1a1d6 openh264: add CMakeLists.txt
Signed-off-by: shizhenghui <shizhenghui@xiaomi.com>
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2024-07-17 12:06:51 -03:00
shizhenghui
def2002dc0 apps: add videoutils to CMakeLists.txt
Signed-off-by: shizhenghui <shizhenghui@xiaomi.com>
2024-07-17 12:06:51 -03:00
shizhenghui
0ff647af4d apps/openh264: add Makefile
Signed-off-by: shizhenghui <shizhenghui@xiaomi.com>
2024-07-17 12:06:51 -03:00
shizhenghui
1840668e29 apps/videoutils: add Makefile
Signed-off-by: shizhenghui <shizhenghui@xiaomi.com>
2024-07-17 12:06:51 -03:00
SPRESENSE
b0cfc93ba7 lte/alt1250: Select NET_USRSOCK_ICMP if LTE_ALT1250 is enabled
The change by https://github.com/apache/nuttx/pull/12639
to enable CONFIG_NET_ICMP as default has made it necessary
to enable CONFIG_MM_IOB which is unnecessary for usrsock.

CONFIG_NET_USRSOCK_ICMP should be enabled if usrsock is used.
2024-07-16 21:46:23 +08:00
Rodrigo Sim
4aea0dff38 examples/telnetd: Add support to reset command
Signed-off-by: Rodrigo Sim rcsim10@gmail.com
2024-07-16 09:06:16 +08:00
YAMAMOTO Takashi
437cf845fa wamr: bump the default version
There is little reason to prefer the ancient version from 2021.
2024-07-15 09:39:26 +08:00
YAMAMOTO Takashi
a0d98f1951 wamr: add an option for exception-handling 2024-07-12 12:08:05 +08:00
YAMAMOTO Takashi
9715b813d3 toywasm: regen for v54.0.0
```
REF=034952e424600381b45d9d400735bfeb96fd5848 ./regen.sh
```
2024-07-12 12:07:44 +08:00
YAMAMOTO Takashi
a9e7b84c81 toywasm: bump to v54.0.0 2024-07-12 12:07:44 +08:00
Denis Ryndine
1852731df8 dd_main.c: Add oseek optional argument.
- If oseek=N passed, will seek N*bs on output file before writing.
2024-07-10 00:16:25 +08:00
shizhenghui
ea64cefa33 nxcodec: improve Kconfig help
Signed-off-by: shizhenghui <shizhenghui@xiaomi.com>
2024-07-10 00:16:14 +08:00
shizhenghui
ae9f4e2231 nxcodec: update log information
Signed-off-by: shizhenghui <shizhenghui@xiaomi.com>
2024-07-09 16:32:21 +08:00
yangsen5
69a56e7260 system/nxcodec: modify print usage
Signed-off-by: yangsen5 <yangsen5@xiaomi.com>
2024-07-09 16:32:21 +08:00
yangsen5
b3a424613b system/nxcodec: add CMakeLists.txt
Signed-off-by: yangsen5 <yangsen5@xiaomi.com>
2024-07-09 16:32:21 +08:00
yangsen5
9312a74004 add m2m decoder/encoder test
Signed-off-by: yangsen5 <yangsen5@xiaomi.com>
2024-07-09 16:32:21 +08:00
Alan Carvalho de Assis
6b9d51793f Fix error caused by netinit code assuming CONFIG_NETINIT_DNS was enabled
Signed-off-by: Alan C. Assis <acassis@gmail.com>
2024-07-07 10:35:49 +08:00
Windrow14
0989d820ed testing/[sd_bench|sd_stress]: make print compatible for both 32-bit and 64-bit environment.
Use size_t and %zu in printf of sd modules to fix compilation errors in 64-bit environment.

Signed-off-by: Yinzhe Wu <Yinzhe.Wu@sony.com>
Reviewed-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Reviewed-by: Jacky Cao <Jacky.Cao@sony.com>
Tested-by: Yinzhe Wu <Yinzhe.Wu@sony.com>
2024-07-04 17:43:32 +08:00
Windrow14
5330306aca testing/smart_test/smart_test.c: fix wrong offset in fseek
To seek to the last 30 bytes of the file, offset from SEEK_END
should be negative.

Signed-off-by: Yinzhe Wu <Yinzhe.Wu@sony.com>
Reviewed-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Reviewed-by: Jacky Cao <Jacky.Cao@sony.com>
2024-07-04 01:12:44 +08:00
raiden00pl
5d779386c8 lpt/Kconfig: hide TESTING_LTP_STACKSIZE option
hide TESTING_LTP_STACKSIZE option when TESTING_LTP=n
2024-07-04 01:12:27 +08:00
Alan Carvalho de Assis
e9f60d85b9 examples/telnetd: Make it clear the goal of this telned
Signed-of-by: Alan C. Assis <acassis@gmail.com>
2024-07-03 17:47:10 +08:00
xuxin19
cbcf9ec168 cmake:add CMake build for libuv
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2024-06-30 21:40:25 +08:00
xuxin19
8e15514955 cmake:add zlib CMake build
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2024-06-30 21:40:25 +08:00
xuxin19
2e133feb09 cmake:support system apps CMake build
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2024-06-30 21:40:25 +08:00
Alan Carvalho de Assis
c7072b45bb examples/stepper: Fix typo inside for() loop 2024-06-30 13:29:01 +08:00
xuxin19
20c0a7243c cmake:port testing applications to CMake build
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2024-06-29 22:31:03 +08:00
p-szafonimateusz
097ed5c27d oneshot/oneshot_main.c: fix printf warning
fix printf warning in examples/oneshot

Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
2024-06-29 11:08:14 -03:00
SPRESENSE
42b16e3004 examples: Remove unnecessary descriptions from Makefile
Remove unnecessary SDKDIR variable from some Makefiles.
And fix audio_rttl to pass cmake build.
2024-06-28 20:17:13 +08:00
SPRESENSE
4957c2be8d lte: Add CMakeLists.txt
Add CMakeLists.txt to lte alt1250 and lapi.
2024-06-28 20:17:04 +08:00
SPRESENSE
97d399dcb8 system/spi: Add CMakeLists.txt
Add CMakeLists.txt to system SPI tool.
2024-06-28 20:17:04 +08:00
SPRESENSE
8cd8866d87 audioutils/fmsynth: Fix CMakeLists.txt
Fix a configuration name used in CMakeLists.txt.
2024-06-28 20:17:04 +08:00
Huang Qi
2e5a269e7f testing: Add simple debug test program
It is a simple test case of the NuttX debugging facilities (breakpoint and watchpoint).

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2024-06-26 00:19:26 +08:00
Yanfeng Liu
832cd28e52 testing/ostest: fpu.c for rv64ilp32
This revises fpu.c to support rv64ilp32

Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
2024-06-24 22:03:58 +08:00
Yanfeng Liu
2a2c5a420e system/telnetd: add CMake script
This adds CMake support for the `telnetd` command

Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
2024-06-24 22:03:43 +08:00
buxiasen
cda5140c4d pm_rumtime: test shorten time, make compatible with SMP.
Signed-off-by: buxiasen <buxiasen@xiaomi.com>
2024-06-21 10:20:11 +08:00
Zhe Weng
f620353507 system/iptables: Support ip6tables & filter table
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2024-06-21 10:16:01 +08:00
Zhe Weng
3022f836dc netlib/ip6tables: Add functions for ip6tables & filter table
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2024-06-21 10:16:01 +08:00
Zhe Weng
8ae06462eb system/iptables: Support filter table
Add supports for filter table, usage is same as Linux's iptables, including:
- [!] -p/--protocol
- [!] -s/--source -d/--destination
- [!] -i/--in-interface -o/--out-interface
- [!] --sport/--source-port --dport/--destination-port
- [!] --icmp-type

Examples:
> iptables -P FORWARD DROP
> iptables -I INPUT -i eth0 ! -p icmp -j DROP
> iptables -t filter -A FORWARD -p tcp -s 10.0.1.2/24 -d 10.0.3.4/24 -i eth0 -o eth1 --sport 3000:3200 --dport 123:65535 -j ACCEPT
> iptables -t filter -I FORWARD 2 -p icmp ! -s 123.123.123.123 ! -i eth0 -o eth1 ! --icmp-type 255 -j REJECT

> iptables -L
Chain INPUT (policy ACCEPT)
target        prot  idev  odev  source              destination
DROP         !icmp  eth0  any   anywhere            anywhere

Chain FORWARD (policy DROP)
target        prot  idev  odev  source              destination
ACCEPT        tcp   eth0  eth1  10.0.1.2/24         10.0.3.4/24        tcp spts:3000:3200 dpts:123:65535
REJECT        icmp !eth0  eth1 !123.123.123.123/32  anywhere           icmp !type 255

Chain OUTPUT (policy ACCEPT)
target        prot  idev  odev  source              destination

Note:
- We're dropping dependency of argtable3, since it is difficult to support command like '! -p tcp ! -i eth0'

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2024-06-21 10:16:01 +08:00
Zhe Weng
4283e57013 netlib/iptables: Add functions for filter table
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2024-06-21 10:16:01 +08:00
Zhe Weng
9fcde632a7 netlib/iptables: Change matching to memcmp all related structs
Compare both the struct ipt_ip, the match and the target, to support
more entry types other than NAT entry.

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2024-06-21 10:16:01 +08:00