Vendor may add extended sentence may not handled in switch, error if -Werror=switch enabled.
And extended sentence should not added to general examples.
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
For case that /dev/ram${EXAMPLES_SOTEST_DEVMINOR}(e.g. /dev/ram0) already exists, and users may not care which device to use.
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
Fix issue in these files:
examples/flowc/flowc_mktestdata.c
examples/nxhello/nxhello_listener.c
examples/system/system_main.c
fsutils/passwd/passwd_append.c
graphics/ft80x/ft80x_gpio.c
graphics/pdcurs34/pdcurses/pdc_keyname.c
graphics/pdcurs34/pdcurses/pdc_touch.c
modbus/functions/mbfuncdiag.c
Fixed by AI and checked by manual
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
dhcpd will set dip routing table 0.0.0.0|0.0.0.0|10.0.0.1 (TARGET|NETMASK|ROUTER) which will cover other's router 0.0.0.0|0.0.0.0|10.1.10.1.
And will cause shell/apps to internet failure.
Signed-off-by: meijian <meijian@xiaomi.com>
This enhances can example application with the possibility to send
CAN FD frames if FD mode is configured. Both EDL and BRS flags are
now correctly set with the latter one configurable with application's
arguments. Also data bytes are now correctly switched to DLC.
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
This patch is associated with 'https://github.com/apache/nuttx/pull/13048', so it cannot be verified separately by CI. Please help to associate and review it. Thank you!
Signed-off-by: gaohedong <gaohedong@xiaomi.com>
Compiling system/telnetd and examples/telnetd at the same time could not
generate two builtin commands, Because the name is the same, one will be
overwritten, but there will be no compilation errors.
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
- This PR adds `examples/leds_rust` to call NuttX POSIX APIs like `open()` and `ioctl()`, so that it blinks an LED
- The `leds_rust` app is also used for testing the GPIO and LED Drivers for Ox64 BL808 SBC and QEMU RISC-V Emulator in Google Summer of Code
- `leds_rust` be executed locally on Linux / macOS / Windows, by commenting out the first 2 lines of code
- The code is based on `examples/leds` in C, and `examples/hello_rust` in Rust
Co-Authored-By: Lup Yuen Lee <9960133+lupyuen@users.noreply.github.com>
Normally, the qencoder position is obtained using the QEIOC_POSITION
ioctl call. Adding the -i argument uses the QEIOC_GETINDEX to
obtain the qe_index_s struct containing the position alongisde
other fields.
Signed-off-by: Stepan Pressl <pressste@fel.cvut.cz>
* examples/sotest/lib/Makefile
- Add dynload directory to build
* examples/sotest/lib/dynload/Makefile
- Build the dynload shared object test
- Use SHMODULEFLAGS and not SHLDFLAGS
* examples/sotest/lib/dynload/dynload.c
- Test case for loading of ET_DYN shared objects
* examples/sotest/lib/dynload/.gitignore
- Exclude built object from git
* examples/sotest/sotest_main.c
- Load and invoke the dynload test