wangmingrong1
ba50378f01
gcov: Fix gcov fork() issue
...
After code coverage is enabled, fork will be replaced by __gcov_fork
Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
2024-12-18 23:05:52 +08:00
hujun5
75ddce6e3a
modifyreg16: use small lock in modifyreg16
...
reason:
We would like to replace the big lock with a small lock.
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-12-18 20:28:26 +08:00
wangmingrong1
391aa9b5f3
gcov: Enhanced gcov script
...
1. Add "-s" to specify the path to collect gcno files
2. Add "-a" to specify the path to collect gcda files.
3. Add "-x" for copy-only operation
Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
2024-12-18 20:24:14 +08:00
hujun5
f367ba2842
cxd: use small lock
...
reason:
We would like to replace the big lock with a small lock.
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-12-18 20:21:58 +08:00
wangjianyu3
c19e8c7861
esp32s3-devkit/adb: Enable file service
...
Test
$ adb -s 1234 pull /etc/init.d/rcS
/etc/init.d/rcS: 1 file pulled. 0.0 MB/s (7 bytes in 0.042s)
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2024-12-18 20:13:41 +08:00
hujun5
826aa4f732
imx_gpio: use small lock in arch/arm/src/imx6/imx_gpio.c
...
reason:
We would like to replace the big lock with a small lock.
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-12-18 20:10:45 +08:00
Andre Heinemans
58e232863d
imx95-evk: update configs; add imx95-evk:can
2024-12-18 20:09:12 +08:00
Andre Heinemans
16babb08c9
imx9: iomuxc: add assert on scmi pinconfig result
2024-12-18 20:09:12 +08:00
Andre Heinemans
01e05c2660
imx9: add config for waking WFI at systick
2024-12-18 20:09:12 +08:00
chao an
c7ccc0f9ec
arm64/cache: add i/dcache check to avoid build break
...
arch/arm64/src/common/arm64_cache.c:344:35: error: macro "up_get_icache_linesize" passed 1 arguments, but takes just 0
344 | size_t up_get_icache_linesize(void)
| ^
Feishu-Id: 4956395133
Signed-off-by: chao an <anchao@lixiang.com>
2024-12-18 20:07:59 +08:00
YAMAMOTO Takashi
9ad125751d
Explicitly enable CONFIG_LUA_LUV_MODULE's dependencies where it's enabled
...
In order to replace CONFIG_LUA_LUV_MODULE's "select" items
with "depends on".
2024-12-18 20:04:05 +08:00
hujun5
2c69d62c9a
bt_buf: use small lock in wireless/bluetooth/bt_buf.c
...
reason:
We would like to replace the big lock with a small lock.
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-12-18 18:11:08 +08:00
chao an
29f1ca2c79
syslog/intbuffer: some improve for intbuffer
...
1. add static for internal function
2. add FAR for pointer prototype
Signed-off-by: chao an <anchao@lixiang.com>
2024-12-18 18:10:43 +08:00
hujun5
bc6bf019dd
bt_buf: use small lock to protect bt_bufferlist_s
...
reason:
We would like to replace the big lock with a small lock.
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-12-18 18:10:23 +08:00
Alin Jerpelea
658e4ffae2
arch/x86_64: migrate to SPDX identifier
...
Most tools used for compliance and SBOM generation use SPDX identifiers
This change brings us a step closer to an easy SBOM generation.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2024-12-18 17:51:57 +08:00
Alin Jerpelea
559b533863
arch/xtensa: migrate to SPDX identifier
...
Most tools used for compliance and SBOM generation use SPDX identifiers
This change brings us a step closer to an easy SBOM generation.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2024-12-18 17:51:57 +08:00
Alin Jerpelea
fe90b2ee7a
include: migrate to SPDX identifier
...
Most tools used for compliance and SBOM generation use SPDX identifiers
This change brings us a step closer to an easy SBOM generation.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2024-12-18 17:51:57 +08:00
Alin Jerpelea
35a4fc05d9
drivers/usbhost/hid_parser: migrate to SPDX identifier
...
Most tools used for compliance and SBOM generation use SPDX identifiers
This change brings us a step closer to an easy SBOM generation.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2024-12-18 17:51:57 +08:00
Alin Jerpelea
438fcfb13a
arch/arm: migrate to SPDX identifier
...
Most tools used for compliance and SBOM generation use SPDX identifiers
This change brings us a step closer to an easy SBOM generation.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2024-12-18 17:51:57 +08:00
Alin Jerpelea
83de09d31a
drivers/input/uinput: migrate to ASF license
...
Xiaomi has submitted the SGA and the license can be migrated to ASF
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2024-12-18 17:46:28 +08:00
Alin Jerpelea
1a0c5cf63a
drivers/mtd/mtd_config_fs: migrate to SPDX identifier
...
Most tools used for compliance and SBOM generation use SPDX identifiers
This change brings us a step closer to an easy SBOM generation.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2024-12-18 17:46:11 +08:00
hujun5
e3717b3086
esp32_rtc: use small lock in arch/xtensa/src/esp32[s2]/esp32s2_rtc.c
...
reason:
We would like to replace the big lock with a small lock.
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-12-18 11:53:15 +08:00
Ville Juven
ea020a4eae
sem_holder.c: Replace addrenv_select with kmm_map for holder sem access
...
The holder list can be modified via interrupt so using addrenv_select is
not safe. Access the semaphore by mapping it into kernel virtual memory
instead.
2024-12-18 08:57:01 +08:00
Ville Juven
510d9659b4
sem_waitirq: Use kmap interface to access the semaphore
...
The temporary mappings via addrenv_select() and addrenv_restore() simply
do not work from interrupt, so remove its usage and replace with kmap
which is safe.
2024-12-18 08:57:01 +08:00
Ville Juven
95d1e52535
mm/kmap: Provide the user tcb as parameter to map_user()
...
This allows mapping pages from others than the running task. Obiously
this can only be done with proper preparations (the task in question
cannot exit before the mapping is released).
2024-12-18 08:57:01 +08:00
Eren Terzioglu
c3d03f02fb
esp32[c3|c6|h2]: Fix ledc clk issue
2024-12-17 13:35:42 -03:00
Eren Terzioglu
8256864bfe
esp32[s2|s3]: Add qencoder defconfig
2024-12-17 13:35:42 -03:00
Eren Terzioglu
58be435817
esp32[h2]: Add qencoder defconfig
2024-12-17 13:35:42 -03:00
Eren Terzioglu
767c5f16f0
esp32[s2|s3]: Add pulse counter support
2024-12-17 13:35:42 -03:00
Eren Terzioglu
e48d092778
esp32[c6|h2]: Add pulse counter support
2024-12-17 13:35:42 -03:00
Eren Terzioglu
3894dc12b0
driver/capture: Add ioctl function for architecture specific ioctl commands
2024-12-17 13:35:42 -03:00
hujun5
620f4bc32f
bluetooth: rm bd_bifup
...
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-12-17 23:31:24 +08:00
Filipe Cavalcanti
ecf683b13e
arch/risc-v/esp32c6: fix memcpy on AP password
2024-12-17 11:27:02 -03:00
Filipe Cavalcanti
ac56285bf8
arch/xtensa: fix memcpy on AP password
2024-12-17 11:27:02 -03:00
Peter van der Perk
ffdbbdeef3
imx95: Fix eDMA compilation
...
Also clarifise that the imx95 uses eDMA5 instead of eDMA4 (imx93 has
eDMA4)
2024-12-17 21:49:28 +08:00
hujun5
a9fc0a4346
fix compile error
...
Create version.h
CC: chip/tm4c/tm4c_gpio.c chip/tm4c/tm4c_gpio.c: In function 'tiva_configgpio':
chip/tm4c/tm4c_gpio.c:793:11: warning: implicit declaration of function 'spin_lock_irqsave' [-Wimplicit-function-declaration]
793 | flags = spin_lock_irqsave(&g_configgpio_lock);
| ^~~~~~~~~~~~~~~~~
CC: nsh_parse.c chip/tm4c/tm4c_gpio.c:844:3: warning: implicit declaration of function 'spin_unlock_irqrestore' [-Wimplicit-function-declaration]
844 | spin_unlock_irqrestore(&g_configgpio_lock, flags);
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-12-17 21:02:39 +08:00
hujun5
ccf477710a
fs: Move fl_lock to a more appropriate location.
...
reason:
The list->fl_files may be modified by files_extend.
If it is being modified, there will be a race condition for fl_files[l1][l2].
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-12-17 20:48:59 +08:00
chao an
a307dc0608
syslog/inbuffer: rename g_si_buffer to g_syslog_intbuffer
...
Signed-off-by: chao an <anchao@lixiang.com>
2024-12-17 20:48:23 +08:00
chao an
0331703fc7
syslog/inbuffer: refactor intbuffer to circbuf
...
Replace character copy with string copy to improve performance
Signed-off-by: chao an <anchao@lixiang.com>
2024-12-17 20:48:23 +08:00
chao an
157e75c7ab
lib/circbuf: add static initialize macro helper
...
struct circbuf_s circ = CIRCBUF_INITIALIZER(buffer, size);
Signed-off-by: chao an <anchao@lixiang.com>
2024-12-17 20:48:23 +08:00
chao an
e7c5608f4a
drivers/reset: fix typo retrun -> return
...
Signed-off-by: chao an <anchao@lixiang.com>
2024-12-17 20:48:07 +08:00
chao an
f7ab66fa86
drivers/can: fix typo specfic -> specific
...
Signed-off-by: chao an <anchao@lixiang.com>
2024-12-17 20:48:07 +08:00
chao an
4793407b67
net/icmp: fix typo timout -> timeout
...
Signed-off-by: chao an <anchao@lixiang.com>
2024-12-17 20:48:07 +08:00
chao an
86ffd45707
drivers/virtio: fix typo deivce -> device
...
Signed-off-by: chao an <anchao@lixiang.com>
2024-12-17 20:48:07 +08:00
chao an
67c8159404
drivers/rpmsg: fix typo intialize -> initialize
...
Signed-off-by: chao an <anchao@lixiang.com>
2024-12-17 20:48:07 +08:00
chao an
74e6d0e8bf
drivers/misc: fix typo memroy -> memory
...
Signed-off-by: chao an <anchao@lixiang.com>
2024-12-17 20:48:07 +08:00
chao an
33d717d3a0
tools/parsetrace.py: fix typo lenght -> length
...
Signed-off-by: chao an <anchao@lixiang.com>
2024-12-17 20:48:07 +08:00
chao an
a59f59b9f5
libc/gnu: fix typo adress -> address
...
fix typo adress -> address
Signed-off-by: chao an <anchao@lixiang.com>
2024-12-17 20:48:07 +08:00
chao an
60636c4666
drivers/pci: fix typo addres -> address
...
fix typo addres -> address
Signed-off-by: chao an <anchao@lixiang.com>
2024-12-17 20:48:07 +08:00
hujun5
74ba2d2219
some replacements were omitted.
...
fix regression from https://github.com/apache/nuttx/pull/15219
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-12-17 17:14:06 +08:00