Commit Graph

3992 Commits (0d95ccb4ba47605eabc01a1a93fb56bc17613fa6)

Author SHA1 Message Date
Martin Kojtal 80e2c1133a
Merge pull request #8719 from deepikabhavnani/m2351_ram_rom_changes
M2351 RAM / ROM defines updated
2018-11-26 10:57:42 +01:00
Martin Kojtal 7fd4692b32
Merge pull request #8862 from 0xc0170/dev_rollup
Rollup 5.11rc v3
2018-11-25 11:25:54 +01:00
Nir Sonnenschein 0283bb84e4
Merge pull request #8667 from davidsaada/kvstore_integration
KVStore & derived classes: design docs, implementation & configuration
2018-11-25 07:30:53 +02:00
Martin Kojtal ad37c84060 Merge branch 'disco-l072_adc_vbat' of https://github.com/bcostm/mbed-os into dev_rollup 2018-11-24 20:50:55 +00:00
Martin Kojtal 0ec41ce277 Merge branch 'F0_adc_vbat' of https://github.com/bcostm/mbed-os into dev_rollup 2018-11-24 20:50:45 +00:00
Martin Kojtal a4362f02ea Merge branch 'master' of https://github.com/ganesh-ramachandran/mbed-os into dev_rollup 2018-11-24 20:50:05 +00:00
Martin Kojtal e1b60b1e58 Merge branch 'disco_f746ng_bootloader' of https://github.com/bcostm/mbed-os into dev_rollup 2018-11-24 20:49:55 +00:00
Martin Kojtal b16569dc3f
Merge pull request #8838 from 0xc0170/dev_rollup
Rollup v2 for 5.11rc1
2018-11-24 21:37:02 +01:00
Martin Kojtal d7f2e3056c
Merge pull request #8737 from kapi90/cm3ds_lp_requirements
Add low power implementations for CM3DS
2018-11-24 19:49:57 +01:00
David Saada e9c25e23a5 KVStore & derived classes: design docs, implementation & configuration
Implement the following:
KVStore base class
TDBStore class
FileSystemStore class
SecureStore class
Global APIs
Configuration framework
Design documentation
2018-11-24 17:43:35 +02:00
Martin Kojtal 52aea31655
Merge pull request #8702 from SenRamakri/sen_CrashReportingImpl
Crash Reporting implementation
2018-11-23 20:24:53 +01:00
Martin Kojtal 7a6b166b1a Merge branch 'realtek-rtl8195am-wifi-headerfile-updates' of https://github.com/M-ichae-l/mbed-os into dev_rollup 2018-11-23 18:37:28 +00:00
bcostm a35deac578 DISCO_F746NG: add bootloader support 2018-11-23 10:52:13 +01:00
Ganesh Ramachandran 811ff21c70 Corrected detect_code for TMPM4G9 2018-11-23 12:34:22 +05:30
Martin Kojtal 7995e8beac
Merge pull request #8756 from ashok-rao/br-Murata-BL241
Add Murata WSM-BL241 as new target
2018-11-22 17:55:24 +01:00
Martin Kojtal 78bd53121a
Merge pull request #8291 from theotherjimmy/fix-ff-lpc546xx
*LPC546XX: Finish MCU Refactoring
2018-11-22 17:31:18 +01:00
Deepika c0981a358a Addressed review comments from team-nuvoton 2018-11-22 09:07:21 -06:00
Deepika 1d8c00eccb Update parition sizes in M2351 - based on #8607
RAM/ROM sizes in tools were updated to report entire device size, and in M2351
they were used earlier to report secure/non-secure partition size.

M2351 files are updated to take full RAM/ROM device size and derive secure
and non-secure partition size based on that.
2018-11-22 09:07:21 -06:00
Martin Kojtal 60b5547b65
Merge pull request #8784 from c1728p9/nrf52_serial_fixes
NRF52 serial fixes
2018-11-22 13:43:00 +01:00
Martin Kojtal 37630b237d
Merge pull request #8778 from jeromecoutant/PR_LPTIM_DIV
STM32 LPTICKER with LPTIM : reduce clock feature
2018-11-22 09:31:57 +01:00
Russ Butler 4acdf7012c Disable all NRF52 serial interrupts on init
When initializing serial disable all interrupts as some of these may
have been enabled by a bootloader. This ensures that the NRF52
serial driver remains compatible with any bootloader version.
2018-11-21 14:37:20 -06:00
Cruz Monrreal II a5bef60afe Revert "Merge pull request #8272 from NXPmicro/Ensure_RTC_OSC_Start"
This reverts commit 3d859ca1d6, reversing
changes made to 03f4623b80.
2018-11-20 16:58:11 -06:00
Bence Káposzta 5dd6d19253 Merge branch 'master' into cm3ds_lp_requirements
Change-Id: I3c687694ee924938ec08ea40d0ddbcaf20dd0a73
2018-11-20 19:54:33 +01:00
bcostm 55d4db5676 NUCLEO_F030/F070: remove ADC_VBAT pin definition 2018-11-20 16:45:23 +01:00
bcostm df74f64a4a DISCO_L072CZ: remove ADC_VBAT pin definition 2018-11-20 16:03:12 +01:00
Russ Butler 9ce3965ae2 Add flow control for RX FIFO filling
When the RX FIFO is nearly full use flow control to stop receiving
data.
2018-11-19 19:21:46 -06:00
Russ Butler 59bb79b05b NRF52 Serial overhaul
Make the following enhancement:
-Support serial port use without flow control
-Prevent dropped bytes by updating flow control handling
-Remove dead code

