Huang Qi
9351ab50d5
system/libuv: Bump to v1.42.0
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-02-28 18:05:00 +08:00
Huang Qi
a79195a048
system/adb: Remove unsed macro __NUTTX__
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-02-28 18:05:00 +08:00
Piet
aa2c9e7c33
hello_rust: changes for target support
2022-02-25 23:22:24 +08:00
Alan C. Assis
0baf524def
apps: Modify oneshot example to let users see it working
2022-02-25 11:55:10 +08:00
Alin Jerpelea
18609ab1df
mlearning: cmsis: enable FPU support
...
In case of HW with FPU we can benefit from the FPU support.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-24 11:26:27 -03:00
zhanghu6
18b5902a3e
apps/trace: add switch and dump instrumentation
...
usage:
trace switch switch [+|-]
Configure switch trace filter
trace print [+|-]
Configure dump trace filter
Signed-off-by: zhanghu6 <zhanghu6@xiaomi.com>
2022-02-24 10:23:50 -03:00
anjiahao
4680a25a8c
cmd_dd:if read nbyte less than bs,must write nbyte
...
if a file size is 10
use dd if=a of=b bs = 8
b file size will 16, is a error
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-02-24 10:21:33 -03:00
Jiuzhu Dong
283b1a4dfc
nshlib/cmd_memdump: support new command: memdump
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2022-02-24 02:16:00 +08:00
Jiuzhu Dong
372621ed06
nshlib/ps: support display heap info for every task by cmd ps
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2022-02-24 02:16:00 +08:00
Alin Jerpelea
67c05f172b
mlearning: cmsis: libcmsisdsp: simplify config naming
...
the extra function configuration name can be simplified
for better readability
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-24 00:56:22 +08:00
Alin Jerpelea
a943184ab2
NNABLA: build as a module
...
NNABLA_RT should compile as a module to provide the necessary support
for the dnn test application
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-23 21:57:25 +08:00
Alin Jerpelea
0ee15da565
cmsis: build CMSIS support as a module
...
CMSIS should compile as a module to provide the necessary support
for the dnn test application
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-23 21:57:25 +08:00
Alin Jerpelea
0c69ccea18
libcmsisnn: add the new CHW functionality
...
The patch for CHW functionality has been added as a result we
can compile the new functions
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-23 21:57:25 +08:00
Ville Juven
c1453b589d
BUILD_KERNEL: Include CPP libraries only if configured to do so
...
Otherwise build without HAVE_CXX flag fails
2022-02-23 19:47:32 +08:00
Xiang Xiao
0b722cc864
nshlib: Remove format variable from date_showtime
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-23 01:21:44 +08:00
Xiang Xiao
4cc0c755bf
Remove CONFIG_CLOCK_MONOTONIC special code
...
since this opion doesn't exist anymore
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-23 01:21:44 +08:00
Xiang Xiao
bc5d1165aa
Replace cygpath with CONVERT_PATH
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-20 16:08:10 +01:00
Xiang Xiao
45af16099b
interpreters/duktape: Remove v from tar command
...
to avoid the verbose unzip message
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-20 15:53:27 +01:00
Xiang Xiao
497c69c514
graphics/nxwidgets: Rename ARCHCPUFLAGS[XX] to ARCHC[XX]FLAGS
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-20 15:52:43 +01:00
raiden00pl
fbb09ff128
foclib/fixed16: add support for observers
2022-02-20 21:55:14 +08:00
raiden00pl
52beb5f717
industry/foc/float: cosmetics
2022-02-20 21:55:14 +08:00
Piet
c1757660a6
apps: hello_rust example program
2022-02-20 07:37:29 +08:00
raiden00pl
7df20da96c
industry/foc: refactor and fixes for angle observers
2022-02-20 07:36:36 +08:00
raiden00pl
8422f9c3f9
industry/foc: remove choice option for angle observers
2022-02-20 07:36:36 +08:00
raiden00pl
c16f1408a6
industry/foc: update comments
2022-02-20 07:36:36 +08:00
raiden00pl
d76a7c242b
industry/foc: fix compilation for smo
2022-02-20 07:36:36 +08:00
raiden00pl
d6cdc5a423
industry/foc: rename dir to sensor_dir to be clear that it relates to the direction of the sensor, no movement direction
2022-02-20 07:36:36 +08:00
zouboan
34e4da2304
industry/foc: add support for angle from sensorless observer
2022-02-19 15:37:35 +01:00
Piet
df6b892c4b
apps: Enable Rust based application.
2022-02-19 17:59:13 +08:00
Alin Jerpelea
02a50ccb1f
mlearning: CMSIS NN: add support for the CHW tensor layout
...
- support float version of convolution
- support the CHW tensor layout
following function prototypes are added:
- arm_convolve_CHW_f32_basic_nonsquare()
- arm_convolve_CHW_q15_basic_nonsquare()
- arm_convolve_CHW_q7_basic_nonsquare()
- arm_nn_CHW_mat_mult_kernel_q7_q15()
NOTE:this patch will be contributed to SMSIS and reverted later from NuttX
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-19 00:54:49 +08:00
Xiang Xiao
a6773a8412
tools/mksymtab.sh: Disable the mismatch warning of builtin declaration
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-18 09:04:57 +01:00
raiden00pl
81f15936c1
examples/foc/foc_parseargs.c: fix help message
2022-02-17 10:30:41 +01:00
raiden00pl
95b1625a6d
examples/foc/foc_motor: store the configured FOC run mode in a separate variable
...
The controller mode can change during example execution and depends on the thread state (IDENT [not yet upstream] / ALIGN / RUN)
2022-02-17 10:30:41 +01:00
Xiang Xiao
b1276ea1b4
system/adb: Change the default value of ADBD_PAYLOAD_SIZE to 1024
...
improve the speed of "adb push" and "adb pull"
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-17 05:26:27 +01:00
raiden00pl
3b1967ec71
examples/foc: add an option to disable motor controller logic
...
This is useful feature for debug purposes.
2022-02-16 23:57:27 +08:00
raiden00pl
e6b6c14f53
examples/foc: make the FOC current controller configurable
...
For now only the FOC PI current controller is supported, but this can be easily extended to support other control methods
2022-02-16 23:49:46 +08:00
raiden00pl
5ef9d3630b
industry/foc/float: add velocity observers support
2022-02-16 23:49:12 +08:00
Petro Karashchenko
9a85c405f5
examples/buttons: fix strange code in buttons_main
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-02-16 23:48:24 +08:00
Alin Jerpelea
020503576c
mlearning: nnabla: fix include path
...
During contribution the folders have moved and the path
should be updated
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-16 23:47:50 +08:00
Xiang Xiao
0426c8c09f
Fix error: 'strncpy' specified bound 16 equals destination size
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-15 12:38:03 +01:00
Huang Qi
5451214d0b
ftpd: Remove usage of deprecated macro __NUTTX__
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-02-14 13:57:10 +08:00
Alexander Lunev
e317d32fe1
netutils/netcat: fixed crash on accept() invocation.
...
Sometimes netcat in server mode crashed with "psock_accept: ERROR: si_accept failed: -9".
And sometimes it crashed with "up_assert: Assertion failed at file:inet/inet_sockif.c line: 841 task: netcat".
2022-02-10 12:20:27 +08:00
Xiang Xiao
f4fdf94d53
system/cu: Don't select SERIAL_TERMIOS in Kconfig
...
since all terminal related code is already guarded by CONFIG_SERIAL_TERMIOS
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-09 18:36:25 +01:00
Xiang Xiao
8361990261
netutils: Check lo by CONFIG_NET_LOOPBACK not CONFIG_NET_LOCAL
...
CONFIG_NET_LOCAL is used to enable Unix Domain Socket
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-09 12:13:31 +08:00
chao.an
c48a8fdf4e
examples/tcpecho: fix typo
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-02-08 20:57:55 +01:00
Xiang Xiao
9534c640e8
system/adb: Fix error: 'fd' may be used uninitialized in this function
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-03 22:27:01 +01:00
YAMAMOTO Takashi
09d778558c
Application.mk: Link the compiler runtime for ELF modules
...
An alternative is to have symbols like __udivdi3 in
the symbol table explicitly when loading the module.
But I feel it's too cumbersome to maintain.
2022-02-04 04:05:44 +08:00
Gerson Fernando Budke
836cd05526
examples: Add mcuboot Swap Test example
...
This example demonstrate swap between two valid images. Instructions
are available at readme.md file inside project directory.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2022-02-02 17:38:29 +08:00
Alin Jerpelea
5dc7694b17
Add support for CMSIS NN
...
the CMSIS NN software library is a collection of efficient neural
network kernels developed to maximize the performance and minimize
the memory footprint of neural networks on Cortex-M processor cores.
Project https://github.com/ARM-software/CMSIS_5
The library is divided into a number of functions each covering
a specific category:
Convolution Functions
Activation Functions
Fully-connected Layer Functions
SVDF Layer Functions
Pooling Functions
Softmax Functions
Basic math Functions
The library has separate functions for operating on different weight
and activation data types including 8-bit integers (q7_t) and 16-bit
integers (q15_t). The descrition of the kernels are included in the
function description.
More information
https://www.keil.com/pack/doc/CMSIS/NN/html/index.html
Project license : Apache 2.0 License
https://github.com/ARM-software/CMSIS_5/blob/develop/LICENSE.txt
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-01 19:53:07 +08:00
Xiang Xiao
60989b196c
neutils/thttpd: Remove CONFIG_SDCLONE_DISABLE
...
since this option doesn't exist anymore
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-01-31 19:03:55 +01:00