Abdelatif Guettouche
31ad83e018
system/sched_note/Makefile: Fix program name.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-11-12 08:29:03 -06:00
ligd
a4dd508c9c
nshlib/nsh_proccmds.c: update ps_callback when get Group
...
Cause of "Group:" always have in file "status"
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-11-11 11:13:04 -03:00
Xiang Xiao
850c036c58
nshlib/stdsession: Handle the command arguments in any order
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-09 13:39:10 -03:00
Xiang Xiao
ad09ca2a80
nshlib: sync nsh_stdsession.c with nsh_session.c
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-09 13:39:10 -03:00
Xiang Xiao
a0f773b318
nshlib/nsh_session: Handle the command arguments in any order
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-09 09:35:40 -03:00
Xiang Xiao
991e491c94
nsh: Remove the duplicated NSH_MMCSDMINOR
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-08 10:43:47 -03:00
Xiang Xiao
35e442d08c
system/readline: Move READLINE_HAVE_EXTMATCH inside SYSTEM_READLINE section
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-08 10:43:47 -03:00
erhan cengiz
6b7fe2ac51
FOC Kconfig corrected
2021-11-08 07:40:09 -06:00
Xiang Xiao
8b447704d3
nshlib: Disable Individual commands when DEFAULT_SMALL equals y
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-07 13:17:52 +01:00
raiden00pl
629e5a8e62
examples/foc: add support for sensor index search
2021-11-07 03:46:17 -06:00
raiden00pl
54c0b9a9d8
industry/foc/foc_align: add support for sensor index search
2021-11-07 03:46:17 -06:00
raiden00pl
15b66aa128
examples/foc: add Qenco support
2021-11-07 03:44:03 -06:00
raiden00pl
171a3c41df
industry/foc/qenco: add support for encoder index
2021-11-07 03:44:03 -06:00
raiden00pl
f38d7d2ed3
examples/foc: terminate main loop if FOC control loop terminated
2021-11-07 03:42:06 -06:00
Gustavo Henrique Nihei
19b9c2371c
boot/mcuboot: Add support for using Mbed TLS as crypto backend
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-04 23:22:29 -05:00
Gustavo Henrique Nihei
6942378695
boot/mcuboot: Fix inclusion of more than one example app
...
Even though the options existed, the second application would override
the values, resulting in the missing first application on the final
binary.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-04 23:22:14 -05:00
Gustavo Henrique Nihei
fbdfb0ef96
crypto/mbedtls: Bump Mbed TLS to version 3.0.0
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-04 23:19:58 -05:00
raiden00pl
5ee9572531
examples/foc: add Hall sensor support
2021-11-04 13:50:57 -05:00
raiden00pl
c771942d8e
examples/foc: add support for sensor alignment
2021-11-04 13:50:57 -05:00
raiden00pl
b30f3329f6
foc/examples: initial logic to support torque, velocity and position controller modes
2021-11-04 13:50:57 -05:00
raiden00pl
b0eeefd0a5
examples/foc: add logic for controller state machine
2021-11-04 13:50:57 -05:00
raiden00pl
5a9b3a70f7
industry/foc/fixed16/foc_ang_hall.c: fix warning
2021-11-04 13:50:57 -05:00
raiden00pl
9076c899d4
industry/foc/fixed16/foc_align.c: fix incorrect b16_t operations
2021-11-04 13:50:57 -05:00
Cocoacrumbs
a846e55a0e
Fixes BAS list 'Error: Break at: end of program' error.
2021-11-04 13:48:57 -05:00
Gustavo Henrique Nihei
ea49e7edf6
README.md: Add export restriction notice for MbedTLS
2021-11-04 15:20:14 -03:00
Brennan Ashton
c2057d77b2
crypto: Initial support for mbedtls
...
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2021-11-04 15:20:14 -03:00
raiden00pl
f9cec1c770
examples/foc: move the motor controller code to separate files
2021-10-31 12:13:45 -05:00
raiden00pl
22ed7da99c
examples/foc: move the common FOC dev logic from threads to one place
2021-10-31 12:13:45 -05:00
raiden00pl
e0ef3cecb9
examples/foc: move FOC device data to foc_device_s
2021-10-31 12:13:45 -05:00
raiden00pl
33b34f8852
examples/foc: open FOC device in FOC threads
2021-10-31 12:13:45 -05:00
raiden00pl
2d034ed09a
examples/foc: separate motor control logic from motor state logic
2021-10-31 12:13:45 -05:00
Xiang Xiao
3ba18e5407
testing/ostest: Fix the compiler warning
...
aio.c: In function ‘check_done’:
aio.c:158:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ssize_t’ {aka ‘volatile long int’} [-Wformat=]
158 | printf(" list[%d]. result = %d\n", i, aiocbp->aio_result);
| ~^ ~~~~~~~~~~~~~~~~~~
| | |
| int ssize_t {aka volatile long int}
| %ld
aio.c: In function ‘remove_done’:
aio.c:222:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ssize_t’ {aka ‘volatile long int’} [-Wformat=]
222 | printf(" list[%d]. result = %d\n", i, aiocbp->aio_result);
| ~^ ~~~~~~~~~~~~~~~~~~
| | |
| int ssize_t {aka volatile long int}
| %ld
sporadic2.c: In function ‘sporadic2_test’:
sporadic2.c:313:10: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
313 | printf("Sporadic 1: prio high %d, low %d, repl %" PRIi32 " ns\n",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xiaoxiang/backup/os/nuttx/nuttx/include/stdint.h:35,
from /home/xiaoxiang/backup/os/nuttx/nuttx/include/sys/types.h:32,
from /home/xiaoxiang/backup/os/nuttx/nuttx/include/stdio.h:30,
from sporadic2.c:27:
/home/xiaoxiang/backup/os/nuttx/nuttx/include/arch/inttypes.h:51:24: note: format string is defined here
51 | # define PRIi32 "i"
sporadic2.c:315:10: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
315 | printf("Sporadic 2: prio high %d, low %d, repl %" PRIi32 " ns\n",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-10-31 14:07:25 -03:00
raiden00pl
2fb79db8b4
examples/foc: replace the requested velocity input with a more general setpoint input.
...
This is the inital step to support torque/velocity/position control
2021-10-30 13:50:56 -05:00
raiden00pl
4001d27571
industry/foc: add support for Hall sensor
2021-10-30 10:17:07 -05:00
raiden00pl
5b52247625
industry/foc: add support for qenco
2021-10-30 10:17:07 -05:00
raiden00pl
df1638a3aa
industry/foc/*/foc_openloop.c: rename files to foc_ang_openloop.c
2021-10-30 10:17:07 -05:00
raiden00pl
ff839dcf3e
industry/foc/*/foc_openloop.c: adapt to previous changes
2021-10-30 10:17:07 -05:00
raiden00pl
515a25fbb8
industry/foc/*/foc_velocity.c: add methods to set the zero velocity and direction of the velocity
2021-10-30 10:17:07 -05:00
raiden00pl
6cafdae44a
industry/foc/*/foc_angle.c: add methods to set the zero angle and direction of the angle
2021-10-30 10:17:07 -05:00
raiden00pl
2e61b3e310
industry/foc/*/foc_velocity.c: run method should return int
2021-10-30 10:17:07 -05:00
raiden00pl
cb78f6d0df
industry/foc/*/foc_angle.c: run method should return int
2021-10-30 10:17:07 -05:00
raiden00pl
27c282a58a
include/industry/foc/*/foc_angle.h: add a field with angle type
2021-10-30 10:17:07 -05:00
raiden00pl
9c8e3cc46a
examples/foc: add option to disable open-loop operations
...
Initial step towards sensored control
2021-10-30 10:00:38 -05:00
raiden00pl
cc4d817df4
examples/foc: use getopt to parse arguments
2021-10-30 07:59:02 -05:00
raiden00pl
013caaa334
examples/foc: move the parse args logic to a separate file
2021-10-30 07:59:02 -05:00
raiden00pl
7a272dfca3
industry/foc/*/foc_model_pmsm.c: cosmetics
2021-10-30 01:19:43 -05:00
raiden00pl
9362fe760d
include/industry/foc/*/foc_handler.h: remove useless FAR
2021-10-30 01:19:43 -05:00
raiden00pl
f009d68a91
industry/foc: add motor identification routine
2021-10-30 01:18:12 -05:00
raiden00pl
f2fc2af8e3
industry/foc: add sensor alignment routine
2021-10-30 01:18:12 -05:00
raiden00pl
084cfa4e5e
industry/foc: add general FOC routine handler
2021-10-30 01:18:12 -05:00