apache / nuttx-apps

Apache NuttX Apps is a collection of tools, shells, network utilities, libraries, interpreters and can be used with the NuttX RTOS
https://nuttx.apache.org/
Apache License 2.0
263 stars 488 forks source link

add include to handle when PM_NDOMAINS from pm.h #2399

Closed jasonbu closed 1 month ago

jasonbu commented 1 month ago

Summary

For furthur domain usage, CONFIG_PM_NDOMAINS maybe not from .config, possible generated from <nuttx/power/pm.h>

Impact

None

Testing

CI-test

xiaoxiang781216 commented 1 month ago

@Gary-Hobson please fix sqlite build error: https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399

====================================================================================
[216](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:217)Configuration/Tool: sim/sqlite
[217](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:218)------------------------------------------------------------------------------------
[218](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:219)  Cleaning...
[219](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:220)  Configuring...
[220](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:221)  Building NuttX...
[221](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:222)  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
[222](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:223)                                 Dload  Upload   Total   Spent    Left  Speed
[223](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:224)
[224](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:225)  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
[225](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:226)100 13018    0 13018    0     0  87096      0 --:--:-- --:--:-- --:--:-- 86786
[226](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:227)100 6504k    0 6504k    0     0  5768k      0 --:--:--  0:00:01 --:--:-- 5766k
[227](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:228)100 10.9M    0 10.9M    0     0  5266k      0 --:--:--  0:00:02 --:--:-- 5266k
[228](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:229)100 13.4M    0 13.4M    0     0  5229k      0 --:--:--  0:00:02 --:--:-- 5228k
[229](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:230)/github/workspace/sources/apps/database/sqlite/sqlite/configure: line 5204: /usr/bin/file: No such file or directory
[230](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:231)/github/workspace/sources/apps/database/sqlite/sqlite/configure: line 10376: tclsh: command not found
[231](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:232)/github/workspace/sources/apps/database/sqlite/sqlite/configure: line 10812: tclsh: command not found
[232](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:233)/github/workspace/sources/apps/database/sqlite/sqlite/configure: line 10826: tclsh: command not found
[233](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:234)configure: WARNING: Can't find Tcl configuration definitions
[234](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:235)configure: WARNING: *** Without Tcl the regression tests cannot be executed ***
[235](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:236)configure: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***
[236](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:237)make[4]: warning: -j0 forced in submake: resetting jobserver mode.
[237](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:238)/github/workspace/sources/apps/database/sqlite/sqlite/tool/cktclsh.sh: 5: tclsh: not found
[238](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:239)make[4]: *** [Makefile:793: has_tclsh84] Error 1
[239](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:240)make[4]: Target 'sqlite3.c' not remade because of errors.
[240](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:241)make[3]: *** [Makefile:52: context] Error 2
[241](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:242)make[2]: *** [Makefile:53: /github/workspace/sources/apps/database/sqlite_context] Error 2
[242](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:243)make[2]: Target 'context_all' not remade because of errors.
[243](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:244)make[1]: *** [Makefile:175: context] Error 2
[244](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:245)make: *** [tools/[Unix.mk:452](http://unix.mk:452/): /github/workspace/sources/apps/.context] Error 2
[245](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:246)make: Target 'all' not remade because of errors.
[246](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:247)/github/workspace/sources/nuttx/tools/testbuild.sh: line 370: /github/workspace/sources/nuttx/../nuttx/nuttx.manifest: No such file or directory
[247](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:248)  Normalize sim/sqlite
[248](https://github.com/apache/nuttx-apps/actions/runs/9129340459/job/25126814382?pr=2399#step:7:249)