Xiang Xiao
a7e99346a1
net/tcp: Make TCP_MAXRTX and TCP_MAXSYNRTX configurable
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-07 10:05:57 +01:00
Xiang Xiao
85b4177913
mm: Remove mm_ prefix from mm_[add|free]_delaylist
...
follow the convention of other static mm functions
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-07 10:01:52 +01:00
Xiang Xiao
b567e09c3c
mm: Restore the return type of mm_lock from bool to int
...
Fix the issue reported here better:
https://github.com/apache/incubator-nuttx/pull/6995
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-07 10:01:52 +01:00
Xiang Xiao
4cc13c19c6
Revert "mm: Check the function result with suitable macro."
...
This reverts commit 460d94729a
.
2022-11-07 10:01:52 +01:00
Xiang Xiao
4e43fef5cd
boards: Update telnetd related config after apps/nshlib change
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-07 15:24:29 +09:00
Tiago Medicci Serrano
998b726c4b
documentation: update esp32[-s2] documentation about I2S/audio support
2022-11-07 13:46:44 +08:00
Tiago Medicci Serrano
6317f6d597
esp32s2/i2s: use internal buffer to handle multiple audio formats
2022-11-07 13:46:44 +08:00
Tiago Medicci Serrano
d98df37f35
xtensa/esp32s2: add i2s_mclkfrequency to set master clock on I2S
2022-11-07 13:46:44 +08:00
Fotis Panagiotopoulos
60933f5a94
stm32_eth: Fix in assertion parameters.
2022-11-07 09:51:13 +08:00
Xiang Xiao
d5fe952b17
Fix Error: chip/lpc54_emc.c:421:12: error: explicitly assigning value of variable of type 'uint32_t' (aka 'unsigned int') to itself
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-06 21:18:31 +01:00
Xiang Xiao
27a7ff41b5
Fix Error: chip/lpc54_serial.c:1199:24: error: use of logical '&&' with constant operand
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-06 21:18:31 +01:00
Xiang Xiao
69dea8d329
Fix Error: chip/lpc43_usb0dev.c:905:20: error: unused function 'lpc43_abortrequest'
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-06 21:18:31 +01:00
Xiang Xiao
6063749a3c
Fix Error: chip/lpc43_usb0dev.c:905:20: error: unused function 'lpc43_abortrequest'
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-06 21:18:31 +01:00
Xiang Xiao
7c88ef1e6a
Fix lc823450_i2s.c:277:7: error: variable 'n' is used uninitialized whenever switch default is taken
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-06 21:18:31 +01:00
Xiang Xiao
bc04edecc1
Fix undefined reference to tmp' in function
load_kernel.constprop.0':
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-06 21:18:31 +01:00
Xiang Xiao
206e2a8eec
arm/lc823450: Fix error: unknown pragma ignored
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-06 21:18:31 +01:00
Xiang Xiao
819eeefc60
Fix chip/lc823450_sdc.c:282:33: error: format specifies type 'long' but the argument has type 'uint32_t' (aka 'unsigned int')
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-06 21:18:31 +01:00
zouboan
12f57bd9b2
tools:fix some error use of shell command in Windows native build
2022-11-06 16:41:49 +08:00
zouboan
5edb9141e4
tools:fix distclean error in Windows native build
2022-11-06 16:41:49 +08:00
zouboan
def151869f
tools:fix build error of incdir in Windows native build
2022-11-06 16:41:49 +08:00
zouboan
c8e4adad9f
tools:fix 'input line is too long error' in Windows native build
2022-11-06 16:41:49 +08:00
Xiang Xiao
fbd886deb5
arch/arm: Fix types.h:61:9: error: unknown type name '__UINT32_TYPE__'
...
regressed by: https://github.com/apache/incubator-nuttx/pull/7476
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-06 07:14:39 +01:00
anjiahao
64ebdb0339
include/endian:add openbsd style macro
...
bemtoh htobem lemtoh htolem
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-11-05 20:37:39 +08:00
raiden00pl
f43f046983
boards/arm: remove -funwind-tables from boards Make.defs
2022-11-05 20:36:35 +08:00
Xiang Xiao
e292200f61
video: Move _VIDIOCBASE and _VIDIOC to include/nuttx/fs/ioctl.h
...
to align with other drivers
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-05 06:51:53 +01:00
Eero Nurkkala
b7d2b38700
risc-v/mpfs: opensbi: fix random boot failures
...
After the commit b8b541f
, the system would not start up properly
with certain coldboot conditions. For example, if the OpenSBI picked
hart4 as the coldboot hart in preference to hart3, the system would
get stuck due to stack corruption. OpenSBI uses a lottery mechanism
to pick the coldboot hart.
Also fix g_scratches area in such a manner than it will not get
initialized to zero. If several harts initialize the area to zero, there's
danger the stack pointer gets wiped out.
Now any coldboot hart works.
Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2022-11-05 00:37:51 +08:00
Tiago Medicci Serrano
e791d73bb2
drivers/audio/cs4344: fix configure function when setting mclk
2022-11-05 00:37:00 +08:00
Tiago Medicci Serrano
20d8a55181
esp32/i2s: replace nxsem when used as a lock to nxmutex
2022-11-05 00:37:00 +08:00
Tiago Medicci Serrano
64abc72052
drivers/audio/cs4344: add txchannels method and fix supported data width
2022-11-05 00:37:00 +08:00
Tiago Medicci Serrano
9ecc345c02
esp32/i2s: use internal buffer to handle multiple audio formats
2022-11-05 00:37:00 +08:00
Ville Juven
e239cd942e
mpfs/mpfs_mm_init: Fix the section align mask checks
...
The boundary-1 mask needs to be tested, not the alignment boundary
2022-11-04 23:03:10 +08:00
ligd
d4ba93067e
sched: remove sched_continue, merge code
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-11-04 08:51:02 +01:00
Lucas Saavedra Vaz
c06b881812
boards/esp32: Fix invalid IRAM option in linker script
2022-11-03 22:24:18 +01:00
Lucas Saavedra Vaz
a5d3a6b126
xtensa/esp32s2: Move linker scripts to folder common to all boards
2022-11-03 22:22:54 +01:00
anjiahao
be670c40d6
fix a mistake about nxmutex & sem
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-11-03 23:42:55 +08:00
chao an
b8d7194e66
renesas/rx65n: ram lock should in pair
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-03 14:43:12 +01:00
chao an
a98df4a404
wireless/ieee802154: mac lock should in pairs
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-03 14:43:12 +01:00
chao an
4f7f70598a
drviers/video: driver lock should in pairs
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-03 14:43:12 +01:00
chao an
25e78c5330
drivers/usbhost/usbhost_skeleton: fix typo
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-03 14:43:12 +01:00
chao an
6950ea4646
drivers/lcd/pcf8574: driver lock should in pairs
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-03 14:43:12 +01:00
chao an
5f795a4f0d
drivers/lcd/ft80x: unlock mutex before free
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-03 14:43:12 +01:00
chao an
ad978e7702
wireless/xbee_mac: transmit lock should in pairs
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-03 14:43:12 +01:00
chao an
a53cc533c0
drivers/serial: transmit lock should in pairs
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-03 14:43:12 +01:00
Xiang Xiao
b048428180
Fix mcb1700.h:21:9: error: '__BOARDSS_ARM_LPC17XX_40XX_MCB1700_SRC_MCB1700_H' is used as a header guard here, followed by #define of a different macro
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-03 14:41:14 +01:00
Xiang Xiao
116ba80ad5
Fix lpc17_40_spi.c:341:12: error: variable 'regval' set but not use
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-03 14:41:14 +01:00
Xiang Xiao
923c779c83
Fix lpc17_40_serial.c:935:20: error: unused function 'lpc17_40_uart3config'
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-03 14:41:14 +01:00
raiden00pl
ef517ed05c
stm32/stm32_adc.c fix clang warning
...
chip/stm32_adc.c:2529:32: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
setbits = ADC_CCR_DUAL_IND | ADC_CCR_DELAY(0) | ADC_CCR_MDMA_DISABLED |
^~~~~~~~~~~~~~~~
2022-11-03 10:15:39 -03:00
yinshengkai
85f727f232
tools: replace INCDIR to Makefile variable
...
In the past, header file paths were generated by the incdir command
Now they are generated by concatenating environment variables
In this way, when executing makefile, no shell command will be executed,
it will improve the speed of executing makfile
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2022-11-03 19:59:55 +08:00
yinshengkai
95d9abcf58
tools: replace DEFINE script to Makefile variable
...
In the past, predefined macros were generated by define.sh scripts
Now they are generated by concatenating environment variables
In this way, when executing makefile, no shell command will be executed,
it will improve the speed of executing makfile
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2022-11-03 19:59:55 +08:00
zhangyuan21
cdeddcb028
arch/armv7-ar: add isb after CACHE and TLB operations.
2022-11-03 19:49:24 +08:00