Commit 6f3c006
committed
Refactor error reporting and remove font.S
Centralize and simplify error handling across the codebase: add CONFIG_CLIB_USE_UART0 to bootloader-tftp/Common.mk; refactor lib-clib/src/perror.cpp to use stdio (printf/puts) instead of console:: functions; remove lib-hal/console/font.S; and update lib-network sources to include network_private.h and replace console::Error calls with network::Error(__func__, ...) (lib-network/src/core/network_memory.h, lib-network/src/core/tcp.cpp). These changes remove console forward-declarations and route errors through a unified network error API while cleaning up the perror implementation.1 parent 266aabe commit 6f3c006
7 files changed
Lines changed: 13 additions & 74 deletions
File tree
- bootloader-tftp
- lib-clib/src
- lib-hal
- .settings
- console
- lib-network/src/core
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 29 | + | |
40 | 30 | | |
41 | 31 | | |
42 | 32 | | |
| |||
98 | 88 | | |
99 | 89 | | |
100 | 90 | | |
101 | | - | |
102 | | - | |
| 91 | + | |
103 | 92 | | |
104 | 93 | | |
105 | | - | |
106 | | - | |
| 94 | + | |
107 | 95 | | |
108 | 96 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | 30 | | |
33 | 31 | | |
34 | 32 | | |
| |||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
| 33 | + | |
36 | 34 | | |
37 | 35 | | |
38 | 36 | | |
| |||
86 | 84 | | |
87 | 85 | | |
88 | 86 | | |
89 | | - | |
| 87 | + | |
90 | 88 | | |
91 | 89 | | |
92 | 90 | | |
| |||
104 | 102 | | |
105 | 103 | | |
106 | 104 | | |
107 | | - | |
| 105 | + | |
108 | 106 | | |
109 | 107 | | |
110 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | 58 | | |
63 | 59 | | |
64 | 60 | | |
65 | | - | |
66 | 61 | | |
67 | 62 | | |
68 | 63 | | |
| |||
1499 | 1494 | | |
1500 | 1495 | | |
1501 | 1496 | | |
1502 | | - | |
| 1497 | + | |
1503 | 1498 | | |
1504 | 1499 | | |
1505 | 1500 | | |
1506 | 1501 | | |
1507 | 1502 | | |
1508 | 1503 | | |
1509 | 1504 | | |
1510 | | - | |
| 1505 | + | |
1511 | 1506 | | |
1512 | 1507 | | |
1513 | 1508 | | |
| |||
1547 | 1542 | | |
1548 | 1543 | | |
1549 | 1544 | | |
1550 | | - | |
| 1545 | + | |
1551 | 1546 | | |
1552 | 1547 | | |
1553 | 1548 | | |
1554 | 1549 | | |
1555 | 1550 | | |
1556 | 1551 | | |
1557 | | - | |
| 1552 | + | |
1558 | 1553 | | |
1559 | 1554 | | |
1560 | 1555 | | |
| |||
1573 | 1568 | | |
1574 | 1569 | | |
1575 | 1570 | | |
1576 | | - | |
| 1571 | + | |
1577 | 1572 | | |
1578 | 1573 | | |
1579 | 1574 | | |
| |||
0 commit comments