Commit Graph

3899 Commits (9b1db83eaa8c37ae496861bf936d7bf6ad3336eb)

Author SHA1 Message Date
Leszek Rusinowicz 9b1db83eaa Added required changes outside of TARGET_Cypress tree:
1. In drivers/Timer.cpp make sure that hardware timer is initialized outside of critical section.
   This is because on PSoC 6 hardware resources are shared between both cores
   and we have to make sure that the other core is not already using a particular resource.
   This mechanism is based on interprocessor communication taht cannot be handled iside of
   critical section.
2. Added support for post-binary hook function for PSoC 6 targets, so the hex image for M0+ CPU core
   can be merged with M4 core image for the final image.
3. Added possibility to use hook function from exportes, so the M0+ hex image could be included
   in the generated project.
4. Included hex images in the build dependency list, so the update of image is catched by the
   build process.
2018-11-01 20:19:21 +01:00
Leszek Rusinowicz f906aac096 Added BLE support based on CORDIO stack. 2018-11-01 20:15:57 +01:00
Leszek Rusinowicz d37026d063 Updated TARGET_Cypress sub-tree for FUTURE_SEQUANA target:
1. Complete set of HAL drivers for all peripherals of CY8C63xx PSoC chips.
2. Cypress PDL library updated to official 3.0.1 version.
3. Tree structure reorganized and cleaned up:
 + TARGET_Cypress
 +--+ TARGET_PSOC6+                  -> code & libs applicable to all PSoC 6 based devices
    +--+ TARGET_CY86XX               -> code & libs applicable to PSoC 63 based devices
    |  +--- TARGET_MCU_PSOC6_M0      -> code & libs applicable to PSoC6 Corted M0+ core
    |  +--- TARGET_MCU_PSOC6_M4      -> code & libs applicable to PSoC6 Corted M0F core
    |
    +--+ TARGET_FUTURE_SEQUANA       -> code applicable to Sequana board, both cores
       +--- TARGET_FUTURE_SEQUANA_M0 -> code applicable only to M0+ core on Sequana board
2018-11-01 20:15:56 +01:00
Leszek Rusinowicz ec22815fee Initial version with support for PSoC 6 CY8C63XX and both cores using updated PDL 3.0.1 beta. 2018-11-01 20:15:52 +01:00
Adrien Chardon 2c533d4693 Initial support for PSoC 6. 2018-11-01 20:15:51 +01:00
bcostm 38a5f1e0f7 DISCO_F769NI: enable bootloader in targets.json 2018-10-31 10:15:17 +01:00
bcostm 3e547e2101 DISCO_F769NI: add definitions for bootloader 2018-10-31 10:15:17 +01:00
Cruz Monrreal 1bbcfff8f3
Merge pull request #8566 from u-blox/github8520issue
Wifi: ublox fix to keep the credentials stored
2018-10-30 08:47:58 -05:00
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
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