Commit Graph

429 Commits (69bf173e221a1e0b1a81e3793970659fd2c6fb05)

Author SHA1 Message Date
Andrzej Puzdrowski 5d7c5cf9c1 Corect nRF51 IAR scatre files in order to be compatible with softdevice 130 2.0.0 2016-07-14 17:03:06 +02:00
Andrzej Puzdrowski 7861cefb05 Fix: IAR build for NRF5x produce proper combined intel-hex file. 2016-07-14 16:37:02 +02:00
Martin Kojtal edd539b499 Merge pull request #2123 from jamike/remove_uARM_sys_cpp
[TARGET_STM] : remove sys.cpp not used in TOOLCHAIN_ARM_MICRO
2016-07-14 10:08:41 +01:00
Andrzej Puzdrowski 3c8c82b06c make posible IAR compilation
IAR dosen't support "flexible array member" in c++ compilation
pm_peer_data_local_gatt_db_t::data[] -> pm_peer_data_local_gatt_db_t::data[1]
2016-07-13 13:16:36 +02:00
Vincent Coubard 9745eff74c Merge commit 'ce830296d0297a8da543c24134bf859710fd7698' into epr_integration
Merge the EPR tag and the nordic branch together.
2016-07-13 12:06:02 +01:00
jeromecoutant 616494bcc1 Minor updates after ST internal review 2016-07-13 11:35:27 +02:00
jeromecoutant d32c215f4e Add new NUCLEO_F207ZG (CMSIS)
source: STM32Cube_FW_F2_V1.4.0
- CMSIS v2.1.1 => v2.1.2
- HAL   v1.1.2 => v1.1.3
2016-07-12 16:40:30 +02:00
jeromecoutant 4f579ecf7f Add new NUCLEO_F207ZG (HAL) 2016-07-12 16:38:23 +02:00
jeromecoutant 7ab31e8524 Add new STM32F2 family (HAL) 2016-07-12 16:38:19 +02:00
Andrzej Puzdrowski 5d5ea9a050 CR changes for PWM of nRF52 part 3. 2016-07-12 15:30:32 +02:00
Andrzej Puzdrowski 3c93283dc0 CR changes for PWm nRF52 part 2. 2016-07-12 15:23:25 +02:00
Andrzej Puzdrowski 3519122760 cCR changes for nRF52 PwmOut implementation. 2016-07-12 15:12:09 +02:00
Bogdan Marinescu 6f86064ece Merge pull request #2140 from mbedmicro/k64f_flow_control
Added flow control for K64F
2016-07-12 13:07:11 +03:00
Andrzej Puzdrowski 9f337875bb PWM for nRF52 full debuged. 2016-07-12 11:47:34 +02:00
Andrzej Puzdrowski 7798651719 nRF52 PwmOut implementation debug 2016-07-12 11:44:42 +02:00
Andrzej Puzdrowski 07ce12fcc5 nrf52 PwmOut in progress. 2016-07-12 11:44:42 +02:00
Martin Kojtal 4b441c9e9e Merge pull request #2121 from rgrover/develop
introduce a context structure to encompass global state in the K64F Storage driver
2016-07-12 10:22:36 +01:00
Hasnain Virk a4475a0cf8 Use correct mask for CTS flow control 2016-07-12 11:31:58 +03:00
Russ Butler 0343ad2674 KSDK2 - set ADC mux before taking measurement
Set the channel mux before taking a reading rather than on
initialization.  This allows ADC pins on both mux A and B to be used in
the same application.
2016-07-11 20:34:58 -05:00
Bogdan Marinescu 998af81092 Added flow control for K64F
This commit adds hardware flow control capabilities for the K64F family
of MCUs. This is a backport of these commits:

9bfcfd0572
77042cc945

with a few changes:

- since the current version of KSDK doesn't seem to have APIs for
  manipulating the flow control settings, we change the peripheral
  registers directly.
