Commit Graph

8623 Commits (53cd23e285c0c8ca58f5079968ccc367dea98c8c)

Author SHA1 Message Date
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
Sam Grove b396436432 Merge pull request #2451 from 0xc0170/test
Fixes from mbed-os-5.1.1
2016-08-15 12:54:24 -05:00
Brian Daniels f334bd7602 Sharing greentea-client's RawSerial with utest and UNITY.
This commit allows the linker to remove the reference to the RawSerial object
if it not used in the application. This way it only is brought in for
tests.
2016-08-15 12:11:34 -05:00
Martin Kojtal dd8060b798 Merge pull request #2433 from theotherjimmy/better-config-errors
[tools] Improve error for missing name from mbed_lib.json
2016-08-15 15:15:06 +01: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
Christopher Haster de9e221775 [nsapi] Added support for NSAPI_REUSEADDR to the lwip interface 2016-08-12 18:43:42 -05:00
The Infinnovation team 9180796684 Merge pull request #1 from geky/socket-accept-address
network-socket: Peer address update for Nanostack
2016-08-12 19:24:36 +01:00
Christopher Haster 1929c5b0ca network-socket: Support for returning peer address from Nanostack accept 2016-08-12 12:57:26 -05:00
Colin Hogben 4f731e6b17 network-socket: Re-order args of NetworkStack::accept
Make the argument order more sensible, in line with nsapi.
2016-08-12 17:22:17 +01: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
Jimmy Brisson 71113a8820 Improve error for missing name from mbed_lib.json 2016-08-12 09:54:03 -05:00
Martin Kojtal 685096eb11 Merge pull request #2351 from peeyushpashine/patch-1
Update analogin_api.c
2016-08-12 12:47:16 +02:00
Colin Hogben 36bf4827c7 network-socket: Optionally return peer address from accept().
Fixes issue #2399 by optionally returning a SocketAddress from
TCPServer::accept().

This entails changes to underlying NetworkStack and nsapi.  This
commit deals only with lwip and higher level APIs; other users of
NetworkStack and nsapi may be affected.  Currently lwip is the only
in-tree user of nsapi.
2016-08-12 10:50:52 +01:00
Martin Kojtal 3d61535652 Merge pull request #2149 from jeromecoutant/PR_MBED_A27
Add MBED_A27 test in the common list
2016-08-12 10:57:06 +02:00
svastm e725eb52e5 [STM32F4] Add tests for asynchronous serial 2016-08-12 10:39:02 +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 b03411c89f Merge pull request #2322 from c1728p9/malloc_test
Add a test for thread-safe malloc
2016-08-12 09:03:30 +02:00
Jimmy Brisson 215f4259ce Remove argument from tool/project.py -b
resolves #2309
2016-08-12 08:37:52 +02:00
Jimmy Brisson abc7669eb7 Move find_tests to where it's has arguments 2016-08-11 10:03:23 -05:00
Bogdan Marinescu f6f5c531cb Merge pull request #2423 from ARMmbed/config_for_build_lib
Add config data to build_lib in build_api.py
2016-08-11 14:15:20 +01: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
Bogdan Marinescu d471a4f019 Add config data to build_lib in build_api.py
`build_lib` wasn't aware of configuration data, so some of the source
files that depends on configuration data fail to compile. This commit
fixes that by making `build_lib` aware of configuration data.
2016-08-11 13:54:41 +03:00
Martin Kojtal 002865f3d0 Merge pull request #2417 from ARMmbed/config_for_build_mbed_libs
build_mbed_libs is now aware of the configuration
2016-08-11 09:38:50 +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
jeromecoutant 9525a5a469 CAN loopback test: correct some NUCLEO pin 2016-08-11 09:41:16 +02:00
Sam Grove 7007c4694b Merge pull request #2381 from c1728p9/nanostack_m7_support
Add Cortex-M7 Nanostack binaries
2016-08-11 01:21:27 +01:00
Sam Grove 4382db1a6e Merge pull request #2402 from c1728p9/main_thread_stack_checking_alt_impl
Main thread stack checking alt impl
2016-08-11 01:16:12 +01:00
Sarah Marsh 51245ceb7a Exit non-zero for invalid toolchain path 2016-08-10 12:04:11 -05:00
Sarah Marsh 1445886844 Readable error when toolchain paths not set.
Fixes #2360.

New error:
[Error] Toolchain path does not exist for IAR.
Current value: /default/path/that/doesnt/exist
(System exit before any build system calls)
2016-08-10 11:52:45 -05:00
Bogdan Marinescu 4f6eaaa8ec build_mbed_libs is now aware of the configuration
Previously, build_mbed_libs didn't take into account the configuration.
This is a problem when doing a binary release, since mbed_lib.json
contains configuration data relevant to the binary release.
2016-08-10 19:03:13 +03: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
Brian Daniels 114efcf753 Adding retries to the NIST test.
A UDP request to the NIST servers can fail to return data due to UDP
packet loss. Since packets are not guaranteed with UDP, this is a valid
failure and should not be treated as a test failure. The test should retry
the request in this case. This commit adds those retries.
2016-08-10 09:25:04 -05:00
bcostm 9bb710d38a [NUCLEO_F429ZI] Add Serial Flow Control pins 2016-08-10 16:24:26 +02:00