Commit Graph

5532 Commits

Author SHA1 Message Date
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
Jiuzhu Dong
f5e40d3809 fsutils/mkgpt: support gpt partition format
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-10-28 08:54:30 +02:00
Jiuzhu Dong
aaf6f5c4cb fsutils/mkmbr: support mbr partition format
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-10-28 08:54:30 +02:00
Jiuzhu Dong
b480d00323 rexec: support send command with arguments
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-10-23 03:58:49 -05:00
songlinzhang
98dfaa3eff dhcpc abnormal block
The logic changes are as follows:
1、Loop sending the DISCOVER up to CONFIG_NETUTILS_DHCPC_RETRIES times
   and exit if failure
2、Loop sending the REQUEST up to CONFIG_NETUTILS_DHCPC_RETRIES times
   and exit if failure

Signed-off-by: songlinzhang <songlinzhang@xiaomi.com>
2021-10-22 09:20:25 -03:00
anjiahao
80dcc185f3 echo: support echo opthon -e
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2021-10-21 23:33:09 -05:00
Alan C. Assis
1028d5abbe apps/btask: Fix line feed when there is not advertised data
Note the item "4." doesn't appear at right place:

nsh> bt bnep0 scan start
nsh> bt bnep0 scan stop
nsh> bt bnep0 scan get
Scan result:
 1.     addr:           5a:ae:bd:0b:88:b9 type: 1
        rssi:            -96
        response type:   3
        advertiser data: 1e ff 06 00 01 09 20 02 72 36 18 d5 2c 3f 38 e5
                         fd a5 49 f8 3c e8 a9 f8 15 a8 0e 20 ea 51 02
 2.     addr:           f3:d5:9a:7f:79:54 type: 1
        rssi:            -61
        response type:   0
        advertiser data: 02 01 06 05 03 0a 18 e7 fe 0b ff 34 12 fe e7 f3
                         d5 9a 7f 79 54 05 09 44 4b 30 38
 3.     addr:           f3:d5:9a:7f:79:54 type: 1
        rssi:            -61
        response type:   4
        advertiser data: 4.     addr:           e8:b4:9f:83:66:fd type: 1
        rssi:            -96
        response type:   0
        advertiser data: 02 01 1e 0a ff 75 00 01 00 02 00 01 03 02 03 19
                         c0 00
 5.     addr:           38:6d:34:58:86:6d type: 1
        rssi:            -92
        response type:   3
        advertiser data: 1e ff 06 00 01 09 20 02 e7 45 ff 96 96 eb 1a e8
                         aa 18 cf 37 04 d3 f9 00 28 98 67 97 8a ce 84
nsh>
2021-10-21 23:31:41 -05:00
baggio63446333
562239ecb2 tools/mksymtab.sh: Fix issue to generate symtab_apps.c for MSYS
The file permission is used to get the execlist, but the file permission
cannot be changed for MSYS environment. As a result, symtab_apps.c cannot
be generated correctly. This commit removes the permission match.
2021-10-05 06:23:29 -07:00
Xiang Xiao
8d3a536650 examples/charger: Update enum type usage per kernel change
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-09-30 15:37:05 +09:00
Alan C. Assis
cb1b8e10db chat: Replace _info with ninfo to avoid polluting the nsh 2021-09-27 10:31:43 +02:00
liuyang34
ab3cca4ae1 wapi: add 5g channel map in wapi
Signed-off-by: liuyang34 <liuyang34@xiaomi.com>
2021-09-24 13:48:47 +08:00
Jari van Ewijk
7cbe2db2c9 SLCAN: Fix incorrect format identifier in print function 2021-09-17 08:20:08 -05:00
SPRESENSE
d8757a6bcf examples/camera: Fix some issues and update license
Fix some issues and update license to apache.
- Fails to open the video driver.
- Change format from YUV422 to RGB565,
  and add captured image output to LCD.
- An application cannot exit by infinite loop.
- In video-only mode without capturing still images,
  do not allocate capture memory for still images to
  reduce the memory usage.
