Go to file
Torsten Rasmussen 94de3e9f60 cmake: FindPython3: Adjust python3 program search
Fixes: #24340

Using find_package(Python3 3.6) will select the highest available
python3.

This means that in case user has:
/usr/bin/python  --> python2.7
/usr/bin/python3 --> python3.6
/usr/bin/python3.6
/usr/bin/python3.8

then CMake will choose python 3.8.
This commit changes that behavior, so that in the above scenario, then
Python 3.6 will be preferred.

It also adds the following, python will be preferred over python3, if
both meets the minimum requirement.
For example:
/usr/bin/python  --> python3.6
/usr/bin/python3 --> python3.7
then Python 3.6 is prefered.

It further introduces PYTHON_PREFER variable, which can be used to
further control the behavior.
As example -DPYTHON_PREFER=python3.7 will choose Python 3.7 if
installed.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2020-04-16 07:43:14 -04:00
.github ci: do not use latest breathe release for docs 2020-04-07 18:51:13 -04:00
.known-issues docs: crypto: crypto API documentation 2020-03-14 13:01:03 -04:00
arch arch: arm: aarch32: Fix read_timer_end_of_isr register preservation 2020-04-15 15:49:27 +02:00
boards doc: boards: fix capitalization of chip name 2020-04-16 10:22:08 +02:00
cmake cmake: FindPython3: Adjust python3 program search 2020-04-16 07:43:14 -04:00
doc doc: gsg: provide a working link to the Zephyr SDK download page 2020-04-16 10:24:38 +02:00
drivers drivers: spi: Set dummy data in mcux drivers 2020-04-16 06:01:43 -05:00
dts dts: stm32: G4: Add adc0 and adc1 nodes 2020-04-15 08:26:28 -05:00
include devicetree: add DT_PARENT() 2020-04-15 08:27:18 -05:00
kernel kernel: Make the k_heap backend default for k_mem_pool 2020-04-14 10:05:55 -07:00
lib lib/os: Add sys_heap, a new/simpler/faster memory allocator 2020-04-14 10:05:55 -07:00
misc
modules modules: cmsis: Add CMSIS-Core(A) configurations 2020-04-09 16:24:05 +02:00
samples boards: arm: black_f407ve: Add support for on-board SPI flash 2020-04-15 13:15:29 -05:00
scripts cmake: kconfig: pass EXTRA_DTC_FLAGS to kconfig for EDT init 2020-04-16 06:07:24 -05:00
share cmake: Relocating Zephyr Unittest CMake package. 2020-03-31 10:00:15 -04:00
soc soc: arm: nordic_nrf: Convert to new DT_INST macros 2020-04-15 11:17:32 -05:00
subsys net: tcp2: On active connection close go to FIN_WAIT_1 2020-04-16 11:10:36 +03:00
tests tests: benchmarks: Fix incorrect ARM arch variant check 2020-04-15 15:49:27 +02:00
.checkpatch.conf checkpatch: suppress mailback option in conf file 2020-02-06 08:31:53 -05:00
.clang-format
.codecov.yml
.editorconfig editorconfig: add yaml file extension variant 2020-03-25 16:16:01 -04:00
.gitattributes
.gitignore gitignore: exclude tests/drivers/build_all 2020-03-20 13:49:05 -05:00
.gitlint
.mailmap mailmap: add entry for Sean Nyekjaer 2019-11-04 14:33:31 +01:00
.shippable.yml ci: docker: Update image to 0.11.6 2020-03-31 07:18:06 +02:00
.uncrustify.cfg
CMakeLists.txt kernel/timeout: Enable 64 bit timeout precision 2020-03-31 19:40:47 -04:00
CODE_OF_CONDUCT.md
CODEOWNERS CODEOWNERS: Add @Mierunski and @anangl for nRF UART drivers 2020-04-09 07:35:09 -05:00
CONTRIBUTING.rst
Kconfig kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.zephyr ext: lib: Move fnmatch to lib/ 2020-03-20 22:56:19 -04:00
LICENSE
Makefile doc: provide a target to only generate doxygen 2020-04-11 08:40:54 -04:00
README.rst doc: fix broken links in README and board docs 2020-03-12 17:18:49 -04:00
VERSION release: post release patch level = 99 2020-03-10 11:57:47 +02:00
version.h.in
west.yml west.yml: Update CMSIS module for CMSIS 5.7.0 release 2020-04-13 13:53:03 +02:00
zephyr-env.cmd
zephyr-env.sh zephyr_env.sh: Remove semicolons at ends of lines 2019-12-10 14:34:46 -08:00

