<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/bsp/cvitek/c906_little/board, branch copilot/remove-vbus-code-implementation</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/bsp/cvitek/c906_little/board?h=copilot%2Fremove-vbus-code-implementation</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/bsp/cvitek/c906_little/board?h=copilot%2Fremove-vbus-code-implementation'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2025-01-30T01:28:38Z</updated>
<entry>
<title>bsp: cvitek: c906_littel: fixed build warnings for board.c</title>
<updated>2025-01-30T01:28:38Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2025-01-27T02:43:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=3383352cdc96238b9e967a8ded7189a563359ba6'/>
<id>urn:sha1:3383352cdc96238b9e967a8ded7189a563359ba6</id>
<content type='text'>
When building bsp/cvitek/c906_little, compiler warns:

```
board/board.c: In function 'rt_hw_board_init':
board/board.c:26:5: warning: implicit declaration of
function 'rt_hw_tick_init'; did you mean 'rt_hw_stack_init'?
[-Wimplicit-function-declaration]
   26 |     rt_hw_tick_init();
      |     ^~~~~~~~~~~~~~~
      |     rt_hw_stack_init
board/board.c:29:5: warning: implicit declaration of
function 'rt_hw_uart_init'; did you mean 'rt_hw_board_init'?
[-Wimplicit-function-declaration]
   29 |     rt_hw_uart_init();
      |     ^~~~~~~~~~~~~~~
      |     rt_hw_board_init
```

To remove these build warnings, include header files
which declare these functions.

Plus, remove the decalartion of `tick_isr()`, this
function does not exist.

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;
</content>
</entry>
<entry>
<title>[bsp][cvitek] fix c906_little build warning in cache.c</title>
<updated>2025-01-20T06:26:50Z</updated>
<author>
<name>imcu</name>
<email>ign7798540@gmail.com</email>
</author>
<published>2025-01-16T03:01:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=680333fc18b41d24c3da9ae736af9471aa03ff04'/>
<id>urn:sha1:680333fc18b41d24c3da9ae736af9471aa03ff04</id>
<content type='text'>
build warning: passing argument 1 of 'inv_icache_range' makes integer
from pointer without a cast [-Wint-conversion]

Analyze: The passed parameter type is void*, which is a pointer type,
but the required type is uintptr_t, which is an integer type. Therefore,
there will be a 'makes integer from pointer without a cast' warning.

Solution: casting the void* pointer to uintptr_t, ensure that the
function receives the correct type.

Signed-off-by: zdtyuiop4444 &lt;ign7798540@gmail.com&gt;
</content>
</entry>
<entry>
<title>[bsp][cvitek] add cache opration functions for cache coherence</title>
<updated>2025-01-16T01:05:52Z</updated>
<author>
<name>imcu</name>
<email>ign7798540@gmail.com</email>
</author>
<published>2024-11-26T06:54:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=6cbb2c3ee59c8f46528df89225cf3aa235d46884'/>
<id>urn:sha1:6cbb2c3ee59c8f46528df89225cf3aa235d46884</id>
<content type='text'>
By default, the small core enables D-Cache without ensuring cache
coherence. Therefore, when using shared memory, inconsistencies can
occur in the data read by the small core and the big core.

Solution: Migrate cache-related functions from the official
duo-buildroot-sdk library to implement cache-related operations in
rthw.h. This allows you to either disable D-Cache or call the
flush_dcache_range function before reading and after writing for
synchronization.

It is recommended to use the flush_dcache_range function, as disabling
D-Cache can have a significant performance impact.

Signed-off-by: zdtyuiop4444 &lt;ign7798540@gmail.com&gt;
</content>
</entry>
<entry>
<title>bsp: cvitek: fix bug in setting PLIC_PRIORITY[n]</title>
<updated>2025-01-16T01:03:26Z</updated>
<author>
<name>kenneth.liu</name>
<email>kenneth.liu@sophgo.com</email>
</author>
<published>2025-01-03T12:47:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=95064ed44900815a9ef823bfbeb29768d9acb46a'/>
<id>urn:sha1:95064ed44900815a9ef823bfbeb29768d9acb46a</id>
<content type='text'>
description: In the bsp/cvitek/c906_little/board/interrupt.c, There is an issue with
setting the PLIC_PRIORITY[n].

