Go to file
Bogdan Marinescu a7628510f5 Added '-fno-delete-null-pointer-checks' to GCC compilation options
From Adam Green, regarding using -fno-delete-null-pointer-checks:

"I would argue that on Cortex-M processors, it is more dangerous to not
have it.  The compiler can actually generate incorrect code because it is
making an incorrect assumption (that reads from a NULL pointer will throw
an exception.)   The GCC for ARM developers should actually never enable
the delete-null-pointer-checks optimization for Cortex-M processors.
There is a comment in the GCC manual that indicates, "Some targets,
especially embedded ones, disable this option [delete-null-pointer-checks]
at all levels."  Not having this flag is pretty risky on the current
versions of GCC_ARM.  Just to clarify, this flag doesn't enable an
optimization...it disables an unsafe optimization."
2013-08-16 12:26:50 +03:00
libraries Don't dereference NULL ipaddr in netif_set_ipaddr() 2013-08-15 19:02:51 -07:00
workspace_tools Added '-fno-delete-null-pointer-checks' to GCC compilation options 2013-08-16 12:26:50 +03:00
.gitattributes Added .gitattributes for automatic LF line ending conversion 2013-08-08 13:19:34 +03:00
.gitignore Tidy up default settings 2013-08-15 16:09:12 +01:00
LICENSE Add Apache v2 LICENSE file 2013-08-06 12:05:04 +01:00
README.md Added LPC11C24 to README.md 2013-08-05 17:25:12 +01:00

README.md

mbed SDK

The mbed Software Development Kit (SDK) is a C/C++ microcontroller software platform relied upon by tens of thousands of developers to build projects fast.

The SDK is licensed under the permissive Apache 2.0 licence, so you can use it in both commercial and personal projects with confidence.

The mbed SDK has been designed to provide enough hardware abstraction to be intuitive and concise, yet powerful enough to build complex projects. It is built on the low-level ARM CMSIS APIs, allowing you to code down to the metal if needed. In addition to RTOS, USB and Networking libraries, a cookbook of hundreds of reusable peripheral and module libraries have been built on top of the SDK by the mbed Developer Community.

Documentation

Supported Microcontrollers

NXP:

  • LPC1768 (Cortex-M3)
  • LPC11U24 (Cortex-M0)
  • LPC2368 (ARM7TDMI-S)
  • LPC812 (Cortex-M0+)
  • LPC4088 (Cortex-M4)
  • LPC4330 (Cortex-M4 + Cortex-M0)
  • LPC1347 (Cortex-M3)
  • LPC1114 (Cortex-M0)
  • LPC11C24 (Cortex-M0)

Freescale:

  • KL25Z (Cortex-M0+)
  • KL05Z (Cortex-M0+)

STMicroelectronics:

  • STM32F407 (Cortex-M4)

Supported Toolchains and IDEs

API Documentation

Community

For discussing the development of the mbed SDK itself (Addition/support of microcontrollers/toolchains, build and test system, Hardware Abstraction Layer API, etc) please join our mbed-devel mailing list.

For every topic regarding the use of the mbed SDK, rather than its development, please post on the mbed.org forum, or the mbed.org Q&A.

For reporting issues in the mbed libraries please open a ticket on the issue tracker of the relevant mbed official library.