2021-09-16 10:45:36 +02:00
Alin Jerpelea
7ffa080a2a examples: camera: add EXAMPLES_CAMERA_OUTPUT_LCD
until the camera patches are merged we must add the
EXAMPLES_CAMERA_OUTPUT_LCD option to Kconfig

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-15 14:47:45 +08:00
YAMAMOTO Takashi
78fb3bc240 webclient: handle EINTR in a few places 2021-09-14 14:39:29 +08:00
Jiuzhu Dong
2add33e6a3 rexecd/rexec: support AF_RPMSG to communicate
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-09-13 09:00:20 +08:00
Jiuzhu Dong
00e7be92dc netutils: support rexec and rexecd
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-09-13 09:00:20 +08:00
Vagner Guadagnin
b11dcc34c6 examples/wgetjson: fix concatenation len buffer json 2021-09-12 09:08:49 -03:00
Jiuzhu Dong
5c1626c764 netutils: add NETLIB_SOCK_TYPE for AF_RPMSG
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-09-12 11:37:53 +08:00
Jiuzhu Dong
5a5448df04 nsh: fix compile break about closing CONFIG_NSH_DISABLESCRIPT
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-09-12 11:37:19 +08:00
Jiuzhu Dong
16c9068d5f nsh: fix compile break about closing CONFIG_NSH_DISABLEBG
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-09-12 11:36:54 +08:00
Jiuzhu Dong
293b89af44 sensortest: modify errno type when api not support
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-09-11 23:02:21 +02:00
Gustavo Henrique Nihei
b989c3d536 github: Update links to Docker Linux image
GitHub's Docker registry has been replaced by the Container registry.

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-04 14:25:07 +08:00
Alexander Lunev
7a88209077 examples/ipforward: improved ipforward test to analyze the order of forwarded packets 2021-09-04 14:24:47 +08:00
Erdem Meydanli
c222043ed1 system/termcurses: Add terminate operation into the termcurses_ops_s interface
The existing implementation of the termcurses_deinitterm calls
termcurses_setcolors with some hard-coded values, leading to different
terminal emulators' behavior. Instead, a reset call needs to be made to
the implementation to roll back changes.

A new operation (terminate) has been added to the termcurses_ops interface
to achieve this functionality.

The vt100's terminate implementation ensures that default foreground and
background colors are applied portably across different terminals emulators.
2021-08-28 21:12:40 +08:00
Juha Niskanen
4f095a193e testing/smart: fix wrong hard-coded device pathname and sector size
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2021-08-27 10:56:57 +08:00
Juha Niskanen
b283289986 apps: fix miscellaneous typos
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2021-08-26 11:39:28 -07:00
Gustavo Henrique Nihei
602092dc81 boot/mcuboot: Bump MCUboot version
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-20 13:23:38 -03:00
Gustavo Henrique Nihei
325a40b4d1 boot/mcuboot: Deactivate warnings to enable build of MCUboot library
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-20 13:23:38 -03:00
Gustavo Henrique Nihei
ea5eb0c1d0 boot/mcuboot: Default to Tinycrypt as crypto backend
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-20 06:44:15 -03:00
Gustavo Henrique Nihei
794cfd0c5c boot/mcuboot: Add support for MCUboot bootloader
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-20 06:44:15 -03:00
raiden00pl
e6b767f185 examples: add Hall effect sensor example 2021-08-19 08:32:24 -07:00
SPRESENSE
8e0892b2f2 nshlib: Fix write buffer position in nsh cp command
The iobuffer for write buffer position need to be update if write
API cannot write data at once.
2021-08-19 08:31:34 -07:00
Alin Jerpelea
1c3d08a738 canutils: libcanutils: add GPL build barrier
Exclude libcanutils from build unless the license is set to
allow GPL code in the build.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-18 13:28:17 -03:00
YAMAMOTO Takashi
23e0325698 webclient: check content-length
While it's better to use a reliable transport like
TLS with working close notify, it isn't always possible.
2021-08-16 09:47:44 -07:00
Alin Jerpelea
c9bee94bd7 apps: canutils: libcanutils: move error.h from NuttX
This file is used by the libcanutils and can be isolated in apps

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-16 09:45:33 -07:00