Go to file
Martin Kojtal 9faeadc522 CMake: ninja reponse files disabled for ARMClang on Windows
Issue https://gitlab.kitware.com/cmake/cmake/-/issues/21093

Until this is fixed, we should disable response files for ARMClang + ninja on Windows.
Other toolchains and host systems should benefit from response files thus not disabling them
completely.

This fixes the issue with not finding includes. It's not trivial to find the root cause, it took me a while to figure out why ARMClang can't find the paths.

I moved the check to Mbed OS main cmake. It should not be in the toolchain file as it is not
related to the toolchain but to generator. We need toolchain properly set up first.

Note, I had to protect setting CMAKE_NINJA_FORCE_RESPONSE_FILE. If I set it to 0, ninja
would still use rsp files so I rather protected it and define that variable only when
required, not always.

Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2020-11-06 17:25:23 +00:00
.github Merge pull request #11999 from ARMmbed/affected_vers 2019-12-24 11:04:04 +00:00
TESTS Baremetal test config: no need to explicitly disable ipv6 anymore 2020-09-21 15:44:19 +01:00
TEST_APPS Remove KW24D target 2020-04-30 09:56:34 +01:00
UNITTESTS Merge pull request #13492 from talorion/fix-PwmOut-resets-after-suspend 2020-09-10 12:40:18 +01:00
cmsis CMake: add mbed-os and mbed-baremetal targets 2020-11-06 17:25:22 +00:00
connectivity CMake: add mbed-os and mbed-baremetal targets 2020-11-06 17:25:22 +00:00
docs CMake: Rename CMake targets 2020-11-06 17:25:22 +00:00
drivers CMake: add mbed-os and mbed-baremetal targets 2020-11-06 17:25:22 +00:00
events CMake: Rename CMake targets 2020-11-06 17:25:22 +00:00
features CMake: Rename CMake targets 2020-11-06 17:25:22 +00:00
hal CMake: add mbed-os and mbed-baremetal targets 2020-11-06 17:25:22 +00:00
platform CMake: add mbed-os and mbed-baremetal targets 2020-11-06 17:25:22 +00:00
rtos Update rtos/CMakeLists.txt 2020-11-06 17:25:22 +00:00
storage CMake: Rename CMake targets 2020-11-06 17:25:22 +00:00
targets CMake: Add support for NUCLEO_F303K8 2020-11-06 17:25:22 +00:00
tools CMake: ninja reponse files disabled for ARMClang on Windows 2020-11-06 17:25:23 +00:00
.astylerc AStyle: fix indentation for longer lines 2018-05-24 14:15:52 +01:00
.codecheckignore .codecheckignore: ignore imported libraries randlib and mbed-trace 2020-09-02 12:31:00 +01:00
.coveragerc Exclude libraries and tests from coverage numbers 2017-09-25 11:51:31 -05:00
.gitattributes Normalize line endings for IM880B startup files. 2019-07-15 14:56:22 +03:00
.gitignore CMake: Intentionally untrack CMake generated files 2020-11-06 17:25:14 +00:00
.mergify.yml mergify: add release type 2.2 2020-06-04 14:24:22 +01:00
.pylintrc Add pylint configuration file 2016-08-16 11:48:45 -05:00
.travis.yml TEST: remove cmake build test from TravisCI 2020-11-06 17:25:23 +00:00
CMakeLists.txt CMake: ninja reponse files disabled for ARMClang on Windows 2020-11-06 17:25:23 +00:00
CONTRIBUTING.md Fix links to documentation on https://os.mbed.com 2019-01-21 14:56:40 -08:00
DOXYGEN_FRONTPAGE.md Updating with new links and correct branding 2020-08-12 10:49:05 +01:00
Jenkinsfile Updated file comment 2018-08-20 12:31:40 +03:00
LICENSE-apache-2.0.txt license: rename to apache 2.0 txt file 2019-02-13 11:28:01 +00:00
LICENSE.md Modifying paths in each unit test according to new directory structure 2020-08-12 11:06:37 +01:00
README.md Fix 'LICENSE' file 404 link error 2019-05-02 10:20:26 -05:00
doxyfile_options BLE: update doxygen exclusion pattern 2020-08-25 11:34:00 +01:00
doxygen_options.json BLE: update doxygen exclusion pattern 2020-08-25 11:34:00 +01:00
logo.png Readme updates for style and branding 2017-12-04 14:59:16 -06:00
mbed.h CMake: Restore rtos api and netsocket presence macro names 2020-11-06 17:25:22 +00:00
requirements.txt Update psutils to address security issue 2020-03-16 15:09:33 +00:00

README.md

Mbed OS

Build status release Build status master Tools coverage status

Arm Mbed OS is an open source embedded operating system designed specifically for the "things" in the Internet of Things. It includes all the features you need to develop a connected product based on an Arm Cortex-M microcontroller, including security, connectivity, an RTOS and drivers for sensors and I/O devices.

Mbed OS provides a platform that includes:

  • Security foundations.
  • Cloud management services.
  • Drivers for sensors, I/O devices and connectivity.

Release notes

The release notes detail the current release. You can also find information about previous versions.

License and contributions

The software is provided under the Apache-2.0 license. Contributions to this project are accepted under the same license. Please see contributing.md for more information.

This project contains code from other projects. The original license text is included in those source files. They must comply with our license guide.

Folders containing files under different permissive license than Apache 2.0 are listed in the LICENSE file.

Getting started for developers

We have a developer website for asking questions, engaging with others, finding information on boards and components, using an online IDE and compiler, reading the documentation and learning about what's new and what's coming next in Mbed OS.

Getting started for contributors

We also have a contributing and publishing guide that covers licensing, contributor agreements and style guidelines.

Documentation

For more information about Mbed OS, please see our published documentation. It includes Doxygen for our APIs, step-by-step tutorials, porting information and background reference materials about our architecture and tools.

To contribute to this documentation, please see the mbed-os-5-docs repository.