Xiang Xiao
857158451b
Unify the void cast usage
...
1.Remove void cast for function because many place ignore the returned value witout cast
2.Replace void cast for variable with UNUSED macro
Change-Id: Ie644129a563244a6397036789c4c3ea83c4e9b09
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-01-02 23:21:01 +08:00
Xiang Xiao
7808eb62d2
apps/: In all Make.def files, append to CONFIGURED_APPS patch with the absolute path.
2019-10-17 11:33:59 -06:00
Gregory Nutt
3a23523147
Makefiles: This reverts part of commit cf0365ea9
. It restores 'conditional' inclusion of TOPDIR/Make.defs. Otherwise all make targets fail if the board has not been configured. That is okay most of the time, but not for things like clean and distclean which should not depend on being configured.
2019-10-15 09:25:48 +08:00
Xiang Xiao
cf0365ea92
Clean up Makefile under apps folder no functional changes.
2019-10-04 08:35:46 -06:00
Xiang Xiao
ff54c47e64
Follow up the kernel signal-related change in:
...
examples/oneshot/oneshot_main.c:
examples/alarm/alarm_main.c:
examples/ajoystick/ajoy_main.c
examples/djoystick/djoy_main.c
examples/buttons/buttons_main.c
examples/zerocross/zerocross_main.c
graphics/traveler/src/trv_input.c
graphics/ft80x/
2019-01-27 09:48:29 -06:00
anchao
b5cfd93444
apps/: Modification to build system: Unified application compilation rules
2018-09-03 09:29:56 -06:00
Gregory Nutt
b3f638b40c
Squashed commit of the following:
...
apps/examples/ft80x: Fix some errors in co-processor demos.
apps/examples/ft80x: Correct an error in the spinner demo.
apps/examples/ft80x: Change some unimportant warnings to informational output to reducing debug output.
2018-03-10 10:29:10 -06:00
Gregory Nutt
b0a0a39f7a
Squashed commit of the following:
...
apps/examples/ft80x: Fix some size calculations. Add option to disable primitive tests... just too boring to have to watch over and over again.
apps/graphics/ft80x: Fix a typo in backlight fade logic; Fix error in formmatted display light debug dump output.
apps/graphics/ft80x: Fix some warnings when debug features are enabled.
2018-03-09 12:31:29 -06:00
Gregory Nutt
305e470a90
apps/graphics/ft80x: Add controls for enabling/disabling the audio amplifier; Add general interfaces for controlling FT80x GPIOs.
2018-02-27 08:48:15 -06:00
Gregory Nutt
9f6338566f
apps/graphics/ft80x: Add basic support for GPIO and configuration for eventual support of FT80x GPIO audio shutdown controls
2018-02-26 19:08:24 -06:00
Gregory Nutt
685d379542
apps/graphics/ft80x: Add interface to play midi sounds; apps/examples/ft80x: Add an example using stencils.
2018-02-26 15:26:11 -06:00
Gregory Nutt
9d2b92d75d
apps/graphics/ft80x: Audio buffer size/offset is now configurable.
2018-02-26 09:58:52 -06:00
Gregory Nutt
d47f474ed6
apps/graphics/ft80x: Fix some circular buffer management logic.
2018-02-26 08:59:41 -06:00
Gregory Nutt
cdfd5afb33
apps/graphics/ft80x: Simplify some interfaces.
2018-02-25 20:26:24 -06:00
Gregory Nutt
621f2f5e83
apps/graphics/ft80x: Fix an incorrect size adjustment.
2018-02-25 18:39:39 -06:00
Gregory Nutt
cccac4932b
apps/graphics/ft80x and apps/examples/ft80x: Fix some compile issues with other configuration options are selected.
2018-02-25 18:24:13 -06:00
Gregory Nutt
e734ab1b36
apps/graphics/ft80x: Add 'prototype' quality logic for playing audio files.
2018-02-25 17:14:07 -06:00
Gregory Nutt
4eeadd7b5d
apps/graphics/ft80x: Ooops 5 touch points, not 4. apps/examples/ft80x: Re-order to some tests.
2018-02-25 11:45:56 -06:00
Gregory Nutt
e15526f683
apps/graphics/ft80x: Add more touchscreen interfaces. apps/examples/ft80x: Add an interactive example using buttons, keys, and touchscreen input.
2018-02-25 11:20:39 -06:00
Gregory Nutt
9095bd4f1b
apps/graphics/ft80x: Add interfaces to control the backlight. apps/examples/ft80x: Fade the display on and off between each example.
2018-02-23 10:49:38 -06:00
Gregory Nutt
4f6984d714
apps/graphics/ft80x: Add capabilitilies to send commands to the co-processor outside of the context of a display list. apps/examples/ft80x: Add another copressor example.. spinner animation.
2018-02-22 10:01:50 -06:00
Gregory Nutt
a0a16e2ec8
apps/graphics/ft80x: Correct time units in usleep call.
2018-02-22 06:30:54 -06:00
Gregory Nutt
5945a09d6d
Correct misplaced right bracket
2018-02-22 01:44:08 +00:00
Gregory Nutt
2436e3f85a
apps/graphics/ft80x: Add routine to wait for logo animation to complete. apps/examples/ft80x: Add more graphic demonstrations.
2018-02-21 19:17:28 -06:00
Gregory Nutt
a7356b34de
Kconfig: Fix a typo in range. range 1 31, not range l 31
2018-02-21 17:47:09 -06:00
Gregory Nutt
157da4f1ab
apps/graphics/ft80x: Add support for reading/writing multiple registers. Add interface to obtain the touchscreen transform matrix. apps/examples/ft80x: Add more co-processor demos.
2018-02-21 11:50:06 -06:00
Gregory Nutt
189996add6
apps/graphics/ft80x: Fix a few problems when debug output is enabled.
2018-02-21 06:56:29 -06:00
Gregory Nutt
a2b232f832
Squashed commit of the following:
...
apps/examples/ft80x: Add another co-processor demo
ft80x: Add a few more debug message.
2018-02-20 18:46:17 -06:00
Gregory Nutt
ecfdf073fc
Squashed commit of the following:
...
apps/graphics/ft80x: Replace polling logic with gentler signal logic when waitinf for the CMD FIFO to become empty.
apps/examples/ft80x: Add first co-processor example.
apps/graphics: Extend library to manage display lists either in display memory (RAM DL) or provided directly to th co-processor FIFO (RAM CMD).
apps/examples/ft80x: Some minor clean-up. Trivial changes for coprocessor support.
2018-02-20 15:23:05 -06:00
Gregory Nutt
64a4622437
apps/graphics/ft80x and apps/examples/ft80x: Fix a few compile-relate issues introduced with last merge.
2018-02-19 13:22:23 -06:00
Gregory Nutt
7c9f8ef9eb
Squashed commit of the following:
...
apps/graphics/ft80x: Add support for accessing graphics ram. apps/examples/ft80x: Add more primitive graphics demos.
apps/examples/ft80x: Add a couple more demos of primitives. Use new ft80x_dl_create() to simplify.
apps/graphics/ft80x: Add ft80x_dl_create() which simplies writing of very simple display lists.
2018-02-19 13:14:16 -06:00
Gregory Nutt
5dd5908d86
apps/graphics/ft80x: Add register access helpers.
2018-02-18 13:36:08 -06:00
Gregory Nutt
7d245e4b79
apps/graphics/ft80x: Need to include errno.h.
2018-02-18 12:39:58 -06:00
Gregory Nutt
62d6843cb3
apps/graphics/ft80x: Add the beginning of FT80x support library. So far consists only of some display list helpers.
2018-02-18 10:12:53 -06:00