Commit Graph

7623 Commits (mbed-os-5.1)

Author SHA1 Message Date
Anna Bridge a6f3fd1a60 Merge pull request #2850 from ARMmbed/release-candidate
Release mbed-os-5.1.5 and mbed lib v127
2016-09-30 16:04:09 +01:00
svastm b2d8e70c35 STM32F7 - Add low power timer 2016-09-30 11:05:11 +01:00
Anna Bridge 5ee8c3a6e6 Add missing TARGET_XDOT_L151CC definition 2016-09-29 18:27:28 +01:00
Anna Bridge 713ba3516a Update XDOT_L151CC default build to "standard" 2016-09-29 16:46:50 +01:00
Anna Bridge 815b2852dc Merge pull request #2852 from theotherjimmy/release-candidate
Release - Update custom target handling
2016-09-29 10:44:57 +01:00
Jimmy Brisson f41fc43aed Update custom target handling
Accounts for the Config object owning a target, and TARGET_MAP
not being a modify-able dict.
2016-09-28 17:05:20 -05:00
Anna Bridge 39fa771d92 Update MBED_LIBRARY_VERSION to 127 2016-09-28 15:44:55 +01:00
Anna Bridge 4cf91b90f7 Fix up targets.json to replace instances of default_lib that have crept
across from master during automatic merging, with default_build (which is
the correct form for 5.1)
2016-09-28 15:42:45 +01:00
Anna Bridge 0f155b14aa [XDOT_L151] add RTOS configuration for xDot 2016-09-28 15:25:35 +01:00
Mike Fiore fa22d4d167 add IAR support 2016-09-28 15:13:13 +01:00
Mike Fiore c7045d09d8 include xDot in mbed 5 releases 2016-09-28 15:13:12 +01:00
Mike Fiore 72353da32c add SWD & UART pin names to match pinout diagram 2016-09-28 15:13:10 +01:00
Mike Fiore 3610304027 initial SP for ARM_STD build was set to 0x2008000 instead of 0x20008000 & caused DAPLink to reject FW 2016-09-28 13:55:15 +01:00
Mike Fiore 851488981e rebase support for MultiTech xDot platform
[XDOT_L151] copy new target CMSIS files from NZ32_SC151 target

[XDOT_L151] remove Modtronix code, add HardFault_Handler, update clock configuration to match xDot hardware

[XDOT_L151] copy new target HAL files from NZ32_SC151 target

[XDOT_L151] update HAL to match xDot hardware

[XDOT_L151] add xdot_eeprom.* and xdot_low_power.* files

[XDOT_L151] add RTOS support for target

Conflicts:
	rtos/rtx/TARGET_CORTEX_M/RTX_Conf_CM.c

[XDOT_L151] match NUCLEO_L152RE startup code for GCC_ARM so RTOS works

[XDOT_L151] fix GPIO write failure

[XDOT_L151] add XDOT_L151CC target to targets.json

[XDOT_L151] change xDot default stack size to 256 bytes and main stack size to 1.5kB

[XDOT_L151] update PinNames.h to match rev E hardware - no change to external pinout

[XDOT_L151] update style in custom xDot HAL files

Conflicts:
	rtos/rtx/TARGET_CORTEX_M/RTX_CM_lib.h
	rtos/rtx/TARGET_CORTEX_M/RTX_Conf_CM.c
2016-09-28 13:55:14 +01:00
Sarah Marsh 0f8ed0231f Removed --no_static_destruction from IAR IDE flags 2016-09-28 13:55:00 +01:00
svastm c4c771bf06 STM32F7 - Add low power timer
Enable the low power timer for the following targets:
 - NUCLEO_F746ZG
 - NUCLEO_F767ZI
 - DISCO_F746NG
 - DISCO_F767ZI
2016-09-28 13:54:59 +01:00
svastm 209f729828 STM32L0 - Enable the low power timer
Enable the low power timer for the following targets:
 - NUCLEO_L053R8
 - NUCLEO_L073K8
 - NUCLEO_L011K4
 - NUCLEO_L031K6
 - DISCO_L053C8
2016-09-28 13:54:58 +01:00
svastm 12f82a11c7 STM32L0 - Add low power timer 2016-09-28 13:53:54 +01:00
Brian Daniels 4ba1c4237d Fixing constant cleaning when compiling tests
This addresses the issue where building tests via test.py always triggered
a clean build. This is because the mbed_config.h file was being deleted from
the shared OS build to ensure that the correct config was always being
used. However, this contanstly triggered a rebuild of the OS since the
config file was not present.

Due to the shared build, having multiple app configurations that could
override the OS settings is not possible. For this reason, we now ignore
app config files unless explicitly set via the command line option
'--app-config'. Though there will now be two mbed_config.h files in the
include path of the build, it shouldn't matter since the contents will be
the same.
2016-09-28 13:53:53 +01:00
jeromecoutant 644d9c5866 RTOS tests update
As this target has 20K RAM, default stack size needs to be tuned
2016-09-28 13:53:52 +01:00
jeromecoutant e2d8699fc0 MBED-OS5 capability 2016-09-28 13:53:51 +01:00
Jimmy Brisson df71f8e173 Print percent complete when building 2016-09-28 13:53:49 +01:00
Mahadevan Mahesh 725352a1e7 Update KSDK SDHC driver for K64F & K66F
1. Use function pointer for interrupt handler, this should reduce the code-size
   for applications that do not use this driver