- updated pin maps for RTS/CTS in accordance to the K64F datasheet.
2016-07-11 16:41:07 +03:00
jeromecoutant 72f4aa5e2b Add new STMF2 family (CMSIS)
source: STM32Cube_FW_F2_V1.4.0
- CMSIS v2.1.1 => v2.1.2
- HAL   v1.1.2 => v1.1.3
2016-07-11 15:24:02 +02:00
Martin Kojtal 967b45a3ec Merge pull request #2029 from adustm/b_fix_MBED_16_STM32F4
Fix #2027 Add timeinfo.tm_isdst = -1 to pass MBED_16 test with IAR.
2016-07-11 11:07:40 +01:00
lrks 4b77054940 Fix I2C slave address
Remove the needless bit shift for I2C slave address.
2016-07-10 10:34:13 +09:00
svastm a101c4f3d8 [STM32XX] Fix RTC minimum date 2016-07-08 13:22:15 +02:00
Michel JAOUEN 6dfb37eafc [TARGET_STM] : remove sys.cpp not used in TOOLCHAIN_ARM_MICRO 2016-07-08 10:00:45 +02:00
Laurent MEUNIER 9c33f70157 [STM32] Serial interrupt TC vs. TXE
Reported in Issue #2119

There was some inconsistency in serial interrupt handling accross STM32
serial_api.c implementation. In case application wants to be notified of
Tx interrupt, it is mainly interested in transmission complete information,
which is the _TC interrupt.

