Xiang Xiao
|
ab31236905
|
Fix Error: chip/stm32_tim_lowerhalf.c:479:54: error: format specifies type 'unsigned long' but the argument has type 'uint32_t'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-21 17:39:04 +08:00 |
|
Xiang Xiao
|
ea171d6e5d
|
Fix Error: chip/stm32_spi.c:571:23: error: unused function 'spi_getreg8'
and unused function 'spi_putreg8'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-21 17:39:04 +08:00 |
|
Xiang Xiao
|
6386596731
|
Fix Error: chip/stm32_qencoder.c:989:46: error: format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int')
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-21 17:39:04 +08:00 |
|
Xiang Xiao
|
27629b74c9
|
Fix Error: chip/stm32_serial.c:1542:20: error: unused function 'up_serialmod'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-21 17:39:04 +08:00 |
|
Xiang Xiao
|
4e6568c29a
|
Fix Error: chip/stm32l4_dfumode.c:45:20: error: unused function 'rcc_reset'
and unused function 'apb_reset'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-21 17:39:04 +08:00 |
|
Xiang Xiao
|
4cc52f277b
|
Fix Error: chip/stm32l4_pwr.c:50:20: error: unused function 'stm32l4_pwr_modifyreg'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-21 17:39:04 +08:00 |
|
Xiang Xiao
|
30a153d2a0
|
Fix chip/stm32l562xx_rcc.c:78:20: error: unused function 'rcc_reset'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-21 17:39:04 +08:00 |
|
Xiang Xiao
|
59a747ee36
|
Fix error: chip/stm32l5_pwr.c:50:20: error: unused function 'stm32l5_pwr_modifyreg'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-21 17:39:04 +08:00 |
|
Xiang Xiao
|
f28cfbf2f3
|
Fix chip/stm32_eth.c:3358:20: error: unused function 'stm32_selectrmii'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-20 14:34:44 +01:00 |
|
Xiang Xiao
|
720acac6af
|
Fix chip/stm32_usbdev.c:929:20: error: unused function 'stm32_setstatusout'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-20 14:34:44 +01:00 |
|
Xiang Xiao
|
6af9afaa60
|
Fix error: more '%' conversions than data arguments
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-20 14:34:44 +01:00 |
|
Xiang Xiao
|
22768ede17
|
Fix chip/sam_tc.c:682:24: error: unused function 'sam_tc_getreg'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-20 14:34:44 +01:00 |
|
Xiang Xiao
|
d01fbf77d0
|
Fix chip/sam4l_clockconfig.c:923:20: error: unused function 'sam_enable_fastwakeup'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-20 14:34:44 +01:00 |
|
Xiang Xiao
|
d3e282e561
|
Fix chip/s32k3xx_qspi.c:925:44: error: format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int')
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-20 14:34:44 +01:00 |
|
Xiang Xiao
|
d8e53d7b4f
|
Fix error: format specifies type 'unsigned long' but the argument has type 'unsigned int'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-20 14:34:44 +01:00 |
|
Xiang Xiao
|
670c3e0e35
|
Fix chip/s32k3xx_lpi2c.c:624:3: error: unused function 's32k3xx_lpi2c_sem_waitstop'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-20 14:34:44 +01:00 |
|
Xiang Xiao
|
987d2561c0
|
Fix chip/s32k3xx_fs26.c:249:31: error: format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int')
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-20 14:34:44 +01:00 |
|
Xiang Xiao
|
e18d5870db
|
Fix chip/s32k3xx_lpspi.c:719:23: error: unused function 's32k3xx_lpspi_readbyte'
and chip/s32k3xx_lpspi.c:748:20: error: unused function 's32k3xx_lpspi_writebyte'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-20 14:34:44 +01:00 |
|
Xiang Xiao
|
658dfeaf40
|
Fix chip/kinetis_spi.c:473:23: error: unused function 'spi_getreg8'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-20 14:34:44 +01:00 |
|
Xiang Xiao
|
6fd08787b6
|
Fix chip/kinetis_usbdev.c:3317:1: error: unused function 'khci_epreserved'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-20 14:34:44 +01:00 |
|
Xiang Xiao
|
232360cbd0
|
Fix chip/kinetis_enet.c:875:59: error: format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int')
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-20 14:34:44 +01:00 |
|
Xiang Xiao
|
9a50c30168
|
Fix chip/imxrt_enc.c:950:27: error: use of logical '&&' with constant operand
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-20 14:34:44 +01:00 |
|
Xiang Xiao
|
4913552140
|
Fix chip/imxrt_lpspi.c:553:23: error: unused function 'imxrt_lpspi_readbyte'
and chip/imxrt_lpspi.c:580:20: error: unused function 'imxrt_lpspi_writebyte'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-20 14:34:44 +01:00 |
|
Xiang Xiao
|
3ecf66415c
|
Fix chip/imxrt_serial.c:1375:20: error: unused function 'imxrt_disableuartint'
and chip/imxrt_serial.c:1400:20: error: unused function 'imxrt_restoreuartint'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-20 14:34:44 +01:00 |
|
Xiang Xiao
|
9f7d7c046a
|
Fix chip/imxrt_lpi2c.c:1254:1: error: unused function 'imxrt_lpi2c_getenabledints'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-20 14:34:44 +01:00 |
|
Xiang Xiao
|
427f65ac28
|
Fix chip/imxrt_lpi2c.c:755:1: error: unused function 'imxrt_lpi2c_sem_waitstop'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-20 14:34:44 +01:00 |
|
Xiang Xiao
|
63bcca985f
|
arch/armv7-r: Don't clear SCTLR_U bit since spec require it's always one
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-19 14:42:22 -03:00 |
|
Xiang Xiao
|
4d56ef5d8c
|
arch/armv7-a: Support the big endian in arm_pghead.S like arm_head.S
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-19 14:42:22 -03:00 |
|
Xiang Xiao
|
4abd626288
|
arch/armv7-r: Remove the nonexistent SCTLR_IE
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-19 14:42:22 -03:00 |
|
raiden00pl
|
04a66d2d3a
|
arch/stm32g4: fix ADC clock after ef517ed
|
2022-11-17 19:53:53 +08:00 |
|
raiden00pl
|
f22ef83cd6
|
arch/stm32f3: fix ADC clock after ef517ed
|
2022-11-17 19:53:53 +08:00 |
|
raiden00pl
|
b239985037
|
stm32f30xxx_rcc.c: remove code that refers to STM32F1 specific definitions
|
2022-11-17 19:53:53 +08:00 |
|
qinwei1
|
8021dfece6
|
sched/task/task_getpid: getpid should return process id not thread id
Summary:
implement the right semantics:
1. getpid should return the main thread id
2. gettid should return the current thread id
Refer to:
https://github.com/apache/incubator-nuttx/issues/2499
https://github.com/apache/incubator-nuttx/pull/2518
Signed-off-by: qinwei1 <qinwei1@xiaomi.com>
|
2022-11-17 17:58:08 +08:00 |
|
Xiang Xiao
|
e047ca6011
|
Fix arch/arm/src/samv7/sam_pwm.c:489:1: error: Missing blank line after comment
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-16 14:37:44 -03:00 |
|
Simon Filgis
|
6376d90c3d
|
In case of SAMV7 it is possible to overwrite the pwm output with 0 or 1 immediately. Changing the dutycycle to 0 or 100 will take effect only on end of cycle, which could be to late for some applications.
This solution adds a overwrite flag and value when updating the duty cycle.
|
2022-11-16 12:07:09 +08:00 |
|
David Sidrane
|
97930ab110
|
imxrt:Fix Case ENET_MMFR_OP_RdNOTMII->ENET_MMFR_OP_RDNOTMII
|
2022-11-15 02:27:35 +08:00 |
|
David Sidrane
|
d05a5d16ee
|
imxrt:Support TJ1103 PHY
|
2022-11-15 02:27:35 +08:00 |
|
Xiang Xiao
|
93fe5a3d0d
|
arch/stm32/1wire: Don't free the context if the reference doesn't equal zero
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-14 11:40:08 -03:00 |
|
Xiang Xiao
|
8a8e115623
|
arch: Initialize usbhost_connection_s directly
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-14 09:34:04 +09:00 |
|
Xiang Xiao
|
148c544759
|
Don't check nxsem_init and nxmutex_init
since both never fail
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-14 09:34:04 +09:00 |
|
Xiang Xiao
|
8098c80338
|
arch: Don't free the context if the reference doesn't equal zero
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-14 09:34:04 +09:00 |
|
Xiang Xiao
|
67686c231a
|
Call nxmutex_destroy and nxsem_destroy in error patch to avoid the leak
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-14 09:34:04 +09:00 |
|
Xiang Xiao
|
a026dbaece
|
Call kmm_zalloc instead of kmm_malloc and memsest
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-14 09:34:04 +09:00 |
|
Xiang Xiao
|
a8a25cb09f
|
arch: Remove xxx_sem[take|give] and call nxmuex_[lock|unlock] directly
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-14 09:34:04 +09:00 |
|
anjiahao
|
a4563b8744
|
Fix the coding style and typo issue
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-14 09:34:04 +09:00 |
|
anjiahao
|
d07792a343
|
Initialize global mutext/sem by NXMUTEX_INITIALIZER and SEM_INITIALIZER
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-14 09:34:04 +09:00 |
|
Xiang Xiao
|
c741b7b586
|
Fix Error: chip/sam_tc.c:922:30: error: format specifies type 'long' but the argument has type 'uint32_t' (aka 'unsigned int') [-Werror,-Wformat]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-13 22:35:19 +08:00 |
|
Xiang Xiao
|
677932293b
|
Fix Error: chip/sam_afec.c:546:22: error: format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int') [-Werror,-Wformat]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-13 22:35:19 +08:00 |
|
Xiang Xiao
|
94655e95ea
|
Fix chip/sam_serial.c:900:20: error: unused function 'sam_restoreusartint' [-Werror,-Wunused-function]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-13 22:35:19 +08:00 |
|
Xiang Xiao
|
7e823fc862
|
Fix chip/sam_usb.c:1242:12: error: variable 'packetsize' set but not used [-Werror,-Wunused-but-set-variable]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-13 22:35:19 +08:00 |
|