Go to file
Christopher Haster cc1bad90a7 littlefs: Fixed issue with cleanup in mount function on error
As a part of the v1.6 update, littlefs added proper handling for
cleaning up memory in the case of an error during mount. This took care
of a memory leak users were seeing. Ironically, it turns out the implementation
and user patterns in mbed-os was _relying_ on this memory leak to avoid a
double free in the same case of an error during mount.

The issue was that a failed mount would leave the LittleFileSystem class in a
state where it thought it was mounted, and later it would attempt to
unmount the filesystem. With the previous memory leak this would be
"ok", and the leaked memory would be freed. But with the fix in v1.6,
no memory is leaked, and the incorrect free triggers a hard fault.

Fixed to clean up state properly on failed mounts.
2018-08-21 17:23:32 -05:00
.github PR template: Feature -> functionality change 2018-08-08 12:50:12 +01:00
TESTS Merge pull request #7524 from c1728p9/tickless_fix 2018-08-21 10:03:41 -05:00
cmsis Add volatile modifier for CP15 accessors 2018-06-07 16:47:12 +09:00
drivers Template specialization didnt work after addition of default constructor 2018-08-14 15:47:44 -05:00
events equeue: Fixed overflow in rtos-less timeout code 2018-08-13 22:19:46 -05:00
features littlefs: Fixed issue with cleanup in mount function on error 2018-08-21 17:23:32 -05:00
hal Merge pull request #7524 from c1728p9/tickless_fix 2018-08-21 10:03:41 -05:00
platform Update deep sleep lock check in tests 2018-08-17 09:29:41 -05:00
rtos Merge pull request #7600 from c1728p9/remove_unnecissary_low_power_ticker_rescheduling 2018-08-16 13:37:01 -05:00
targets Merge pull request #7619 from u-blox/cellular_ublox_udp_tcp_imp 2018-08-21 10:12:47 -05:00
tools Merge pull request #7797 from OPpuolitaival/fix_target_name 2018-08-16 16:18:19 -05:00
.astyleignore AStyle: ignore hal storage abstraction 2018-06-29 10:36:36 +01: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 Added .gitattributes for automatic LF line ending conversion 2013-08-08 13:19:34 +03:00
.gitignore BLE: Initialize the pal in GenericSecurityManager 2018-03-23 12:06:08 +00:00
.pylintrc Add pylint configuration file 2016-08-16 11:48:45 -05:00
.travis.yml Adopted travis changes from littlefs v1.6 2018-08-06 14:30:29 -05:00
CONTRIBUTING.md Update link in CONTRIBUTING.md 2017-06-09 16:38:38 -05:00
DOXYGEN_FRONTPAGE.md Very minimal text 2016-08-04 14:09:59 +01:00
Jenkinsfile Jenkinsfile: remove client app test temporarily 2017-06-01 12:15:09 +01:00
LICENSE Add Apache v2 LICENSE file 2013-08-06 12:05:04 +01:00
README.md Squashed 'features/filesystem/littlefs/littlefs/' changes from b2124a5ae..510cd13df 2018-08-06 13:52:24 -05:00
doxyfile_options Remove FEATURE_LWIP. The LwIP stack is enabled on all builds now 2018-06-21 11:00:00 +03:00
doxygen_options.json Remove FEATURE_LWIP. The LwIP stack is enabled on all builds now 2018-06-21 11:00:00 +03:00
logo.png Readme updates for style and branding 2017-12-04 14:59:16 -06:00
mbed.h Separate version header file to get version updates in Mbed OS 2018-07-11 09:41:30 -05:00
requirements.txt Added missing six requirement 2018-05-11 14:25:27 -05:00

README.md

Mbed OS

Build status release Build status master Tools coverage status PR progress

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.

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.