Seppo Takalo
21987dbefa
Remove commented-out code
2019-11-04 16:13:33 +02:00
Seppo Takalo
ccb77384f1
Remove linefeeds from debug prints
2019-11-04 16:13:33 +02:00
Seppo Takalo
168b51c415
Add storage related files to baseline unittest.
...
* Refactor some headers to use relative path from Mbed OS root.
* Refactor some data types to compile on 64bit machines.
* Refactor some debug traces to use mbed_trace.
2019-11-04 16:12:36 +02:00
Martin Kojtal
fe12608226
Merge pull request #11444 from jeromecoutant/PR_QSPI_EXTERNAL
...
QSPI : Define default pins at drivers level
2019-10-21 15:19:08 +02:00
Martin Kojtal
7ba151af99
Merge pull request #11603 from kyle-cypress/pr/qspi-bd-format-error
...
Report errors returned by _qspi_configure_format
2019-10-18 16:05:49 +02:00
Martin Kojtal
b6266b5c01
Merge pull request #11604 from kyle-cypress/pr/qspi-inst-type
...
Introduce qspi_inst_t type for QSPI instructions
2019-10-18 15:46:03 +02:00
toyowata
5389536953
Add bootloader support for Seeed Arch-MAX
2019-10-17 10:05:03 +09:00
Kyle Kearney
52332f9437
QSPIFBlockDevice: Fix incomplete propagation of qspi_inst_t
2019-10-16 15:31:12 -07:00
Martin Kojtal
fa6e01a69f
QSPIFBlockDevice: fix type on the namespace mbed
2019-10-16 15:31:12 -07:00
Matthew Macovsky
b1916fc498
Introduce qspi_inst_t type for QSPI instructions
...
Encourage the usage of consistent types (there are currently
a mix of `int` and `unsigned int` used for qspi instructions)
QSPI commands are limited to 8 bits, to this is a typdef to char
2019-10-16 15:31:11 -07:00
Martin Kojtal
58fe0ba7b0
Merge pull request #11636 from maciejbocianski/fix_EFM32GG11_STK3701_qspi_block_device_config
...
EFM32GG11_STK3701: add QSPIF component config
2019-10-16 19:12:59 +08:00
jeromecoutant
f117d3518d
QSPIF frequency setting depends on QSPI memory not target.
...
This makes new board with the same QSPI memory addition.
2019-10-15 17:36:50 +02:00
jeromecoutant
03837a75b7
QSPIF component should use defined QSPI pins
2019-10-15 17:36:49 +02:00
Kyle Kearney
52cb2c2cfc
Avoid stale mutex in QSPIFBlockDevice::read
...
Update to follow the same `goto exit_point` pattern that is used
by the rest of the functions to avoid leaving the mutex locked
when errors are detected and require the function to abort.
2019-10-14 13:59:47 -07:00
Kyle Kearney
3f20b80859
Reuse existing error for _qspi_configure_format
...
Use QSPIF_BD_ERROR_DEVICE_ERROR instead of introducing a new error code.
Add tr_error calls whenever _qspi_configure_format fails to aid in debugging.
2019-10-11 14:28:25 -07:00
Kyle Kearney
726a73c048
Report errors returned by _qspi_configure_format
...
The function returns a qspi_status_t but most usages in QSPIFBlockDevice
assume that it always succeeds.
2019-10-11 14:28:13 -07:00
Anna Bridge
489c30f569
Merge pull request #11297 from kyle-cypress/pr/qspi-dummy-cycles
...
Differentiate alt and dummy cycles in QSPIF
2019-10-11 14:34:17 +01:00
Anna Bridge
7fb52d9300
Merge pull request #11567 from kyle-cypress/pr-dev/simplify-qspi-params
...
Simplicy QSPIF target overrides for PSoC6
2019-10-11 12:22:09 +01:00
Maciej Bocianski
f6b9d26f4d
EFM32GG11_STK3701: add QSPIF component config
2019-10-04 16:37:12 +02:00
Matthew Macovsky
6bba46e48f
Differentiate alt and dummy cycles in QSPIF
...
Propagate separate alt cycle and dummy cycle counts from QSPIFBlockDevice
down to the qspi driver, so that drivers which handle the two separately have
enough information to do so.
2019-09-30 16:17:49 -07:00
Matthew Macovsky
baf375f8cb
Allow for arbitrary QSPI alt sizes
...
The QSPI spec allows alt to be any size that is a multiple of the
number of data lines. For example, Micron's N25Q128A uses only a
single alt cycle for all read modes (1, 2, or 4 bits depending on
how many data lines are in use).
2019-09-30 14:45:08 -07:00
Ben Cooke
dd778c4126
Add MTS_DRAGONFLY_F413RH platform to mbed-os
2019-09-30 13:50:40 -05:00
Kyle Kearney
ea7f6683e4
Simplicy QSPIF target overrides for PSoC6
...
All current PSoC 6 targets support the same QSPI frequency and minimum
program size. So specify a single entry rather than duplicating for
each device.
2019-09-25 14:53:54 -07:00
Veijo Pesonen
6e26b74fdb
Adds missing include required by fixed-width format specifiers
2019-09-05 13:20:11 +03:00
Martin Kojtal
c74d67ed52
Merge pull request #10711 from geky/add-i2cee-driver
...
Add i2cee-driver to components
2019-08-30 17:04:01 +02:00
Kyle Kearney
1facc76d22
Specify QSPI frequency for more Cypress targets
...
Provide values for CY8CKIT_062S2_43012 and CYW943012P6EVB_01
2019-08-28 17:56:27 -07:00
Michal Paszta
5a9183c549
storage: fix potential memory corruption and check return values
2019-08-21 09:26:35 +03:00
Martin Kojtal
101ae73b87
Merge pull request #11063 from linlingao/f_cc3220sf_launchxl
...
Add CC3220SF_Launchxl to Mbed OS
2019-08-19 12:08:11 +02:00
Pavel Slama
4974c86b54
astyle fix bracket
2019-08-13 21:48:18 +02:00
Pavel Slama
7b0a8f23a2
atyle format
2019-08-13 21:42:10 +02:00
Michal Paszta
73b122b2c4
Coverity and compilation warnings fixes
2019-08-07 10:30:52 +03:00
Pavel Slama
7ff5a45a24
replace wait with rtos sleep
2019-08-06 15:57:16 +02:00
Michal Paszta
1fe59b70e3
Bring back SPIF module-specific debug logs
...
The logs are switched off by default and can be enabled with a
module-specific compile switch in mbed_app.json.
Logs brought back from PR #10501
2019-08-06 10:53:36 +03:00
int_szyk
ae6f8be146
Newline at the end of files
2019-08-01 08:44:58 +02:00
int_szyk
8b68a1ea58
Updated testcases
2019-07-31 10:46:38 +02:00
Lin Gao
e74fbcd79e
Add CC3220SF_Launchxl to Mbed OS
2019-07-17 13:19:32 -05:00
Kevin Bracey
a522dcfa0a
Replace deprecated wait calls
2019-07-15 10:13:50 +03:00
Kevin Bracey
fc8e8f67c6
Deprecate wait/wait_ms APIs
2019-07-15 10:13:50 +03:00
Martin Kojtal
149d53cc89
Merge pull request #10619 from jamesbeyond/fm-iap
...
Fastmodel: enable flashIAP and kvstore
2019-07-02 14:23:00 +01:00
Anna Bridge
61881e81fd
Merge pull request #10756 from martinichka/feature-correct-trace-level-storage-spif
...
Cleaned up trace log SPIF Block Device
2019-06-19 12:29:39 +01:00
Christopher Haster
b0d36ebfc1
Remove mbed.h includes from I2CEEBlockDevice
2019-06-13 11:33:14 -05:00
Marten Lootsma
8a328ddc86
Changed to one more info to debug
2019-06-08 08:17:56 +02:00
Marten Lootsma
e0ad71554b
Fixed astyle error and removed duplicated comment
2019-06-08 07:32:10 +02:00
Qinghao Shi
7a1aafaf40
FastModel: change FVP_MPS2_M3 to FVP_MPS2 enable the MPS2 Family
2019-06-06 18:54:58 +01:00
Qinghao Shi
2e4329192e
FastModel: enable FLASHIAP componment
2019-06-06 18:52:30 +01:00
Marten Lootsma
aed0d054d7
Added support for SPIF of size bigger than 16Mbyte
...
- checks if size is bigger than 16Mbyte
- changes to 4 byte address mode of neccessary
2019-06-06 16:01:40 +02:00
Marten Lootsma
ed36cc4e06
Add trace logging with size of block device
2019-06-04 16:03:56 +02:00
Marten Lootsma
5484f585a6
Cleaned up SPIF trace log.
...
- Test most SPIF log to DEBUG level.
- Removed DEBUG/ERROR/INFO tags.
- Removed not needed line endings.
2019-06-04 16:03:56 +02:00
Martin Kojtal
4f6035e6b1
Merge pull request #10501 from davidsaada/david_spif_driver_unlog
...
Remove excessive info and debug prints in SPIF driver
2019-06-03 08:33:19 +01:00
Christopher Haster
51dd44337b
Add 'components/storage/blockdevice/COMPONENT_I2CEE/' from commit 'd92806c11e0e05280c08db0b3ed6459b2d8dea2c'
...
git-subtree-dir: components/storage/blockdevice/COMPONENT_I2CEE
git-subtree-mainline: 9cc1caa031
git-subtree-split: d92806c11e
2019-05-29 19:34:16 -05:00