AnsweredAssumed Answered

MCUXpresso SDK maximum line length of comments in the code

Question asked by Daniel Gull on Jan 17, 2019
Latest reply on Mar 13, 2019 by ZhangJennie

Hi NXP community

 

I just downloaded the latest SDK_2.5.0_LPCXpresso54628.zip.

In here I find the latest CMSIS header file SDK_2.5.0_LPCXpresso54628.zip\devices\LPC54628\LPC54628.h.

 

In this file I find lines that are extremely long and fail on my LINT test.

i.e. Error: 91 Line exceeds 598 characters (use +linebuf)

 

Can these long lines be reduced to a readable length in the next SDK release?

 

i.e. line number 320 is 640 characters long in a comment block with 115 characters in length.

Can the 640 characters line be split up into multiple 115 character line lengths?

What is an acceptable line length for comments in a code?

We target about 100 characters per line.

 

I would be greatful, if these comment blocks can be reduced to a readable length.

 

Many thanks

 

Dani

Attachments

Outcomes