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
Masayuki Ishikawa
eeed03b174
tools: mkimport.sh: Add support relative file path
...
Summary:
- mkimport.sh only accepted absolute file path
- This commit adds support relative file path
Impact:
- None
Testing:
- Build (mkimport, make import) with sama5d4-ek:knsh
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-01-30 17:20:10 +01:00
Masayuki Ishikawa
cecc83d6b9
import: Make.defs: Fix 'make import' for CONFIG_BUILD_KERNEL=y
...
Summary:
- I noticed that 'make import' failed due to recent changes in nuttx
- This commit fixes this issue by adding logic for -lm
- Also applies the same style for -lgcc
Impact:
- CONFIG_BUILD_KERNEL=y only
Testing:
- Build (mkimport, make import) with sama5d4-ek:knsh
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-01-30 18:00:21 +08:00
Xiang Xiao
f6f4bbff3a
Replace EXIT_SUCCESS with 0 for BOARDIOC_[POWEROFF|RESET]
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-01-29 12:44:41 +01:00
Xiang Xiao
53cd8cda1f
system/adb: Support reset to bootloader and recovery mode
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-01-29 12:44:41 +01:00
Petro Karashchenko
41c8342927
examples/lvgldemo: bugfix typos and enable GRAPHICS_LVGL
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-01-29 00:54:29 +08:00
Petro Karashchenko
480400c523
examples/pca9635: change O_RDONLY to O_WRONLY for driver open call
...
PCA9635 driver does not support neither need nor write operations.
The ioctl is supports PWMIOC_SETLED_BRIGHTNESS that is write like
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-01-29 00:52:24 +08:00
liucheng5
93dbf8abe2
fix: sensor: modify sensortest for PPG
...
Modify sensortest for new sensor types PPGD and PPGQ instead old type PPG.
Signed-off-by: liucheng5 <liucheng5@xiaomi.com>
2022-01-28 14:08:16 +08:00
Petro Karashchenko
2498be1f40
romfsimg: add attribute to set minimum 4 bytes aignment for romfs image data
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-01-28 00:02:45 +08:00
Fotis Panagiotopoulos
6daec61423
Typo fix.
2022-01-28 00:02:08 +08:00