The _TXE (Transmit Data REgister Empty) is used only within driver
in case SERIAL_ASYNCH is being supported to make the transmission
more efficient.
2016-07-08 09:53:32 +02:00
Rohit Grover 887aa833b3 rename CONFIG_HARDWARE... to have a prefix of DEVICE_STORAGE_ 2016-07-07 14:55:56 +01:00
Andrzej Puzdrowski 17c72504ca os_tick for iar 2016-07-07 12:16:11 +02:00
Rohit Grover 14a14a07dc make compile-time decision about async. vs. sync. operation 2016-07-07 08:53:36 +01:00
Rohit Grover a2b683677d introduce a context structure to encompass global state 2016-07-07 08:53:36 +01:00
Rohit Grover 53def56426 get rid of an un-necessary call to NVIC_ClearPendingIRQ 2016-07-07 08:53:36 +01:00
Rohit Grover d60021ca3e remove the call to FLASH_Init() 2016-07-07 08:53:35 +01:00
Andrzej Puzdrowski bd8c335c07 add scater files forARM CC and IAR for nRF52
add the startup file for IAR
modyfi object.h for strict compiler
2016-07-06 09:53:53 +02:00
Brian Daniels af7da146a9 Adding .mbedignore for target specific test 2016-07-05 11:05:57 -05:00
Michel Jaouen 1794463a06 [STM32F3]: fix for uart baudrate. 2016-07-05 14:30:25 +01:00
Andrzej Puzdrowski a8c27bde69 startup file for nRF52 basing on nRF51 and nordic SDK v11. 2016-07-05 15:27:57 +02:00
Laurent MEUNIER 6dc9501153 [STM32L4] Handle higher range pwm periods
As first reported on STM32F3 family in #1682, we need to cope
with periods in the seconds range as well. This is fixed here in
the same way as was done for STM32F3 by using the pre-scaler.
2016-07-05 14:32:56 +02:00
Laurent MEUNIER 6eab29cc09 [STM32L1] Handle higher range pwm periods
As first reported on STM32F3 family in #1682, we need to cope
with periods in the seconds range as well. This is fixed here in
the same way as was done for STM32F3 by using the pre-scaler.
2016-07-05 14:32:54 +02:00
Laurent MEUNIER 332660eb1b [STM32L0] Handle higher range pwm periods
As first reported on STM32F3 family in #1682, we need to cope
with periods in the seconds range as well. This is fixed here in
the same way as was done for STM32F3 by using the pre-scaler.
2016-07-05 14:32:52 +02:00
Laurent MEUNIER 0cdcb9bafa [STM32F7] Handle higher range pwm periods
As first reported on STM32F3 family in #1682, we need to cope
with periods in the seconds range as well. This is fixed here in
the same way as was done for STM32F3 by using the pre-scaler.
2016-07-05 14:32:49 +02:00
Laurent MEUNIER ab45ef0378 [STM32F4] Handle higher range pwm periods
As first reported on STM32F3 family in #1682, we need to cope
with periods in the seconds range as well. This is fixed here in
the same way as was done for STM32F3 by using the pre-scaler.
2016-07-05 14:32:47 +02:00
Laurent MEUNIER ce5ee179cd [STM32F1] Handle higher range pwm periods
As first reported on STM32F3 family in #1682, we need to cope
with periods in the seconds range as well. This is fixed here in
the same way as was done for STM32F3 by using the pre-scaler.
2016-07-05 14:32:45 +02:00
Laurent MEUNIER 00e51f4fe2 [STM32F0] Handle higher range pwm periods
As first reported on STM32F3 family in #1682, we need to cope
with periods in the seconds range as well. This is fixed here in
the same way as was done for STM32F3 by using the pre-scaler.
2016-07-05 14:32:43 +02:00
Laurent MEUNIER 7dc0ce3c2b [STM32L4] place holder for common object definition
Some of the objects in object.h are the same for all targets.
Create a place where to define those common definitions, and
start using it for pwm object.
2016-07-05 14:32:40 +02:00
Laurent MEUNIER e71a164682 [STM32L1] place holder for common object definition
Some of the objects in object.h are the same for all targets.
Create a place where to define those common definitions, and
start using it for pwm object.
2016-07-05 14:32:35 +02:00
Laurent MEUNIER f77155f6b6 [STM32L0] place holder for common object definition
Some of the objects in object.h are the same for all targets.
Create a place where to define those common definitions, and
start using it for pwm object.
2016-07-05 14:32:32 +02:00
Laurent MEUNIER 42498e9f7c [STM32F7] place holder for common object definition
Some of the objects in object.h are the same for all targets.
Create a place where to define those common definitions, and
start using it for pwm object.
2016-07-05 14:32:30 +02:00
Laurent MEUNIER 2b178a5c99 [STM32F3] place holder for common object definition
Some of the objects in object.h are the same for all targets.
Create a place where to define those common definitions, and
start using it for pwm object.
2016-07-05 14:32:24 +02:00
Laurent MEUNIER f6164f34cd [STM32F1] place holder for common object definition
Some of the objects in object.h are the same for all targets.
Create a place where to define those common definitions, and
start using it for pwm object.
2016-07-05 14:32:22 +02:00
Laurent MEUNIER baa95ec5b2 [STM32F0] place holder for common object definition
Some of the objects in object.h are the same for all targets.
Create a place where to define those common definitions, and
start using it for pwm object.
2016-07-05 14:32:16 +02:00
Laurent MEUNIER 24ac9fd49d [STM32F4] place holder for common object definition
Some of the objects in object.h are the same for all targets.
Create a place where to define those common definitions, and
start using it for pwm object.
2016-07-05 14:32:13 +02:00
Martin Kojtal 17693ac0fa Merge pull request #2100 from jamike/fix_NUCLEO_F303K8_MBED_16
[NUCLEO_F303K8] fix MBED_16.
2016-07-05 13:30:39 +01:00
Michel JAOUEN 552631ec9e [NUCLEO_F303K8] fix MBED_16.
RTC clk on LSI (no LSE connected)
2016-07-05 11:45:12 +02:00
Michel JAOUEN 3046e5b7fe [STM32F3]: Hal update
release cube V1.6.0
HAL V1.3.0
2016-07-05 11:27:04 +02:00
Michel JAOUEN e04fab1069 [DISCO_F303VC] : fix build issue 2016-07-05 11:23:42 +02:00
Laurent MEUNIER fd4941f3f4 [STM32F3] Fix for pmw period change
The new period needs to be saved before the duty cycle is updated as
the period is used in pwmout_write function.

Also presclaer shall better be initiliazed properly.
2016-07-05 10:53:49 +02:00
svastm be1efa4ae8 [STM32XX] some comment corrections 2016-07-05 10:02:15 +02:00
svastm 67ef32c51a [STM32F7XX] Fix timer interrupt handler 2016-07-05 10:02:11 +02:00
svastm db49b362e9 [STM32F4XX] Fix timer interrupt handler 2016-07-05 10:01:43 +02:00
svastm 307a13c095 [STM32F3XX] Fix timer interrupt handler 2016-07-05 09:57:19 +02:00
svastm bb565984c1 [STM32F1XX] Fix timer interrupt handler 2016-07-05 09:57:19 +02:00
svastm c2e4261ccc [STM32F0XX] Fix timer interrupt handler 2016-07-05 09:57:19 +02:00
svastm b36978b265 [STM32L4XX] Fix timer interrupt handler 2016-07-05 09:57:19 +02:00
svastm 84e28df32b [STM32L1XX] Fix timer interrupt handler 2016-07-05 09:57:19 +02:00
svastm 2780436466 [STM32L0XX] Fix timer interrupt handler 2016-07-05 09:57:19 +02:00
Martin Kojtal fe3b80aa68 Merge pull request #2090 from jamike/fix#2089
Fix#2089
2016-07-05 08:36:13 +01:00
Erwan Gouriou 091e62cbf7 [STM32F4xx][NUCLEO_F429ZI] Update PeripheralPins.c and pin definition 2016-07-04 14:00:41 +02:00
Erwan Gouriou 9bb08291ce [STM32F4xx] Add support for NUCLEO_F429ZI 2016-07-04 14:00:41 +02:00
Martin Kojtal 2b5f0317c4 Merge pull request #2039 from LMESTM/dev_NUCLEO_F446ZE
Add nucleo_f446ze
2016-07-04 11:49:15 +01:00
Martin Kojtal 4c0319388b Merge pull request #2086 from svastm/fix_mbed_23_l0
[STM32L0XX] Remove stabilization of the timer
2016-07-04 11:44:51 +01:00
Martin Kojtal 5af16c9546 Merge pull request #2079 from fvincenzo/master
[BEETLE] Add BLE support
2016-07-04 11:01:27 +01:00
Laurent Meunier 39197e6ad3 [NUCLEO_F446ZE] Add HAL target
Inspired from NUCLEO_F446RE, only PinNames.h updated according to NUCLEO_F446ZE schematics.
2016-07-04 11:42:43 +02:00
Laurent Meunier d6e7df9591 [NUCLEO_F446ZE] Add CMSIS target
Adding new nucleo target, actually exactly the same as NUCLEO_F446RE
2016-07-04 11:42:43 +02:00
Martin Kojtal ebfe44c1bf Merge pull request #2038 from infinnovation/parityeven-fix
[K64F] serial_api.c: Fix #1979 assertion error for ParityEven
2016-07-04 10:40:06 +01:00
Martin Kojtal a3a4c78ea0 Merge pull request #2070 from akselsm/efm32-update
[EFM32] Update HAL implementation
2016-07-04 10:35:58 +01:00
Aksel Skauge Mellbye a81fdc461d [EFM32] Backport changes from mbed OS 3. 2016-07-04 10:08:20 +02:00
Aksel Skauge Mellbye da2a4ccbae [EFM32] Add SPI test. Refactor SPI HAL, fix misc test failures.
Properly support the bit_width parameter for the async API.
Fix issues with long DMA transfers (exceeding 1023 frames).
2016-07-04 10:08:09 +02:00
Steven Cooreman 746c485b43 [EFM32] Swap out INT_* functions with mbed critical sections 2016-07-04 10:06:32 +02:00
Andrzej Głąbek 6a31d1abc1 Merge pull request #14 from anangl/hal_improvements
Enabled lp_ticker after adjusting its implementation to the new API.
2016-07-04 09:23:47 +02:00
Głąbek, Andrzej 75ba6b7623 Polished tickers implementation - moved interrupt clearing code. 2016-07-04 09:21:39 +02:00
Michel Jaouen 680afcb677 [STM32F3]: fix iar built (cast error) 2016-07-03 23:46:29 +02:00
Vincenzo Frascino 3785de8412 [BEETLE] Add BLE Cordio Support into HAL
This patch adds BLE Cordio support into MBED HAL. It contains:
* Cordio and TRIM object files
* The Cordio stack header file
* The Cordio library for Beetle Systems precompiled for GCC and ARMCC

The BLE implementation will be provided in a future patch in the mbed-os
repository.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-07-01 17:25:11 +01:00
Vincenzo Frascino 1be4788b1a [BEETLE] Mbed SDK Init Update
In Beetle systems eFlash and Cache Flash are always enabled by default.
This patch updates the Mbed SDK Init procedure to reflect the changes in
the eFlash and Cache Flash Drivers provided in a previous patch.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-07-01 17:24:14 +01:00
Vincenzo Frascino 15745a063d [BEETLE] Add BLE Cordio support into CMSIS
This patch adds BLE Cordio support into CMSIS. It provides:
* A modification for the linker scripts for both ARMCC and GCC
  compilers that adds the cordio specific sections.
* A method to access the Flash stored MAC Address.

The CORDIO_RO_2.1.o and TRIM_2.1.o objects that rappresent the Cordio
firmware will be added by a future patch.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-07-01 17:23:48 +01:00
Vincenzo Frascino 55216f1245 [BEETLE] eFlash and Flash Cache Interface refinement
In Beetle systems eFlash and Cache Flash are always enabled by default.
This patch refines the interface of these drivers to match the
functionalities exposed by the platform.

This patch renames also writel/readl in these drivers to uppercase to follow
acros code convention.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-07-01 17:23:20 +01:00
Andrzej Puzdrowski f7d53d1291 New Nordic license clause 2016-07-01 17:20:37 +02:00
Andrzej Puzdrowski 7e62fc3f19 Merge branch 'nordic_sdk_integration' of https://github.com/ARMmbed/mbed-nordic into nordic_sdk_integration 2016-07-01 17:01:54 +02:00
Andrzej Puzdrowski 0249ee12e7 add missing dates in some nordic license disclamer 2016-07-01 17:01:37 +02:00
adustm fb43e6c825 Add missing families : F1 / F3 2016-07-01 16:36:13 +02:00
svastm a9b3b9cce9 [STM32L0XX] Remove stabilization of the timer 2016-07-01 16:10:52 +02:00
ohagendorf 6b6371420c [NUCLEO_F767ZI] adding IAR toolchain 2016-07-01 15:17:29 +02:00
ohagendorf 956b733d0f [STM32F676] correcting memory sizes for gcc_arm 2016-07-01 15:17:27 +02:00
ohagendorf 8292dd2fd2 Add call to SystemCoreClockUpdate() and Reset peripheral before init …
…phase.

patch from bcostm
2016-07-01 15:17:26 +02:00
ohagendorf db7ca8086d update Cube driver to v1.4.0 2016-07-01 15:17:24 +02:00
ohagendorf 4261a225f4 update target specific files 2016-07-01 15:17:23 +02:00
ohagendorf 4a998ab402 adding new target
test results:
Test summary:
+--------+---------------+-----------+-------------+---------------------------------------+--------------------+---------------+-------+
| Result | Target        | Toolchain | Test ID     | Test Description                      | Elapsed Time (sec) | Timeout (sec) | Loops |
+--------+---------------+-----------+-------------+---------------------------------------+--------------------+---------------+-------+
| OK     | NUCLEO_F767ZI | GCC_ARM   | DTCT_1      | Simple detect test                    |        0.53        |       10      |  1/1  |
| OK     | NUCLEO_F767ZI | GCC_ARM   | EXAMPLE_1   | /dev/null                             |        5.78        |       20      |  1/1  |
| OK     | NUCLEO_F767ZI | GCC_ARM   | MBED_10     | Hello World                           |        0.37        |       5       |  1/1  |
| OK     | NUCLEO_F767ZI | GCC_ARM   | MBED_11     | Ticker Int                            |       11.39        |       15      |  1/1  |
| OK     | NUCLEO_F767ZI | GCC_ARM   | MBED_12     | C++                                   |        1.41        |       10      |  1/1  |
| OK     | NUCLEO_F767ZI | GCC_ARM   | MBED_16     | RTC                                   |        4.57        |       20      |  1/1  |
| OK     | NUCLEO_F767ZI | GCC_ARM   | MBED_2      | stdio                                 |        0.79        |       20      |  1/1  |
| OK     | NUCLEO_F767ZI | GCC_ARM   | MBED_23     | Ticker Int us                         |       11.37        |       15      |  1/1  |
| OK     | NUCLEO_F767ZI | GCC_ARM   | MBED_24     | Timeout Int us                        |       11.41        |       15      |  1/1  |
| OK     | NUCLEO_F767ZI | GCC_ARM   | MBED_25     | Time us                               |        11.4        |       15      |  1/1  |
| OK     | NUCLEO_F767ZI | GCC_ARM   | MBED_26     | Integer constant division             |        1.41        |       20      |  1/1  |
| OK     | NUCLEO_F767ZI | GCC_ARM   | MBED_34     | Ticker Two callbacks                  |       11.41        |       15      |  1/1  |
| OK     | NUCLEO_F767ZI | GCC_ARM   | MBED_37     | Serial NC RX                          |        10.9        |       20      |  1/1  |
| OK     | NUCLEO_F767ZI | GCC_ARM   | MBED_38     | Serial NC TX                          |       15.38        |       20      |  1/1  |
| OK     | NUCLEO_F767ZI | GCC_ARM   | MBED_A1     | Basic                                 |        1.34        |       20      |  1/1  |
| OK     | NUCLEO_F767ZI | GCC_ARM   | MBED_A21    | Call function before main (mbed_main) |        1.45        |       20      |  1/1  |
| OK     | NUCLEO_F767ZI | GCC_ARM   | MBED_A9     | Serial Echo at 115200                 |        6.5         |       20      |  1/1  |
| OK     | NUCLEO_F767ZI | GCC_ARM   | MBED_BUSOUT | BusOut                                |        2.28        |       15      |  1/1  |
+--------+---------------+-----------+-------------+---------------------------------------+--------------------+---------------+-------+
Result: 18 OK

Completed in 174.85 sec
2016-07-01 15:17:22 +02:00
ohagendorf cc537f7449 adding gccarm and uvision5 exporter 2016-07-01 15:17:21 +02:00
Olaf Hagendorf e6599ba1a0 rebase and adding ARM_STD config, all F7 use ARM as default toolchain
- changing device.h -> targets.json after rebase
- adding startup and config files for ARM_STD toolchain
- changing all STM32F7xx targets to ARM as default toolchain (instead of uARM before)
2016-07-01 15:17:20 +02:00
Głąbek, Andrzej bf70d5a4dd Enabled lp_ticker after adjusting its implementation to the new API. 2016-07-01 15:03:35 +02:00
Martin Kojtal 9197f94f14 Merge pull request #1977 from jamike/STM32F3_Hal_update
[TARGET_STM32F3]: Update Hal 1.5.0
2016-07-01 15:03:25 +02:00
Martin Kojtal 62604b45b2 Merge pull request #1880 from zgoda/generic_bluepill
Support for Blue Pill
2016-07-01 14:52:04 +02:00
Martin Kojtal ef1557d8b4 Merge pull request #2082 from pan-/backport_nrf51_fixes
Backport fixes from nordic branches:
2016-07-01 14:26:52 +02:00
Głąbek, Andrzej fce8a300d1 Merge branch 'nordic_sdk_integration' of https://github.com/ARMmbed/mbed-nordic into hal_improvements
# Conflicts:
#	hal/targets.json
2016-07-01 13:23:08 +02:00
Vincent Coubard b041c75ed2 Backport fixes from nordic branches:
- nrf headers synchronized with the one in BLE implementation. This is a
  short term fix. The nordic branches use a single nrf SDK and does not
  have duplicate headers. Once this branch will be integrated, there will
  be no more issues around duplicate headers.
- enable feature BLE in the targets.json. This fix was done a long time
  ago in the nordic branch. Without it, it is not possible to compile BLE
  examples.
2016-07-01 12:04:05 +01:00
Martin Kojtal 1963e0e1a1 Merge pull request #2078 from LMESTM/fix_l0_lpuart_baudrate
[STM32L0] Fix baudrate initialisation
2016-07-01 12:31:20 +02:00
Laurent MEUNIER 0bc9d157a0 [STM32L0] Fix baudrate initialisation
Issue #2074

Assuming that OverSampling is initialized, the baudrate is now correctly
computed inside CMSIS (STM32 HAL) layer. This was not the case before but
most probably was fixed during latest L0 cube firmware upgrade:

commit ce436d5107
Author: svastm <simon.vanson@st.com>
Date:   Thu Apr 14 14:39:53 2016 +0200
    Update STM32CUBE_L0 from v1.2 to v1.5
2016-06-30 16:34:08 +02:00
Głąbek, Andrzej f02d431b2d Added multi-instance and slave mode support to spi_api. 2016-06-30 15:13:32 +02:00
svastm 3c684e13f2 [NUCLEO_L432KC] Fix peripheral definitions 2016-06-30 15:05:06 +02:00
svastm b91c65ee2d [NUCLEO_L432KC] Update HAL API 2016-06-30 15:04:45 +02:00
svastm 9cfc3bf2aa [NUCLEO_L432KC] Add HAL target 2016-06-30 14:48:06 +02:00
svastm 26251314c5 [NUCLEO_L432KC] Add CMSIS target 2016-06-30 14:48:06 +02:00
Jarek Zgoda 811530796b Rename "generic" -> "bluepill" (common name) 2016-06-30 12:36:19 +02:00
Jarek Zgoda 2f6314c2d0 This board does not claim Arduino compatibility 2016-06-30 12:36:19 +02:00
Jarek Zgoda 3006f70552 Support for Blue Pill 2016-06-30 12:36:18 +02:00
Andrzej Puzdrowski 02bc98aecf Merge branch 'nordic_sdk_integration' of https://github.com/ARMmbed/mbed-nordic into nordic_sdk_integration
# Conflicts:
#	hal/targets.json
2016-06-30 10:39:38 +02:00
Andrzej Puzdrowski adf15c8117 CR of AnalogIn 2016-06-30 09:32:48 +02:00
Sam Grove 07958da38b Merge pull request #2065 from NXPmicro/K22_KL27_Updates
K22 kl27 updates
2016-06-29 22:24:35 -05:00
Andrzej Puzdrowski 9d137c834c AnalogIn for nRF52 add u16 readout API realization. Polish rest of the code. 2016-06-29 15:23:11 +02:00
Andrzej Puzdrowski f19efb6a43 AnalogIn for nRF51 Fixes
multiinstances was not suported for nrf51
made nrf_saadc SDK hal private for nRF52
2016-06-29 12:29:38 +02:00
Sam Grove 737a7809f9 Merge pull request #2063 from geky/fix-heap
Removed heap region from ARM sct file on K devices
2016-06-28 20:54:33 -05:00
Christopher Haster 1bf641d6b3 Removed heap region from ARM sct file on K devices
- __heap_size__ was used to allocate a fixed size region for the heap in
  RW_IRAM1
- __user_setup_stackheap in sys.cpp uses Image$$RW_IRAM1$$ZI$$Limit as the
  start of the heap, which leaves the fixed size region unused
