Go to file
Martin Kojtal f835c89729 AStyle: fix indentation for longer lines
Long lines like this would have parameters misaligned but shorter lines would be OK.

```
 void LoRaMac::check_frame_size(uint16_t size)
 {
     uint8_t value = _lora_phy.get_max_payload(_mcps_indication.rx_datarate,
-                                              _params.is_repeater_supported);
+                    _params.is_repeater_supported);
+
+    _lora_phy.a(_mcps_indication.b,
+                b.is_repeater_supported);
```

With this option (applied to the code above), we get

```
@@ -319,6 +319,9 @@ void LoRaMac::check_frame_size(uint16_t size)
     uint8_t value = _lora_phy.get_max_payload(_mcps_indication.rx_datarate,
                                               _params.is_repeater_supported);

+    _lora_phy.a(_mcps_indication.b,
+                b.is_repeater_supported);
```

Both are aligned the same. However there is a limit of astyle - 120 columns for this.
We do in most cases lines from 80 to 120 as suggested in our code lines thus this should
be good.
2018-05-24 14:15:52 +01:00
.github Merge pull request #6728 from 0xc0170/fix-issue-template 2018-05-07 10:38:49 -05:00
TESTS Increased wait time to allow device to sleep 2018-05-23 15:06:17 -05:00
cmsis CMSIS/RTX: Reintroduce arm_math.h 2018-05-14 12:18:21 +01:00
drivers Merge pull request #6791 from kjbracey-arm/fcntl 2018-05-21 17:17:02 -05:00
events Introduce API to query how much time is left for delayed event 2018-05-18 12:55:06 +03:00
features Merge pull request #6273 from bulislaw/update_cmsis_5.3 2018-05-24 09:37:40 +02:00
hal Merge pull request #6273 from bulislaw/update_cmsis_5.3 2018-05-24 09:37:40 +02:00
platform Merge pull request #6878 from bulislaw/rtc_lp_ticker 2018-05-22 14:35:18 +02:00
rtos Merge pull request #6273 from bulislaw/update_cmsis_5.3 2018-05-24 09:37:40 +02:00
targets Merge pull request #6273 from bulislaw/update_cmsis_5.3 2018-05-24 09:37:40 +02:00
tools Merge pull request #6273 from bulislaw/update_cmsis_5.3 2018-05-24 09:37:40 +02:00
.astyleignore Add astyleignore file 2018-04-19 12:55:07 +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 add few files to gitignore list 2018-02-09 10:57:31 +00:00
.pylintrc Add pylint configuration file 2016-08-16 11:48:45 -05:00
.travis.yml Merge pull request #6905 from kivaisan/remove_common_pal_flags 2018-05-21 10:11:20 -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
LICENSE-BSD-3-Clause Adding license text and BSD-Clause 3 2018-02-09 11:00:56 -06:00
README.md Simple typo fix in the README.md 2018-01-08 19:50:18 +00:00
doxyfile_options Fix Doxygen paths 2018-04-27 14:38:44 +03:00
doxygen_options.json Fix Doxygen paths 2018-04-27 14:38:44 +03:00
logo.png Readme updates for style and branding 2017-12-04 14:59:16 -06:00
mbed.h Add stats header file to mbed.h 2018-05-09 10:24:28 -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.