Anna Bridge
5aab4c4f11
Merge pull request #12524 from VeijoPesonen/sfdp_split_4
...
Bugfix: Concurrent SFDP header address init fixed
2020-03-06 13:57:07 +00:00
Martin Kojtal
ea3761f38d
Merge pull request #12531 from dustin-crossman/pr/flashiap_fix
...
Add check so that FlashIAP does not allocate memory on flash_init failure
2020-03-05 15:36:57 +00:00
Martin Kojtal
a937d30501
Merge pull request #12511 from paul-szczepanek-arm/patch-1
...
allow reconfiguring a running watchdog
2020-03-03 13:00:45 +00:00
Veijo Pesonen
98dbebb3ed
SFDP: Refactor Sector Map Parameter Table parsing
...
Doxygen documentation was updated.
Code reorganized to make it more readable.
Moves SFDP specific bits out from Q/SPIFBlockDevices.
2020-03-02 11:07:03 +02:00
Veijo Pesonen
c84deff782
SFDP: consolidates check for addressability
...
Takes implementations found from SPIFBlockDevice and QSPIFBlockDevice
and makes those as part of the SFDP module.
2020-03-02 11:04:05 +02:00
Veijo Pesonen
2ce3bed910
SFDP: consolidates device density detection
...
Combines implementations found from SPIFBlockDevice and QSPIFBlockDevice
and makes it as part of the SFDP module.
2020-03-02 11:02:09 +02:00
Dustin Crossman
2f97c2d747
Add check so that FlashIAP does not allocate memory on flash_init failure.
2020-02-28 09:58:25 -08:00
Martin Kojtal
1f36b1cf09
Merge pull request #12450 from VeijoPesonen/sfdp_split_bptbl_2
...
SFDP: consolidation of SFDP parsing [3/n]
2020-02-27 17:08:14 +00:00
Martin Kojtal
10842f7a57
Merge pull request #12500 from rajkan01/ethernet_remove_deprecate
...
Remove the deprecated ethernet APIs
2020-02-27 08:46:42 +00:00
Veijo Pesonen
c953b656ac
SFDP: provides doxygen documentation improvements
2020-02-26 13:44:34 +02:00
Martin Kojtal
5969fdf8ef
Merge pull request #12501 from rajkan01/intmgr_remove_deprecated
...
Remove the deprecated the InterruptManager APIs
2020-02-26 10:49:54 +00:00
Veijo Pesonen
ca704a4b3d
SFDP: consolidates erase region search
...
Merges erase region search found from SPIFBlockDevice and
QSPIFBlockDevice. Moves the implementation within the SFDP
component
2020-02-26 12:41:34 +02:00
Paul Szczepanek
fdf1c33a1f
allow reconfiguring a running watchdog
2020-02-25 16:12:50 +00:00
Martin Kojtal
32f615e420
Merge pull request #12495 from kjbracey-arm/override_serial
...
C++11-ify virtualisation in FileHandle + Serials
2020-02-25 16:00:43 +00:00
Martin Kojtal
1c12083949
Merge pull request #12426 from VeijoPesonen/sfdp_split_bptbl
...
SFDP: consolidation of SFDP parsing [2/n]
2020-02-25 13:57:23 +00:00
Rajkumar Kanagaraj
6eb36f3a8e
Remove the deprecated the InterruptManager APIs
2020-02-24 05:32:44 -08:00
Rajkumar Kanagaraj
c4a54e38cb
The `Ethernet` APIs are no longer supported, so removed header and cpp files and its dependency.
2020-02-24 05:23:21 -08:00
Kevin Bracey
c39959ca8b
C++11-ify virtualisation in FileHandle + Serials
...
Use `override` and `final` where appropriate, and eliminate unnecessary
`virtual`.
2020-02-24 10:37:17 +02:00
Anna Bridge
8c17270306
Merge pull request #12480 from 0xc0170/fix_spdx
...
Fix SPDX identifiers and licenses (excluding features and targets)
2020-02-21 16:34:30 +00:00
Martin Kojtal
f1887e875f
drivers: fix SDPX identifiers
2020-02-21 07:00:56 +00:00
Veijo Pesonen
de22648e76
SFDP: refactoring traces and defines
2020-02-20 09:46:41 +02:00
Veijo Pesonen
107f003af6
SFDP: sanitizes API
2020-02-20 09:46:41 +02:00
Veijo Pesonen
6a60574cf5
SFDP: consolidates sfdp_detect_erase_types_inst_and_size
2020-02-20 09:46:40 +02:00
Veijo Pesonen
7d1886ecae
SFDP: consolidation of sfdp_detect_page_size
2020-02-20 09:46:40 +02:00
Veijo Pesonen
ba71b09902
astyle fixes
2020-02-07 09:52:12 +02:00
Veijo Pesonen
4f4ef6069e
SFDP: Sector Map Parameter Table naming improvements
2020-02-07 09:52:12 +02:00
Veijo Pesonen
83c0fdf19f
QSPIFBlockDevice: Sector Map Table parsing moved under SFDP
2020-02-07 09:52:11 +02:00
Veijo Pesonen
7518a35da3
SFDP: data structures got refactored
2020-02-07 09:52:11 +02:00
Veijo Pesonen
6108f384fb
QSPIFBlockDevice: Consolidates SFDP info data
...
This far all SFDP Sector Map Table related data has been found in small
pieces inside QSPIFBlockDevice. Purpose was to consolidate the data
under one SFDP structure where all the information gathered from
SFDP tables is stored.
Parsing a Sector Map Table was made more generic so that later it can be
moved under SFDP module. Once that is done it can be shared with
SPIFBlockDevice to avoid code duplication.
2020-02-07 09:52:11 +02:00
Veijo Pesonen
4e1fb07633
SFDP: reorganizes internal info structure
2020-02-07 09:52:11 +02:00
Martin Kojtal
952799ccc8
Merge pull request #12270 from VeijoPesonen/bugfix_sfdp_parse_sfdp_headers
...
BUGFIX: SFDP Sector Map Table Parameter ID LSB is 0x81
2020-02-06 08:48:16 +00:00
Veijo Pesonen
399aabad2e
USBMSD: Fixes compiler warnings
2020-01-31 10:37:18 +02:00
Veijo Pesonen
2d9cde9493
SFDP: fix mbed-os-example-blinky-baremetal build
...
Including mbed_trace.h file only doesn't work - the path is also
required.
2020-01-24 13:39:23 +02:00
Anna Bridge
cb53825874
Merge pull request #12282 from mprse/fix_for_issue_12268
...
Fix for issue #12268 (SerialBase.cpp: fix initialization list)
2020-01-23 11:48:58 +00:00
Anna Bridge
80fe861f1d
Merge pull request #12035 from kjbracey-arm/callback_prep
...
Preparation for Callback changes
2020-01-21 11:50:43 +00:00
Veijo Pesonen
6bd3933652
Q/SPIFBlockDevice: Separates SFDP Header retrieval
...
Separates SFDP header retrieval and moves it as a part of the earlier
introduced SFDP file.
Purpose is to abstract away differences between SPIF and QSPIF devices
when it comes to fetching the SFDP headers from a device.
2020-01-20 16:36:21 +02:00
Veijo Pesonen
aa599412e6
SFDP: replaces statix fx with usage of anon namespace
2020-01-20 12:59:22 +02:00
Przemyslaw Stekiel
f4af0516f4
SerialBase.cpp: fix compiler warnings by updating the initialization list
2020-01-20 11:03:51 +01:00
Veijo Pesonen
cefae9020e
SFDP: splits header parsing to its own file
...
SFDP logic is the same between SPIF and QSIP.
2020-01-17 14:43:03 +02:00
Martin Kojtal
18c941cc84
Merge pull request #12207 from hugueskamba/hk-add-buffered_serial
...
Add BufferedSerial class to replace UARTSerial
2020-01-16 10:06:22 +00:00
Hugues Kamba
18f677e91c
Implement the BufferedSerial class to replace UARTSerial
...
`BufferedSerial` is `UARTSerial` renamed to convey the original purpose
of the class.
2020-01-13 13:20:57 +00:00
Kevin Bracey
8b02c4ed1c
Add missing <string.h> includes
2020-01-09 14:52:54 +02:00
Kevin Bracey
d6a48b5124
Turn NULLs into nullptr
...
Avoids overload problems with Callback(nullptr) versus Callback(fnptr).
2020-01-09 14:52:54 +02:00
cyliangtw
dc55d741c0
Adjust _rx_in_progress=true in USBCDC.cpp for USB DMA auto-receive chip
2020-01-03 20:40:39 +08:00
Anna Bridge
fb8bbb83e4
Merge pull request #11997 from kjbracey-arm/rm_fp
...
Remove deprecated FunctionPointer class
2019-12-19 16:32:46 +00:00
Anna Bridge
d128ff4882
Merge pull request #11961 from hugueskamba/hk-add-unbuffered-serial-class
...
UnbufferedSerial: Introduce the class to replace RawSerial
2019-12-13 15:54:40 +00:00
Hugues Kamba
7b845409a0
UnbufferedSerial: Introduce the class to replace RawSerial
...
* Deprecate RawSerial.
* Introduce UnbufferedSerial to provide unbuffered I/O by implementing
with a FileHandle interface for I/O streams.
* Add Greentea test for the UnbufferedSerial class.
2019-12-12 08:44:09 +00:00
Przemyslaw Stekiel
b6c25b1421
Remove serial flow control functions from image if flow control is not used
2019-12-09 08:28:14 +01:00
Przemyslaw Stekiel
160342b2d0
static pin-map - patch for SerialBase class
...
Related PR:
https://github.com/ARMmbed/mbed-os/pull/10924
The above PR adds functions to disable/enable serial input/output. If both serial input and serial output are disabled, the peripheral is freed. If either serial input or serial output is re-enabled, the peripheral is reinitialized.
I missed this change while working on the static pinmap and unfortunately it has an impact on it. The reinitialization is a problem for static pinmap. Now the HAL init()/init_direct() function is called not only in the constructor (but also when re-enabling the peripheral). In the current version, even if static pinmap constructor was used to create an object (and init_direct() HAL API), when reinitialization is done it uses init() HAL API. This must be split.
If static pinmap constructor is used, then the peripheral must be always initialized using HAL init_direct() function. If regular the constructor is used, then the peripheral must be initialized using HAL init() function. The same split also must be done while setting flow control during reinitialization.
2019-12-09 08:28:13 +01:00
Kevin Bracey
60e07ef8d6
Remove deprecated FunctionPointer class
2019-12-02 15:53:47 +02:00