2. Fix the wait for initialization of the SD card
3. Fix SDHC driver support for non-word aligned accesses
4. Remove some redundant code & assert function calls.
5. Updated various comments

Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-09-28 13:53:48 +01:00
svastm db0ff69d5b STM32L4 - Update deepsleep implementation 2016-09-28 13:53:03 +01:00
svastm 6bb052a964 STM32L4 - Enable the low power timer
Enable the low power timer for the following targets:
 - DISCO_L476VG
 - NUCLEO_L432KC
 - NUCLEO_L476RG
2016-09-28 13:53:02 +01:00
svastm bd31ad76ae STM32L4 - Add low power timer 2016-09-28 13:53:01 +01:00
svastm 9d6a90feef STM32L1 - Enable the low power timer
Enable the low power timer for the NUCLEO_L152RE
2016-09-28 13:52:59 +01:00
svastm b8e62b454a STM32L1 - Add low power timer 2016-09-28 13:52:58 +01:00
svastm 1e3db1500f STM32F0 - Enable the low power timer
Enable the low power timer for the following targets:
 - NUCLEO_F070RB
 - NUCLEO_F072RB
 - NUCLEO_F091RC
2016-09-28 13:52:57 +01:00
svastm b70f02c688 STM32F0 - Add low power timer 2016-09-28 13:52:56 +01:00
jeromecoutant b15535b973 Add CAN capability 2016-09-28 13:52:54 +01:00
bcostm 9335bc6260 STM32L0xx - Add SERIAL_FC in "device_has" 2016-09-28 13:52:52 +01:00
bcostm f48517c061 STM32L0xx - Add UART_RTS and CTS pins 2016-09-28 13:51:57 +01:00
Toyomasa Watarai 76b284e2a0 break statement is on new line 2016-09-28 13:51:55 +01:00
Toyomasa Watarai c9d067baf3 Fix pin interrupt select offset
* Fix incorrect comment
* Add offset value calculation by interrupt port number
2016-09-28 13:51:54 +01:00
jeromecoutant bef8c9f6bd STM32 / IPV4: #2685 has been forgotten with #2731 2016-09-28 13:51:53 +01:00
andreas.larsson 1e40487610 Replaced GCC specific __packed__ with generic MBED_PACKED 2016-09-28 13:50:33 +01:00
andreas.larsson 302613129f Added mbed_mac_address 2016-09-28 13:50:32 +01:00
andreas.larsson a2e6ec2d0e Enabled feature IPV4 for C029 2016-09-28 13:50:31 +01:00
jeromecoutant cb54c488d6 Serial init timeout: increase default value
It seems that my test bench is very slow...
I need to increase the timeout value in order to get the port ready

Thx
2016-09-28 13:50:30 +01:00
Mahadevan Mahesh f6ac1e8253 Updated ARM linker scripts for Kinetis platforms that use SDK 2.0
1. Fix Heap start address
2. Update to the latest script provided by the Kinetis SDK team

Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-09-28 13:50:28 +01:00
Steven Cooreman d525718505 Remove HG from mbed 5
Remove Happy Gecko from mbed 5 builds until we can verify all of the examples fit using the ARM toolchain
2016-09-28 13:50:27 +01:00
Steven Cooreman 6bc1694961 Add all platforms (except Zero) to mbed 5 build 2016-09-28 13:50:25 +01:00
Steven Cooreman 839d4dc73d Add IAR support for remaining Silicon Labs targets
Added startup files and IAR memory map files for the remaining Silicon Labs targets as part of the mbed enabled criteria.
2016-09-28 13:50:23 +01:00
Erwan GOURIOU b05350b5aa reduce footprint for i2c_s struct 2016-09-28 13:50:21 +01:00
Erwan GOURIOU 8312e6e3d6 Extend asynch I2C to STM32F4 boards
Move i2c_s to common_objects.h
Introduce I2C Master/Slave asynch test
Test I2C asynch master/slave on STM32F4 boards
2016-09-28 13:50:20 +01:00
Erwan GOURIOU 72f17e67aa Move i2c_s to common_objects.h 2016-09-28 13:50:19 +01:00
Erwan GOURIOU 9b204f8be2 Fix I2C byte transfer API to enable Master/Slave test on F411RE
i2c_byte_write could be used to send byte and address.
In case used for address, ADDR Flag should be reset.
2016-09-28 13:50:18 +01:00
Erwan GOURIOU ee0f0e5464 HAL Fix to support Master Rx w/ repeated start
As per reference manual, closing communication for master receiver
with repeated start requires, after reading second last data byte
(after second last RxNE event):
-Clearing ACK bit (same as non repeated start case)
-Set START bit (instead of STOP bit in non repeated start case)
This is valid for I2C_FIRST_FRAME and I2C_NEXT_FRAME conditions
2016-09-28 13:50:16 +01:00
Erwan GOURIOU 295a748bc7 Test Asynch I2C on F411RE
Add single board I2C master/slave asynch test
2016-09-28 13:50:15 +01:00