Commit Graph

192 Commits (ce1929b5df3d0cbb2e83947df8f6c9cbd13b4092)

Author SHA1 Message Date
Veijo Pesonen 934472be1d esp8266 driver - don't set UART flow control if no support 2018-11-09 16:03:41 +02:00
Veijo Pesonen 8dd6a5d039 Add ESP8266 driver v1.7 2018-11-09 14:49:48 +02:00
Cruz Monrreal 72253b7b06
Merge pull request #8573 from deepikabhavnani/flag_Crc
Compile time config flag MBED_CONF_SD_CRC_ENABLED for CRC in SD
2018-11-08 19:49:03 -06:00
Cruz Monrreal 3046e31349
Merge pull request #8589 from davidsaada/david_flash_erase_value
Support erase value in Flash HAL drivers, FlashIAP and block devices
2018-11-08 10:06:58 -06:00
Cruz Monrreal 760b0740a9
Merge pull request #8602 from artokin/sync_rf_drivers
Sync 802.15.4 RF drivers
2018-11-08 10:06:27 -06:00
Martin Kojtal 14eadfac44
Merge pull request #8653 from u-blox/r410m_sdcard
mbed_lib.json updated for other all C030 targets and code corrected t…
2018-11-08 14:54:58 +01:00
David Saada 542744d03c Support erase value in Flash HAL drivers, FlashIAP and block devices 2018-11-07 14:23:07 +02:00
Cruz Monrreal II fd744e79d9 Merge branch 'sdblockdevice_deselect' of ssh://github.com/jarlamsa/mbed-os into rollup 2018-11-06 21:29:09 -06:00
Cruz Monrreal 6042ea30d3
Merge pull request #8639 from offirko/offir-mbed-qspif3
Add get_erase_value() support
2018-11-06 14:44:25 -06:00
deepikabhavnani e7bdf3c575 Corrected `INIT_FREQUENCY` macro SD is appended by tools 2018-11-06 10:53:49 -06:00
deepikabhavnani a0f3fdc286 Compile time flag MBED_SD_CRC_ENABLE for CRC in SD
CRC class adds to the ROM size even when disabled runtime, because
of addition of ROM tables. Addition a compile time option to disable
CRC is required for reducing code size of SD driver component.

Library config option `SD_CRC_ENABLED` is added, set it to 0 to
disable CRC feature in SD.
2018-11-06 10:53:39 -06:00
Arto Kinnunen d5df64299a Sync with MCR20a RF driver v1.0.3 2018-11-06 16:51:35 +02:00
Arto Kinnunen c0647267cc Sync with Atmel RF driver v3.0.6 2018-11-06 16:45:09 +02:00
Fahim Alavi 2806dd8216 mbed_lib.json updated for other all C030 targets and code corrected to use UBLOX_AT 2018-11-06 17:58:41 +05:00
Martin Kojtal 73cc54e5f7
Merge pull request #8524 from korjaa/more_blockdevice_tests
Add more generic BlockDevice tests.
2018-11-05 17:15:59 +01:00
Jarno Lamsa 36f1fa06d6 Remove extra _deselect to prevent possible hard fault
If read timeout happens, the _deselect will get called twice causing
a hard fault happening when mutex is released without being locked.
The SDBlockDevice::read is calling the _deselect in every case.
2018-11-05 16:08:48 +02:00
Offir Kochalsky 2df7258710 Add get_erase_value() support 2018-11-05 12:47:18 +02:00
Cruz Monrreal 430fb3e7ba
Merge pull request #8601 from kjbracey-arm/error_fmtcheck
Add format checking to printf-type APIs
2018-11-01 16:09:05 -05:00
Jaakko Korhonen 0d04f03882 Added missing mutex to DataFlash for thread safety. 2018-11-01 14:51:07 +02:00
Christopher Haster 761405592b Added mutex to DataFlash for thread safety 2018-11-01 14:51:07 +02:00
Cruz Monrreal 8d014bcce6
Merge pull request #8585 from JarkkoPaso/IOTTHD-2884
Phy drivers: Added S2-LP driver
2018-10-31 20:41:24 -05:00
Arto Kinnunen 135a894b07 Sync with MCR20a RF driver v1.0.2 2018-10-31 16:12:03 +02:00
Arto Kinnunen a215d9d856 Sync with Atmel RF driver v3.0.5 2018-10-31 16:01:16 +02:00
Jarkko Paso 425e7a96e6 S2-LP: Needs Nanostack configuration and device SPI 2018-10-31 15:14:08 +02:00
Kevin Bracey f4708bbb36 Fix up types in SDBlockDevice
Correct types passed to debug() calls - as part of this, block size and
erase size are changed to be 32-bit - using 64-bit variables for these
will cause unnecessary code bloat.

