The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Committer:
AnnaBridge
Date:
Wed Aug 31 18:09:46 2016 +0100
Revision:
125:2e9cc70d1897
Child:
128:9bcdf88f62b0
Release 125 of the mbed library

Changes:

New target - KL27Z_IAR
New target - MAX32620HSP_ARM_STD
New target - MAX32620HSP_GCC_ARM
New target - MAX32620HSP_IAR
New target - NCS36510_ARM_STD
New target - NCS36510_GCC_ARM
New target - NCS36510_IAR

Added support for NSAPI_REUSEADDR to the lwip interface.
STM32F3 family : Add and enable asynchronous serial, plus tests.
STM32L4 family : Add and enable asynchronous serial, plus tests.
Fixing issue where GCC fails to report compile errors when non-verbose.
Add ethernet and IPV4 support for: NUCLEO_F207ZG, NUCLEO_F429ZI, NUCLEO_F767ZI, DISCO_F746NG.
RZ_A1H - Enable SPI1 on pins P6_4 to P6_7.
KL27Z : SPI driver bug fixes and Improvements, ARM linker file update.
STM32F4, STM32F7 families : Add entropy functions, documentation, code improvements, fix build issues.
HEXIWEAR: Update I2C pin mapping, Add support to create KDS projects.
LWIP - fix recv blocking send on accepted sockets.
SingletonPtr bugfixes.
Beetle: Implement sleep API.
uVisor: Update to v0.20.1-alpha, minor documentation update.
STM32F3 : fix RTOS IAR test, RTOS GCC_ARM test.
nrf5x : Introduce uart hardware flow control configuration.
K64F/K22F: Implement HAL lp_timer API.
Ticker: Move ticker initialisation to object creation time.
STM32F4 : remove printf from pwmout
NXP : Fix multiple definition errors in GCC_CR build, fix linker errors.
Add TOOLCHAIN_GCC_CR support.
STM32L1 family : Add and enable asynchronous serial, plus tests.
mbed-client : Fix Bootstrap and Connector functionality.
NUC472 : Fix Ethernet wrong INT status in RX_Action.
RTX_CM_lib.h : fix compiler warning.
NUCLEO : Use GCC small build for 64K flash STM32.
STM32F2 family : Add and enable asynchronous serial, plus tests.
uvisor : Move page heap after uVisor private data, update page allocator.
K64F: Revert to hardcoded stack pointer in RTX .
dns-query : Internal API change , documentation, Added support for multiple results and ipv6.
Add support for implementation-provided DNS servers.
Adopted netconn_gethostbyname in the lwip interface.
Restructured nsapi_dns.h to have clear separation between C/C++ .
Tool fixes.
Tests : New ones added and some updates to existing.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AnnaBridge 125:2e9cc70d1897 1 /* [ROM] */
AnnaBridge 125:2e9cc70d1897 2 define symbol __intvec_start__ = 0x0;
AnnaBridge 125:2e9cc70d1897 3 define symbol __region_ROM_start__ = 0x0;
AnnaBridge 125:2e9cc70d1897 4 define symbol __region_ROM_end__ = 0x001FFFFF;
AnnaBridge 125:2e9cc70d1897 5
AnnaBridge 125:2e9cc70d1897 6 /* [RAM] Vector table dynamic copy: 65 vectors * 4 bytes = 260 (0x104) bytes + 4 for 8 byte align */
AnnaBridge 125:2e9cc70d1897 7 define symbol __NVIC_start__ = 0x00000000;
AnnaBridge 125:2e9cc70d1897 8 define symbol __NVIC_end__ = 0x00000108; /* to be aligned on 8 bytes */
AnnaBridge 125:2e9cc70d1897 9 define symbol __region_RAM_start__ = 0x20000000;
AnnaBridge 125:2e9cc70d1897 10 define symbol __region_RAM_end__ = 0x2003FFFF;
AnnaBridge 125:2e9cc70d1897 11
AnnaBridge 125:2e9cc70d1897 12 /* Memory regions */
AnnaBridge 125:2e9cc70d1897 13 define memory mem with size = 4G;
AnnaBridge 125:2e9cc70d1897 14 define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM_end__];
AnnaBridge 125:2e9cc70d1897 15 define region RAM_region = mem:[from __region_RAM_start__ to __region_RAM_end__];
AnnaBridge 125:2e9cc70d1897 16
AnnaBridge 125:2e9cc70d1897 17 /* Stack and Heap */
AnnaBridge 125:2e9cc70d1897 18 define symbol __size_cstack__ = 0x800;
AnnaBridge 125:2e9cc70d1897 19 define symbol __size_heap__ = 0x800;
AnnaBridge 125:2e9cc70d1897 20 define block CSTACK with alignment = 8, size = __size_cstack__ { };
AnnaBridge 125:2e9cc70d1897 21 define block HEAP with alignment = 8, size = __size_heap__ { };
AnnaBridge 125:2e9cc70d1897 22
AnnaBridge 125:2e9cc70d1897 23 initialize by copy { readwrite };
AnnaBridge 125:2e9cc70d1897 24 do not initialize { section .noinit };
AnnaBridge 125:2e9cc70d1897 25
AnnaBridge 125:2e9cc70d1897 26 place at address mem:__intvec_start__ { readonly section .intvec };
AnnaBridge 125:2e9cc70d1897 27 place in ROM_region { readonly };
AnnaBridge 125:2e9cc70d1897 28 place in RAM_region { readwrite,
AnnaBridge 125:2e9cc70d1897 29 block CSTACK, block HEAP };