Martin Kojtal
9974d831fe
Merge pull request #11949 from ARMmbed/acabarbaye-patch-1
...
Fix for ARMC5 compilation errors for some targets
2019-11-27 13:12:14 +01:00
Mika Leppänen
2a908b51ff
Added support for Wi-SUN RF channel configuration
...
Added support to Wi-SUN tasklet for following mbed-mesh-api .json configuration options:
wisun-uc-channel-function
wisun-bc-channel-function
wisun-uc-fixed-channel
wisun-bc-fixed-channel
wisun-bc-interval
wisun-bc-dwell-interval
wisun-uc-dwell-interval
This allows e.g. enabling single channel configuration for testing.
This pull request does not change existing functionality since when
defaults from mbed-mesh-api .json are used, no new or changed
ws_management_* interface calls are made.
2019-11-27 14:04:25 +02:00
Martin Kojtal
b0751bf507
Merge pull request #11946 from ARMmbed/revert-11559-crc
...
Revert "MbedCRC and CRC HAL revisions"
2019-11-27 11:07:13 +01:00
Martin Kojtal
58d6f5f39f
Merge pull request #11873 from AnttiKauppila/disable_sms
...
Make SMS configurable in Cellular stack
2019-11-27 09:03:55 +01:00
Adrien CABARBAYE
877523dab4
Update QUECTEL_BG96_CellularStack.cpp
...
Similar issue for a different target
`./mbed-os/features/cellular/framework/targets/QUECTEL/BG96/QUECTEL_BG96_CellularStack.cpp", line 431: Error: #20 : identifier "sprintf" is undefined`
> armcc -c --gnu -Ospace --split_sections --apcs=interwork --brief_diagnostics --restrict --multibyte_chars -O3 -DMBED_TRAP_ERRORS_ENABLED=1 --cpu=Cortex-M4.fp.sp --md --no_depend_system_headers --c99 -D__ASSERT_MSG --cpp11 --no_rtti --no_vla -DMBED_ROM_START=0x0 -DMBED_ROM_SIZE=0x80000 -DMBED_RAM_START=0x20000000 -DMBED_RAM_SIZE=0x10000 -DTARGET_SOFTDEVICE_NONE -DTARGET_NORDIC -DCMSIS_VECTAB_VIRTUAL_HEADER_FILE="cmsis_nvic.h" -DTARGET_NRF52 -DCMSIS_VECTAB_VIRTUAL -DTARGET_MCU_NRF52832 -DDEVICE_SPI_ASYNCH=1 -DMBED_TICKLESS -DDEVICE_SLEEP=1 -DFEATURE_BLE=1 -DNRF52_PAN_12 -D__CMSIS_RTOS -DTARGET_SDK_15_0 -DNRF52_PAN_64 -DDEVICE_SPI=1 -DDEVICE_I2C=1 -DNRF52_PAN_15 -DDEVICE_SERIAL=1 -DTARGET_LIKE_MBED -DDEVICE_PORTOUT=1 -DDEVICE_SERIAL_ASYNCH=1 -DTARGET_M4 -DNRF52_PAN_31 -D__FPU_PRESENT=1 -D__CORTEX_M4 -DTARGET_RTOS_M4_M7 -DDEVICE_PORTIN=1 -DTARGET_CORDIO_LL -DTARGET_NRF5x -DCONFIG_GPIO_AS_PINRESET -DDEVICE_SERIAL_FC=1 -DDEVICE_USTICKER=1 -DTARGET_RELEASE -D__MBED__=1 -DTARGET_CORDIO -DMBED_MPU_CUSTOM -DNRF52_PAN_54 -DSWI_DISABLE0 -DDEVICE_INTERRUPTIN=1 -DNRF52_PAN_63 -DNRF52_PAN_51 -DDEVICE_ANALOGIN=1 -DCOMPONENT_PSA_SRV_EMUL=1 -DTARGET_NORDIC_CORDIO -DNRF52_PAN_62 -DNRF52_PAN_55 -DTARGET_CORTEX -DNRF52_PAN_53 -DDEVICE_PWMOUT=1 -DDEVICE_PORTINOUT=1 -DTOOLCHAIN_ARMC5 -DTARGET_CORTEX_M -DDEVICE_ITM=1 -DMBED_BUILD_TIMESTAMP=1574735595.5081437 -DNRF52_PAN_20 -DDEVICE_I2C_ASYNCH=1 -DDEVICE_LPTICKER=1 -DNRF52_PAN_30 -DTARGET_LIKE_CORTEX_M4 -DTARGET_NAME=MTB_UBLOX_NINA_B1 -DCOMPONENT_NSPE=1 -DDEVICE_TRNG=1 -DNRF52_PAN_58 -DTOOLCHAIN_ARM -DARM_MATH_CM4 -D__MBED_CMSIS_RTOS_CM -DNRF52 -DBOARD_PCA10040 -DDEVICE_FLASH=1 -DCOMPONENT_PSA_SRV_IMPL=1 -DTARGET_MTB_UBLOX_NINA_B1 -DDEVICE_SYSTICK_CLK_OFF_DURING_SLEEP=1 -DTARGET_NRF52832 -DTOOLCHAIN_ARM_STD -DNRF52_PAN_36 --preinclude=./BUILD/MTB_UBLOX_NINA_B1/ARMC5/mbed_config.h --via ./BUILD/MTB_UBLOX_NINA_B1/ARMC5/.includes_3003a516b3c5c98831c114756251051b.txt --depend BUILD/MTB_UBLOX_NINA_B1/ARMC5/mbed-os/features/cellular/framework/targets/QUECTEL/BG96/QUECTEL_BG96_CellularStack.d -o BUILD/MTB_UBLOX_NINA_B1/ARMC5/mbed-os/features/cellular/framework/targets/QUECTEL/BG96/QUECTEL_BG96_CellularStack.o ./mbed-os/features/cellular/framework/targets/QUECTEL/BG96/QUECTEL_BG96_CellularStack.cpp
2019-11-26 15:27:15 +00:00
Adrien CABARBAYE
de57ba8b50
Fix for ARMC5 compilation errors for some targets
...
the following compilation error is seen for a number of targets when compiling using ARMC5
`tools.utils.ToolException: "./mbed-os/features/cellular/framework/AT/AT_CellularContext.cpp", line 247: Error: #20 : identifier "sprintf" is undefined`
Failing command:
> 5.06u6/bin/armcc -c --gnu -Ospace --split_sections --apcs=interwork --brief_diagnostics --restrict --multibyte_chars -O3 -DMBED_TRAP_ERRORS_ENABLED=1 --cpu=Cortex-M4.fp.sp --md --no_depend_system_headers --c99 -D__ASSERT_MSG --cpp11 --no_rtti --no_vla -DDEVICE_SERIAL_ASYNCH=1 -D__MBED__=1 -D__CORTEX_M4 -DTOOLCHAIN_ARM -DMBED_BUILD_TIMESTAMP=1574735332.2275832 -DTARGET_RELEASE -DTARGET_GigaDevice -DDEVICE_SERIAL_FC=1 -DARM_MATH_CM4 -DTARGET_LIKE_MBED -DTARGET_GD32E10X -D__FPU_PRESENT=1 -DTARGET_GD32_Target -DTARGET_M4 -DDEVICE_RTC=1 -DDEVICE_INTERRUPTIN=1 -DCOMPONENT_PSA_SRV_EMUL=1 -D__CMSIS_RTOS -DTOOLCHAIN_ARMC5 -DDEVICE_SPISLAVE=1 -DTARGET_GD32_E103VB -DTARGET_CORTEX -DDEVICE_PORTIN=1 -DDEVICE_ANALOGOUT=1 -DDEVICE_I2C=1 -DDEVICE_ANALOGIN=1 -DDEVICE_FLASH=1 -DDEVICE_SLEEP=1 -DCOMPONENT_NSPE=1 -DDEVICE_SERIAL=1 -DDEVICE_PORTOUT=1 -DTARGET_GD32E103VB -DDEVICE_CAN=1 -DTARGET_NAME=GD32_E103VB -DTARGET_CORTEX_M -D__MBED_CMSIS_RTOS_CM -DDEVICE_PWMOUT=1 -DTARGET_FF_ARDUINO -DGD32E10X -DDEVICE_USTICKER=1 -DTARGET_RTOS_M4_M7 -DDEVICE_PORTINOUT=1 -DTOOLCHAIN_ARM_STD -DCOMPONENT_PSA_SRV_IMPL=1 -DDEVICE_SPI=1 -DTARGET_LIKE_CORTEX_M4 -DDEVICE_I2CSLAVE=1 --preinclude=./BUILD/GD32_E103VB/ARMC5/mbed_config.h --via ./BUILD/GD32_E103VB/ARMC5/.includes_022feb5c2e44b9896df9a82c69438bc9.txt --depend BUILD/GD32_E103VB/ARMC5/mbed-os/features/cellular/framework/AT/AT_CellularContext.d -o BUILD/GD32_E103VB/ARMC5/mbed-os/features/cellular/framework/AT/AT_CellularContext.o ./mbed-os/features/cellular/framework/AT/AT_CellularContext.cpp
[Error] AT_CellularContext.cpp@247,0: #20 : identifier "sprintf" is undefined
2019-11-26 15:05:52 +00:00
Antti Kauppila
cb806befcf
Enabled SMS by default to not break anything
2019-11-26 16:32:53 +02:00
Martin Kojtal
5f7ecea00b
Revert "MbedCRC and CRC HAL revisions"
2019-11-26 13:45:37 +00:00
Martin Kojtal
0df07e6a90
Merge pull request #11937 from AriParkkila/cell-remove-rx-avail
...
Cellular: Replace CellularSocket.rx_avail with pending_bytes
2019-11-26 12:28:49 +01:00
Ari Parkkila
adba109de6
Cellular: Replace CellularSocket.rx_avail with pending_bytes
...
CellularSocket::rx_avail can be refactored away as
it is a duplicate to CellularSocket::pending_bytes.
2019-11-25 21:49:17 -08:00
Martin Kojtal
a169edfdec
Merge pull request #11887 from kyle-cypress/pr/target-p62s1-43438
...
Add target for CYW9P62S1_43438EVB_01
2019-11-25 18:32:48 +01:00
Antti Kauppila
353782bf63
Disable SMS by default from Cellular stack
...
Put SMS behind configuration flag to save some memory (4,5kB) for Cellular users not needing SMS features.
UBlox N2XX target is also updated
2019-11-25 11:38:06 +02:00
Martin Kojtal
1a2ecebc62
Merge pull request #11881 from hugueskamba/hk-UBLOX_EVK_ODIN_W2-enable-baremetal
...
UBLOX_EVK_ODIN_W2: Fix baremetal build and greentea tests
2019-11-25 08:40:33 +01:00
Martin Kojtal
eb60e67d92
Merge pull request #11913 from VeijoPesonen/tdbstore_min_size
...
LPC55S69_NS default TDBStore size increased to 32kB
2019-11-22 14:47:56 +01:00
Martin Kojtal
b6edc5b0cc
Merge pull request #11923 from AriParkkila/cell-ppp-wait-connect
...
Cellular: Fix PPP to wait until connected event from (LWIP) PPP
2019-11-22 14:12:03 +01:00
Martin Kojtal
04ed9c5c8c
Merge pull request #11851 from amq/patch-2
...
Enable FAT ChaN lib configuration with mbed_lib.json
2019-11-22 13:38:56 +01:00
Martin Kojtal
38a8c0e28f
Merge pull request #11914 from michalpasztamobica/refactor_string_based_apis
...
Deprecate string-based APIs in IPCore
2019-11-22 12:00:56 +01:00
Hugues Kamba
157d126769
UBLOX_EVK_ODIN_W2: Fix baremetal build and greentea tests
...
Remove lwIP reliant networking and BLE tests for baremetal
Mbed OS 5 ported lwIP in its OS mode and uses threads. Networking
that rely on lwIP needs to be removed so it can be compiled with the
baremetal profile.
The BLE cordio Greentea tests are also disabled given that the feature
is not supported without an RTOS.
2019-11-22 10:55:39 +00:00
Michal Paszta
fd5b4b9119
Deprecate string-based APIs in IPCore
...
MBED_DEPRECATE macros is added to string-based APIs.
New, non-string-based APIs are added in their place.
Wiced binaries rebuilt
Any existing stubs or mocks are adjusted to compile and run with the newly added non-string based functions.
2019-11-22 11:31:12 +02:00
Martin Kojtal
869df2d280
Merge pull request #11889 from JarkkoPaso/nanostack_release_for_mbedos_5_15
...
Nanostack release for mbedos 5 15
2019-11-22 09:05:45 +01:00
Ari Parkkila
90d7748514
Cellular: Fix PPP to wait until connected event from (LWIP) PPP
2019-11-21 23:14:18 -08:00
Martin Kojtal
784b03b8b4
Merge pull request #11877 from cy-arsm/cy-arsm/topic/dualstack-ipv6-linklocal-fix
...
Fix for sending IPv6 UDP packet over link local interface
2019-11-21 14:27:43 +01:00
Martin Kojtal
9588fad72b
Merge pull request #11911 from anttiylitokola/mbed-coap-5.1.2
...
Update mbed-coap to version 5.1.2
2019-11-21 10:57:32 +01:00
Veijo Pesonen
8a0af607f3
LPC55S69_NS: Sets default TDBStore size to 32kB
...
Previously it was 2 pages - 1kB - which isn't sufficient to store
Reserved Area and Master Record. Reserved are requires one page and Master
Record takes two pages. With 512B page size and having two areas, active and
inactive, the minimum size requirement becomes 2 areas * 3 pages = 3kB. That
isn't enough to store any keys though.
2019-11-21 11:28:59 +02:00
Veijo Pesonen
458f5f43f3
TDBStore: Adds sanity check for storage size when compiled with debug profile
2019-11-21 11:28:59 +02:00
Balaji Subramanyam
f51cc6494e
Cypress Target update to support Manufacturing Test. ( #11868 )
...
Cypress Target update to support WiFi Manufacturing Test
Adding IOCTLS in WhdSTAInterface for MFG Test.
Fix WHD EMAC interface to release buffer when emac is not powered up or callback
is not registered.
2019-11-21 10:12:35 +01:00
Martin Kojtal
deaafa84ce
Merge pull request #11902 from AriParkkila/cell-bg96-epco
...
Cellular: Enable ePCO IE for BG96 driver
2019-11-21 09:14:18 +01:00
Antti Yli-Tokola
4a491b99df
Update mbed-coap to version 5.1.2
...
Compiler warning cleanups.
2019-11-20 22:36:25 +02:00
Ari Parkkila
2301af398e
Cellular: Enable ePCO IE for BG96 driver
...
As per 3GPP TS 24.301:
If the UE supports NB-S1 mode, Non-IP PDN type, or N1 mode,
then the UE shall support the extended protocol configuration options IE.
...
If the UE supports the extended protocol configuration options IE,
then the UE shall set the ePCO bit to extended protocol configuration options supported
in the UE network capability IE of the ATTACH REQUEST message.
2019-11-19 21:59:19 -08:00
Kyle Kearney
ad6dd0957c
Add BT firmware for 43438 radio
2019-11-19 18:03:00 -08:00
Jarkko Paso
79f8355334
Fixed compilation warnings
2019-11-19 15:15:12 +02:00
fred.li
cef6aba55e
RESET for each connect operation
2019-11-19 12:08:06 +08:00
fred.li
18fa28db77
Disable UNISOC Reconnect patch, Optimize workaround for LWIP issue
2019-11-19 12:08:05 +08:00
fred.li
88cf7df286
1, Restrict access to 1st 4K of flash
...
2, Merge UNISOC change for auto reconnect patch
2019-11-19 12:08:05 +08:00
Jarkko Paso
12d4497ab7
Merge commit '0b6ccc5816e44df9fe89c476514cb7043dfb483b'
...
* commit '0b6ccc5816e44df9fe89c476514cb7043dfb483b':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from 0824752..9b3e144
2019-11-18 15:08:32 +02:00
Arun S
dc7178f176
Modified LwIP stack and LwIP mbed-os wrapper to support sending IPv6
...
UDP packets when IPv4 and IPv6 dual mode stack is enabled and the IPv6
packet is sent over link-local inerface.
2019-11-18 17:18:50 +05:30
Martin Kojtal
cb54f5065f
Merge pull request #11859 from kivaisan/fix_cellular_baremetal_scheduling
...
Cellular: Fix queue scheduling for bare metal
2019-11-16 07:55:36 +01:00
Martin Kojtal
7b79157a4d
Merge pull request #11580 from wajahat-ublox/ubx_modems_custom_boards
...
Remove target dependency in ublox cellular APIs
2019-11-15 18:26:54 +01:00
Anna Bridge
7cfa6faa5b
Merge pull request #11714 from tymoteuszblochmobica/linklocal
...
LWIP::get_ipv6_addr for link-local only
2019-11-15 12:32:54 +00:00
Seppo Takalo
af0708ca48
IOTSTOR-978: Skip a unstable testcase until fixed
2019-11-15 10:38:32 +02:00
Tymoteusz Bloch
6514433b68
LWIP::get_ipv6_addr fixed to avoid returning NULL even if only linklocal adress exits.
2019-11-14 17:19:54 +01:00
Martin Kojtal
fd22997b60
Merge pull request #11559 from kjbracey-arm/crc
...
MbedCRC and CRC HAL revisions
2019-11-13 18:24:04 +01:00
Martin Kojtal
539779fa58
Merge pull request #11531 from kyle-cypress/pr/qspi-sfdp
...
Improve QSPIFBlockDevice conformance to SFDP
2019-11-13 17:55:36 +01:00
amq
5ec0a911fa
Change "MBED_CONF_FAT" to MBED_CONF_FAT_CHAN"
2019-11-13 16:08:08 +01:00
amq
1b55cbe92d
Change library name from "fat" to "fat_chan"
2019-11-13 15:51:55 +01:00
Kimmo Vaisanen
deadcee06c
Cellular: Fix queue scheduling for bare metal
...
For non-rtos build (bare metal) cellular event queue is now scheduled by shared event queue.
2019-11-13 14:51:14 +02:00
Kevin Bracey
8811972201
Adjust code for MbedCRC changes
...
* Make mbed_error use bitwise MbedCRC call rather than local
implementation.
* Remove use of POLY_32BIT_REV_ANSI from LittleFS.
* Move some MbedCRC instances closer to use - construction cost is
trivial, and visibility aids compiler optimisation.
2019-11-13 14:31:49 +02:00
Antti Kauppila
8aac93a593
ATHandler build warning fixed
2019-11-13 09:38:02 +02:00
Kyle Kearney
0103e3a06a
General Block Device Test: Expand Thread Stack
...
The addition of trace logging during greentea tests pushes the multithreaded
read-write test beyond the limits of the stack it allocates for its threads.
The increase of 128 bytes was chosen by experimentation.
2019-11-12 15:41:12 -08:00
Matthew Macovsky
78569aa808
Enable TDBStore whitebox test on PSoC 6
2019-11-12 12:26:25 -08:00
Matthew Macovsky
92829bd9a4
Generalize KVStore phase 1/2 test BlockDevice sizes
2019-11-12 12:26:25 -08:00
Matthew Macovsky
a1c74036ea
Enable some of the kvstore tests for PSoC 6 MCUs
2019-11-12 12:26:25 -08:00
amq
b90838d6df
Change "description" to "help"
2019-11-12 19:15:39 +01:00
amq
52beee2bce
Add mbed_lib.json for the FAT ChaN library
2019-11-12 15:42:22 +01:00
amq
9b3affa78b
Enable FAT configuration with mbed_lib.json
2019-11-12 15:39:19 +01:00
Martin Kojtal
609612c1f2
Merge pull request #11840 from morser499/pr/whd1.50
...
Update Cypress WifiHostDriver to version 1.50
2019-11-12 13:56:35 +01:00
Martin Kojtal
f61979ab31
Merge pull request #11843 from kapi90/master
...
Fix ethernet memory handling issues on CM3DS
2019-11-12 13:56:13 +01:00
Martin Kojtal
d556bf698f
Merge pull request #11821 from rajkan01/feature-baremetal-greentea-psa
...
Skip Bare Metal green tea test for PSA component
2019-11-12 11:07:16 +01:00
Martin Kojtal
dd753abcb8
Merge pull request #11825 from rajkan01/feature-baremetal-greentea-storage
...
Bare metal green tea test for storage component
2019-11-12 11:01:29 +01:00
Martin Kojtal
09d9287e3b
Merge pull request #11721 from rajkan01/feature-baremetal-greentea
...
Bare metal greentea support
2019-11-12 10:59:39 +01:00
Bence Kaposzta
4dd7712ac7
Fix ethernet memory handling issues on CM3DS
...
Signed-off-by: Bence Kaposzta <bence.kaposzta@arm.com>
2019-11-12 10:57:20 +01:00
Ryan Morse
799146ba2f
Move WHD from being a Target to being a Component
2019-11-11 15:12:02 -08:00
Martin Kojtal
4f6ca1512a
Merge pull request #11827 from ABOSTM/DISCO_H747I_ETHERNET_READY
...
DISCO STM32H747I ETHERNET support, but disabled.
2019-11-11 16:56:36 +01:00
Bence Kaposzta
647216299f
Fix ethernet memory handling issues on CM3DS
...
Signed-off-by: Bence Kaposzta <bence.kaposzta@arm.com>
2019-11-11 15:32:50 +01:00
Bence Kaposzta
d5e89a25c6
Fix ethernet memory handling issues on CM3DS
...
Signed-off-by: Bence Kaposzta <bence.kaposzta@arm.com>
2019-11-11 14:39:08 +01:00
RAJKUMAR KANAGARAJ
d8e2dd5b47
Incorporated the review comments
2019-11-08 09:50:09 -08:00
jeromecoutant
7fcedd20e1
DISCO STM32H747I ETHERNET support, but disabled.
...
Ethernet is disabled by default,
because some hardware modifications are required on the board DISCO_H747I.
see https://os.mbed.com/teams/ST/wiki/DISCO_H747I-modifications-for-Ethernet
2019-11-08 16:05:00 +01:00
Martin Kojtal
9d4bd44fd7
Merge pull request #11831 from AGlass0fMilk/fix-ble-sm-sec-db
...
BLE: Added call to delete the security database object upon SM reset.
2019-11-07 11:54:45 +01:00
Martin Kojtal
383cf1984d
Merge pull request #11711 from jeromecoutant/PULL_REQUEST_CUBE_UPDATE_F7_V1.15.0
...
STM32F7 update drivers version to CUBE V1.15.0
2019-11-07 11:33:38 +01:00
Martin Kojtal
9b3731a76a
Merge pull request #11755 from michalpasztamobica/unittests_dns
...
Unittests for nsapi_dns
2019-11-07 10:55:37 +01:00
Martin Kojtal
f079dce02a
Merge pull request #11810 from kyle-cypress/pr/securestore-struct-init
...
SecureStore: Add member initializers for inc_handle_t
2019-11-07 09:20:43 +01:00
George Beckstein
9c75207299
Added call to delete the security database object upon SM reset. This allows the file to be closed by the OS and flushed to disk.
2019-11-06 14:31:04 -05:00
RAJKUMAR KANAGARAJ
8ecce14dad
Skip Bare metal green tea test for storage related components or the components test cases which is based on RTOS
2019-11-06 04:49:19 -08:00
RAJKUMAR KANAGARAJ
f30dd1cef2
Enable the Bare Metal green tea test
...
-PSA test framework uses the RTOS threads to run test cases so added MBED_CONF_RTOS_PRESENT to all the test cases.
2019-11-06 03:15:49 -08:00
RAJKUMAR KANAGARAJ
b1731ce3c8
-New PR for PSA,Netsocket,storage components,reverted all the changes to back to original
...
-Change the #error description more precisely
-Separated the MBED_CONF_RTOS_PRESENT guarded
2019-11-06 01:59:05 -08:00
RAJKUMAR KANAGARAJ
302f595c28
- Emac,NFC-EEPROM,PSA-CRYPTO components build issue fixed
...
- RTOS supported test case guarded with MBED_CONF_RTOS_PRESENT flag
- Added the #error to non supported test case for bare metal
2019-11-06 01:57:29 -08:00
Michal Paszta
4e5ea38d14
nsapi_dns: use delete[] for array alloc'd with new[]
2019-11-05 22:39:58 +02:00
RAJKUMAR KANAGARAJ
3fc8905315
Fixed the greentea test dependency and incorporated the review comments
...
-Added the mbedtls,crypto,psa,filesystem,fat,littlefs in baremetal.json to resolve compiler issue
-Disable metrics that are not available for bare metal
-Moved the baremetal.json inside TESTS/configs directory
2019-11-05 08:49:27 -08:00
RAJKUMAR KANAGARAJ
f402dbb2da
Bare metal greentea support
...
-Added the baremetal.json on Tests directory to enable bare-metal
-Conditional enable of greentea metrics
Note:
Run green tea with bare metal
mbed test -m target -t GCC_ARM -n tests-mbed_platform-transaction --app-config TESTS/baremetal.json
2019-11-05 08:49:27 -08:00
Wajahat Abbas
98f3baa455
Removed error directives
2019-11-05 14:25:54 +05:00
Wajahat Abbas
a5015c20ee
Remove target dependency in ublox cellular APIs
2019-11-05 14:25:54 +05:00
Martin Kojtal
0d0120a812
Merge pull request #11808 from michalpasztamobica/api_hardening
...
Document Socket API functions return values.
2019-11-05 09:46:54 +01:00
Martin Kojtal
355336ce43
Merge pull request #11797 from ARMmbed/IOTSTOR-941
...
IOTSTOR-953: Fix address calculations from SlicingBlockDevice
2019-11-05 09:09:14 +01:00
Kyle Kearney
db4dafc15a
SecureStore: Add member initializers for inc_handle_t
...
_inc_set_handle is new'd in SecureStore::init(), then its members are
referenced in various functions without being explicitly initialized
first. These pre-existing values can confuse the SecureStore's internal
state and cause various undesired behavior.
2019-11-04 14:49:57 -08:00
Martin Kojtal
18d4adf04f
Merge pull request #11719 from wajahat-ublox/echo_fix
...
Ensure modem echo is off before sending other AT commands
2019-11-04 15:56:12 +01:00
Martin Kojtal
fe940924cc
Merge pull request #11683 from AnttiKauppila/baremetal_support
...
Baremetal profile fixes
2019-11-04 15:53:57 +01:00
Martin Kojtal
412b0ae5d5
Merge pull request #11375 from tymoteuszblochmobica/nsapi_dns
...
NSAPI DNS query IP version check for non LWIP stacks.
2019-11-04 15:30:28 +01:00
Martin Kojtal
f27aec3377
Merge pull request #11279 from cy-jayasankar/pr/added-ipv6-link-local-address-api
...
Add API to get ipv6 link local address
2019-11-04 15:28:41 +01:00
Martin Kojtal
c908404d94
Merge pull request #11783 from mirelachirica/set_baud_rate
...
Adding set baud rate routine
2019-11-04 15:27:02 +01:00
Seppo Takalo
f0790cd7b2
Remove usage of Mbed TLS internal function from DeviceKey.
...
DeviceKey was using mbedtls_ssl_safer_memcmp() to compare result against
buffer of equal length, but zero content. This comparison makes no sense
as the entropy function is already returning proper error, if it fails.
2019-11-04 16:13:33 +02:00
Seppo Takalo
4ab3c8bb48
IOTSTOR-953: Fix address calculations from SlicingBlockDevice
...
* Change MBED_ASSERTS() to return valid error code, so that
checks are not bypassed on release builds.
* Fix starting address calculations so that "addr" parameter is always
relative to SlicingDevice and "_start" is only added when calls to
underlying storage block is made.
* Bypass BlockDevice:is_valid_*() to underlying block device.
Slicingblockdevice was just verifying addresses independently, without
verifying those from underlying block storage.
2019-11-04 16:13:32 +02:00
Seppo Takalo
a6d8f74b09
Add unittest for HeapBlockDevice and change some MBED_ASSERTS to errors.
2019-11-04 16:12:36 +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
Seppo Takalo
7f089ac074
Add empty unittest to generate zero baseline for untested files.
2019-11-04 16:12:36 +02:00
Michal Paszta
87211e9158
Document Socket API functions return values.
...
Describe the return values with as much detail as possible, to let user only check the relevant return codes, instead of all nsapi_error_t. Refer to underlying APIs wherever possible.
2019-11-04 11:55:19 +02:00
Martin Kojtal
f59d71f0b4
Merge pull request #11772 from u-blox/ubx_context
...
Cellular: updated cellular context flags and cid in ublox-api
2019-11-04 09:57:08 +01:00
Martin Kojtal
a927ab8f7c
Merge pull request #11789 from jeromecoutant/PR_STM32H7
...
STM32H7: code and feature alignment for both NUCLEO and DISCO targets
2019-11-04 09:48:09 +01:00
Mirela Chirica
c484fc88f9
Cellular: Added set routine for baud rate
2019-11-01 17:21:31 +02:00
Antti Kauppila
0b8cd38dcd
Baremetal profile fixes
2019-11-01 15:12:19 +02:00
Jayasankar Nara
cb51fa57e2
Add API to get ipv6 link local address.
...
Protocols like mdns requires IPv6 link local address to be advertised in its
records (AAAA record). LWIP::Interface::bringup() API is creating IPv6 link
local address;But as of now there is no API exposed by mbed-os to get the
IPv6 link local address.
This new API is required to deliver mDNS library support on mbed-os for Cypress
platforms. Unit tested it by invoking get_ipv6_link_local_address with a simple
application.
2019-11-01 03:43:36 +05:30
jeromecoutant
76248b4942
STM32F7 MBEDTLS AES_ALT update for new HAL
2019-10-31 17:46:10 +01:00
Martin Kojtal
c93c181b6a
Merge pull request #11687 from Patater/update-to-mbedtls-2.20.0d0
...
Update to Mbed TLS 2.20.0d0 and Mbed Crypto 2.1.0d0
2019-10-31 17:12:31 +01:00
Veijo Pesonen
b01fe020cd
Deprecates NVStore
2019-10-31 14:54:54 +02:00
jeromecoutant
d7d0d0b8cb
STM32H7 FLASH and DEVICE_KEY
...
- Enable FLASHIAP for all H7 boards
- Use "TDB_INTERNAL" for all H7 boards
- Define specific internal_base_address only for DISCO_H747I_CM7
(default address is the end of FLASH which is correct for other H7 boards)
- Correct GetSectorBase function with Dual Bank information
2019-10-31 13:04:49 +01:00
Martin Kojtal
da6b336391
Merge pull request #10978 from vmedcy/lwip-rawsocket
...
LwIP: add ICMPv4 Socket support
2019-10-31 11:50:21 +01:00
Janne Kiiskila
3ab36cb934
Add default TDBStore location for DISCO_H747I (end of BANK1)
...
Place it at the end of the bank1, last two erase sectors.
As erase sector is 128 kB, default size must be double of that.
This can't be in bank2 as that is apparently dedicated to the M4 core.
Memory map is available in;
https://github.com/ARMmbed/mbed-os/blob/master/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/flash_data.h
Memory map does not have this information, but issue [11617](https://github.com/ARMmbed/mbed-os/issues/11617 ) has.
2019-10-30 15:25:13 +02:00
Janne Kiiskila
655274a16e
DISCO_H747I - define default storage (TDB_INTERNAL)
...
DeviceKey needs the definition of the default storage place,
define it to be TDB_INTERNAL (as for the other boards).
2019-10-30 15:25:13 +02:00
Martin Kojtal
419556b84a
Merge pull request #11735 from michalpasztamobica/dns_unittest_preparation
...
Dns unittest preparation
2019-10-30 11:04:19 +01:00
Martin Kojtal
f1392d6b6b
Merge pull request #11695 from jeromecoutant/PR_GREENTEA_TRACE
...
GREENTEA: init trace if trace is enabled in json
2019-10-29 15:13:31 +01:00
Martin Kojtal
3c9853af61
Merge pull request #11754 from mirelachirica/athandler_write_hex_string
...
Cellular: Added write_hex_string to AT handler
2019-10-29 10:00:46 +01:00
Martin Kojtal
bc2162ab19
Merge pull request #11718 from desmond-blue/fix-ex-sm-fail-nrf52840
...
Handle legacy process event first on connection complete
2019-10-28 09:54:44 +01:00
Mirela Chirica
beeccbe52c
Cellular: Added write_hex_string to AT handler
2019-10-28 10:34:05 +02:00
Martin Kojtal
98072b24c8
Merge pull request #11748 from cydriftcloud/pr-dev/fix-spurious-link-down-up
...
Fix spurious link up/down when AP IP address range change
2019-10-28 09:28:54 +01:00
Balaji
5b9291628e
rebase mbed_lib.json to upstream/master
2019-10-25 12:39:27 -07:00
Balaji
948e989d27
fix mbed_lib.json add ,
2019-10-25 12:14:31 -07:00
Balaji
d9045b4840
index on lwip-rawsocket: 6905b1b547
Incorporate review comments from @kjbracey-arm
2019-10-25 11:00:55 -07:00
Balaji
6905b1b547
Incorporate review comments from @kjbracey-arm
2019-10-25 10:51:50 -07:00
Balaji
5168bbdcd0
Add InternetDatagram Base Class
2019-10-25 10:48:13 -07:00
Balaji
ab883350a0
Incorporate review comments from @kjbracey-arm
2019-10-25 10:48:12 -07:00
Balaji
90e188b23a
fix a style convention
2019-10-25 10:48:12 -07:00
Balaji
b91836a94d
fix astyle convention
2019-10-25 10:48:12 -07:00
Balaji
1a7288d220
fix astyle convention
2019-10-25 10:48:12 -07:00
Balaji
d92a946b78
fix astyle convention
2019-10-25 10:48:12 -07:00
Balaji
0b5dea5f99
Changes to the PR 10978 (LWIP: Add RAWIPSocket support)
2019-10-25 10:48:12 -07:00
Martin Kojtal
e1c3de649d
Merge pull request #11747 from miteshdedhia7/pr/fix-kvstore-statictests
...
Update the internal kvstore flash reservation size to from 7k to 65K for Cypress Devices
2019-10-25 14:42:10 +02:00
Martin Kojtal
a44fd827c2
Merge pull request #11578 from cydriftcloud/pr-dev/ap-sta-op-sync
...
Add synchronization and switching between WhdSoftAPInterface and WhdSTAInterfaces
2019-10-25 13:36:10 +02:00
Lei Zhang
d411d72196
MIDDLEWARE-2134: Fix spurious link up/down when AP IP address range changes
...
Fixed additional link down/up events in whd_wifi_link_state_change_handler by checking additional condition during the transition.
2019-10-24 18:43:07 -07:00
Martin Kojtal
ab931ee27c
Merge pull request #11662 from cydriftcloud/pr-dev/sta-extended-scan
...
Allow WhdAccessPoint scan results with extended parameters
2019-10-24 10:26:07 +02:00
Martin Kojtal
acf576a9ab
Merge pull request #11725 from OpenNuvoton/nuvoton_devicekey_entropy_alt
...
DeviceKey: Fix random key doesn't generate with custom entropy source
2019-10-24 09:22:37 +02:00
Lei Zhang
28884b589c
Add synchronization and switching between SoftAP/STA
...
- A shared mutex is added for synchronization
- ScopedMutexLock is used to to protect
- SoftAP: start, stop
- STA: scan, join, disconnect
- Fix switching issue between SoftAP and STA mode for primary interface
- Avoid reinit primary interface by getting mapping the current interface to the other one which is already on
- In concurrent mode, STA is the default if it is up, otherwise SoftAP is default.
- For non-concurrent mode, the most recent started interface is set as default.
2019-10-23 18:31:20 -07:00
Lei Zhang
7b16166d51
Allow WhdAccessPoint scan result with extended parameters
...
- Add WhdAccessPoint to include additional WHD scan info
- To save memory, only move assignment is supported for WhdAccessPoint
- Add scan_whd to scan for WhdAccessPoint
- Set set_blocking(false) to unsupported by return NSAPI_ERROR_UNSUPPORTED
2019-10-23 14:43:07 -07:00
midd
6fbc610448
Update the internal kvstore size to from 7k to 65K for device that use the internal flash for kvstore
2019-10-23 12:26:07 -07:00
Martin Kojtal
bb48dd35c6
Merge pull request #11624 from geky/littlefs-v1.7.2
...
LittleFS: Update to v1.7.2
2019-10-23 14:55:10 +02:00
Martin Kojtal
e7d95f5f2a
Merge pull request #11536 from jeromecoutant/PR_STM32_EMAC
...
STM32 EMAC configuration update
2019-10-23 13:10:10 +02:00
Michal Paszta
45976419b8
DNS: unified parameter type of nsapi_dns_query_async_cancel
2019-10-23 11:58:15 +03:00
Michal Paszta
83af4e0b36
DNS: Cast void* to intptr_t in nsapi_dns.cpp
...
This is for portability reasons. If this code was compiled to a 64-bit architecture, then the cast from void* to int would lose precision.
2019-10-23 11:58:00 +03:00
Martin Kojtal
c018b2bd46
Merge pull request #11677 from MukundGitHub/bt_firmware_update
...
Update BT Firmware to version 128.
2019-10-23 09:38:22 +02:00
Chun-Chieh Li
1bb351f410
DeviceKey: Fix random key doesn't generate on MBEDTLS_ENTROPY_HARDWARE_ALT
...
Originally, when DEVICE_TRNG is defined, MBEDTLS_ENTROPY_HARDWARE_ALT will also be defined
accordingly to provide entropy source. This is fine for targets supporting TRNG. However, for
targets without TRNG, it is also possible to provide non-TRNG entropy source solution via the
define MBEDTLS_ENTROPY_HARDWARE_ALT. Related discussion can be found at:
https://github.com/ARMmbed/mbed-os/issues/11680
2019-10-22 17:06:12 +08:00
Martin Kojtal
02c722af42
Merge pull request #11620 from jainvikas8/ISSUE-11256
...
Fix enum type to align with psa-arch-tests
2019-10-22 09:42:13 +02:00
mudassar-ublox
fa6c69c824
updated cellular context flags and cid in ublox-api
2019-10-22 11:17:46 +05:00
Mukund Ghonasgi
84f7e6a2f0
Update BT Firmware to version 128.
...
Fixes issues in BT firmware operation in low power mode.
2019-10-21 17:11:07 -07:00
Wajahat Abbas
c5f164d75f
Ensure modem echo is off
2019-10-21 15:02:08 +05:00
Martin Kojtal
95343276a5
Merge pull request #11717 from iliapenev/master
...
Fix Quectel M26 context hang
2019-10-21 11:54:50 +02:00
desmond.chen
d9e6110577
Handle legacy process event first on connection complete
2019-10-21 15:57:09 +08:00
Martin Kojtal
bfb435a899
Merge pull request #11657 from u-blox/ubx_apn_setting
...
Cellular: Fix apn check
2019-10-21 09:36:27 +02:00
Martin Kojtal
f6c28e54b6
Merge pull request #11586 from AnttiKauppila/lwip_improvements
...
Cleaned up Mbed LWIP configurations
2019-10-21 09:35:52 +02:00
Ilia Penev
ad1387b2fd
Fix Quectel M26 context hang
2019-10-21 00:48:22 +03:00
Martin Kojtal
9e87200809
Merge pull request #11556 from mikter/master
...
modified Wi-SUN tasklet to return success when calling connect twice
2019-10-18 16:07:25 +02:00
Martin Kojtal
4af05bb370
Merge pull request #11648 from rohfle/target-olimex-stm32e407
...
OLIMEX_STM32E407_F407ZG: Added new target platform
2019-10-18 16:05:05 +02:00
Martin Kojtal
0efea30377
Merge pull request #11644 from MukundGitHub/cypress_cordio_driver_host_wake_logic_changes
...
Cypress Cordio BT Driver setting Host MCU active during Host Wake assert
2019-10-17 14:26:11 +02:00