Skip to content

Commit 5fb71ba

Browse files
authored
Merge branch 'main' into out-of-bounds
2 parents cf22283 + cc8b1f0 commit 5fb71ba

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

rtos-docs/netx-duo/netx-duo-bsd/chapter2.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ In order to use NetX Duo BSD the entire distribution mentioned previously should
4444
The ThreadX library must define `bsd_errno` in the thread local storage. We recommend the following procedure:
4545
4646
. In _tx_port.h_, set one of the TX_THREAD_EXTENSION macros as follows:
47-
** `#define TX_THREAD_EXTENSION_3 int bsd_errno`
47+
** `#define TX_THREAD_EXTENSION_3 int bsd_errno;`
4848
. Rebuild the ThreadX library.
4949
5050
NOTE: If TX_THREAD_EXTENSION_3 is already used, the user is free to use one of the other TX_THREAD_EXTENSION macros.

rtos-docs/threadx/appendix-e.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ source code. However, to enable the reuse, macros are used to replace
215215
data structures specific to each core with function calls or an array
216216
indexed by core, like the following:
217217
218-
image::misra-Compliance/image1.png[Image that shows an array indexed by core.]
218+
image::media/misra-Compliance/image1.png[Image that shows an array indexed by core.]
219219
220220
Technically, this isn't replacing a reserved identifier, but the
221221
MISRA-C:2004 specification indicates that anything with an underscore
@@ -248,13 +248,13 @@ C-STAT 1.4.4 MISRA-C:2004 and MISRA C:2012. The following figures show
248248
the MISRA C rules checked by C-STAT (and should also serve as a
249249
compliance matrix):
250250
251-
image::misra-Compliance/image2.png[Image that shows IAR EWARM 8.11.1.]
251+
image::media/misra-Compliance/image2.png[Image that shows IAR EWARM 8.11.1.]
252252
253-
image::misra-Compliance/image3.png[Image that shows C-STAT 1.4.4.]
253+
image::media/misra-Compliance/image3.png[Image that shows C-STAT 1.4.4.]
254254
255-
image::misra-Compliance/image4.png[Image that shows MISRA-C:2004.]
255+
image::media/misra-Compliance/image4.png[Image that shows MISRA-C:2004.]
256256
257-
image::misra-Compliance/image5.png[Image that shows MISRA C:2012.]
257+
image::media/misra-Compliance/image5.png[Image that shows MISRA C:2012.]
258258
259259
*Figure 1: MISRA-C:2004/MISRA C:2012 Compliance Matrix*
260260
@@ -276,7 +276,7 @@ achieve full MISRA compliance. In addition to building ThreadX SMP with
276276
*_TX_MISRA_ENABLE_*, the ThreadX project should have the C dialect C89
277277
specified and strict language conformance selected, as follows:
278278
279-
image::misra-Compliance/image6.png[Screenshot that shows strict language conformance.]
279+
image::media/misra-Compliance/image6.png[Screenshot that shows strict language conformance.]
280280
281281
Next, if the version of ThreadX does not have a pre-built
282282
*_tx_misra.s_* assembly file, the *_tx_misra.c_* file should be

0 commit comments

Comments
 (0)