Deepika
5f57b89c10
Resolved: [Error] main.cpp@115,34: [Pe266]: "size" is ambiguous
...
`size` is part of std library since c++17, and results in build
errors for IAR 8.x.
https://en.cppreference.com/w/cpp/iterator/size
2018-12-21 14:29:06 -06:00
Deepika
a356db19aa
Resolved warning: variable declared but never referenced
2018-12-21 13:34:00 -06:00
Deepika
7b5fe2d8ba
Resolve string literal error
...
Space needed between 2 string literals
[Error] fopen.cpp@204,97: [Pe2486]: user-defined literal operator not found
2018-12-21 13:28:23 -06:00
Martin Kojtal
cc2e15c84e
Merge pull request #9158 from davidsaada/david_lto_dup_types
...
Fix LTO build failures due to duplicate local types
2018-12-20 16:30:16 +00:00
Alastair D'Silva
2617c5d55b
Don't use define checks on DEVICE_FOO macros (mbed code)
...
The DEVICE_FOO macros are always defined (either 0 or 1).
This patch replaces any instances of a define check on a DEVICE_FOO
macro with value test instead.
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2018-12-20 10:16:42 +11:00
David Saada
ec0ebc2cec
Fix LTO build failures due to duplicate local types
2018-12-19 15:52:43 +02:00
Cruz Monrreal II
9b9b81e9a4
Merge branch 'esp8266_link_type_fix' of ssh://github.com/c1728p9/mbed-os
2018-12-18 13:23:44 -06:00
Cruz Monrreal
ce1929b5df
Merge pull request #9045 from fredlee12001/patch-1
...
Fix wrong PIN config for RTL8195AM platform
2018-12-18 10:32:59 -06:00
Russ Butler
6210805696
Fix ESP8266 "Link Type" errors after reset
...
As part of the ESP8266 connect sequence, ESP8266Interface::connect,
a software reset is performed. If the ESP8266 had been connected
previously then the ESP8266 will sometimes send a "WIFI DISCONNECT" OOB
message before performing the software reset. This causes the
ESP8266::_oob_connection_status to change its state (_conn_status) from
NSAPI_STATUS_DISCONNECTED to NSAPI_STATUS_CONNECTING. This causes
ESP8266Interface::_startup, called later in the boot seqeunce, to skip
ESP8266::startup. Without this call socket mux mode (CIPMUX=1) is never
enabled and all send commands using this format fail with a "Link Type"
error.
This patch fixes that problem by unconditionally calling
ESP8266::startup as part of the ESP8266 connect sequence.
2018-12-17 10:11:52 -06:00
Cruz Monrreal
64e7e468b2
Merge pull request #9089 from jeromecoutant/DEV_QSPI_TEST
...
STM32 QSPI update
2018-12-14 10:14:13 -06:00
Cruz Monrreal
5e42fc0e74
Merge pull request #9057 from offirko/offir_qspif_prefer_144_mode
...
Prefer QSPI Bus mode 1-4-4 as highest priority for QSPIFBlockDevice
2018-12-13 18:15:04 -06:00
jeromecoutant
fc548cdc05
STM32 QSPIF: add DISCO_L496AG, DISCO_F746NG and DISCO_F769NI
2018-12-13 10:56:36 +01:00
offirko
b79c64ec53
Favor QSPI Bus mode 1-4-4 over QPI
...
QPI may have slightly better performance, but it is not supported by all targets.
It requires register setup between each Read and Program/Erase commands,
which might damage the overall performance eventually.
2018-12-12 10:54:48 +02:00
Michal Paszta
d6e385b330
ESP8266 send returns WOULD_BLOCK error when busy
2018-12-11 17:48:37 +01:00
Veijo Pesonen
e4de165a32
[ESP8266] Fixes namespace collision
2018-12-11 09:49:23 +02:00
Veijo Pesonen
02aeab29d3
[ESP8266] powers down the modem on disconnect
2018-12-11 09:49:23 +02:00
Veijo Pesonen
8415e49835
Fixes connect, and network-status logic
2018-12-11 09:49:23 +02:00
Veijo Pesonen
12fa3e59bb
Fixes AT command timeout values from reset&connect
2018-12-11 09:49:23 +02:00
Veijo Pesonen
9857ee1c17
[ESP8266] Adds support for controlling HW reset of the modem from the driver
...
While connecting will run HW reset for the modem if reset wire is attached to a know pin.
2018-12-11 09:49:23 +02:00
Fred.Li
fb1e4de3ba
Fix wrong PIN config for RTL8195AM platform
...
Merge from https://github.com/ARMmbed/sd-driver/pull/110
2018-12-11 14:37:09 +08:00
Cruz Monrreal
61ade84447
Merge pull request #8875 from deepikabhavnani/fix_components
...
Add dependency checks to components
2018-12-10 19:20:30 -06:00
Martin Kojtal
8301325481
Merge pull request #8935 from kfnta/crypto_partition_fix
...
Fix PSA crypto partition and tests
2018-12-06 11:34:45 +01:00
Martin Kojtal
be817bab44
Merge pull request #8853 from VeijoPesonen/feature-esp8266_reconnect2
...
Reports NSAPI_STATUS_CONNECTING when trying to reconnect
2018-12-05 10:37:17 +01:00
Cruz Monrreal
b03a8a37bb
Merge pull request #8947 from SeppoTakalo/patch-1
...
ONME-4007: Fix mbed_lib link from ESP8266 Readme.md
2018-12-04 12:23:16 -06:00
Cruz Monrreal
0b1b8e0cc3
Merge pull request #8908 from kfnta/alzix_fix_its
...
Fix PSA internal storage configuration
2018-12-04 11:51:04 -06:00
Oren Cohen
fa5c96c857
Fix includes
2018-12-04 18:37:47 +02:00
Oren Cohen
c3bd6f12d2
Fix PSA crypto partiotion and tests
...
* Styling
* Correct error codes on failing connection
* Add panics where needed
* correct skip defines
* Fix psa_spm_init_refence_counter bug
2018-12-04 17:07:28 +02:00
Martin Kojtal
6edc81ddae
Merge pull request #8873 from kfnta/psa_spm_docs
...
PSA-SPM documentation follow-up
2018-12-04 15:38:45 +01:00
Martin Kojtal
e02a8ab2f1
Merge pull request #8925 from Patater/crypto-storage-config-fixes
...
Fix PSA storage typo
2018-12-04 14:34:15 +01:00
Alexander Zilberkant
44ec2aa49a
Better PID handling
...
PSA PID is of int32_t type - use native type during the whole flow for better readability.
Convert PID to unsigned for calculations only.
Add dedicated inline function for logic shift right.
2018-12-04 14:08:14 +02:00
Alexander Zilberkant
9f7752b1f9
Replace PID and UID order in file name
...
PID should come first to create - to prevent timing attacks. Each partition can only request its own files. Thus starting lookup from the PID makes more sence.
2018-12-04 14:08:14 +02:00
Alexander Zilberkant
e7df8583d6
Optimize error handling
2018-12-04 14:08:14 +02:00
Alexander Zilberkant
9d59ed8c60
Fix PSA internal storage misconfiguration
...
Use internal TDBStore instance instead of default one
2018-12-04 14:08:14 +02:00
Martin Kojtal
6ae3501a66
spm spe: remove space
2018-12-04 11:50:14 +00:00
Mel W
56e3dd9a7f
Grammatical and capitalization changes
2018-12-04 13:03:21 +02:00
Seppo Takalo
c384119576
ONME-4007: Fix mbed_lib link from ESP8266 Readme.md
...
ONME-4007: Fix mbed_lib link from ESP8266 Readme.md
2018-12-04 10:27:17 +02:00
Martin Kojtal
b52c164028
Merge pull request #8911 from c1728p9/esp8266_flow_control_fix
...
Fix ESP8266 recv_udp timeout with flow control
2018-12-03 13:41:23 +01:00
Martin Kojtal
0d0740f17e
Merge pull request #8890 from michalpasztamobica/esp8266_disconnect_no_connection
...
ESP8266 disconnect returns ERROR_NO_CONNECTION
2018-12-03 13:40:54 +01:00
Martin Kojtal
bf36ff77c1
Merge pull request #8855 from michalpasztamobica/warnings_fix
...
Fix compilation warnings (apart from nanostack)
2018-12-03 13:31:55 +01:00
Martin Kojtal
c62f654da1
Merge pull request #8843 from miyuki/fix-cxx11
...
Fix C++11 build with Arm Compiler 6
2018-12-03 13:22:11 +01:00
Martin Kojtal
acbde4e0b6
Merge pull request #8841 from VeijoPesonen/bugfix-restrict_send_size2
...
Bugfix restrict send size; namespace fixes; ATCmdParser::read return value fix
2018-12-03 13:21:34 +01:00
Deepika
76220fa89c
Add Serial + EventQueue dependency to ESP8266
2018-11-30 15:38:28 -06:00
Jaeden Amero
6de7c184d7
psa: storage: Fix PSA_PS_ERROR_OFFSET typo
...
Correct typo of PSA_PS_ERROR_OFFSET to PSA_ITS_ERROR_OFFSET.
2018-11-30 15:36:22 +00:00
Russ Butler
53ed3f5c3d
Fix ESP8266 recv_udp timeout with flow control
...
UDP packets are always received as OOB data. Without checking for
new OOB data with a call to "_process_oob" then recv_udp never blocks.
If a UDP packet is not available then NSAPI_ERROR_WOULD_BLOCK is
returned. This causes mbed-os's DNS handling to always fail when
flow control is enabled.
This patch fixes recv_udp by always calling "_process_oob" regardless
of if flow control is enabled. This ensures that recv_udp follows the
timeout parameter and waits for new data to arrive.
2018-11-29 19:13:37 -06:00
Oren Cohen
549d24f213
More fixes by Melinda
2018-11-28 14:52:40 +02:00
Oren Cohen
01301387f8
Run SPM code generator
2018-11-28 14:40:01 +02:00
Oren Cohen
45bd4f305a
Add SPM code generation test to Travis-CI
2018-11-28 14:38:44 +02:00
Michal Paszta
eb9c688574
ESP8266 disconnect returns ERROR_NO_CONNECTION
2018-11-28 11:23:09 +01:00
Oren Cohen
6ec5144e0c
Melinda's remarks
2018-11-28 12:17:37 +02:00
Oren Cohen
3629e002ee
Fix PSA-SPM Documentation
2018-11-28 12:17:36 +02:00