include/debug.h: Use <nuttx/debug.h> in apps#3443
include/debug.h: Use <nuttx/debug.h> in apps#3443PiyushPatle26 wants to merge 1 commit intoapache:masterfrom
Conversation
|
@jerpelea @linguini1 the CI failure are for <nuttx/debug.h> doesn't exist, as CI takes the current nuttx master branch for testing, Can you guys have a look and give me an update? |
|
Yes, this PR will have to wait for the other PR to be merged. |
3aa8f88 to
4f92eb3
Compare
|
@xiaoxiang781216 @jerpelea the PR got merged, now we can test the CI and if no errors , merge this one too |
4f92eb3 to
f342b60
Compare
f342b60 to
29efdfc
Compare
|
please fix style/spell error from: |
Replace app-side includes of <debug.h> with <nuttx/debug.h> to use the header from the NuttX tree explicitly after the header move. Signed-off-by: Piyush Patle <piyushpatle228@gmail.com>
73f2f4a
29efdfc to
73f2f4a
Compare
|
Thank you @PiyushPatle26 great work! If you could fix the noted checks by CI it would be great :-) You can note in the git commit message spellcheck fixes. Do not worry about mixed case identifier issues of the libraries these need to stay like that. |
This are the only codespell errors , I think they shouldn't be corrected as these would either alter intended quoted text or modify established identifiers rather than fix genuine spellinging mistakes. |
|
@acassis @xiaoxiang781216 can you please take a look |
|
@PiyushPatle26 there are a lot of files with issues (they were already, but since you are modifying them, CI will requires that you fix them) |
|
@acassis i already quoted this:
|
@PiyushPatle26 there are formatting errors as well: I think you did a substantial change, you we touching files that weren't modified since 2018, but at least they are easy to fix, just read the error line and modify them. Tip: enter inside apps/ and run the checkpatch.sh, start fixing from the last line to the top line, then you can run: $ ../nuttx/tools/checkpatch.sh -f graphics/tiff/tiff_utils.c |
Note: Please adhere to Contributing Guidelines.
Summary
Update
nuttx-appsto include<nuttx/debug.h>instead of<debug.h>.This is the apps-side follow-up to the corresponding
nuttxchange that movesthe NuttX-specific debug header from
include/debug.htoinclude/nuttx/debug.h. Sincedebug.his not a POSIX or standard C header,using the namespaced path avoids collisions with external projects that may
also define a
debug.h.This change is mechanical: it updates existing include directives across
nuttx-appsto use the new header location.Impact
nuttx-appswith the new canonical debug header location innuttx.<debug.h>path.nuttx-appscompatible with the correspondingnuttxheader move.Other PR for nuttx
Testing
Validation performed on Ubuntu Linux.
Host:
nuttx-appsVerification:
<debug.h>innuttx-appsafter the update.intended to change.
Target:
nuttx-appsaloneRelated PR
Related Issue