Commit Graph

653 Commits (mbed_lib_rev124)

Author SHA1 Message Date
0xc0170 ec15ee63d7 targets - KL27Z IAR removal
Fails to build spi HAL
2016-08-19 10:54:49 +01:00
0xc0170 5a78cf3fc5 mbed lib revision - 124 2016-08-18 14:32:39 +01:00
Yoshihiro TSUBOI 0b195e8594 Added exporting support 2016-08-18 13:48:42 +01:00
Christopher Haster 7b02d5396c Updated deprecation notices to match branch names
Example:

    MBED_DEPRECATED_SINCE("mbed-os-5.1", "don't foo any more, bar instead")
    void foo(int arg);
2016-08-18 13:48:41 +01:00
Christopher Haster aa9b5df914 Added more well-defined garuntees on deprecation notices in mbed
From the discussion on issue #2068:
Functions marked deprecated in the mbed library should notate when
the deprecation was started to allow efficient removal once a set
amount of time has expired.

Added the following macro:
MBED_DEPRECATED_SINCE("version", "message string")

Example usage:

    MBED_DEPRECATED_SINCE("v5.1", "don't foo any more, bar instead")
    void foo(int arg);

Adopted in existing deprecations:
- FunctionPointer
- RtosTimer
- Thread
2016-08-18 13:48:38 +01:00
Jeremy Brodt 69d4a921be Synchronizing SPI drivers. 2016-08-18 13:48:03 +01:00
Jeremy Brodt 2e786ba70d Added missing register definitions. 2016-08-18 13:48:01 +01:00
Jeremy Brodt 0c594858fd Updated bit-band macros to match latest MXC convention. 2016-08-18 13:47:59 +01:00
Jeremy Brodt a135a9ae18 Fixed analogout bugs. 2016-08-18 13:47:57 +01:00
Jeremy Brodt 0f847f4444 Fixed i2c_byte_write() return value. 2016-08-18 13:47:55 +01:00
Jeremy Brodt 2598daa275 Fixed I2C bug. 2016-08-18 13:47:52 +01:00
Mahadevan Mahesh 8753dd61d4 Add support for FRDM K66
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-08-18 13:47:50 +01:00
Mahadevan Mahesh a007d912ac Add support for KL43Z using KSDK 2.0
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-08-18 13:47:48 +01:00
Yoshihiro TSUBOI 74de744178 Add support for mbed OS 5
- Changed inherit to "MCU_NRF51_32K_UNIFIED".
- Added 32MHz XTAL support to "system_nrf.c".
- Added TY51822r3 support to "MCU_NRF51_32K_UNIFIED".
2016-08-18 13:47:45 +01:00
Vincenzo Frascino 5ddba7742e Change release_version to 5
mbedci-test CI server is complian only with mbed-os release version 5.x.
This patch updates the Beetle section of the target.json file in order
to comply with the requirement.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-08-18 13:47:43 +01:00
Vincenzo Frascino 61cd9ebbed Add support for IAR compiler
IAR compiler support is a mandatory requirement for mbed-os 5.1.

This patch adds support to IAR on Beetle mbed-os platform.
It contains:
* Linker script
* Startup code
* Target enablement
* Cordio libraries for BLE

Signed-off-by: Douglas Raillard <douglas.raillard@arm.com>
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-08-18 13:47:41 +01:00
svastm ef1ffaf54c Enable asynchronous serial 2016-08-18 13:47:35 +01:00
svastm 622347ff05 Add asynchronous serial
- Move struct serial_s to common_objects.h
 - Add event field to struct serial_s
 - Remove ASYNCH_DMA
 - Clean yotta defines
2016-08-18 13:47:33 +01:00
bcostm 3b9b2ec3c2 Add missing serial flow control elements in serial structure 2016-08-18 13:47:24 +01:00
bcostm 418e9f0aeb Activate SERIAL_FC in targets.json 2016-08-18 13:47:22 +01:00
bcostm 2c1a790556 Add Serial Flow Control pins 2016-08-18 13:47:21 +01:00
bcostm 8091386ad0 Add Serial Flow Control pins 2016-08-18 13:47:19 +01:00
bcostm 1e8e71e8ad Add Serial Flow Control pins 2016-08-18 13:47:17 +01:00
bcostm 6c872f37bb Add Serial Flow Control pins 2016-08-18 13:47:16 +01:00
bcostm 396f563702 Add Serial Flow Control pins 2016-08-18 13:47:14 +01:00
bcostm 7de28b5feb Add Serial Flow Control pins 2016-08-18 13:47:12 +01:00
Vincent Coubard fb70f79bdb Fix possible overflow of NRF51 os tick.
The RTC1 counter can increase while the new value for the CC register
used by the os tick is computed. As a result, when interrupts are enabled
again RTC1 counter and CC register value are equal. If these two values are
equal then the interrupt for the CC channel used by the OS tick will be
generated the next time the RTC counter reach that value.
In other words, the next OS tick will occur 131 seconds latter.

