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
svastm
a8d22e55ae
[STM32F1XX] Clean pwm and analog definition
...
To be more consistant with ST targets, this commit change analog and pwm
channel definitions to PeripheralPins.c
2016-08-03 10:47:56 +02:00
svastm
0bdc6d81b3
[STM32F0XX] Clean pwm and analog definition
...
To be more consistant with ST targets, this commit change analog and pwm
channel definitions to PeripheralPins.c
2016-08-03 10:47:05 +02:00
Peeyush pashine
1cbdc15c72
Update analogin_api.c
...
Software trigger for ST NUCLEO F1x series boards:
Issue:
https://github.com/ARMmbed/mbed-os/issues/1672#issuecomment-236565445
2016-08-03 12:30:22 +05:30
Vincent Coubard
e861755f27
Fix nrf51 stack on IAR.
2016-08-02 12:10:32 +01:00
Vincent Coubard
158c883dcd
Export symbols __ICFEDIT_region_RAM_start__ and
...
__ICFEDIT_region_RAM_stop__ on NRF51.
Those symbols are needed by the nordic SDK.
2016-08-02 11:22:03 +01:00
Helmut Tschemernjak
9abc93d6d0
Added the missing on-board SPI LSM303C sensor SPI pin definition
...
to allow programming the sensor via mbed APIs
See issue(#1746 )
2016-08-01 19:47:44 +02:00
cyliangtw
a4b25174ff
Fix IAR failure
2016-08-01 15:40:08 +08:00
ccli8
accb95d858
Add release_versions for NUMAKER_PFM_NUC472
2016-08-01 13:19:30 +08:00
Sam Grove
ea78ed1699
Merge pull request #2300 from bridadan/enforce-standard-boards-v5
...
Enforcing 'standard' build for version 5 release
2016-07-29 17:15:55 -05:00
Martin Kojtal
ac34f29f66
Merge pull request #2297 from neilt6/spi-mutex-fix
...
[HAL] Modified SPI to use shared mutex
2016-07-29 17:30:38 +02:00
Brian Daniels
7a07c386cb
Enforcing 'standard' build for mbed OS 5.0 release
...
This PR enforces that the default_build in a target's definition in
hal/targets.json is set to standard to be included in the version 5
release.
This is being enforced because small builds do not support
multi-threading. This makes the capabilities more consistent across all
boards in the version 5 release.
NOTE: This removes the MOTE_L152RC and the LPC11U68
from the version 5 release list because the 'default_build' for these
targets is currently set to 'small'.
2016-07-28 18:47:49 -05:00
Sam Grove
43bae174f5
Merge pull request #2280 from pan-/nrf-standard-build
...
Change default_build from small to standard on NRF based targets with at least 32K of RAM.
2016-07-28 17:35:13 -05:00
Sam Grove
2a7d364a3a
Merge pull request #2301 from bridadan/enable-f429zi-rz_a1h-v5
...
Enable v5 release for NUCLEO_F429ZI and RZ_A1H
2016-07-28 16:18:53 -05:00
Sam Grove
6973ee6fb8
Merge pull request #2302 from c1728p9/fix_rtc
...
Fix RTC test for LPC and STM families on GCC
2016-07-28 16:09:37 -05:00
Russ Butler
1da259af3b
Fix RTC test failures by removing critical sect
...
Remove the critical section in mbed_rtc_time.c and instead use a
mutex to protect this. This function does not need to be interrupt
safe, just thread safe.
This fixes crashes on the GCC_ARM toolchain on the RTC test due to
trying to lock the GCC environment mutex while in a critical section.
Prior to this patch, this failure was likely to occur on STM and LPC
processor families.
2016-07-28 14:35:51 -05:00
Russ Butler
4047ff9576
Create dedicated file for PlatformMutex
...
Move the PlatformMutex class into a dedicated file to reduce the
number of unnecessary includes.
2016-07-28 14:21:04 -05:00
Brian Daniels
eacbc93e98
Enable v5 release for NUCLEO_F429ZI and RZ_A1H
2016-07-28 12:26:29 -05:00
Sam Grove
1fb040861b
Merge pull request #2269 from nvlsianpu/lfclkdoc2master
...
documentation regards nRF51/nRF52 Low frequency clock configuration
2016-07-28 11:54:38 -05:00
neilt6
e80b16628d
[HAL] Modified SPI to use shared mutex
...
Modified the SPI class to use a shared mutex for all instances. This is
consistent with I2C and others.
2016-07-28 08:57:59 -06:00
svastm
0e63f4183c
[STM32L4XX] Fix i2c clock config
...
The i2c expected wrongly a 32MHz core clock.
This commit add the following things:
- I2C now handle both 80MHz and 48MHz core clock speeds
- Align system_stm32l4xx.x files
2016-07-28 14:31:54 +02:00
Andrzej Puzdrowski
d885692711
Changes form doc review of the LF clock configuration for nRF51/nRF52 SoCs.
2016-07-28 14:13:33 +02:00
cyliangtw
d7d841fe17
Stronger RNG
2016-07-28 15:19:39 +08:00
cyliangtw
5710178afb
Add NUC472 eth and entropy
2016-07-28 10:00:49 +08:00
ccli8
955695679e
Fix compile error with IAR
2016-07-28 10:00:49 +08:00
ccli8
9e40582f0d
Remove M453 and uvisor. Replace __disable_irq() with critical_section API
...
1. Remove M453. It is not to support in this commit.
2. Remove uvisor. It is incomplete and not to support in this commit.
3. Replace __disable_irq() with critical_section APIs.
2016-07-28 10:00:49 +08:00
cyliangtw
872d60fae3
Add IPV4 in NUC472 target
2016-07-28 10:00:49 +08:00
ccli8
6f3540c42d
Fix I2C issues
...
1. I2C active.
2. 7-bit address assert error.
3. Master Repeat Start.
2016-07-28 10:00:49 +08:00
cyliangtw
56678473cd
Support ethernet and mbed client
2016-07-28 10:00:49 +08:00
ccli8
41242e3d55
Support NUMAKER_PFM_NUC472
2016-07-28 10:00:49 +08:00
Vincent Coubard
a62b00a7d5
Change default_build from small to standard on NRF based targets with at
...
least 32K of RAM.
NRF targets with 16K keep their default_build configuration set to small.
2016-07-27 23:42:19 +01:00
Brian Daniels
e528b6cdea
Adding NRF52_DK and NRF51_DK to the v2 and v5 release
2016-07-27 14:52:51 -05:00
Brian Daniels
0e4b78f840
Changing 'release' key to 'release_versions'.
...
The key 'release' in hal/targets.json is ambiguous. This changes the key
to 'release_versions' to emphasize that the entries should be version
numbers/strings and that it should be an array, not a singular value.
2016-07-27 13:38:02 -05:00
Brian Daniels
edc580758e
Adding concept of release versions for targets.
...
Previously, the condition for including a target in a release was decided
by a 'release' key being set to 'true' in hal/targets.json. This doesn't
have enough granularity when we release multiple versions of mbed. This PR
changes the 'release' key to an array of strings, where each member is a
version that the target supports. Currently the valid versions are '2' and
'5'.
This PR also adds more robust checking for invalid target configurations
in a release. This is enforced whenever the release list is built from the
data, preventing invalid targets from coming into the release.
Finally, it updates the build_release.py script to use the new api for
fetching release targets.
2016-07-27 13:36:52 -05:00
Bogdan Marinescu
1a1507ac78
Unification of wait functions
...
This commit adds two implementations for the mbed wait functions (wait,
wait_ms, wait_us):
- with the RTOS present, the wait functions will use `Thread::wait` for
millisecond delays and a busy wait loop for sub-millisecond delays.
- with the RTOS not present, the wait functions will always use a busy
wait loop.
2016-07-27 17:30:59 +03:00
Andrzej Puzdrowski
849e644c43
typos
2016-07-27 13:15:36 +02:00
Andrzej Puzdrowski
412d0fe5f1
Typo in l
2016-07-27 13:15:35 +02:00
Andrzej Puzdrowski
587c8952bc
Add draft of doc for the ll clock configurtion using mbed configuration system.
2016-07-27 13:15:34 +02:00
Sam Grove
90fa585568
Merge pull request #2211 from pan-/nrf52_nrf51_unified_integration
...
NRF52 target and unification with NRF51
2016-07-27 02:35:43 -05:00
Russ Butler
bf1ac0d50c
Enable the STORAGE feature for the K64F
...
Enable storage for the K64F since this target supports it.
2016-07-26 23:07:25 -05:00
Sam Grove
09f9c0e50d
Merge pull request #2219 from rgrover/improvements_to_mtd_k64_storage_driver
...
Improvements to k64 internal-flash storage driver
2016-07-26 22:17:40 -05:00
Sam Grove
7c73a659da
Merge pull request #2064 from mbedmicro/kl25z-no-rtc
...
Remove support for the RTC
2016-07-26 20:40:31 -05:00
Sam Grove
96b338df6d
Merge pull request #2221 from zgoda/BLUEPILL_sleep_code_refactor
...
[BLUEPILL_F103C8] Sleep code refactor
2016-07-26 20:27:21 -05:00
Vincent Coubard
9a92da8afe
Fix HEAP and CSTACK placement for IAR on NRF51 and NRF52.
2016-07-26 23:39:02 +01:00
Vincent Coubard
d3d6c8144d
Set the build configuration for NRF52 to small.
2016-07-26 23:34:46 +01:00
Jarek Zgoda
093c7b9540
Fix code formatting
2016-07-26 16:50:49 +02:00
Sam Grove
4b6159b772
guard Freescale_KLXX shared RTC implementation with DEVICE_RTC
2016-07-25 23:21:33 -05:00
Sam Grove
d8f44bb4c1
Remove support for the RTC. Only early versions of the interface firmware provided a clock for the RTC that was used. This has long been depreciated since it also routed the same pin to an ADC on the arduino connector which caused wiring conflicts
2016-07-25 22:40:22 -05:00
Głąbek, Andrzej
91bd396a08
Merge branch 'nrf52_nrf51_unified_integration' of https://github.com/pan-/mbed into refactored_serial_api
...
# Conflicts:
# hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/uart/nrf_drv_uart.c
2016-07-25 09:06:50 +02:00
Głąbek, Andrzej
a8a7df03b7
Corrected serial_api - added waiting for TX completion in 'serial_putc' and before TX_COMPLETE callback, corrected pins configuration routines.
2016-07-25 09:01:05 +02:00
Russ Butler
5206addfd7
Fix intermittent lockup in echo test
...
The NRF5x driver transmits a byte by writing it to the uart data
register and then waiting for the TXRDY event indicating that this
byte was sent. If another UART interrupt comes in at the right time
the the UART ISR handler will process and clear the TXRDY event,
even though this interrupt is not enabled. This causes serial_putc
to get stuck waiting on an already cleared TXRDY.
This patch fixing the lockup by preventing the UART ISR from handling
the TXRDY event if this interrupt is not enabled.
2016-07-23 11:02:42 +01:00
Sam Grove
dc9fb460ee
prepend common .c files with mbed_
2016-07-22 23:36:25 -05:00
Sam Grove
542fcca670
Merge pull request #2137 from sg-/operators
...
Remove macro for operators. Enable these as default behavior
2016-07-22 19:01:24 -05:00
Sam Grove
83f24fb0bd
Merge pull request #2227 from mbedmicro/include_rtos_by_default
...
Includre rtos.h in mbed.h if present
2016-07-22 15:50:43 -05:00
Głąbek, Andrzej
32afc59409
Removed no longer used UART-related SDK files.
2016-07-22 22:11:39 +02:00
Głąbek, Andrzej
d59608a85b
Refactored serial_api implementation, improved asynchronous routines.
...
Not using Nordic SDK driver now, since it prevented interrupts from being handled properly.
2016-07-22 21:12:28 +02:00
Bogdan Marinescu
b8ab75db03
Includre rtos.h in mbed.h if present
...
So that apps don't need to include "rtos.h" explicitly anymore.
2016-07-22 18:08:32 +03:00
Jarek Zgoda
8c785e5022
[BLUEPILL_F103C8] Sleep code refactor
2016-07-22 15:10:13 +02:00
Głąbek, Andrzej
42d9898fd0
Fixed RTC1_IRQHandler in a bit more elegant way.
2016-07-22 14:58:17 +02:00
Martin Kojtal
6b8ff8feb3
Merge pull request #2192 from egostm/sleep_code_refactor
...
[STM32] Sleep code refactor
2016-07-22 13:40:06 +01:00
Głąbek, Andrzej
900acc6562
Fixed RTC1_IRQHandler linking problem.
2016-07-22 13:33:02 +02:00
Mihail Stoyanov
c8a5aae7ab
Merge pull request #2098 from svastm/switch_default_build
...
[STM32XX] Fix default build
2016-07-22 12:11:07 +01:00
svastm
95c17a4ff4
[STM32L1XX] Add STM32CUBE_L1 cmsis files
2016-07-22 11:46:42 +02:00
svastm
ab5ddb581e
[STM32L1XX] Add STM32CUBE_L1 hal target files
2016-07-22 11:46:42 +02:00
svastm
bdfc94c257
[STM32L1XX] Add STM32CUBE_L1 hal common files
2016-07-22 11:46:42 +02:00
Vincenzo Frascino
015067f73b
[BEETLE] Add comment to clarify LEDs Emulation
...
Beetle board is built to optimize power consumption therefore does not
provide on-board LEDs.
This patch adds a comment in PinNames in order to clarify that the
Emulated LEDs are provided for compatibility reasons with the MBED test
suite.
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-07-22 10:28:27 +01:00
Martin Kojtal
51cd3cb972
Merge pull request #2191 from geky/callback-fp-deprecate
...
[api] Mark FunctionPointer and friends as deprecated
2016-07-22 10:25:07 +01:00
Rohit Grover
9182b6d57d
erase-optimization: check sectors for all-1s before launching erase
...
With this change, we check for all-1s before executing erase. This means that
the cost of erasing a range is now proportional to the amount of sectors which
have been programmed. This should result in latency improvements in our use of
containers based on flash storage.
2016-07-22 10:08:37 +01:00
Rohit Grover
1efb48f4b1
add helper function launchCommandFromIRQ()
2016-07-22 09:57:28 +01:00
Rohit Grover
02738b7af6
Add a separate error code for runtime/intergrity-check failures
2016-07-22 09:51:11 +01:00
Martin Kojtal
37e254fa16
Merge pull request #2204 from fvincenzo/master
...
Lp_ticker and Us_ticker time count fix
2016-07-22 09:50:05 +01:00
Rohit Grover
8396aafb5a
add missing include for stdint.h to Driver_Storage.h
2016-07-22 09:38:11 +01:00
Rohit Grover
81ab477abc
switch to using more specific names in DEVICE_STORAGE_CONFIG_*
...
This should help avoid conflicts with configs for other Storage devices in the
future.
2016-07-22 09:31:43 +01:00