raiden00pl
15b66aa128
examples/foc: add Qenco support
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
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
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
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
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
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
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
Vagner Guadagnin
b11dcc34c6
examples/wgetjson: fix concatenation len buffer json
2021-09-12 09:08:49 -03:00
Alexander Lunev
7a88209077
examples/ipforward: improved ipforward test to analyze the order of forwarded packets
2021-09-04 14:24:47 +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
raiden00pl
e6b767f185
examples: add Hall effect sensor example
2021-08-19 08:32:24 -07:00
Xiang Xiao
605c90aedc
examples/userfs: Implement the dummy callback of fchstat and chstat
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-15 12:52:47 +02:00
raiden00pl
4fa7248036
examples/qencoder: add an option to configure the encoder maximum position
...
Signed-off-by: raiden00pl <raiden00@railab.me>
2021-08-11 03:08:45 -07:00
Xiang Xiao
d4d2f13f89
Rename CONFIG_LIB_BOARDCTL to CONFIG_BOARDCTL
...
since boardctl isn't a libc feature
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-06 11:04:35 +02:00
Xiang Xiao
967f526850
Rename LIB_ to LIBC_ for all libc Kconfig
...
follow other libc component naming convention
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-05 16:42:32 +02:00
Xiang Xiao
1120bc844a
examples/media: Fix the compiler warning
...
format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'off_t' {aka 'long long int'}
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-02 15:52:11 +02:00
Xiang Xiao
4109f0e8ba
examples/media: Fix the compiler wanring after off_t type change
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-02 10:05:59 +08:00
raiden00pl
e21330df53
examples: add CORDIC example
2021-07-28 14:25:17 -03:00
Jiuzhu Dong
7d457b4d0b
pipe: modify default stack size to fix stack overflow
...
Change-Id: I16910ff216db6b915d7c1cc4084c0b79228769a5
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-07-12 20:27:39 -07:00
SPRESENSE
931a873d04
examples/configdata: Fix some printf format warnings
...
Fix some printf format warnings by -Wformat.
2021-07-03 23:21:11 -05:00
SPRESENSE
4afa1f1514
examples/charger: Fix some printf format warnings
...
Fix some printf format warnings by -Wformat.
2021-07-03 23:21:11 -05:00
SPRESENSE
814f10544e
examples/bmi160: Fix printf format warning
...
Fix printf format warning by -Wformat.
2021-07-03 23:21:11 -05:00
ligd
2f2d3e5723
examples/watchdog: add depends on CONFIG_WATCHDOG
...
Change-Id: I266145bef5c6ba2912457163f7e909146d4732b4
Signed-off-by: ligd <liguiding1@xiaomi.com>
(cherry picked from commit 201d0bb19fa9577841021964511cfe5b129b7937)
2021-07-01 14:32:25 -07:00
Sara Souza
b15e78b9fa
examples: Adds Timer gpout example
2021-06-18 16:52:00 -06:00
Abdelatif Guettouche
bde687bac0
examples/elf: Drop the 0x when printing pointers.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-16 21:21:28 -05:00
Abdelatif Guettouche
ff48ece8fb
Fix few typos in builtin/ and sotest_main example.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-16 21:21:28 -05:00
Xiang Xiao
7847c1f974
example/posix_spawn: Ensure argv has filename and NULL terminator
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-16 12:07:11 -06:00
Alin Jerpelea
869535e470
examples: nxstyle fixes
...
fixes for nxstyle errors reported by CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-16 09:03:06 -05:00
Alin Jerpelea
2ac8589a25
examples: fix relative path CI error
...
error: Path relative to repository other than nuttx must begin with the root directory
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-16 09:03:06 -05:00
Alin Jerpelea
d9dad2a99e
author: Bob Feretich: update licenses to Apache
...
Gregory Nutt has submitted the SGA
RAF Research has submitted the SGA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-16 09:03:06 -05:00
Alin Jerpelea
e0d26edcd7
author: Sebastien Lorquet: update licenses to Apache
...
Gregory Nutt has submitted the SGA
Sebastien Lorquet has submitted the ICLA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-16 09:03:06 -05:00
Alin Jerpelea
1671147a87
author: Max Holtzberg : update licenses to Apache
...
Gregory Nutt has submitted the SGA
Max Holtzberg has submitted the SGA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-16 09:03:06 -05:00
Alin Jerpelea
1c24e87605
author: Abdelatif GUETTOUCHE: update licenses to Apache
...
Gregory Nutt is has submitted the SGA
Abdelatif GUETTOUCHE has submitted the ICLA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-16 09:03:06 -05:00
Alin Jerpelea
efcc22ab6e
author: Ken Pettit: update licenses to Apache
...
Ken Pettit has submitted the ICLA
Gregory Nutt is has submitted the SGA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-16 09:03:06 -05:00
Alin Jerpelea
0e9d68046f
author: Mateusz Szafoni: update licenses to Apache
...
Mateusz Szafoni has submitted the ICLA
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-16 09:03:06 -05:00
Alin Jerpelea
20309ee58c
author: Laurent Latil: update licenses to Apache
...
Gregory Nutt is has submitted the SGA
Laurent Latil has submitted the ICLA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-16 09:03:06 -05:00
Michal Lenc
aa79958bea
examples/qencoder: fix nxstyle warning and errors
...
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-06-16 08:39:59 -03:00
Alin Jerpelea
6bc7a448de
examples: author: Gregory Nutt: update licenses to Apache
...
Gregory Nutt is has submitted the SGA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-15 05:16:58 -05:00
Xiang Xiao
99e1674912
Call posix_spawn with filename as the first argv entry
...
pair with the kernel side change to follow the standard defintion:
https://pubs.opengroup.org/onlinepubs/009695399/functions/posix_spawn.html
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-14 07:12:54 -06:00