This issue possibly concern all NRF51 targets with 32K of RAM but is
only visible on NRF51_DK target when their is heavy BLE load.
2016-08-18 13:47:09 +01:00
Russ Butler 5046c2eaf0 Fix nrf52 initial stack pointer in ARMCC
Set the initial stack pointer to the end of ram so it matches
INITIAL_SP defined in RTX_CM_lib.h.
2016-08-18 13:47:06 +01:00
Russ Butler 5dd5df2736 Decrease NUC472 interrupt stack size
Decrease the interrupt stack of the NUC472 from 12KB to 8KB. This
frees up enough space to allow the core tests to run.
2016-08-18 13:47:04 +01:00
Russ Butler 4ce977ee88 Override new and delete operators to trap errors
When new or new[] fails to allocate space trigger an error.
2016-08-18 13:46:57 +01:00
Russ Butler e913f49350 Fix heap limit checking and make memory explicit
Set well defined limits for the heap and configure GCC and ARMCC to
correctly check these. IAR already correctly checked its heap.

This also statically declares the main thread stack so the
linker is responsible for its placement.
2016-08-18 13:46:54 +01:00
Mahadevan Mahesh 21903917c4 KL27Z: Fix duplicate define error
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-08-18 13:46:52 +01:00
svastm 0c12ad579f Clean pwm and analog definition
To be more consistant with ST targets, this commit change analog and pwm
channel definitions to PeripheralPins.c
2016-08-18 13:46:49 +01:00
svastm 490d5e78f7 Clean pwm and analog definition
To be more consistant with ST targets, this commit change analog and pwm
channel definitions to PeripheralPins.c
2016-08-18 13:46:47 +01:00
Peeyush pashine 3622e3adbe Update analogin_api.c
Software trigger for ST NUCLEO F1x series boards:

Issue:

https://github.com/ARMmbed/mbed-os/issues/1672#issuecomment-236565445
2016-08-18 13:46:45 +01:00
Helmut Tschemernjak c88f282c0e Added the missing on-board SPI LSM303C sensor SPI pin definition to allow programming the sensor via mbed APIs See issue(#1746) 2016-08-18 13:46:44 +01:00
0xc0170 133d7b3e3c K64F serial - fix device macro for serial flow 2016-08-11 17:43:39 +01:00
0xc0170 cd9b1781a3 MTS Gambit - remove serial flow control
Plus protect serial flow in the common k64f code, as not all targets provide its
support.
2016-08-11 15:17:26 +01:00
0xc0170 1310bd15ff K64F - HAL common part prefixed with MCU_K64F 2016-08-11 15:04:39 +01:00
0xc0170 0b361745b8 Target hexiwear - add mcu_k64f label 2016-08-11 15:02:07 +01:00
0xc0170 fbbb64a885 Rename cmsis K64F to MCU_K64F
This is common for any K64F not only for frdm-k64f that is named K64F. This
is causing conflicts with inheritance. This might be fixed better (long term
solution).
2016-08-11 14:58:45 +01:00
0xc0170 f4aabc4edd mbed lib revision - 123 2016-08-11 09:18:39 +01:00
Russ Butler cde0575d82 Add ARDUINO to supported form factors of F429ZI
Add support for the arduino form factor in targets.json for the
NUCLEO_F429ZI.
2016-08-10 15:40:51 +01:00
Evangelos Arkalis 4aaec8df02 Alignment fixed 2016-08-10 15:40:41 +01:00
EvArk a6895df7b4 STM32F1 serial_api initialize failure message 2016-08-10 15:40:25 +01:00
Sam Grove 150fd079ef Merge pull request #2375 from geky/expose-nsapi
Expose the network-socket API through mbed.h
2016-08-04 20:25:41 -05:00
Sam Grove 8e24d683c0 Merge pull request #2361 from geky/add-ipv4-vk_rz_a1h
Enable FEATURE_IPV4 for the VK_RZ_A1H
2016-08-04 19:24:34 -05:00
Sam Grove 0131aa657c Merge pull request #2365 from bridadan/increase-heap-kl46z
Increasing the heap for KL46Z for IAR.
2016-08-04 17:36:44 -05:00
Sam Grove fb92f3fd98 Merge pull request #2376 from NXPmicro/HEXIWEAR_Clock_Fix
Fix the clock setup for the K64 HEXIWEAR board
2016-08-04 17:02:20 -05:00
Christopher Haster 413ea26c00 [VK_RZ_A1H] Renamed __vector -> __vector_core_a9 as expected by IAR RTX 2016-08-04 16:36:50 -05:00