Cruz Monrreal
503066a736
Merge pull request #8559 from productize/stm32f407vg-rng
...
STM32F407VG: Add TRNG support
2018-10-29 08:50:43 -05:00
Ammad Rehmat
74ce0b78a4
fixes the credentials storage, copies them internally rather than just a pointer to external storage
2018-10-29 17:32:41 +05:00
Cruz Monrreal
870c3bce59
Merge pull request #8554 from bcostm/l4R5zi_data_alignment
...
NUCLEO_L4R5ZI: Fix alignment of execute region to 8byte boundary
2018-10-27 18:30:57 -05:00
Cruz Monrreal
63946d56d8
Merge pull request #8452 from u-blox/ublox_odin_driver_os_5_v3.5.0_rc1
...
ble: update ODIN drivers to v3.5.0 RC1
2018-10-27 09:50:12 -05:00
Cruz Monrreal
01f864eb13
Merge pull request #8553 from bcostm/F413ZH_bootloader
...
STM32F413ZH: Add bootloader support
2018-10-27 09:22:41 -05:00
Cruz Monrreal
4798a91f2e
Merge pull request #8223 from c1728p9/deep_sleep_wakeup_fix
...
Improve RTOS behavior with deep sleep
2018-10-27 08:45:33 -05:00
Cruz Monrreal
a5b757312d
Merge pull request #8292 from marcuschangarm/fix_flow
...
Fix hardware flow control on NRF52 series
2018-10-26 15:44:52 -05:00
Adam Heinrich
28a01aeb29
STM32F407VG: Add TRNG support
2018-10-26 17:01:33 +02:00
bcostm
8560e47c31
STM32F413ZH: fix wrong flash size for ARM compiler
2018-10-26 14:16:18 +02:00
bcostm
66ab546200
NUCLEO_L4R5ZI: fix 8-bytes data alignment
2018-10-26 10:58:00 +02:00
bcostm
468e1b8334
STM32F413ZH: enable bootloader in targets.json
2018-10-26 10:31:35 +02:00
bcostm
61b3270835
STM32F413ZH: add defines for bootloader
2018-10-26 10:31:11 +02:00
Marcus Chang
ab04ff1219
Remove debug flow control from NRF52_DK and NRF52840_DK
...
Currently flow control is not supported by the CI and enabling it
causes unwanted side effects.
2018-10-25 12:24:48 -07:00
Yossi Levy
d9a84c42cf
Remove SPI_PERSISTENT_MEM_CS macro and replace it with SPI_CS
2018-10-25 12:10:48 +03:00
Cruz Monrreal
140f3e20d6
Merge pull request #8508 from micgur01/master
...
Update linker scripts for bootloader target L496GZ
2018-10-24 19:08:41 -05:00
Cruz Monrreal
dd2d9ee4be
Merge pull request #8319 from c1728p9/checksum_546xx_vector_table
...
Checksum the vector table of the LPC546XX
2018-10-24 19:08:22 -05:00
Marcus Chang
1ad3b49599
Fix hardware flow control on NRF52 series
...
Due to buggy flow control logic in the UARTE, the stop signal
is not being set as it is supposed to when the the module is
not ready to receive data.
This commit signals the sender to halt transmitting when a DMA
buffer is full and only continue again when the atomic FIFO
buffer has been emptied. This allows platforms with hardware
flow control to minimize all buffers and rely on flow control
instead.
2018-10-24 13:11:12 -07:00
Russ Butler
50316d00bd
Improve RTOS behavior with deep sleep
...
Only deep sleep when the wakeup time is more than
MBED_CONF_TARGET_DEEP_SLEEP_LATENCY ms in the future.
This ensures that RTOS events are handled at the correct time. Note -
when deep sleep is allow interrupt latency may still be as high as
10ms.
2018-10-24 15:02:56 -05:00
Mahesh Mahadevan
48d4a45345
MCUXpresso: Update LPC Flash driver program page function
...
Handle the case where the number of bytes to write is not aligned
to page size
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-24 08:20:00 -05:00
micgur01
6c191c0241
code review for Update linker scripts for bootloader target L496GZ
2018-10-24 11:17:56 +00:00
micgur01
2215a9ab5e
code review for Update linker scripts for bootloader target L496GZ
2018-10-24 09:48:05 +00:00
Martin Kojtal
5b25b6643d
Merge pull request #8478 from JarkkoPaso/fhss_timer_dev
...
Fhss timer dev
2018-10-24 09:43:13 +01:00
Martin Kojtal
ab6429f4af
Merge pull request #8474 from naveenkaje/NRF_RTS_Followon_Fix
...
NRF52 : Fix UART RTS initialization
2018-10-24 09:40:00 +01:00
Russ Butler
06c825fb83
Checksum the vector table of the LPC54XXX
...
LPC devices require a checksummed vector table to boot. To ensure
this most programmers automatically compute the checksum when
programming flash. This causes problems with verification if the
original image does not have a checksummed vector table. This is because
when reading the data back the checksum location differs from the
original image.
To fix this verification failure this patch adds a post build hook to
checksum the vector table of the LPC54XXX. This fixes flash
verification failures due to the checksum not matching.
2018-10-23 13:54:04 -05:00
Cruz Monrreal
0db896036c
Merge pull request #8485 from NXPmicro/feature-qspi-kinetis
...
Feature qspi kinetis
2018-10-23 12:38:11 -05:00
Cruz Monrreal
41bffe1c87
Merge pull request #8352 from offirko/offir-mbed-qspif
...
QSPI SFDP Flash Block Device
2018-10-23 10:48:28 -05:00
Naveen Kaje
7beb8d3f4b
NRF52 : Fix UART RTS initialization
...
The preprocessor based macro check #if evaluates all
enums as 0 and hence the code does not get compiled.
Since move this to a runtime check where the pin variable
can be correctly evaluated.
Delete mbed_overrides.c as it has a target specific mbed_sdk_init() to
resolve linking problem.
This is a follow on patch to:
https://github.com/ARMmbed/mbed-os/pull/8046
2018-10-23 09:44:06 -05:00
Cruz Monrreal
5bf901b3a4
Merge pull request #8493 from jeromecoutant/PR_PREDIVS
...
STM32 RTC : Prescaler macro issue
2018-10-23 09:08:46 -05:00
micgur01
534883046d
change mode to 664
2018-10-23 12:58:52 +00:00
micgur01
ff4b567537
Update linker scripts for bootloader for L496GZ
2018-10-23 12:57:05 +00:00
Jarkko Paso
de2fce2104
LPC408X: Cstack size reduced from 8K to 1K with IAR
2018-10-23 15:09:12 +03:00
Cruz Monrreal
93c5573b4d
Merge pull request #8486 from NXPmicro/Update_LPC546XX_Core_Freq
...
LPC54608: Raise the core freq on LPC54608 targets
2018-10-22 11:43:13 -05:00
Cruz Monrreal
353e8bd0b0
Merge pull request #8348 from maclobdell/add-k66-default-sd-storage-master
...
Add K66F default sd storage
2018-10-22 11:31:12 -05:00
jeromecoutant
a9552232e4
STM32 RTC : Prescaler calculation issue
2018-10-22 15:58:32 +02:00
Offir Kochalsky
638951aa86
Merge remote-tracking branch 'upstream/master' into offir-mbed-qspif
2018-10-21 08:51:49 +03:00
Mahesh Mahadevan
118bde5a14
LPC54608: Raise the core freq on LPC54608 targets
...
This is incorrectly set to a lower value
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-19 12:49:28 -05:00
Cruz Monrreal
e942582045
Merge pull request #8454 from ashok-rao/br-BL654-new
...
Adding Laird BL654 as a new MTB target
2018-10-18 17:03:22 -05:00
Cruz Monrreal
3d859ca1d6
Merge pull request #8272 from NXPmicro/Ensure_RTC_OSC_Start
...
MCUXpresso: Ensure the RTC OSC is running at bootup on Kinetis platforms
2018-10-18 15:16:13 -05:00
Mahesh Mahadevan
9dc3f8c19a
KL82Z FRDM: Update the KL82Z Freedom board for QSPI
...
Add the QSPI pin defines, clock information and flash details
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-18 12:14:27 -05:00
Mahesh Mahadevan
858e536f1a
K82F FRDM: Update the K82F Freedom board for QSPI
...
Add the QSPI pin defines, clock information and flash details
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-18 12:14:26 -05:00
Mahesh Mahadevan
9f64e46de2
K82F, KL82Z: Update register access mode for QSPI IPCR register
...
Add 16-bit access mode when writing the transfer size to prevent
the QSPI transaction from starting
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-18 12:14:26 -05:00
Mahesh Mahadevan
3bd6235032
K82F, KL82Z: Update the QSPI SDK driver to the latest version
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-18 12:14:25 -05:00
Mahesh Mahadevan
6b1bef26f6
QSPI: Remove QSPI from UBRIDGE and USENSE target
...
This needs a device specific file
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-18 12:14:24 -05:00
Mahesh Mahadevan
e28fb7466b
MCUXpresso: Add the QSPI HAL driver
...
This should support QSPI on Kinetis devices
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-18 12:14:23 -05:00
Cruz Monrreal
8a5b9ff893
Merge pull request #8400 from AdamZhang0124/realtek-rtl8195am-usticker-patch
...
This PR retrieves the TimerSync function to fix the lockup issue
2018-10-18 11:00:56 -05:00
Mahesh Mahadevan
ebf31c67f0
MCUXpresso: Ensure the RTC OSC is running at bootup on Kinetis platforms
...
This is a fix for Issue 5348.
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-18 08:55:48 -05:00
Cruz Monrreal
c9adf3cef4
Merge pull request #8307 from NXPmicro/Add-Support_RapidIoT
...
Add support for RapidIoT
2018-10-18 08:15:07 -05:00
Ashok Rao
bee4429487
QSPI pins added
2018-10-18 11:30:11 +01:00
Mac Lobdell
099654c661
Ensure storage feature is not added to K66F
2018-10-17 07:42:50 -07:00
Ashok Rao
06a5b1e76a
Addressing comments w.r.t alignments
2018-10-17 15:36:13 +01:00
Ashok Rao
6f720e86a1
Adding Laird BL654 as a new MTB target
2018-10-17 14:47:17 +01:00
Cruz Monrreal
c37dc5fea8
Merge pull request #8425 from OpenNuvoton/nuvoton_m487_fix_button
...
M487: Fix SW2/SW3 interchange error in NUMAKER_IOT_M487
2018-10-17 08:35:46 -05:00
Cruz Monrreal
2daab38194
Merge pull request #8302 from JanneKiiskila/wait_ms
...
Use wait_ms(int) instead of wait(float)
2018-10-17 08:34:47 -05:00
aqin
2ac6cff107
BLE support added
2018-10-17 14:19:14 +05:00
Cruz Monrreal
00e3064f58
Merge pull request #8437 from NXPmicro/Fix_TRNG_HAL
...
MCUXpresso: Fix for the TRNG HAL driver
2018-10-16 16:19:49 -05:00
Cruz Monrreal
af19a395e0
Merge pull request #7923 from ganesh-ramachandran/master
...
Add Support for Toshiba TMPM4G9
2018-10-16 12:52:19 -05:00
Cruz Monrreal
461d59ab41
Merge pull request #8427 from jeromecoutant/PR_L4_8343
...
STM32L4 : sleep issue
2018-10-16 10:42:14 -05:00
Cruz Monrreal
5c136cc5cc
Merge pull request #8403 from bcostm/fix_issue_8372_serial
...
STM32: fix issue with serial_is_tx_ongoing function
2018-10-16 10:25:37 -05:00
Cruz Monrreal
deaa4fa0ff
Merge pull request #8374 from TomoYamanaka/improve_armcc_linkerscript
...
Renesas : Improve ARMCC linker script
2018-10-16 10:23:11 -05:00
Cruz Monrreal
50e6de7df2
Merge pull request #8046 from naveenkaje/UART_HWFC_Error_Fix_Upstream_Based
...
NRF52 serial: Fix UART console RX
2018-10-16 10:22:25 -05:00
Martin Kojtal
9b59a3bd0d
Merge pull request #8429 from OpenNuvoton/nuvoton_m2351_fix_led
...
M2351: Fix LED_GREEN naming error
2018-10-16 07:33:51 -07:00
Mahesh Mahadevan
9a47915791
MCUXpresso Flash Driver: Update Flash driver to support RAPIDIOT
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-16 08:52:15 -05:00
maclobdell
fd08cc94f2
Add support for NXP Rapid IoT prototyping kit
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-16 08:52:14 -05:00
Janne Kiiskila
de77695b08
Use wait_ms instead of wait(n)
...
Small space savings, the casting from int to float will bloat
the code a bit. Using wait(1.0f) for example would avoid it,
but seems a bit silly to use floats for anything unless
really needed (in embedded products).
2018-10-16 10:00:54 +03:00
Mahesh Mahadevan
f29a597411
MCUXpresso: Fix for the TRNG HAL driver
...
Apply the fix from K64F TRNG HAL driver.
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-15 16:00:34 -05:00
Cruz Monrreal
a6651b868b
Merge pull request #8317 from yossi2le/add-flashiap-bd-as-default
...
Add FlashIAP block device as default block device for WISE 1570
2018-10-15 10:22:34 -05:00
Cruz Monrreal
e0e915f5db
Merge pull request #8423 from cmonr/rollup2
...
Rollup PR: Additional doc PRs + lingering need:CI PRs
2018-10-15 10:04:04 -05:00
bcostm
4017dea77f
STM32: typo corrections
2018-10-15 11:14:18 +02:00
ccli8
67e0b7faf0
[M2351] Fix LED_GREEN naming error
2018-10-15 16:34:18 +08:00
jeromecoutant
7b605b6160
STM32L4 : sleep issue
2018-10-15 10:19:42 +02:00
ccli8
9d27b72950
[M487] Fix SW2/SW3 interchange error in NUMAKER_IOT_M487
2018-10-15 15:47:16 +08:00
Ganesh Ramachandran
0231c80828
Implemented us_ticker free() & modified IAR stack
2018-10-15 10:20:22 +05:30
Ganesh Ramachandran
936ace08e2
Added Support for TOSHIBA TMPM4G9
2018-10-15 10:20:21 +05:30
Offir Kochalsky
9b3bca89fd
Enable first fast mode then quad for chips with low power default
2018-10-14 08:54:09 +03:00
Cruz Monrreal II
3ed8a4d24b
Merge branch 'PR_DISCOF413_SPIWIFI' of ssh://github.com/jeromecoutant/mbed into jeromecoutant-PR_DISCOF413_SPIWIFI
2018-10-12 21:46:43 -05:00
Cruz Monrreal II
7a61a17ce4
Merge branch 'improve_spi_drv' of ssh://github.com/TomoYamanaka/mbed-os into TomoYamanaka-improve_spi_drv
2018-10-12 21:46:41 -05:00
Cruz Monrreal II
9ec00b21d2
Merge branch 'Eman869-fix_lpuart_hsi_power_consumption' of ssh://github.com/Eman869/mbed-os into Eman869-Eman869-fix_lpuart_hsi_power_consumption
2018-10-12 21:46:36 -05:00
Cruz Monrreal II
ae1dd2ae4c
Merge branch 'm46b_usticker-new_feature' of ssh://github.com/ganesh-ramachandran/mbed-os into ganesh-ramachandran-m46b_usticker-new_feature
2018-10-12 21:46:30 -05:00
Cruz Monrreal
188b9b7998
Merge pull request #8310 from NXPmicro/Flash_KL43_KL82_KW41_K22
...
MCUXpresso: Add Flash support for KL43Z, KL82Z, KW41Z, K22F
2018-10-12 21:14:10 -05:00
Naveen Kaje
fa480c4f15
NRF52: setup the UART_RTS pin during startup to enable console RX
...
While investigating the RX issue on NRF52_DK after SDK 14 updates,
it is observed that the RX FIFO doesn't get filled up, when the
flow control is disabled. Hence the readable never returns true.
If using Serial interface, the stdio file handles (0, 1, 2) get opened.
This results in configuring the flow control for STDIO, and it is observed
that the RX FIFO gets filled.
However, if RawSerial is used, the STDIO file handles
don't get opened. During the debug process it was observed that if the
flow control is configured once and then set to disabled, RX worked
as expected.
Alternative to this approach is that user application specifically
enables flow control as done in mbed's Greentea test suite. See https://goo.gl/r8nBYH
See https://goo.gl/8VB2qg step 14 for _initio's description.
See test code to reproduce the issue and test fix here: https://goo.gl/AQU1xG
Description
The change in behavior with NRF52's UART RX is documented here. #6891
This change is a fix for the above issue.
2018-10-12 14:43:35 -05:00
bcostm
276d16f70d
STM32: fix issue with serial_is_tx_ongoing function
2018-10-12 15:40:11 +02:00
Cruz Monrreal
285de88331
Merge pull request #8234 from TomoYamanaka/modify_LPTicker
...
Renesas : Modify LPTicker driver
2018-10-12 07:43:37 -05:00
Lu
2fa91f3b2b
This PR retrieves the TimerSync function to fix the lockup issue
...
1. Update library
2. Add ‘hal_timer.h’, ‘rtl8195a_timer.h’
3. Revert ‘HalTimerOpExt.HalTimerSync(SYS_TIM_ID)’ function in ‘us_ticker.c’
2018-10-12 20:39:06 +08:00
Cruz Monrreal
5bfac71bdc
Merge pull request #8387 from cmonr/rollup
...
Rollup v2.1: Rerun multiple PRs through CI that have already indirectly passed
2018-10-12 07:24:18 -05:00
Anna Bridge
24857d0f91
Merge pull request #5285 from c1728p9/minimum_requirements_test
...
Update devices to have minimum 2K RAM and heap, also added test
2018-10-12 11:04:57 +01:00
Cruz Monrreal II
5d74b772ab
Merge branch 'remove_gcc_cr' of ssh://github.com/bridadan/mbed into bridadan-remove_gcc_cr
2018-10-11 13:18:49 -05:00
jeromecoutant
3385e0ef7b
DISCO_F413ZH : explicit WIFI pins name
2018-10-11 18:32:43 +02:00
jeromecoutant
922cc2b8a7
DISCO_F413ZH : set default Wifi module SPI state to inactive
2018-10-11 18:31:51 +02:00
TomoYamanaka
470f9bc375
Improve frequency setting proc of Renesas SPI driver
...
If the specified frequency exceeds the upper limit and lower limit at SPI driver, an error is output, but this does not match policy with other renesas drivers. Thus I revises the processing as follows.
- If "hz" is maximum over, it is rounded by the maximum value.
- If "hz" is minimum under, it is rounded by the minimum value.
2018-10-11 20:51:20 +09:00
TomoYamanaka
182a3a886f
Improve ARMCC linker script for Renesas boards
...
For Arm toolchain build, Mbed 2(classic) programs occur an unexpected error if there is "#include "mem_XXXX.h"" in the script file.
It seems that the linker script can't find the include file because "mem_XXXX.h" file is not in the same path with the linker script.
(Refer to Issue #6975.)
To address this issue, I remove inclusion processing and define the related macros at ARMCC linker script file.
2018-10-11 16:51:06 +09:00
Cruz Monrreal
ebff1e553b
Merge pull request #8213 from jeromecoutant/PR_RTC_F1
...
STM32F1 RTC : save values in register
2018-10-10 15:46:26 -05:00
Cruz Monrreal
9f98d39d1f
Merge pull request #8122 from thesupershan/master
...
LPC1768 us_ticker.c timer choice
2018-10-10 11:07:26 -05:00
Deepika
37bfc9e5e3
Reposition heap at the end of RAM to be 4K aligned
...
HEAP memory should be 4K aligned for GCC newlib, with ISR stack at the end of
RAM memory we loose 3K of RAM memory. This fix is for device with <16K RAM to
use RAM entirely.
2018-10-10 10:10:43 -05:00
Cruz Monrreal
73f1d4cabd
Merge pull request #8186 from deepikabhavnani/freescale_align_fix
...
Freescale/NXP: Fix alignment of execute region to 8byte boundary
2018-10-10 08:43:51 -05:00
Cruz Monrreal
ab064df2fa
Merge pull request #8024 from deepikabhavnani/fix_align
...
Fix alignment of execute region to 8byte boundary
2018-10-10 08:41:40 -05:00
Cruz Monrreal
4903f324a1
Merge pull request #8013 from deepikabhavnani/stm_fix_align
...
STM32: Fix alignment of execute region to 8byte boundary
2018-10-10 08:40:55 -05:00
Offir Kochalsky
dc4557939f
Remove DISCO-L476VG-IOT01A board from QSPI test (IOTSTOR-666 Issue)
2018-10-10 16:36:40 +03:00
Yossi Levy
473f8d3f94
Fixing the order of component if more than one is included for a target.
...
Revert deprecation of FlashIAPBlockDevice 2 argument constructor has this was a breaking change. This follows a similar change in the external flashiap-driver repo.
2018-10-10 12:32:08 +03:00
Deepika
bf1a2c8485
[ST]: Fix alignment of execute region to 8-byte boundary in ARM linker files
...
--legacyalign, --no_legacyalign are deprecated from ARMC6 compiler, in order to
remove deprecated flags all linker files should strictly align to 8-byte boundary
2018-10-09 14:47:14 -05:00
Martin Kojtal
7c1cdc85ed
Merge pull request #8225 from juhoeskeli/IAR_STM32F412xG
...
Adjust stack & heap for IAR on STM32F412xG
2018-10-09 10:34:25 -05:00