Previously, when delay control was enabled, spi_transfer would pass junk
values down to the underlying driver because these values where not
initialized.
Setting them to zero provides a predictable result considering they are
not controlled by this tool.
Will cause compilation warning if NDEBUG is defined We can't modify the code of the external library, so let's ignore it
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
Will cause compilation warning if NDEBUG is defined We can't modify the code of the external library, so let's ignore it
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
Will cause compilation warning if NDEBUG is defined We can't modify the code of the external library, so let's ignore it
services/ans/src/ble_svc_ans.c:450:9: error: variable 'rc' set but not used [-Werror=unused-but-set-variable]
450 | int rc;
| ^~
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
Will cause compilation warning if NDEBUG is defined
We can't modify the code of the external library, so let's ignore it
microADB/hal/hal_uv_client_usb.c:90:13: warning: unused variable 'ret' [-Wunused-variable]
90 | int ret = uv_read_start((uv_stream_t*)&client->pipe,
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
Cleaning...
find: '/github/workspace/sources/apps/graphics/lvgl/lvgl/src': No such file or directory
find: '/github/workspace/sources/apps/graphics/lvgl/lvgl/src': No such file or directory
find: '/github/workspace/sources/apps/graphics/lvgl/lvgl/src': No such file or directory
find: '/github/workspace/sources/apps/graphics/lvgl/lvgl/demos': No such file or directory
find: '/github/workspace/sources/apps/graphics/lvgl/lvgl/examples': No such file or directory
find: '/github/workspace/sources/apps/graphics/lvgl/lvgl/src': No such file or directory
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
Add patch to fix the compile warning, which is already fixed in upstream: https://github.com/lvgl/lvgl/pull/6100
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
some architectures requires FPU context to be aligned,
for example x86-64 when used with XSAVE instruction must be aligned to 64
Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
Configuration option MCUBOOT_REPOSITORY adds possibility to configure
MCUboot GIT repository to be downloaded (for specified hash commit or
version). This allows to use different forks and personal repositories.
MCUboot main repository is kept as default option.
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
During a long ping, the tester will repeatedly switch the dev interface on and off.
When the interface is down and ping is in sendto sem_wait state,ifdown will trigger event of sendto and post sem.
in func of sendto_eventhandler:
if ((flags & NETDEV_DOWN) != 0)
{
nerr("ERROR: Interface is down\n");
pstate->snd_result = -ENETUNREACH;
goto end_wait;
}
Signed-off-by: meijian <meijian@xiaomi.com>
During a long ping, the tester will repeatedly switch the dev interface on and off.
When the interface is down and ping is in poll sem_wait state,ifdown will trigger event of poll and post sem.
The poll will return and revent is 0x18 POLLHUP | POLLERR.Then recvfrom will process and return error to stop ping.
if ((flags & NETDEV_DOWN) != 0)
{
eventset |= (POLLHUP | POLLERR);
}
Signed-off-by: meijian <meijian@xiaomi.com>
fix
error: Relative file path does not match actual file
error: Long line found
error: Operator/assignment must be preceded with whitespace
error: Missing blank line after comment
This patch changes the enable options of coremark,
coremark-pro and cachespeed from bool to tristate.
This allows the user to select the benchmark to be built
as a elf module, which can be loaded and executed on the
target dynamically.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Currently new users when try to run NuttX using the SIM
get stuck into simulator, because they have no idea that
poweroff command is used to leave it. Let use KISS approach
and use quit as an alias to poweroff command.
Signed-off-by: Alan C. Assis <acassis@gmail.com>