Skip to content

Commit eb5c5d3

Browse files
committed
wip
1 parent 6b491c0 commit eb5c5d3

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

β€Ž.clang-format-ignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
src/SEGGER_RTT.c
22
src/SEGGER_RTT.h
3-
test/*/SEGGER_RTT_Conf.h
3+
_test/*/SEGGER_RTT_Conf.h

β€Ž.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
**/out/
66
**/out.gcc/
77
**/out.clang/
8-
98
**/temp/
109

1110
# files
1211
**/gccLinksClangWarning.txt
1312
**/.mxproject
14-
1513
internal/receiver/trices.raw
14+
**/.DS_store
15+

β€Žexamples/F030R8_gen/Core/Src/main.c

+4-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@ static void MX_USART2_UART_Init(void);
5555

5656
/* Private user code ---------------------------------------------------------*/
5757
/* USER CODE BEGIN 0 */
58-
58+
//__weak int _close(void) { return -1; }
59+
//__weak int _lseek(void) { return -1; }
60+
//__weak int _read (void) { return -1; }
61+
//__weak int _write(void) { return -1; }
5962
/* USER CODE END 0 */
6063

6164
/**

β€Žsrc/triceUart.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ void TriceNonBlockingWriteUartA(const void* buf, size_t nByte) {
2727
#else // #if TRICE_CGO == 1// automated tests
2828
TRICE_ENTER_CRITICAL_SECTION
2929
#if 1
30-
triceOutBufferUartA = buf;
30+
triceOutBufferUartA = buf;
3131
#else
3232
static uint8_t t[TRICE_DEFERRED_BUFFER_SIZE / 2]; // todo: find a better solution to avoid RAM wasting
3333
memcpy(t, buf, nByte);

0 commit comments

Comments
Β (0)