Serial port use without flow control:
In the prior implementation there was a window of time between
reloading DMA buffers after a timeout where bytes could be dropped.
This is because the uart needed to be turned off in order to flush the
bytes in the DMA buffer.

This change configures the DMA buffer to only receive one byte at a
time so there is no need to disable the uart to flush it. After each
byte is received the DMA transfer will be over so the transfer will
never be partially complete and need flushing. Since the uart is
always on it is safe to use it even without flow control.

Prevent dropped bytes by updating flow control handling:
To prevent dropped bytes due to high latency the flow control handling
of the RTS line was configured to be asserted automatically by
hardware after each byte. Once the CPU has read the byte and setup
the next receive buffer the RTS line is deasserted to the transfer can
continue. This ensure that when flow control is enabled data won't be
lost due to interrupt latency.

Remove dead code:
With the above changes there is a lot of dead code, such as the timer
handling code. This patch removes the code that is no longer used.
2018-11-19 19:21:45 -06:00
Jimmy Brisson 75200144ad Update mbed_rtx.h switch for new target naming 2018-11-19 09:37:17 -06:00
Jimmy Brisson ab84d2bf33 *LPC546XX: Finish MCU Refactoring
### Description

The Mbed 2 release was broken for FF_LPC546XX as it would include
the entire mbed 2 build of the LPC546XX. This PR seperates these 2
builds completely by:

 * Removing non-shared extra labels from the MCU_LPC546XX target
 * Moving the target implementation to a shared target directory

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Breaking change
2018-11-19 09:37:17 -06:00
Martin Kojtal 00c5b56e32
Merge pull request #8683 from NXPmicro/feature-qspi-lpc546xx
Feature qspi lpc546xx
2018-11-19 13:11:44 +00:00
Russ Butler 21dd8e40ab Configure NRF52 uart on interrupt attach
When attaching an irq to serial call nordic_nrf5_serial_configure.
This ensures the serial is ready to receive data at the correct
baudrate.
2018-11-16 17:35:54 -06:00
Marcus Chang bb98ce082e Make serial_putc for NRF52 non-blocking
Busy-wait before sending a charecter instead of after. If
serial_writeable has been called first, the busy-wait loop will
be skipped.

Added initialization code to ensure NRF_UARTE_EVENT_TXDRDY is
armed correctly.
2018-11-16 17:32:53 -06:00
Russ Butler 4cda158e55 Fix uart race condition dropping bytes on NRF52
In nordic_nrf5_uart_event_handler if the events NRF_UARTE_EVENT_ENDRX
and NRF_UARTE_EVENT_RXSTARTED become pending after the check for
NRF_UARTE_EVENT_ENDRX but before the check for
NRF_UARTE_EVENT_RXSTARTED the RX DMA buffers will be setup incorrectly
by nordic_nrf5_uart_event_handler_rxstarted because active_bank hasn't
been updated. This cause dropped and incorrect data.

This patch fixes that problem by adding a second check for
NRF_UARTE_EVENT_ENDRX after checking for NRF_UARTE_EVENT_RXSTARTED
and skipping processing if NRF_UARTE_EVENT_ENDRX is set. The
subsequent interrupt will process both in the correct order. This
ensures that these events cannot be handled out of order and thus fixes
the corruption.
2018-11-16 17:30:31 -06:00
Senthil Ramakrishnan f1926c0ea9 Fix linker script errors 2018-11-16 14:00:00 -06:00
Senthil Ramakrishnan ef8c1c3cb6 Linker script modifications for crash data region 2018-11-16 13:59:59 -06:00
Ashok Rao ff55961c1f Changing license header 2018-11-16 15:38:11 +00:00
jeromecoutant 1ec222f268 STM32 LPTICKER with LPTIM : reduce clock feature 2018-11-16 15:34:57 +01:00
Ashok Rao fce42ae28e Incorporating review comments 2018-11-16 14:28:08 +00:00
Mahesh Mahadevan f8f9faa841 LPC566XX LPCXpresso: Update to add QSPI support
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-11-16 07:56:29 -06:00
Mahesh Mahadevan b3d0b5c210 Remove QSPI support for FF_LPC546XX target
This needs a device specific file

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-11-16 07:56:29 -06:00
Mahesh Mahadevan 4bbf0025b8 LPC MCUXpresso: Add QSPI support
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-11-16 07:56:28 -06:00
Qinghao Shi d157e59267 reformat to following codeing style rules 2018-11-16 10:29:31 +00:00
Qinghao Shi 78b186ec56 Update code according to the reviews
* move emac driver to COMPONENT folder
* use mbed rtos C++ API instead of CMSIS API
2018-11-16 10:29:31 +00:00
Qinghao Shi eea7245d41 update targets.json enable EMAC driver for FVP_MPS2 platforms 2018-11-16 10:29:30 +00:00
Qinghao Shi bbe3b131dc add lan91c111 drivers for FVP MPS2 platfrom 2018-11-16 10:22:42 +00:00
Ashok Rao ec78ca937f Adding LED defines for CI 2018-11-16 09:51:32 +00:00
Ashok Rao 1bdfcba99b Removing unnecessary pin defines 2018-11-15 18:39:17 +00:00
Ashok Rao 8ef1378644 Adding Murata WSM-BL241 as new target 2018-11-15 18:28:24 +00:00
Martin Kojtal 22185ba229 Merge branch 'wio3g' of https://github.com/SeeedJP/mbed-os into dev_rollup 2018-11-15 14:03:13 +00:00
Martin Kojtal 9a252cd218 Merge branch 'feature-emac-mxrt1050' of https://github.com/NXPmicro/mbed into dev_rollup 2018-11-15 13:58:27 +00:00