Many uses of bd_size_t in the BlockDevice API should really be uint32_t
or size_t, but that would be a bigger API change.
2018-10-31 14:49:22 +02:00
Jarkko Paso 0f08b35510 S2-LP: Renamed GPIO to RF_S2LP_GPIO as it had conflict with some platforms 2018-10-31 10:26:05 +02:00
Jarkko Paso 2cb017bf47 S2-LP: Removed license files 2018-10-31 09:23:34 +02:00
Cruz Monrreal fba0669194
Merge pull request #8563 from marcuschangarm/default_qspif
Add QSPIF block device to default system storage
2018-10-30 22:32:01 -05:00
Jarkko Paso 3916c0ba5e S2-LP: astyle run done 2018-10-30 15:52:51 +02:00
Cruz Monrreal 9226c5873d
Merge pull request #8550 from deepikabhavnani/mbed_h_fixes
Add required namespace instead of relying on mbed.h
2018-10-30 08:47:04 -05:00
Jarkko Paso ef1e121937 Phy drivers: Added S2-LP driver 2018-10-30 13:51:24 +02:00
Cruz Monrreal d23d7855fc
Merge pull request #8552 from cmonr/rollup
Rollup PR: UK Docathon pt2
2018-10-27 08:27:02 -05:00
Marcus Chang 063a7842ba Add QSPIF block device to default system storage 2018-10-26 13:00:38 -07:00
Cruz Monrreal II e8728148ac Merge branch 'docs-fix-networkiface' of ssh://github.com/paul-szczepanek-arm/mbed-os into rollup 2018-10-26 11:48:45 -05:00
Martin Kojtal 93a17c1d65
Merge pull request #7979 from yossi2le/fix_spif_sd_config
Using SPI_ macros from PinNames in SPIF and SD config files.
2018-10-26 09:35:29 +01:00
deepikabhavnani 451cf7ccb3 Add required namespace instead of relying on mbed.h
mbed.h has 'using namespace mbed;', hence some of the files skip
adding required namespace to the code, it is always good to specify the
namespace around the elements in header and `using namespace` in
specific CPP files, instead of all
2018-10-25 12:43:59 -05:00
Yossi Levy d9a84c42cf Remove SPI_PERSISTENT_MEM_CS macro and replace it with SPI_CS 2018-10-25 12:10:48 +03:00
Yossi Levy eddd2b1c68 Using the SPI_ macros which was added to PinNames.h in PR #7774 to the config files 2018-10-25 11:56:38 +03:00
Martin Kojtal 53f1397522 storage component: update astyle 2018-10-25 09:51:09 +01:00
paul-szczepanek-arm 4f2645b3fc incorrect doc was copy pasted
replaced with copydoc instead
2018-10-24 20:57:25 +01: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
Offir Kochalsky 5cebe43dfc mbed namespace removed add mbed indicator to QSPI 2018-10-21 11:50:17 +03:00
Offir Kochalsky 7d05fcb788 remove mbed namespace from h file and update test 2018-10-21 10:29:03 +03:00
Offir Kochalsky 638951aa86 Merge remote-tracking branch 'upstream/master' into offir-mbed-qspif 2018-10-21 08:51:49 +03:00
jeromecoutant 7bfa6bdcaf Component SD test: skip multiple thread test depending on RAM 2018-10-19 17:09:31 +02:00
Cruz Monrreal 515db95061
Merge pull request #8349 from offirko/offir-mbed-reduced-spif
A Reduced SPIF Block Device for Boot Loader
2018-10-17 20:19:26 -05:00
Offir Kochalsky 908233a177 Changes per Pull Request review 3 2018-10-17 14:42:21 +03:00
Offir Kochalsky 23bc67dfdc Fix DISCO_L475VG_IOT01A name at json 2018-10-17 11:16:57 +03:00
Deepika 9db31d299b Resolve build issues in test
mbed.h was added in test, via greentea and utest header files. 'mbed.h' is removed
from header files and required header file and namespace is added to CPP/C files
2018-10-16 11:50:16 -05:00
Offir Kochalsky ef40d6d1ee json formatted and include remarks removed 2018-10-16 10:47:21 +03:00
Offir Kochalsky 020685c473 Added error logging at set QPI 2018-10-16 10:15:36 +03: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
Yossi Levy 196fbe5c68 Fixing unicode error in IAR compilation 2018-10-14 12:13:53 +03:00
Offir Kochalsky 9b3bca89fd Enable first fast mode then quad for chips with low power default 2018-10-14 08:54:09 +03:00
Kevin Bracey 1ef213ec89 Clean up Thread deprecation warnings
Static Thread methods and signal methods have been deprecated. Remove
all references in the main code, and most of the tests. Some tests of
the deprecated APIs themselves remain.
2018-10-12 14:57:13 +03:00
Cruz Monrreal 0aed6bb43f
Merge pull request #8256 from yossi2le/fix_warnings_in_blockdevices
Fix warnings in block devices
2018-10-11 10:10:55 -05:00
Yossi Levy b84f377b73 Removing nvstore. adding back the option for configuration as in the external repo 2018-10-10 17:15:46 +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
Martin Kojtal 06dffda530
Merge pull request #8327 from SeppoTakalo/i2c_guard
Guard Atmel RF driver build by DEVICE_I2C
2018-10-09 11:37:43 -05:00
Martin Kojtal 7491482a6c
Merge pull request #8243 from jarlamsa/interrupt_disable
mcr20a use core_util_critical_section functions
2018-10-09 10:34:09 -05:00
Offir Kochalsky a60552c07d Return to 1-1-1 mode prior to setting QUAD enable 2018-10-09 15:17:52 +03:00
Offir Kochalsky a30abf48b0 Merge remote-tracking branch 'upstream/master' into offir-mbed-qspif 2018-10-09 14:21:03 +03:00
Offir Kochalsky 665e089350 Reduced SPIF Block Device for Boot Loader 2018-10-09 10:53:03 +03:00
Cruz Monrreal fd4f47d18f
Merge pull request #8109 from deepikabhavnani/i2c_recovery
Add reset recovery for I2C bus
2018-10-08 10:27:04 -05:00
Seppo Takalo f16a99cf15 Guard Atmel RF driver build by DEVICE_I2C
This module uses AT24MAC chip which is in I2C bus, so it requires
device to support I2C
2018-10-08 11:17:06 +03:00
Martin Kojtal 6f338f8915
Merge pull request #8006 from deepikabhavnani/sd_driver_cleanup
SD - Add required header file and namespace element instead add all
2018-10-01 13:02:39 +02:00
Yossi Levy dd065e3be1 Fix warnings in block devices 2018-09-26 14:35:48 +03:00
Jarno Lamsa 83a85d7830 mcr20a use core_util_critical_section functions 2018-09-25 16:29:24 +03:00
Cruz Monrreal 6fca23ece1
Merge pull request #7955 from yossi2le/add_frequency_to_dataflash_conig
Add SPI_FREQ parameter to DATAFLASH block device configuration
2018-09-24 10:45:34 -05:00
deepikabhavnani a30da7e61e I2CReset is not required as I2C driver does the recovery before init 2018-09-12 16:37:32 -05:00
Deepika 4de8eda249 Add required header file and namespace element instead add all 2018-09-05 11:41:25 -05:00
Deepika 80a10cd134 Version check not needed as driver in part of mbed-os 2018-09-05 11:33:42 -05:00
Martin Kojtal eb3cbb88b3
Merge pull request #7967 from juhaylinen/fix-esp8266-default-interface
ESP8266: Fix compilation error when default interface is enabled
2018-09-04 08:19:41 +02:00
Juha Ylinen 273f7c6fd6 ESP8266: Fix compilation error when default interface is enabled
Compile [  1.3%]: ESP8266Interface.cpp
[Error] ESP8266Interface.cpp@582,33: cannot declare static function inside another function
[Error] ESP8266Interface.cpp@583,13: cannot convert 'ESP8266Interface (*)()' to 'WiFiInterface*' in return
Failed to build library
2018-09-03 12:56:26 +03:00
Yossi Levy 47aea6b719 Adding the configuration parameter as default value in the constructor. 2018-09-02 17:48:46 +03:00
Offir Kochalsky df36f0e757 Fixed PR review remarks 2018-09-02 11:02:17 +03:00
Offir Kochalsky b71db496ba Prevent sector-unaligned erase 2018-09-02 09:12:55 +03:00
Seppo Takalo d39c5c58ae RF drivers need DEVICE_SPI 2018-09-01 12:40:42 -05:00
Seppo Takalo ab78c34345 Add dummy delay loop for ARMC6
This needs proper implementation later.
2018-09-01 12:37:46 -05:00
Seppo Takalo 50376154b4 Fix AT24MAC driver builds on targets that device SDA/SCL names
Some targets have SDA and SCL defined in public headers, breaking the
build of AT24MAC driver.
2018-09-01 12:37:46 -05:00
Seppo Takalo f81b728575 Remove unneeded .gitignore files 2018-09-01 12:37:46 -05:00
Seppo Takalo fc5bf5986b Add ESP8266 driver v1.6 2018-09-01 12:36:28 -05:00
Seppo Takalo b5240db10d Add MCR20A RF driver v1.0.1 2018-09-01 12:36:27 -05:00
Seppo Takalo d02097f97c Add Atmel RF driver v3.0.4 2018-09-01 12:36:27 -05:00
Yossi Levy ed8e170d15 Moving SD, SPIF and FLASHIAP into mbedos and refactoring features storage directory structure. 2018-08-29 12:01:11 +03:00
Yossi Levy 881929eef7 Add 'components/storage/blockdevice/COMPONENT_FLASHIAP/' from commit '8f1ac821f1c411986b8533cbf4878ea9b3fe5efb'
git-subtree-dir: components/storage/blockdevice/COMPONENT_FLASHIAP
git-subtree-mainline: 9a0844a84f
git-subtree-split: 8f1ac821f1
2018-08-29 11:48:04 +03:00
Yossi Levy 9a0844a84f Add 'components/storage/blockdevice/COMPONENT_DATAFLASH/' from commit 'baabb520973d3e8aa8c4c1dc0af12ed1585200cd'
git-subtree-dir: components/storage/blockdevice/COMPONENT_DATAFLASH
git-subtree-mainline: 5294ef72b7
git-subtree-split: baabb52097
2018-08-29 11:47:56 +03:00
Yossi Levy 5294ef72b7 Add 'components/storage/blockdevice/COMPONENT_SPIF/' from commit '622382ae8fab0c18d3a3576bbce9c3b448459282'
git-subtree-dir: components/storage/blockdevice/COMPONENT_SPIF
git-subtree-mainline: 90866170ea
git-subtree-split: 622382ae8f
2018-08-29 11:47:21 +03:00
Yossi Levy 90866170ea Add 'components/storage/blockdevice/COMPONENT_SD/' from commit 'd791229918b261ae8a5ea0cbc5cac1238d65179b'
git-subtree-dir: components/storage/blockdevice/COMPONENT_SD
git-subtree-mainline: 2e081dc7d0
git-subtree-split: d791229918
2018-08-29 11:47:01 +03:00
Offir Kochalsky 794d150a4a fix unaligned address erase problem 2018-08-28 14:20:07 +03:00
Offir Kochalsky 9d936e10af Added class example documentation 2018-08-27 17:12:21 +03:00
Offir Kochalsky 9920e63d98 Initial QSPIF delivery to mbed-os 2018-08-27 13:02:17 +03:00