Commit Graph

429 Commits (69bf173e221a1e0b1a81e3793970659fd2c6fb05)

Author SHA1 Message Date
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
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
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 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
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
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
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
cyliangtw a4b25174ff Fix IAR failure 2016-08-01 15:40:08 +08: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
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
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
Vincent Coubard 9a92da8afe Fix HEAP and CSTACK placement for IAR on NRF51 and NRF52. 2016-07-26 23:39:02 +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
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
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
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