diff --git a/Documentation/NuttXCCodingStandard.html b/Documentation/NuttXCCodingStandard.html index 87caa570341..a80b4d39609 100644 --- a/Documentation/NuttXCCodingStandard.html +++ b/Documentation/NuttXCCodingStandard.html @@ -12,7 +12,7 @@

NuttX C Coding Standard

-

Last Updated: June 9, 2017

+

Last Updated: June 11, 2017

@@ -2150,12 +2150,24 @@ x++; +

+ Forbidden Multicharacter Forms. + Many operators are expressed as a character in combination with = such as +=, >=, >>=, etc. + Some compilers will accept the = at the beginning or the end of the sequence. + This standard, however, requires that the = always appear last in order to avoid amiguities that may arise if the = were to appear first. For example, a =++ b; could also be interpreted as a =+ +b; or a = ++b all of which are very different. +

+

4.4 if then else Statement

Coding Standard:

@@ -2280,6 +2292,11 @@ x++;

Coding Standard:

Other Applicable Coding Standards. @@ -2333,6 +2358,11 @@ x++;

4.6 while Statement

Coding Standard:

@@ -2404,15 +2438,20 @@ x++;

  • Statements enclosed in braces - Statement(s) following the do must always be enclosed in braces, even if only a single statement follows. + Statement(s) following the do must always be enclosed in braces, even if only a single statement (or no statement) follows.
  • Braces and indentation. The placement of braces and statements must follow the standard rules for braces and indentation.
  • +
  • + while separated from <condition>. + The while keyword and the <condition> must appear on the same line. + The while keyword and the <condition> must be separated by a single space. +
  • Followed by a single blank line. - The final right brace must be followed by a blank line. + The concluding while <condition> must be followed by a single blank line.
  • @@ -2447,6 +2486,7 @@ x++; ptr++; } while (*ptr != '\0'); + diff --git a/configs/b-l475e-iot01a/README.txt b/configs/b-l475e-iot01a/README.txt index fe2cc91d973..e99c3a9503a 100644 --- a/configs/b-l475e-iot01a/README.txt +++ b/configs/b-l475e-iot01a/README.txt @@ -65,6 +65,7 @@ Board Features (AWS) IoT platform. NOTES: + 1. The board usese Wi-FiĀ® module Inventek ISM43362-M3G-L44 (802.11 b/g/n compliant), which consists of BCM43362 and STM32F205 host processor that has a standard SPI or UART interface capability. It means you @@ -194,8 +195,12 @@ Configurations 1. The PATH environment variable include the correct path to the directory than holds your toolchain binaries. - 2. Make sure that the configuration is set for your build platform - and that the toolchain is set for the toolchain type you are using. + 2. Check the .config file. Make sure that the configuration is set for + your build platform (e.g., Linux vs. Windows) and that the toolchain + is set for the toolchain type you are using. + + The that is provided above as an argument to the + tools/configure.sh must be is one of those listed below. And then build NuttX by simply typing the following. At the conclusion of the make, the nuttx binary will reside in an ELF file called, simply, @@ -204,8 +209,8 @@ Configurations make oldconfig make - The that is provided above as an argument to the - tools/configure.sh must be is one of the following. + Where 'make oldconfig' brings the configuration up to data with the current configuration data and 'make' will compile all of the source + files and generate the final binary. NOTES: