Commit Graph

558 Commits (1da259af3b78a318023271169bb2bef1162b7ba0)

Author SHA1 Message Date
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
Bogdan Marinescu 089b67cc79 Merge pull request #2144 from geky/stdio-baud-config
Add config option for stdio baud rate
2016-07-12 13:06:29 +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
Christopher Haster 126de5b07a Added config option for stdio baud rate 2016-07-11 18:42:44 -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
Bogdan Marinescu 2d41d9b013 Merge pull request #2138 from ohagendorf/progen_correction
[target.json - progen] changing a wrong config
2016-07-11 12:54:22 +03:00
0xc0170 359d33cc16 Revert part of the FPU change
We keep target.core names, it defines if CPU contains FPU, as it's common - Cortex M4F/M7F.
We add Cortex M7FD for double precision FPU.
2016-07-11 10:39:23 +01:00
Martin Kojtal 8188684cab Merge pull request #2136 from lrks/fix_i2c_slave_addr_ksdk2
[KSDK2_MCUS] Fix I2C slave address
2016-07-11 09:50:57 +01:00
ohagendorf 7388b446d4 [target.json - progen] changing a wrong config
ARCH_MAX has a STM32F407 mcu
2016-07-10 20:58:35 +02:00
Sam Grove 254ae0e109 Remove macro for operators. Enable these as default behavior 2016-07-10 13:47:13 -05:00
lrks 4b77054940 Fix I2C slave address
Remove the needless bit shift for I2C slave address.
2016-07-10 10:34:13 +09:00
Christopher Haster 98d55e71d8 Moved core_util_atomic_*_ptr functions out of cortex switch 2016-07-09 11:14:16 -05:00
Christopher Haster 70013d03b6 Fixed casts around calls to atomic u32 functions
- uint32_t -> void *
- void ** -> uint32_t *

For whatever reason `uintptr_t` and `uint32_t` expand to incompatible
types `unsigned int` and `unsigned long int`. This is implicitely casted
when passed by value, but causes a warning in gcc and error in iar when
passed by pointer.

This issue is not present on x86_32 gcc
2016-07-09 11:13:20 -05:00
Michel JAOUEN e29aa6a7fa Fix issue #2124: IAR no rtos
Remove the 2nd call of mbed_sdk_init in __iar_argc_argv
2016-07-08 13:45:52 +02: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
Christopher Haster 2c78dca69c Fixed typo in incr/decr function
Result of last minute change, interestingly only emits a
warning in gcc.
2016-07-07 22:51:31 -05:00
Sam Grove c55c07a890 Merge pull request #2054 from geky/critical-cas-ptr
Added cas instrinsics for pointer values
2016-07-07 16:59:56 -05:00
Rohit Grover 887aa833b3 rename CONFIG_HARDWARE... to have a prefix of DEVICE_STORAGE_ 2016-07-07 14:55:56 +01:00
0xc0170 24916505e1 mbed lib revision - 122 2016-07-07 12:04:54 +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
Christopher Haster 946199183c Minor documentation updates for critical
- extra dereference in cas example
- clarification of incr/decr
2016-07-06 13:06:37 -05:00
Christopher Haster 9067148618 Standardized style of critical.h
per @0xc0170
2016-07-06 13:06:37 -05:00
Christopher Haster 26726cc170 Added proper usage of standard types for critical pointer functions 2016-07-06 13:06:34 -05:00
Christopher Haster cf6f8e33fb Added cas instrinsics for pointer values
- core_util_atomic_cas
- core_util_atomic_incr
- core_util_atomic_decr
2016-07-06 13:04:36 -05:00
Martin Kojtal 704c042707 Merge pull request #2109 from 0xc0170/dev_lpc2368_arm
Targets - LPC23678 ARM fails to build, remove from supported toolchains
2016-07-06 11:40:14 +01:00
Bogdan Marinescu 087b8fa648 Added proper definition for NRF51_MICROBIT_B 2016-07-06 12:31:30 +03:00
0xc0170 668dd17784 Targets - LPC23678 ARM fails to build, remove from supported toolchains
Tracking issue: https://github.com/mbedmicro/mbed/issues/2108
2016-07-06 09:41:32 +01:00
Martin Kojtal 7c00a75b05 Merge pull request #2105 from bridadan/ignore-target-specific-test
Adding .mbedignore for target specific test
2016-07-06 09:05:49 +01:00
Martin Kojtal 8d1024433a Merge pull request #2096 from 0xc0170/fix_release_targets
Fix release targets in the build_release.py
2016-07-06 09:02:44 +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
0xc0170 de4c97abb8 Targets - add release boolean flag 2016-07-05 10:47:51 +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
Martin Kojtal e56b9d06b7 Merge pull request #2087 from ohagendorf/stm32f7xx_fpu_sp_dp
fpu with single/double precision - bugfix and extension
2016-07-05 09:39:44 +01: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
Olaf Hagendorf 78bb74a761 fpu with single/double precision - rebasing
- master branch got two new cortex-m4f targets -> travis build failed
2016-07-04 22:10:49 +02:00
Olaf Hagendorf 4fe41d4edd fpu with single/double precision - removing redundancy
- removing redundancy as discussed in PR #2087:
 - in target.json the core option can have only this values : "Cortex-M0", "Cortex-M0+", "Cortex-M1", "Cortex-M3", "Cortex-M4", "Cortex-M7", "Cortex-A9" - Cortex-M4F and Cortex-M7F removed
 - in target.json an additional fpu option with values: "single" and "double" can be used
- build and export scripts are changed to handle this

- tested (compiling, running on hardware) with nucleo_f767 (cortex-m7 with double precision fpu), nucleo_f746 (cortex-m7 with single precision fpu), nucleo_f446 and nucleo_l467 (cortex-m4 with single precision fpu), teensy31 (cortex-m4 without fpu - only build test), nucleo_l073 (cortex-m0)
- singletest results are added to PR #2087 comments
2016-07-04 22:08:31 +02:00
Olaf Hagendorf ea196e2adb fpu with single/double precision - bugfix and extension
- creating new core name Cortex_M7F_DP for a target with a double precision fpu
- adding new core name to arm.py to set compiler/linker flags to a double precision fpu when configured in target.json
- up to now: gcc wrote flag for a double precision fpu -> target with STM32F746 didn't run when using double variables - mcu has only single precision fpu
- changing gcc.py to use single precision for Cortex-M7 und double precision for Cortex_M7F_DP

tested with NUCLEO_F746, NUCLEO_F767 and build.py+make.py and exporting with project.py + compiling/flashing

- iar.py need a similar extention - I didn't change that yet because
  - did not run at the moment - python exception
  - currently worked on in PR #1948
2016-07-04 22:08:30 +02:00
Erwan GOURIOU eaf77ed37f [STM32F4xx][NUCLEO_F429ZI] Add on for NUCLEO_F429ZI export and tests 2016-07-04 15:20:12 +02: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
Martin Kojtal 1216d8088d Merge pull request #2092 from akselsm/spi-init-fix
SPI: Properly aquire peripheral in constructor
2016-07-04 10:10:11 +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
Aksel Skauge Mellbye 641087ce65 [EFM32] Add delay after reset for greentea test runs.
The host-test resets the target by sending a UART break. After this, it takes some
time for the target to come back up. Without this timeout, the __sync packet
sent by greentea would not be retransmitted by the interface chip (i.e. it would never
reach the target). Testing on different devices indicates that 2 seconds delay
is sufficient for the device to reset and the  __sync packet to reach the target.
2016-07-04 10:03:02 +02:00
Aksel Skauge Mellbye b09a87ffb8 SPI: Properly aquire peripheral in constructor
Prevent mismatch between _owner and peripheral configuration. In the previous
implementation, the following code would leave the peripheral in an inconsistent
state:

```
SPI spi1(...);      // _owner is NULL, peripheral config is 1
spi1.transfer(...); // _owner is 1, config is 1
SPI spi2(...);      // _owner is 1, config is 2
spi1.transfer(...)  // 1 thinks it still owns peripheral, doesn't reconfigure
```
2016-07-04 09:52:57 +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
Martin Kojtal ce830296d0 Merge pull request #1909 from ohagendorf/stm32f7cube_2
[STM32F7xx] update cube hal to v1.4, adding NUCLEO_F767
2016-07-01 17:10:41 +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
Olaf Hagendorf 4211f7581e [NUCLEO_F7xx] adding F767 to build_release and adding default_build to target.json 2016-07-01 16:27:20 +02:00
svastm a9b3b9cce9 [STM32L0XX] Remove stabilization of the timer 2016-07-01 16:10:52 +02:00
Anna Bridge 329f8a10dc Add core_util_ prefix to are_interrupts_enabled() function.
For consistency with other exposed functions from this file, core_util_
prefix should be added.
2016-07-01 15:08:31 +01:00
Anna Bridge 2292794385 Reverse the logic to get_interrupts_disabled() to are_interrupts_enabled()
and update the using functions accordingly.

Usage:
bool interrupts_enabled = are_interrupts_enabled()

Remove superfluos shift in are_interrupts_enabled().
2016-07-01 14:55:53 +01:00
Anna Bridge 9f052bc500 Update function get_interrupts_disabled() to return a bool value rather
than an integer. This removes the need for all users to mask the returned
value with 0x1 to determine interrupt status.
Expose this function externally to allow other users to check interrupt
status in a manner which will work for both cortex-A and cortex-M .
Usage:
bool disabled = get_interrupts_disabled();
2016-07-01 14:53:53 +01:00
ohagendorf 6b6371420c [NUCLEO_F767ZI] adding IAR toolchain 2016-07-01 15:17:29 +02:00
ohagendorf 23f4152759 [NUCLEO_F767] removing not longer necessary uvision5 options 2016-07-01 15:17:28 +02:00
ohagendorf 956b733d0f [STM32F676] correcting memory sizes for gcc_arm 2016-07-01 15:17:27 +02:00
ohagendorf 40506d899b rebase failure 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
ohagendorf de48f58499 rename feature to device_has in new target
PR #1881 renamed option in targets.json - this commit is doing the same with the new target
2016-07-01 15:17:19 +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 3051436788 Merge pull request #2071 from LMESTM/nucleo_f746zg_ff_arduino
[NUCLEO_F746ZG] Add Arduino Form Factor property
2016-07-01 12:33:04 +02: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 2198dccd6e [NUCLEO_L432KC] Add to build and export scripts 2016-06-30 14:50:35 +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 e7209fea53 Rename field in targets.json, missing features removed 2016-06-30 12:36:19 +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
Laurent MEUNIER f1ccebb28b [NUCLEO_F746ZG] Add Arduino Form Factor property 2016-06-30 10:47:30 +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