Go to file
Seppo Takalo 8f77de6453 TDBStore safety check: Erase if there is valid keys on the free space.
In case our are contains data from previous reset() or reset_area(),
we might  end up in the situation  where  free space contains valid
key headers,  but we have not erased that area  yet. This can cause
failures if the deinit() and init()  because  new scan of that area
would continue  as long as keys  are found. This causes keys on the
not-yet-erased  area to be included in the new instance of TDBStore.

To prevent this failure,  check  after each key-write that our free
space does not contain valid  key headers.  Also make sure  that we
erase one program unit sector over the master record.  If we erased
just the master record,first key might is still there, causing next
init() to find it.  Extend erase area by  one program unit, so that
build_ram_table() won't find any keys.
2019-11-28 10:37:07 +02:00
.github Fix an article 2019-11-21 10:31:47 +00:00
TESTS Merge pull request #11956 from ABOSTM/FIX_SLEEP_MANAGER 2019-11-27 11:45:04 +01:00
TEST_APPS Replace deprecated wait calls 2019-07-15 10:13:50 +03:00
UNITTESTS Merge pull request #11946 from ARMmbed/revert-11559-crc 2019-11-27 11:07:13 +01:00
cmsis Core(A): Fixed __FPU_Enable function not to mess registers. (#589) 2019-05-21 19:25:58 +09:00
components Revert "MbedCRC and CRC HAL revisions" 2019-11-26 13:45:37 +00:00
docs Serial design draft 2019-11-05 17:54:15 +00:00
drivers Revert "MbedCRC and CRC HAL revisions" 2019-11-26 13:45:37 +00:00
events Test event IDs going negative 2019-10-31 13:36:01 +02:00
features TDBStore safety check: Erase if there is valid keys on the free space. 2019-11-28 10:37:07 +02:00
hal Revert "MbedCRC and CRC HAL revisions" 2019-11-26 13:45:37 +00:00
platform Merge pull request #11947 from hugueskamba/hk-fix-minimal-console 2019-11-27 11:30:08 +01:00
rtos Allow OS_THREAD_LIBSPACE_NUM as a macro 2019-09-26 04:33:53 -07:00
targets Merge pull request #11938 from LMESTM/stm32_serial_clear_rxne 2019-11-27 16:30:11 +01:00
tools Merge pull request #11921 from madchutney/tools/py3-fixes 2019-11-27 16:29:50 +01:00
.astyleignore Add moduletest for SlicingBlockDevice 2019-11-04 16:13:32 +02:00
.astylerc AStyle: fix indentation for longer lines 2018-05-24 14:15:52 +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 Integrate with mbeb-cli build system 2019-04-30 14:41:09 +03:00
.pylintrc Add pylint configuration file 2016-08-16 11:48:45 -05:00
.travis.yml USB public APIs cleanup (#11034) 2019-08-02 12:23:47 +01:00
CONTRIBUTING.md Fix links to documentation on https://os.mbed.com 2019-01-21 14:56:40 -08:00
DOXYGEN_FRONTPAGE.md Very minimal text 2016-08-04 14:09:59 +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 Removed scripts for provisiongs from repository, made fixes per PR comments, adjusted Readme.md 2019-08-30 15:10:19 +03:00
README.md Fix 'LICENSE' file 404 link error 2019-05-02 10:20:26 -05:00
doxyfile_options Add RESET_REASON and WATCHDOG to doxygen options 2019-05-24 11:35:30 +02:00
doxygen_options.json Fix doxygen_options.json for ResetReason 2019-07-08 15:55:25 +02:00
logo.png Readme updates for style and branding 2017-12-04 14:59:16 -06:00
mbed.h Move Atomic.h to <mstd_atomic> 2019-07-18 20:02:07 +03:00
requirements.txt Bump the six (Python module) version to 1.12.0 2019-09-30 10:20:45 +02: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.