.. raw:: html

   <a href="https://www.zephyrproject.org">
     <p align="center">
       <img src="doc/images/Zephyr-Project.png">
     </p>
   </a>

   <a href="https://bestpractices.coreinfrastructure.org/projects/74"><img
   src="https://bestpractices.coreinfrastructure.org/projects/74/badge"></a>
   <img
   src="https://api.shippable.com/projects/58ffb2b8baa5e307002e1d79/badge?branch=master">


The Zephyr Project is a scalable real-time operating system (RTOS) supporting
multiple hardware architectures, optimized for resource constrained devices,
and built with security in mind.

The Zephyr OS is based on a small-footprint kernel designed for use on
resource-constrained systems: from simple embedded environmental sensors and
LED wearables to sophisticated smart watches and IoT wireless gateways.

The Zephyr kernel supports multiple architectures, including ARM Cortex-M,
Intel x86, ARC, Nios II, Tensilica Xtensa, and RISC-V, and a large number of
`supported boards`_.

.. below included in doc/introduction/introduction.rst

.. start_include_here

Getting Started
***************

Welcome to Zephyr! See the `Introduction to Zephyr`_ for a high-level overview,
and the documentation's `Getting Started Guide`_ to start developing.

Community Support
*****************

Community support is provided via mailing lists and Slack; see the Resources
below for details.

.. _project-resources:

Resources
*********

Here's a quick summary of resources to help you find your way around:

* **Help**: `Asking for Help Tips`_
* **Documentation**: http://docs.zephyrproject.org (`Getting Started Guide`_)
* **Source Code**: https://github.com/zephyrproject-rtos/zephyr is the main
  repository; https://elixir.bootlin.com/zephyr/latest/source contains a
  searchable index
* **Releases**: https://github.com/zephyrproject-rtos/zephyr/releases
* **Samples and example code**: see `Sample and Demo Code Examples`_
* **Mailing Lists**: users@lists.zephyrproject.org and
  devel@lists.zephyrproject.org are the main user and developer mailing lists,
  respectively. You can join the developer's list and search its archives at
  `Zephyr Development mailing list`_. The other `Zephyr mailing list
  subgroups`_ have their own archives and sign-up pages.
* **Nightly CI Build Status**: https://lists.zephyrproject.org/g/builds
  The builds@lists.zephyrproject.org mailing list archives the CI
  (shippable) nightly build results.
* **Chat**: Zephyr's Slack workspace is https://zephyrproject.slack.com.  Use
  this `Slack Invite`_ to register.
* **Contributing**: see the `Contribution Guide`_
* **Wiki**: `Zephyr GitHub wiki`_
* **Issues**: https://github.com/zephyrproject-rtos/zephyr/issues
* **Security Issues**: Email vulnerabilities@zephyrproject.org to report
  security issues; also see our `Security`_ documentation. Security issues are
  tracked separately at https://zephyrprojectsec.atlassian.net.
* **Zephyr Project Website**: https://zephyrproject.org

.. _Slack Invite: https://tinyurl.com/y5glwylp
.. _supported boards: http://docs.zephyrproject.org/latest/boards/index.html
.. _Zephyr Documentation: http://docs.zephyrproject.org
.. _Introduction to Zephyr: http://docs.zephyrproject.org/latest/introduction/index.html
.. _Getting Started Guide: http://docs.zephyrproject.org/latest/getting_started/index.html
.. _Contribution Guide: http://docs.zephyrproject.org/latest/contribute/index.html
.. _Zephyr GitHub wiki: https://github.com/zephyrproject-rtos/zephyr/wiki
.. _Zephyr Development mailing list: https://lists.zephyrproject.org/g/devel
.. _Zephyr mailing list subgroups: https://lists.zephyrproject.org/g/main/subgroups
.. _Sample and Demo Code Examples: http://docs.zephyrproject.org/latest/samples/index.html
.. _Security: http://docs.zephyrproject.org/latest/security/index.html
.. _Asking for Help Tips: https://docs.zephyrproject.org/latest/guides/getting-help.html