analysis: PLIC_PRIORITY[n] each register corresponds to the priority of
a hardware interrupt number.

Solution: Each register is 4 bytes.
Multiply the total number of IRQs by 4 instead of dividing by 4.

Signed-off-by: Liu Gui &lt;kenneth.liu@sophgo.com&gt;
</content>
</entry>
<entry>
<title>[bsp][cvitek]fix milkv-duos-sd cann't startup big-core kernel (#9633)</title>
<updated>2024-11-15T04:52:57Z</updated>
<author>
<name>flyingcys</name>
<email>flyingcys@163.com</email>
</author>
<published>2024-11-15T04:52:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=0d9185bd5a6d83b79f84d4abef68b8b05f42b6fc'/>
<id>urn:sha1:0d9185bd5a6d83b79f84d4abef68b8b05f42b6fc</id>
<content type='text'>
fix milkv-duos-sd cann't startup big-core kernel
milkv-duos-sd use cv1813h folder store ld file
Signed-off-by: flyingcys &lt;flyingcys@163.com&gt;</content>
</entry>
<entry>
<title>[kernel] Specification interrupt nested level variable declaration type (#9568)</title>
<updated>2024-10-23T21:08:29Z</updated>
<author>
<name>Yuqiang Wang</name>
<email>yifang.wangyq@foxmail.com</email>
</author>
<published>2024-10-23T21:08:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=b3d59050b049f03d954273e8921f941dd806360a'/>
<id>urn:sha1:b3d59050b049f03d954273e8921f941dd806360a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bsp: cvitek: Add timer driver</title>
<updated>2024-08-25T16:11:57Z</updated>
<author>
<name>Z8MAN8</name>
<email>1468559561@qq.com</email>
</author>
<published>2024-08-23T04:11:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=742dae7220c4f2713e3edb1090f6f796c5a785e4'/>
<id>urn:sha1:742dae7220c4f2713e3edb1090f6f796c5a785e4</id>
<content type='text'>
Signed-off-by: Shicheng Chu &lt;1468559561@qq.com&gt;
</content>
</entry>
<entry>
<title>bsp: cvitek: Canonically rename some macro definitions</title>
<updated>2024-08-20T01:52:18Z</updated>
<author>
<name>Z8MAN8</name>
<email>1468559561@qq.com</email>
</author>
<published>2024-08-18T08:24:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=f5156774b2b7bc73278d602dd027ac4d61349e3f'/>
<id>urn:sha1:f5156774b2b7bc73278d602dd027ac4d61349e3f</id>
<content type='text'>
Analysis: Some macro definition names are not standardized
and lack prefixes.

Solution: Add BSP_ prefix to GPIO_IRQ_BASE SYS_GPIO_IRQ_BASE
PLIC_PHY_ADDR TIMER_CLK_FREQ UART_IRQ_BASE I2C_IRQ_BASE.

Signed-off-by: Shicheng Chu &lt;1468559561@qq.com&gt;
</content>
</entry>
<entry>
<title>bsp: cvitek: fix c906_little  IRQ_MAX_NR error num</title>
<updated>2024-08-07T03:35:27Z</updated>
<author>
<name>Z8MAN8</name>
<email>1468559561@qq.com</email>
</author>
<published>2024-08-06T14:37:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=b6c26d45378889eddb2573bbcc9b985d2ec5719d'/>
<id>urn:sha1:b6c26d45378889eddb2573bbcc9b985d2ec5719d</id>
<content type='text'>
Analysis: The IRQ_MAX_NR value of c906_little is wrong.
interrupt.h relies on IRQ_MAX_NR defined in rtconfig.h but
does not explicitly include this header file.

Solution: Change IRQ_MAX_NR to the correct value 61 in
the datasheet. Explicitly include rtconfig.h in interrupt.h.

Signed-off-by: Shicheng Chu &lt;1468559561@qq.com&gt;
Reviewed-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;
</content>
</entry>
<entry>
<title>bsp:cvitek: add pinmux for adc</title>
<updated>2024-07-16T10:29:17Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2024-06-04T03:18:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=d8294de64027696437bc4947c0eec28a3b4a17c4'/>
<id>urn:sha1:d8294de64027696437bc4947c0eec28a3b4a17c4</id>
<content type='text'>
Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;
</content>
</entry>
</feed>
