Skip to content

Commit bc0d6c7

Browse files
authored
Merge pull request hathach#2127 from hathach/rp2040-cmake-cleanup
Rp2040 cmake cleanup
2 parents 7454e45 + a61d0f0 commit bc0d6c7

File tree

6 files changed

+299
-300
lines changed

6 files changed

+299
-300
lines changed

.idea/cmake.xml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hw/bsp/rp2040/family.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,12 @@ bool __no_inline_not_in_flash_func(get_bootsel_button)(void) {
9393

9494
static void stdio_rtt_write (const char *buf, int length)
9595
{
96-
SEGGER_RTT_Write(0, buf, length);
96+
SEGGER_RTT_Write(0, buf, (unsigned) length);
9797
}
9898

9999
static int stdio_rtt_read (char *buf, int len)
100100
{
101-
return SEGGER_RTT_Read(0, buf, len);
101+
return (int) SEGGER_RTT_Read(0, buf, (unsigned) len);
102102
}
103103

104104
static stdio_driver_t stdio_rtt =

0 commit comments

Comments
 (0)