Pavel Pisa
be1496b40d
stm32l4: correct build of stm32l4_can.c to respect L4 variant.
...
Signed-off-by: Pavel Pisa<ppisa@pikron.com>
2020-11-06 18:28:27 -03:00
Alan C. Assis
2f612a2077
xtensa/esp32: Move #if defined(SPIRAM) to inside function
2020-11-06 16:19:48 +01:00
Alan C. Assis
d11f02d772
xtensa/esp32: Fix remaining SEPARATE typo
2020-11-06 16:19:48 +01:00
Alan C. Assis
6c37d9ff80
xtensa/esp32: Avoid init PSRAM when SPIRAM is not enabled
2020-11-06 16:19:48 +01:00
Yoshinori Sugino
d3700649c0
sched/sched/sched_waitid.c: Allow WNOHANG
...
In the current implementation of waitid, WEXITED is mandatory and WNOHANG is optional.
2020-11-06 00:44:55 -08:00
Yoshinori Sugino
51875ab039
sched/sched/sched_waitpid.c: Fix a typo
2020-11-05 23:06:51 -08:00
YAMAMOTO Takashi
713a21e57c
or1k inttypes.h: Remove PRI/SCN macros for fast and least types
2020-11-05 18:49:22 -08:00
YAMAMOTO Takashi
6062b9f7fc
z180 inttypes.h: Remove PRI/SCN macros for fast and least types
2020-11-05 18:49:22 -08:00
YAMAMOTO Takashi
13f469304c
z80 inttypes.h: Remove PRI/SCN macros for fast and least types
2020-11-05 18:49:22 -08:00
YAMAMOTO Takashi
509a190be2
i486 inttypes.h: Remove PRI/SCN macros for fast and least types
2020-11-05 18:49:22 -08:00
YAMAMOTO Takashi
c8f3abd910
misoc inttypes.h: Remove PRI/SCN macros for fast and least types
2020-11-05 18:49:22 -08:00
YAMAMOTO Takashi
f752b360f6
risc-v inttypes.h: Remove PRI/SCN macros for fast and least types
2020-11-05 18:49:22 -08:00
YAMAMOTO Takashi
4b382c6bab
intel64 inttypes.h: Remove PRI/SCN macros for fast and least types
2020-11-05 18:49:22 -08:00
YAMAMOTO Takashi
64280ad7d9
sh1 inttypes.h: Remove PRI/SCN macros for fast and least types
2020-11-05 18:49:22 -08:00
YAMAMOTO Takashi
178815ea34
arm inttypes.h: Remove PRI/SCN macros for fast and least types
2020-11-05 18:49:22 -08:00
YAMAMOTO Takashi
1d4610060d
rx65n inttypes.h: Remove PRI/SCN macros for fast and least types
2020-11-05 18:49:22 -08:00
YAMAMOTO Takashi
7c642466c6
z16 inttypes.h: Remove PRI/SCN macros for fast and least types
2020-11-05 18:49:22 -08:00
YAMAMOTO Takashi
6bc93b87b0
xtensa inttypes.h: Remove PRI/SCN macros for fast and least types
2020-11-05 18:49:22 -08:00
YAMAMOTO Takashi
093662bc99
z8 inttypes.h: Remove PRI/SCN macros for fast and least types
2020-11-05 18:49:22 -08:00
YAMAMOTO Takashi
7f442a6641
mips inttypes.h: Remove PRI/SCN macros for fast and least types
2020-11-05 18:49:22 -08:00
YAMAMOTO Takashi
5300106428
m16c inttypes.h: Remove PRI/SCN macros for fast and least types
2020-11-05 18:49:22 -08:00
YAMAMOTO Takashi
58320341f7
avr inttypes.h: Remove PRI/SCN macros for fast and least types
2020-11-05 18:49:22 -08:00
YAMAMOTO Takashi
49008b5862
hc inttypes.h: Remove PRI/SCN macros for fast and least types
2020-11-05 18:49:22 -08:00
YAMAMOTO Takashi
dc54af1bf2
avr32 inttypes.h: Remove PRI/SCN macros for fast and least types
2020-11-05 18:49:22 -08:00
YAMAMOTO Takashi
88489a512d
ez80 inttypes.h: Remove PRI/SCN macros for fast and least types
2020-11-05 18:49:22 -08:00
YAMAMOTO Takashi
577d72258a
sim inttypes.h: Remove PRI/SCN macros for fast and least types
2020-11-05 18:49:22 -08:00
YAMAMOTO Takashi
4c33d608d2
include/inttypes.h: Appease nxstyle
2020-11-05 18:49:22 -08:00
YAMAMOTO Takashi
6e3551866c
include/inttypes.h: Provide PRI/SCN macros for least and fast types
...
* To be consistent with stdint.h
* To reduce arch-dependent code
2020-11-05 18:49:22 -08:00
YAMAMOTO Takashi
53256bdaa7
sim: inttypes.h: Make the #ifdef block minimum
2020-11-05 18:49:22 -08:00
Tobias Johansson
2cce572162
drivers: audio: cxd56: rename queue status
...
This commit improves the readability for each state
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2020-11-06 11:11:27 +09:00
Tobias Johansson
43b21a4693
drivers: audio: cxd56: add I2S debugging
...
When audio fails it is usefull to have I2S transfer errors in place
to be able to track the issue
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2020-11-06 11:11:27 +09:00
Tobias Johansson
d572b06a6c
drivers:audio: cxd56: move helpers to the header file
...
The Queue helpers should be moved to the header file
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2020-11-06 11:11:27 +09:00
dongjiuzhu
9c19db6e14
rc/dummy: enable dummy driver and add rc defconfig
...
N/A
Change-Id: I760593ec578361deffea2db6d7c8a02d47c6f83b
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-11-05 11:38:28 -03:00
dongjiuzhu
8562e17ef1
rc/dummy: add dummy driver to test driver skeleton
...
N/A
Change-Id: Iae3c22587f9939f6923b102bf4c51bb7f88a6429
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-11-05 11:38:28 -03:00
dongjiuzhu
2ed6e13241
driver/rc: support IR remote control
...
N/A
guide link: https://www.kernel.org/doc/html/v4.14/media/uapi/rc/lirc-dev.html
Change-Id: I84abfc12578d444d72c8c0df31d06d1a85ce0725
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-11-05 11:38:28 -03:00
Daniel P. Carvalho
e73e03a33f
Add fuction to set timer frequency.
2020-11-05 11:36:40 -03:00
Daniel P. Carvalho
3f6157001a
Change SPWM example to enable timer after configure timer clock.
2020-11-05 11:36:40 -03:00
Daniel P. Carvalho
d1057403c6
Add helper functions to:
...
enable/disable timer
dump timer registers
The timer is no longer enabled at the end of stm32l4_tim_setclock().
2020-11-05 11:36:40 -03:00
YAMAMOTO Takashi
954115e097
nxstyle: Add more inttypes.h stuff to the whitelist
2020-11-05 15:19:31 +01:00
Brennan Ashton
54832f37f2
sim: Initial Linux i2c bus support
...
This adds the inital wiring for i2c bus support in the sim target
and for Linux host adds the lower half that uses the i2c chardev.
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-11-04 23:51:09 -08:00
ligd
2dfd7a4e8f
signal.h: fix compile failed when open TTY_SIGINT
...
In file included from string/lib_strsignal.c:40:0:
string/lib_strsignal.c: In function ‘strsignal’:
string/lib_strsignal.c:142:12: error: ‘CONFIG_SIG_STOP’ undeclared (first use in this function); did you mean ‘CONFIG_SIG_PIPE’?
case SIGSTOP:
^
string/lib_strsignal.c:142:12: note: each undeclared identifier is reported only once for each function it appears in
string/lib_strsignal.c:147:12: error: ‘CONFIG_SIG_STP’ undeclared (first use in this function); did you mean ‘CONFIG_SIG_STOP’?
case SIGSTP:
Esnure all standard signal number is always defined
Change-Id: I3abce86079ebeba7bab038d7c770efc90b9cffd7
Signed-off-by: ligd <liguiding1@xiaomi.com>
2020-11-05 08:28:53 +01:00
Alan C. Assis
30f862f651
Avoid messing the final binary nuttx.(bin,hex,...) compilation msg
2020-11-04 18:08:55 -08:00
ligd
73282fe2d8
arch/sim: add sim alsa support
...
Squashed commit of the following:
sim audio: call alsa to playback/capture data
sim/audio: correct the format capability
sim/audio: add pause/resume support
sim/audio: add auto stop when meet AUDIO_APB_FINAL
sim/audio: fix abort when set small buffer_size
sim/audio: move sim_audio.c to sim_alsa.c
Change-Id: I8e00ece79159e844ca17fd4c363480b985ee0490
Signed-off-by: ligd <liguiding1@xiaomi.com>
2020-11-04 05:48:14 -08:00
ligd
639093feea
sim: increase default stack size to 64K on SIM
...
N/A
Cause lots of apps who use external library needs big stack size.
e.g. alsa, ffmpeg
Change-Id: I3b46333da9b18d103ea2ea71ed6e81d79a2d1d6c
Signed-off-by: ligd <liguiding1@xiaomi.com>
2020-11-04 05:48:14 -08:00
Dong Heng
483b145f3b
xtensa/esp32: Fix rt-timer issues
...
1. function "stop" should really stop repeat timer
2. delete timer really in rt-timer task to avoid resource being broken
3. timer triggers when stopping/deleting it and skip it in ISR
2020-11-04 09:24:59 -03:00
Matias N
9266c54bc2
lcd: add optional putarea()/getarea() operations
2020-11-04 04:00:22 -08:00
Dong Heng
b54f0edff4
xtensa/esp32: Add Partition and OTA device
2020-11-03 21:54:07 +01:00
Oleg Evseev
9dadfc5cc3
stm32f7/stm32_serial.c: fix console re-initialisation if DMA enabled
2020-11-03 11:33:13 -08:00
Juha Niskanen
1ce75cc7c6
arch/arm/src/stm32/stm32_adc.c: do not allow negative ref count
...
When HAVE_HSI_CONTROL, adc_reset_hsi_disable() calls adc_reset()
followed by adc_shutdown() and this combination is called before
adc_setup() by upper level ADC driver. Without this patch,
priv->initialized wraps from 0 to 255 in this case.
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-11-03 16:25:03 -03:00
Matias N
2395258486
nrf52: add POWER register definitions; support enabling DC/DC regulator
2020-11-03 08:43:43 -08:00