Commit Graph

629 Commits (0b74dc1fc4cb7340ed7117faf24dfa740bbea799)

Author SHA1 Message Date
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 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
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
Vincent Coubard c17be7efe4 Fix possible overflow of NRF51 os tick.
The RTC1 counter can increase while the new value for the CC register
used by the os tick is computed. As a result, when interrupts are enabled
again RTC1 counter and CC register value are equal. If these two values are
equal then the interrupt for the CC channel used by the OS tick will be
generated the next time the RTC counter reach that value.
In other words, the next OS tick will occur 131 seconds latter.

This issue possibly concern all NRF51 targets with 32K of RAM but is
only visible on NRF51_DK target when their is heavy BLE load.
2016-08-10 09:50:04 +01:00
Russ Butler 3587a08f8e Fix nrf52 initial stack pointer in ARMCC
Set the initial stack pointer to the end of ram so it matches
INITIAL_SP defined in RTX_CM_lib.h.
2016-08-09 14:54:58 -05:00
Russ Butler 69bf173e22 Decrease NUC472 interrupt stack size
Decrease the interrupt stack of the NUC472 from 12KB to 8KB. This
frees up enough space to allow the core tests to run.
2016-08-09 14:54:51 -05:00
Russ Butler 16329fd2d9 Override new and delete operators to trap errors
When new or new[] fails to allocate space trigger an error.
2016-08-09 14:42:23 -05:00
Russ Butler 7cf1dc1155 Fix heap limit checking and make memory explicit
Set well defined limits for the heap and configure GCC and ARMCC to
correctly check these. IAR already correctly checked its heap.

This also statically declares the main thread stack so the
linker is responsible for its placement.
2016-08-09 13:44:33 -05:00
Martin Kojtal 52658e5131 Merge pull request #2380 from c1728p9/nucleo_f429
Add ARDUINO to supported form factors of F429ZI
2016-08-09 14:28:21 +01:00
Martin Kojtal 900fcfe516 Merge pull request #2355 from evark/stm32f1-serial
STM32F1 serial_api initialize failure message
2016-08-09 14:27:59 +01:00
Mahadevan Mahesh a7a6521b31 KL27Z: Fix duplicate define error
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-08-09 08:13:39 -05:00
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
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