2016-06-28 20:16:19 -05:00
Sam Grove c6db458ff6 Merge pull request #2014 from TomoYamanaka/master
RTX - init sequence (C++ array init) for Cortex-A version
2016-06-28 17:45:57 -05:00
Sam Grove a773b639d6 Merge pull request #2013 from egostm/spi_freq_selection
Spi freq selection
2016-06-28 17:43:43 -05:00
Sam Grove a6f640c3f8 Merge pull request #2009 from MultiTechSystems/mdot-leds-fix
[MTS_MDOT_F411RE] add LED2-LED4 definitions
2016-06-28 17:40:42 -05:00
Mahadevan Mahesh f15a178be0 Set the clock source in KL27 PWMOUT driver
By default the TPM clock source is disabled

Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-06-28 15:14:58 -05:00
Andrzej Puzdrowski 63bfe7dc1b Merge branch 'nordic_sdk_integration' of https://github.com/nvlsianpu/mbed-nordic into nordic_sdk_integration 2016-06-28 17:35:55 +02:00
Andrzej Puzdrowski eef471bee4 AnalogIn api implenetation for nRF52 2016-06-28 17:31:49 +02:00
Głąbek, Andrzej 3ff34ef58d Merge branch 'nordic_sdk_integration' into hal_improvements
# Conflicts:
#	hal/targets.json
2016-06-28 12:13:50 +02:00
Andrzej Puzdrowski 1c262e3444 remove unwanted initialization of adc_value 2016-06-28 11:58:18 +02:00
adustm 941eca961f Bug fix for MBED_16 on STM32F7 family 2016-06-28 11:11:58 +02:00
Colin Hogben 9455e89b8e [K64F] serial_api.c: Fix #1979 assertion error for ParityEven 2016-06-28 06:04:16 +01:00
adustm 53ff006f53 Add timeinfo.tm_isdst = -1 to pass MBED_16 test with IAR. 2016-06-27 17:17:05 +02:00
Andrzej Puzdrowski 5ba9392280 Merge branch 'nordic_sdk_integration' of https://github.com/nvlsianpu/mbed-nordic into nordic_sdk_integration
# Conflicts:
#	hal/targets.json
2016-06-27 12:42:13 +02:00
tomoyuki yamanaka d6624c078a RTX - init sequence (C++ array init) for Cortex-A version
This is an update to RTX kernel for Cortex-A version to allow c++ libc array init to be called after kernel start.
Ref: https://github.com/mbedmicro/mbed/pull/1730
2016-06-27 19:40:22 +09:00
Andrzej Puzdrowski a664be0347 Fix AnalogInput fo nRF51. 2016-06-27 12:28:17 +02:00
Erwan GOURIOU bc08631931 [STM32L4xx] Change SPI clock selection
Update of STM32L4 family CPI clock selection algo.
Maximum SPI clock is obtained from APB domain clock (based on HAL API).
Then algo sets maximum frequency available below requested frequency
2016-06-27 10:03:57 +02:00
Erwan GOURIOU 67e6f729c7 [STM32L1xx] Change SPI clock selection
Update of STM32L1 family CPI clock selection algo.
Maximum SPI clock is obtained from APB domain clock (based on HAL API).
Then algo sets maximum frequency available below requested frequency
2016-06-27 10:03:57 +02:00
Erwan GOURIOU b126d345d1 [STM32L0xx] Change SPI clock selection
Update of STM32L0 family CPI clock selection algo.
Maximum SPI clock is obtained from APB domain clock (based on HAL API).
Then algo sets maximum frequency available below requested frequency
2016-06-27 10:03:57 +02:00
Erwan GOURIOU e8103fbb94 [STM32F7xx] Change SPI clock selection
Update of STM32F7 family CPI clock selection algo.
Maximum SPI clock is obtained from APB domain clock (based on HAL API).
Then algo sets maximum frequency available below requested frequency
2016-06-27 10:03:57 +02:00
Erwan GOURIOU c87ff7872a [STM32F3xx] Change SPI clock selection
Update of STM32F3 family CPI clock selection algo.
Maximum SPI clock is obtained from APB domain clock (based on HAL API).
Then algo sets maximum frequency available below requested frequency

Signed-off-by: Erwan GOURIOU <frq07517@st.com>
2016-06-27 10:03:57 +02:00
Erwan GOURIOU 837cb78b39 [STM32F1xx] Change SPI clock selection
Update of STM32F1 family CPI clock selection algo.
Maximum SPI clock is obtained from APB domain clock (based on HAL API).
Then algo sets maximum frequency available below requested frequency
2016-06-27 10:03:57 +02:00
Erwan GOURIOU 0739d31235 [STM32F0xx] Change SPI clock selection
Update of STM32F0 family CPI clock selection algo.
Maximum SPI clock is obtained from APB domain clock (based on HAL API).
Then algo sets maximum frequency available below requested frequency
2016-06-27 10:03:57 +02:00
Erwan GOURIOU b574bb5048 [STM32F4xx] Change SPI clock selection
Update of STM32F4 family CPI clock selection algo.
Maximum SPI clock is obtained from APB domain clock (based on HAL API).
Then algo sets maximum frequency available below requested frequency
2016-06-27 10:03:57 +02:00
Sam Grove 245d4b8deb Merge pull request #2003 from rgrover/PR
minor fix for a warning when compiling with ARMCC
2016-06-26 00:48:49 -05:00
Mike Fiore e10feb7724 [MTS_MDOT_F411RE] add LED2-LED4 definitions 2016-06-24 16:38:32 -05:00
Sam Grove e508525bd4 Merge pull request #2000 from egostm/STM32F4xx_ADC2_support
[STM32F4] Add ADC2 support to F4 family
2016-06-24 16:15:30 -05:00
Głąbek, Andrzej 1357fb0ffc Polished ticker related code. 2016-06-24 16:30:11 +02:00
Rohit Grover b12f0c2ad2 take care of a compiler warning 2016-06-24 15:21:04 +01:00
Rohit Grover 7b110f077e make use of symbol BLOCK1_SIZE to replace a naked constant 2016-06-24 15:21:04 +01:00
Rohit Grover 0c5a7beb20 white space diffs 2016-06-24 15:21:03 +01:00