Commit Graph

26626 Commits (185e380233ef79a536da6e9227602608a76c8431)

Author SHA1 Message Date
Martin Kojtal 185e380233
Merge pull request #11490 from AriParkkila/cell-bg96-ifc
Cellular: Add flow control (IFC) in BG96 AT driver
2019-09-19 10:25:47 +02:00
Martin Kojtal 15d200f3d3
Merge pull request #11499 from kivaisan/fix_quectel_m26_send
Cellular: Fix stop tag for Quectel M26 send command
2019-09-19 10:22:18 +02:00
Martin Kojtal 030e3e1f72
Merge pull request #11498 from 0xc0170/fix_iar
iar export: fix invalid optmization flag - remove from misc
2019-09-19 09:33:29 +02:00
Martin Kojtal 83fca603f0
Merge pull request #11454 from Tharazi97/LSI_VALUE_STM
ST: Change the LSI_VALUE according to documentation
2019-09-18 13:49:38 +02:00
Martin Kojtal eed80f99ee
Merge pull request #11452 from Tharazi97/Coverity_USBMSD
Coverity changes in USBMSD.cpp
2019-09-18 13:34:05 +02:00
Martin Kojtal 926ffb0ede
Merge pull request #11440 from mtomczykmobica/ONME-4239
Add missing documentation about tls testing
2019-09-18 11:23:38 +02:00
Martin Kojtal 6a535d10db
Merge pull request #11493 from Patater/update-to-tls-2.19.1d0
Update to Mbed TLS 2.19.1
2019-09-17 21:49:04 +02:00
Jaeden Amero eb00fbadb4 tls: Update to Mbed TLS 2.19.1
Update Mbed TLS to Mbed TLS 2.19.1.
2019-09-17 15:24:09 +01:00
Kimmo Vaisanen ba4308344b Cellular: Fix stop tag for Quectel M26 send command
Possible responses for send command are SEND OK<cr><ln>, SEND FAIL<cr><ln> or ERROR<cr><ln>
so normal OK<cr><ln> response check does not work properly.
2019-09-17 15:52:14 +03:00
Martin Kojtal 2f1f219d73 iar export: fix invalid optmization flag - remove from misc
The exported project uses project file to set optimization, we can provide this
via misc options. It was recently changed to Ol and this was not handled in our
scripts.
2019-09-17 13:21:27 +01:00
Jaeden Amero 60f383e01f tls: Update export keys callback to use const
Mbed TLS's export keys callback requires the hello.random (for both
server and client) to be const. Make the callbacks in Mbed OS that use
the key export feature use const to match.
2019-09-17 12:57:05 +01:00
Martin Kojtal ffbd92c5a9
Merge pull request #11288 from OpenNuvoton/nuvoton_m2351_comb-sec-nonsec
M2351: Enhance secure/non-secure image build flow for non-PSA target
2019-09-17 12:18:16 +02:00
int_szyk 48040cf687 Change the LSI_VALUE according to documentation 2019-09-17 12:01:32 +02:00
Martin Kojtal 50b75295c0
Merge pull request #11487 from OpenNuvoton/nuvoton_conv_tz_test_spec2
Convert TZ target name 'NPSA' to test spec platform name
2019-09-17 09:51:15 +02:00
Martin Kojtal 3c47010fd3
Merge pull request #11462 from hugueskamba/hk-minimal-printf-update-readme
Minimal-printf: Remove file printing in README and update tables
2019-09-17 09:12:05 +02:00
ccli8 82f60d913e
Remove 'PSA' check from test spec conversion
This is unnecessary because all TZ targets must follow the naming rule: PLATFORM_[NPSA_]S/NS
2019-09-16 23:25:44 +08:00
mahanthgouda 1780a08d54 Add OKDO platform (#11407)
Add OKDO platform
2019-09-16 16:58:54 +02:00
Martin Kojtal 243e6a5eef
Merge pull request #11460 from dmaziec1/esp8266_new_trace_debug_logs
ESP8266 Unified Mbed trace prints.
2019-09-16 16:58:24 +02:00
Martin Kojtal 171fe5a619
Merge pull request #11479 from maciejbocianski/nrf51_systick_handler_fix
no-systick targets: fix systick irq handler setup
2019-09-16 15:35:22 +02:00
Martin Kojtal f51bbe01c8
Merge pull request #11471 from jeromecoutant/PR_WB_ADC
STM32WB ADC : consecutive VBAT reading
2019-09-16 13:19:09 +02:00
Ari Parkkila 823993e7b1 Cellular: Add flow control (IFC) in BG96 AT driver 2019-09-16 03:16:36 -07:00
Martin Kojtal 9673ac1283
Merge pull request #11474 from dgreen-arm/fix-mbed-crypto-importer
Remove Mbed Crypto source files before importing
2019-09-16 11:25:21 +02:00
Martin Kojtal d0686fd30b
Merge pull request #11484 from yogpan01/mbed-coap-v5.1.1
Delaying message id random initialization to later stage.
2019-09-16 09:29:00 +02:00
Chun-Chieh Li ad5e94a9c6 Convert TZ target name 'NPSA' to test spec platform name
1.  All TZ targets should have name pattern: PLATFORM_[PSA_/NPSA_]S/NS, where:
    (1) 'PLATFORM' for test spec platform name
    (2) 'PSA/NPSA' for PSA/non-PSA targets. Defaults to PSA target on absent.
    (3) 'S'/'NS' for secure/non-secure targets
2. Secure target may participate in Greentea, so its name is also truncated here.
2019-09-16 11:59:13 +08:00
Chun-Chieh Li 0ed126ba79 M2351: Add post-binary hook into uvision whitelist
This is necessary for exporting M2351 uvision project.
2019-09-16 11:02:16 +08:00
Chun-Chieh Li 85bb65cd56 M2351: Add pre-built secure image for non-PSA 2019-09-16 11:01:34 +08:00
Chun-Chieh Li b98360ed20 M2351: Enable USB UART for non-PSA secure target for Greentea
NOTE1:  USB UART is partitioned for non-secure world. Secure world still can share
        it with limit that its interrupt cannot use in secure world.
NOTE2:  In secure world, USB UART is only for Greentea and STDIO. Developers shouldn't
        use it for other purposes.
2019-09-16 10:38:52 +08:00
Chun-Chieh Li e9e85f5307 M2351: Support non-PSA secure/non-secure combined build
Support secure/non-secure combined build for non-PSA target:
1.  In secure post-build, deliver built secure image to TARGET_NU_PREBUILD_SECURE
    directory which is to combine later.
2.  In non-secure post-build, merge non-secure image with secure image saved in
    TARGET_NU_PREBUILD_SECURE directory.
3.  In non-secure post-build, user can also drop pre-built secure image saved in
    TARGET_NU_PREBUILD_SECURE directory and provide its own by adding the line below
    in mbed_app.json:
    "target.extra_labels_remove": ["NU_PREBUILD_SECURE"]
2019-09-16 10:37:08 +08:00
Chun-Chieh Li c025e33fec M2351: Rename non-PSA target name to NU_PFM_M2351_NPSA_S/NS
1.  Create a private target name NU_PFM_M2351_CM which stands for the
    NuMaker-PFM-M2351 board and is to be extended.
2.  NU_PFM_M2351_NPSA_S/NS target names for non-PSA secure/non-secure targets
    respectively.
3.  The original target name NUMAKER_PFM_M2351 is recycled and cannot be used.
    Use NU_PFM_M2351_S/NS for non-PSA secure/non-secure targets instead.

NOTE:   Target name doesn't follow the rule below because online database has
        limit of max 20 chars:

        NUMAKER_PFM_M2351_PSA/NOPSA_S/NS

        Instead, it has the rule:

        NU_PFM_M2351_[NPSA_]S/NS

        NU_PFM_M2351_S/NS for PSA targets. This is to be consistent with current
        PSA target naming. So the resolved target names are:

        NU_PFM_M2351_S          : PSA secure target
        NU_PFM_M2351_NS         : PSA non-secure target
        NU_PFM_M2351_NPSA_S     : Non-PSA secure target
        NU_PFM_M2351_NPSA_NS    : Non-PSA non-secure target
2019-09-16 10:22:23 +08:00
Chun-Chieh Li 2471c9ea10 M2351: Remove pre-built non-PSA secure image temporarily
This will add back immediately after target renaming is done.
2019-09-16 10:20:30 +08:00
Dominika Maziec 66bf8bc97b ESP8266 Unified Mbed trace prints.
All logs now:
- start with a function name (it is not automatically logged by the logger)
- do not contain class name (this can be inferred from log preamble)
- message starts with a capital letter and ends with a full-stop
2019-09-13 16:54:31 +02:00
Martin Kojtal f5dd7db8c7
Merge pull request #11459 from dmaziec1/recv_scanf_oob
Replaced in ESP8266::_oob_* recv() with scanf()
2019-09-13 16:17:48 +02:00
Martin Kojtal ac7b851ba0
Merge pull request #11409 from dmaziec1/esp8266-nonblocking
esp8266 nonblocking connect/disconnect
2019-09-13 16:12:13 +02:00
Martin Kojtal 0c59bea7f1
Merge pull request #11472 from hugueskamba/hk-silence-bogus-coverity-warnings
Suppress Coverity warnings
2019-09-13 16:04:02 +02:00
Yogesh Pande 246f431ed4 Delaying message id random initialization to later stage.
Random initialization sequence is causing start up issues in multiple platform
when done at construction phase.
The right thing is to delay the random initialization to later stage when the
message id is actually required. This provides system to do all necessary allocation
upfront without causing any random race condition at startup phase.
2019-09-13 16:17:14 +03:00
Maciej Bocianski 94a08e9aea fix systick irq handler setup
Remove checking that vectors were copied to RAM as not all targets
have NVIC_RAM_VECTOR_ADDRESS defined as public. Instead always
call NVIC_SetVector unconditionally as old implementation does.
2019-09-13 12:33:49 +02:00
Martin Kojtal bf1aa5c016
Merge pull request #11465 from kotkcy/pr/mxcrypto_alts
Updated mbedTLS CRYPTO target to be more flexibly configured for supported boards
2019-09-13 12:31:12 +02:00
Martin Kojtal 66c39e0bca
Merge pull request #11424 from mirelachirica/stack_type_ip_versions
Stack type ip versions
2019-09-13 11:46:06 +02:00
Darryl Green 4b0f0ed61c Remove Mbed Crypto source files before importing 2019-09-12 16:04:44 +01:00
Hugues Kamba 93f50eef3d Suppress Coverity warnings 2019-09-12 15:44:55 +01:00
jeromecoutant ee8489f4e9 STM32WB ADC : Consecutive VBAT values reading was not possible
Add Stop after read
2019-09-12 12:55:41 +02:00
Martin Kojtal 01bb1b94d7
Merge pull request #11467 from OpenNuvoton/nuvoton_conv_tz_test_spec
Convert TZ target name to test spec platform name
2019-09-12 12:35:12 +02:00
Martin Kojtal e090ef26d4
Merge pull request #11453 from hugueskamba/hk-fix-coverity-issues
Fix Coverity issues
2019-09-12 12:00:34 +02:00
Mirela Chirica 78f4e8b12f Cellular: Enable IPv6 stack property for BG96 2019-09-12 12:56:29 +03:00
Mirela Chirica 7aaaae121e Cellular: IP stack property redefined 2019-09-12 12:56:28 +03:00
Mirela Chirica b44ba531a1 Cellular: Check IP version of send to address 2019-09-12 12:56:28 +03:00
Mirela Chirica ea1b2b8045 Cellular: Stack type based on assigned IP addresses versions 2019-09-12 12:55:33 +03:00
Martin Kojtal dc02e0bce7
Merge pull request #11464 from jamesbeyond/exp_update
TEST: update compare log file name
2019-09-12 11:09:04 +02:00
Marcin Tomczyk df8e3c87fe Add missing documentation about tls testing - review comments fixes 2019-09-12 07:51:30 +02:00
Martin Kojtal 306e144146
Merge pull request #11445 from matthew-macovsky-cypress/pr/makefile-fix
Add catch-all rule to makefile template
2019-09-12 07:31:28 +02:00