This allows defining a list within two marker (zephyr-keep-sorted-start
and zephyr-keep-sorted-stop), and have the CI validate that the block is
kept sorted every time stuff gets added to it.
This is mainly for Kconfig and CMake include lists so that there's no
ambiguity on where to add new stuff.
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Add a check to ensure that every module has a corresponding maintainers
file entry, ensure modules are not added with no recorded point of
contact.
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Add a variation of the basic Kconfig check that runs with no modules,
catches symbols that are used in the main repository but are defined
only in modules, which are potentially problematic if a downstream
project is not using the specific module.
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Splitting bsim tests workflows to be triggered separatley for networking
(thread/802.15.4) and bluetooth tests.
Signed-off-by: Przemyslaw Bida <przemyslaw.bida@nordicsemi.no>
The default bsim tests build folder was changed in
2a9eda226b
Ignore it by default for users convenience.
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
Update the list of compliance generated txt files and sort the list
while we are at it.
$ ./scripts/ci/check_compliance.py -l | sort
BinaryFiles
Checkpatch
DevicetreeBindings
Gitlint
Identity
ImageSize
Kconfig
KconfigBasic
MaintainersFormat
Nits
Pylint
YAMLLint
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Check names must not contain spaces, since they are passed via `-m` in
the command-line.
Also update .gitignore and compliance.yml.
Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
Exclude scripts/pylib/build_helpers from default gitignore behavior of
ignoring all directories whose names begin with build, as this directory
is used for build helper scripts shared by west and twister.
Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
Since the build scripts have been moved to `scripts/build`, exempt that
specific subdirectory from the `.gitignore` pattern.
Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
There is no doc/guides/build directory. Fix a line referencing this to
refer to the actual directory containing build and configuration
system documentation, doc/build. (This is distinct from the
documentation build directory, which is canonically doc/_build. I
know...).
Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This adds .clangd to .gitignore for when you need to provide
local configurations to clang's language server.
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
When running `scripts/ci/check_compliance.py` with no arguments, the
script will output compliance.xml to the root project directory.
Additionally, if the script fails to find a library, it can output a
_error.types file.
Signed-off-by: Jake Swensen <jake@swensen.io>
A detailed overview of Zephyr's build system. This is a
thorough view of the low level build process starting from CMake and
using Make as the build system tool. Things missing here that will be
further documented:
- west
- external modules/libraries
Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
Ignore the Emacs TAGS file generated by scripts/tags.sh. Move the
entry for the lower-case tags file to the correct section.
Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
Similarly to sanitycheck the bsim_bt tests have their own
work folder where compilation output and coverage results are
kept.
Ignore the default folder
Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
The "build*" pattern is ignoring any file that begins with
"build". Add a trailing "/" to limit the effect of the pattern
to directories.
This continues to ignore build directories, but allows adding files
whose names begin with build, which will be used later to create a
build.rst file for documenting west's build command.
Signed-off-by: Marti Bolivar <marti@foundries.io>
Add hide-defaults-note to the .gitignore file to prevent
people from commiting it by mistake.
Also add the Eclipse .settings folder.
Also ignore all the .*project file (IDEs typical pattern for
project files)
Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
The deprecation warning has existed for 1 release and 3 months, giving
users plenty of time to be warned.
This reverts commit 9c93e8e87b.
Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
Always print the note to make sure it isn't missed, but make it easy to
disable (by creating an empty file).
The note will be removed later.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
Changes to kconfig documentation generation added some new files
(choice*.rst) that need to be added to the .gitignore list. Actually,
all the doc/reference/kconfig/*.rst files should be ignored.
Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
Remove the C Kconfig tools and various scripts associated with them.
scripts/kconfig/diffconfig is popular, so keep it.
I don't know whether anyone is using scripts/kconfig/config. Remove it
and see if anyone screams.
scripts/kconfig/streamline_config.pl deals with modules ('m' values) and
can safely be removed. Zephyr's Kconfig files do not use modules.
Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com>
To improve the build system's "clean build" runtime we need to cache
files in a directory outside of the build directory.
Caching files outside of the build directory is is already being done
to a certain degree today. For instance, if a user has installed
ccache it will cache files in $HOME/.ccache/.
This commit locates a directory that is suitable for caching files in
a cross-platform way. For instance on Linux this is believed to be
$HOME, on Windows this is believed to be %LOCALAPPDATA%.
If for whatever reason no environment variables are are found to be
suitable we fall back to using $ZEPHYR_BASE/.cache/. For users that
often use 'git -clean' the caching mechanism will not work as well,
but it will at least be better than no caching at all.
Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
Create a net sample to setup a multi-node RPL mesh network using QMEU.
To enable this, it was necessary implement a hw filter on IEEE 802.15.4
UART Pipe driver and create a QEMU pipe management on cmake.
This sample use a tool developed on zephyr net-tools repository called
virtual-hub.
Signed-off-by: Pedro Martucci <pedropaulomartucci@gmail.com>
By having this as a Python script rather than a host executable, this
should simplify the build process on non-Unix platforms.
With this change, pyelftools is now required to build Zephyr. Please
consult the getting started documentation for your host platform for
installation instructions.
Jira: ZEP-2062
Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>
doc processing wants themes to be in the doc/themes folder
This patch makes it easier to develop and test the website
theme with local content generation usint the web theme.
Change-Id: Icc615f2ecbe3b7cecb7974405a44304ffdf68966
Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
When debugging Xtensa port, on needs for sure to create an Xtensa Xplorer
project in order to be able to debug his project. These files will appear
in the git repository as non versioned files. It is safe to ignore them as
we won't anybody commit these files (user specific).
Change-Id: I156ec5c7393f1db98286da0b841a4e8496a9ff89
Signed-off-by: Mazen NEIFER <mazen@nestwave.com>
gerrit patch https://gerrit.zephyrproject.org/r/#/c/10849/
changed where doxygen xml data is generated. Git should
ignore this directory.
Change-Id: I7f9aa9246e6453deb74ecb71b5e786253fba9d0a
Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
Running documentation scripts on the top directory shifted all links one
level dowwn and is breaking all incoming links.
Use a script to copy all RST files into the doc/ directory before
running sphinx and keep structure intact.
Jira: ZEP-1579
Change-Id: Iccff068430e2ddb29e172cd8ae920475815d199e
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
These are files and directories generated when running automated
real-hardware testcases.
Change-Id: Ia8474835e435b8824a0b5f2d7db6bbf619634154
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
Avoids confusion with .gitignore rules, which were inadequate to
cover all the places where these files are found. At least in
VIM, these files are now syntax highlighted correctly.
Change-Id: I23810b0ed34129320cc2760e19ed1a610afe039e
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
The dir/file names in .gitignore are relatively to the root
of the git tree, so amend it.
Change-Id: I532b3fae4f66590fb34555dd8407576f1e27f744
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
Update gitignore so that linker scripts lower in directory tree under
arch/*/soc stay visible when running `git status`
Change-Id: Ia618eab4534c6ff06d3dedbcd3e0062c1dd278de
Signed-off-by: Maciej Borzecki <maciek.borzecki@gmail.com>
The Kconfig documentation index file is auto-generated. Adding it
to list of files ignored by git so that it isn't added by accident
in the future.
Change-Id: I763a3d3d9382bec843e1e4ddfc198f756bb5cb80
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>