Bartek Szatkowski
12acfb3ca6
Beetle: Implement sleep API
2016-08-22 09:48:28 +01:00
Russ Butler
707291ab68
Fix SingletonPtr problems
...
Check to see if ptr is NULL after acquiring the singleton lock to
prevent initialization race conditions. Also explicitly call the
constructor for type T.
2016-08-19 18:41:16 -05:00
Mahadevan Mahesh
c4e1bed878
HEXIWEAR: Update I2C pin mapping
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-08-19 14:45:16 -05:00
Martin Kojtal
133f16aa5d
Merge pull request #2473 from svastm/ethernet_mbed_5
...
[STM32] Add ethernet and feature IPV4
2016-08-19 11:40:33 +01:00
Toyomasa Watarai
b7536b83ca
Fix link error
...
xxx_s.a libraries are no longer supported in GCC_CR toolchain
2016-08-19 15:52:42 +09:00
Toyomasa Watarai
362bb0e94d
Add TOOLCHAIN_GCC_CR support
2016-08-19 13:50:12 +09:00
Toyomasa Watarai
6c0a0e144e
Fix multiple definition errors in GCC_CR build
2016-08-19 11:58:59 +09:00
adustm
059c5a3ba8
[RNG for STM32F4 family] fix build issue by modifying labels
2016-08-18 17:25:33 +02:00
adustm
824fff5d63
Add documentation + reformat the code
2016-08-18 16:52:58 +02:00
adustm
4c50ec2734
Add entropy functions for STM32F4 and STM32F7 family
2016-08-18 16:52:58 +02:00
Martin Kojtal
0f2566b3ff
Merge pull request #2432 from jeremybrodt/max326xx_bugfix
...
[MAX326xx] Bug fixes and clean up.
2016-08-18 11:04:47 +01:00
Martin Kojtal
64a30a0095
Merge pull request #2479 from geky/deprecated-until
...
Updated deprecation notices to match branch names
2016-08-18 09:06:39 +01:00
Mahadevan Mahesh
2d97246fb0
KL27Z: Update the ARM linker file
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-08-17 11:57:05 -05:00
Mahadevan Mahesh
1fe6c2f04a
KL27Z: Update the SPI driver
...
1.Fix SPI flag name error
2.Fix SPI write blocking function
3.Use function pointer to implement SPI IRQ handler to reduce code size
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-08-17 08:58:32 -05:00
Martin Kojtal
bdb4ab921f
Merge pull request #2472 from ytsuboi/master
...
[TY51822r3] Added exporting support
2016-08-17 14:54:49 +01:00
Martin Kojtal
8568c9eac8
Merge pull request #2394 from geky/deprecated-until
...
Add more well-defined garuntees on deprecation notices in mbed
2016-08-17 14:45:46 +01:00
Martin Kojtal
77e87179bd
Merge pull request #2456 from NXPmicro/SDK2_FRDM_K66F
...
Add support for FRDM K66
2016-08-17 14:37:31 +01:00
Martin Kojtal
ea90ea20e5
Merge pull request #2379 from NXPmicro/SDK2_KL43Z
...
Add support for KL43Z using KSDK 2.0
2016-08-17 14:26:45 +01:00
mtkrtk
667accacd0
Enable SPI1 on P6_4 ~ P6_7
2016-08-17 21:19:43 +09:00
svastm
43be3b403e
[STM32] Add ethernet and feature IPV4
...
This commit refactor the `lwip-eth/arch/TARGET_STM` folder and add the IPV4 feature for the
following targets:
- NUCLEO_F207ZG
- NUCLEO_F429ZI
- NUCLEO_F767ZI
- DISCO_F746NG
2016-08-17 10:27:32 +02:00
Yoshihiro TSUBOI
f8a6af161a
[TY51822r3] Added exporting support
2016-08-17 10:58:48 +09:00
Christopher Haster
b12c27c5b4
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-16 20:30:20 -05:00
Christopher Haster
0f516aa8e0
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-16 15:45:51 -05:00
svastm
7c384c9765
[STM32L4] Enable asynchronous serial
2016-08-16 17:54:14 +02:00
svastm
bad850c49a
[STM32L4] Add asynchronous serial
2016-08-16 17:54:14 +02:00
Jeremy Brodt
7be00b8fa8
[MAX326xx] Synchronizing SPI drivers.
2016-08-16 10:30:14 -05:00
Jeremy Brodt
e628254c08
[MAX326xx] Added missing register definitions.
2016-08-16 10:30:14 -05:00
Jeremy Brodt
c8410ee8c7
[MAX326xx] Updated bit-band macros to match latest MXC convention.
2016-08-16 10:30:14 -05:00
Jeremy Brodt
2fb904f25c
[MAX326xx] Fixed analogout bugs.
2016-08-16 10:30:14 -05:00
Jeremy Brodt
301d7f271f
[MAX326xx] Fixed i2c_byte_write() return value.
2016-08-16 10:30:14 -05:00
Jeremy Brodt
0e330ef1fa
[MAX326xx] Fixed I2C bug.
2016-08-16 09:27:27 -05:00
svastm
b2d8cfe14c
[STM32F3] Enable asynchronous serial
2016-08-16 16:00:36 +02:00
svastm
79c11c0b8e
[STM32F3] Add asynchronous serial
2016-08-16 16:00:36 +02:00
Martin Kojtal
8d368775e3
Merge pull request #2401 from svastm/serial_asynch_f4
...
[STM32F4] Add asynchronous serial
2016-08-16 14:24:06 +01:00
Martin Kojtal
2776dd7dd3
Merge pull request #2447 from ytsuboi/master
...
[TY51822r3] Add support for mbed OS 5
2016-08-16 10:05:26 +01:00
Mahadevan Mahesh
0ad9220fb1
Add support for FRDM K66
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-08-15 15:37:25 -05:00
Mahadevan Mahesh
5f598a9aaf
Add support for KL43Z using KSDK 2.0
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-08-15 13:16:46 -05:00
0xc0170
f38ee3c049
K64F serial - fix device macro for serial flow
2016-08-15 14:55:22 +01:00
0xc0170
f51d8cfa3e
MTS Gambit - remove serial flow control
...
Plus protect serial flow in the common k64f code, as not all targets provide its
support.
2016-08-15 14:55:20 +01:00
0xc0170
29d36f0e7d
K64F - HAL common part prefixed with MCU_K64F
2016-08-15 14:55:18 +01:00
0xc0170
4c499780dd
Target hexiwear - add mcu_k64f label
2016-08-15 14:55:16 +01:00
0xc0170
b52a2fe9f4
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-15 14:55:14 +01:00
0xc0170
ae4a4938ab
mbed lib revision - 123
2016-08-15 14:55:12 +01:00
Martin Kojtal
6c2ef92dfa
Merge pull request #2427 from fvincenzo/master
...
[BEETLE] Add support for IAR compiler
2016-08-15 11:44:06 +01:00
Yoshihiro TSUBOI
38f626cc61
[TY51822r3] 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-15 19:18:56 +09:00
Vincenzo Frascino
5145ab73f7
[BEETLE] 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-12 17:02:48 +01:00
Vincenzo Frascino
55c446a1e0
[BEETLE] 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-12 17:02:27 +01:00
Martin Kojtal
685096eb11
Merge pull request #2351 from peeyushpashine/patch-1
...
Update analogin_api.c
2016-08-12 12:47:16 +02:00
svastm
22874be402
[STM32F4] Enable asynchronous serial
2016-08-12 10:39:02 +02:00
svastm
f112c26c14
[STM32F4] 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-12 10:35:06 +02:00
Martin Kojtal
58d9926c0c
Merge pull request #2220 from svastm/update_cube_l1
...
[STM32L1XX] Update STM32CUBE_L1 to v1.6
2016-08-12 09:50:25 +02:00
Martin Kojtal
d49a4e6da9
Merge pull request #2414 from bcostm/stm32f4_serial_fc
...
[STM32F4] Add serial flow control
2016-08-12 09:29:55 +02:00
Martin Kojtal
0b74dc1fc4
Merge pull request #2400 from NXPmicro/Fix_Duplicate_Define_KL27Z
...
KL27Z: Fix duplicate define error
2016-08-12 09:06:17 +02:00
Martin Kojtal
56865a2076
Merge pull request #2328 from helmut64/STM32L4_DISCO_SPIPINS
...
Added the missing on-board SPI LSM303C sensor SPI pin definitions
2016-08-11 13:43:23 +01:00
Martin Kojtal
a79afc2ce5
Merge pull request #2352 from svastm/clean_pwm_analog
...
[STM32F[0-1]] Clean pwm and analog channel definition
2016-08-11 13:32:15 +01:00
Martin Kojtal
fca16f80e7
Merge pull request #2410 from pan-/fix_nrf51_os_tick
...
Fix possible overflow of NRF51 os tick.
2016-08-11 09:03:23 +01:00
bcostm
5a4e90d96d
[NUCLEO_F446ZE] Add missing serial flow control elements in serial structure
2016-08-10 16:48:45 +02:00
bcostm
aa772e9b86
[STM32F4] Activate SERIAL_FC in targets.json
2016-08-10 16:32:31 +02:00
bcostm
9bb710d38a
[NUCLEO_F429ZI] Add Serial Flow Control pins
2016-08-10 16:24:26 +02:00
bcostm
7953526b3e
[NUCLEO_F446RE] Add Serial Flow Control pins
2016-08-10 16:07:26 +02:00
bcostm
d22054612b
[NUCLEO_F411RE] Add Serial Flow Control pins
2016-08-10 15:58:42 +02:00
bcostm
a905d36d13
[NUCLEO_F410RB] Add Serial Flow Control pins
2016-08-10 15:52:02 +02:00
bcostm
4e77da774f
[DISCO_F469NI] Add Serial Flow Control pins
2016-08-10 15:40:33 +02:00
bcostm
7f2647d3ae
[DISCO_F429ZI] Add Serial Flow Control pins
2016-08-10 15:30:45 +02:00
Vincent Coubard
c17be7efe4
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-10 09:50:04 +01:00
Russ Butler
3587a08f8e
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-09 14:54:58 -05:00
Russ Butler
69bf173e22
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-09 14:54:51 -05:00
Russ Butler
16329fd2d9
Override new and delete operators to trap errors
...
When new or new[] fails to allocate space trigger an error.
2016-08-09 14:42:23 -05:00
Russ Butler
7cf1dc1155
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-09 13:44:33 -05:00
Martin Kojtal
52658e5131
Merge pull request #2380 from c1728p9/nucleo_f429
...
Add ARDUINO to supported form factors of F429ZI
2016-08-09 14:28:21 +01:00
Martin Kojtal
900fcfe516
Merge pull request #2355 from evark/stm32f1-serial
...
STM32F1 serial_api initialize failure message
2016-08-09 14:27:59 +01:00
Mahadevan Mahesh
a7a6521b31
KL27Z: Fix duplicate define error
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-08-09 08:13:39 -05:00
Bogdan Marinescu
2f127cbd2b
Merge pull request #2274 from ARMmbed/unified_wait
...
Unification of wait functions
2016-08-09 09:41:16 +01:00
Bogdan Marinescu
49606cd5de
Improved accuracy for microsecond delays
2016-08-08 19:04:38 +03:00
Russ Butler
ea4c65defa
Add ARDUINO to supported form factors of F429ZI
...
Add support for the arduino form factor in targets.json for the
NUCLEO_F429ZI.
2016-08-05 16:01:45 -05: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
Christopher Haster
2c4a03f118
[VK_RZ_A1H] Maked __iar_program_start as weak
2016-08-04 16:36:38 -05:00
Sam Grove
e9cebde193
Merge pull request #2372 from anangl/gpio_irq_fix
...
Fixed irq handling in gpio_api.
2016-08-04 14:54:50 -05:00
Mahadevan Mahesh
f7948f6f65
Fix the clock setup for the K64 HEXIWEAR board
2016-08-04 13:06:33 -05:00
Sam Grove
0edef2da82
Merge pull request #2273 from svastm/fix_i2c_clock_l4
...
[STM32L4XX] Fix i2c clock config
2016-08-04 12:26:21 -05:00
Sam Grove
ff34c5b54b
Merge pull request #2354 from svastm/ram_fix_f303re
...
[STM32F303RE] Fix initial SP on ARM and uARM
2016-08-04 12:24:40 -05:00
Sam Grove
19351147e8
Merge pull request #2356 from svastm/fix_iar_nucleo_f207zg
...
[STM32F207ZG] Fix IAR memory init
2016-08-04 12:20:49 -05:00
Sam Grove
a6ffdd4e94
Merge pull request #2366 from sg-/hexiwear-fixups
...
Hexiwear fixups
2016-08-04 11:38:41 -05:00
Christopher Haster
75a57ad797
Exposed the network-socket API through mbed.h
...
Currently this uses the same mechanism used by the rtos to conditionally
include the network-socket API. Perhaps this should be builtin to the
config system?
Note: this does require that the bug-compatible inclusion of mbed.h
be removed to avoid include-order issues.
per @sg-
2016-08-04 11:07:33 -05:00
Sam Grove
34caf43f5a
Merge pull request #2238 from OpenNuvoton/nuc472
...
[NUC472] Add NUMAKER-PFM-NUC472
2016-08-04 10:37:31 -05:00
Sam Grove
afe431b750
Merge pull request #2338 from pan-/fix_nrf51_stack_size
...
Fix nrf51 stack on IAR.
2016-08-04 09:23:34 -05:00
Evangelos Arkalis
b27a5aa84b
Alignment fixed
2016-08-04 15:32:31 +03:00
Głąbek, Andrzej
41c9d1d67c
Fixed irq handling in gpio_api.
2016-08-04 12:47:54 +02:00
Sam Grove
6768d81691
add HEXIWEAR to both releases for 2 and 5
2016-08-03 17:38:07 -07:00
Brian Daniels
a596529780
Increasing the heap for KL46Z for IAR.
...
The KL46Z passes all tests except the following when built with IAR:
tests-mbedmicro-rtos-mbed-threads. This is because the heap is becomes
fully allocated.This commit increases the heap from 8K to 16K.
2016-08-03 18:09:26 -05:00
Mahadevan Mahesh
d581798e2a
K64 HEXIWEAR: Add CTS and RTS pin defines
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-08-03 15:39:14 -05:00
Christopher Haster
4b62957ef9
Marked VK_RZ_A1H as release for mbed 2 and mbed 5
...
per @sg-
2016-08-03 15:01:58 -05:00
Christopher Haster
438d124acc
Added FEATURE_IPV4 to the VK_RZ_A1H
2016-08-03 14:21:46 -05:00
svastm
4f82e34487
[STM32F207ZG] Fix IAR memory init
...
The icf file was not align with other targets and they were no reserved
space for NVIC vectors.
2016-08-03 17:00:52 +02:00
EvArk
b4afc203b9
STM32F1 serial_api initialize failure message
2016-08-03 16:40:28 +03:00
svastm
b00d8331c4
[STM32F303RE] Fix initial SP on ARM and uARM
...
Switch initial stack pointer from 0x2000 4000 to 0x2001 0000 (top of ram)
2016-08-03 13:00:18 +02:00