Commit Graph

21664 Commits (ddf5060ef923f929f3673f9fc542e0824c5fb61d)

Author SHA1 Message Date
deepikabhavnani ddf5060ef9 Correct the floating+dsp options for Cortex-M processors
As per the IAR Development guide, below options for CPU are valid

1. Cortex-M33
2. Cortex-M33.no_dsp (core without integer DSP extension)
3. Cortex-M33.fp (floating-point unit with support for single precision)
4. Cortex-M33.no_se (core without support for TrustZone)
5. Cortex-M4
6. Cortex-M4F
7. Cortex-M7
8. Cortex-M7.fp.dp (floating-point unit with support for double precision)
9. Cortex-M7.fp.sp (floating-point unit with support for single precision)
2019-02-08 16:50:27 +00:00
deepikabhavnani 3493e3ef56 Update `cmse` flag based on core_arch instead of different cores 2019-02-08 16:50:27 +00:00
Deepika 39827e4fbb M2351: Update code to support IAR 8.x builds 2019-02-08 16:50:27 +00:00
deepikabhavnani c20bf95a51 Update IAR flags for Armv8M devices.
Cortex-M23 / Cortex-M33 CPU settings for baseline and mainline
profile (with optional floating and dsp options) updated.
2019-02-08 16:50:27 +00:00
Senthil Ramakrishnan 228fd63ae7 Modified fixes with review comments 2019-02-08 16:50:27 +00:00
Senthil Ramakrishnan f47d241721 Fix for ARMc6 compiler errors 2019-02-08 16:50:27 +00:00
Leszek Rusinowicz d673738ba0 PSOC6: M0 core image for BLE controller updated to version 1.05
- fixed issues with timeouts withing BLE stack causing disconnections
- fixed issues with i/o reservation conflicts
2019-02-08 16:50:27 +00:00
Michal Paszta d9ca7ad97a Use an ip4- and ip6-compliant site to test TLS certificate error reporting 2019-02-08 16:50:27 +00:00
Rob Vlaar e0c20d5294 fixed indentation 2019-02-08 16:50:27 +00:00
Rob Vlaar b4ca822f22 Reset internal vref buffer after an ADC conversion using the config channel function 2019-02-08 16:50:27 +00:00
Amir Cohen 273c0143dc asyle issues 2019-02-08 16:50:27 +00:00
Amir Cohen 523375865c Modify general blockdevice tests to run all storage components
All tests will run for each storage component available on device excapt for test_get_type_functionality that will run once on the default blockdevice.
2019-02-08 16:50:27 +00:00
Andriy.Lishchynskyi 3bf6e9afb0 Resolved code review comments 2019-02-08 16:50:27 +00:00
Jimmy Brisson ea074d0c71 Apply suggestions from code review
Co-Authored-By: Cypress-OpenOCD <39907069+Cypress-OpenOCD@users.noreply.github.com>
2019-02-08 16:50:27 +00:00
Andriy.Lishchynskyi a427d891fe Added copyright notes 2019-02-08 16:50:27 +00:00
Andriy.Lishchynskyi 9bae7c4288 Changes: - added new erase launch configuration - added new kits support - code cleanup 2019-02-08 16:50:27 +00:00
Andriy.Lishchynskyi e6ab529a1e Fix python3 compatibility issue 2019-02-08 16:50:27 +00:00
Andriy.Lishchynskyi 7314258275 Added GNU MCU Eclipse plug-in support 2019-02-08 16:50:27 +00:00
Andriy.Lishchynskyi 5b979148aa Reworked launch configuration creation mechanism - switched to single template. Specific data comes from the JSON file 2019-02-08 16:50:27 +00:00
Andriy.Lishchynskyi 900ba6c9b6 added support for debug and program launch configurations 2019-02-08 16:50:27 +00:00
deepikabhavnani 4419f62bb0 Change if statements to lookup tables 2019-02-08 16:50:27 +00:00
deepikabhavnani a8c9cf1322 Change DSP variant symbol to `E` from `D`(d-double floating point) 2019-02-08 16:50:27 +00:00
deepikabhavnani 46dbfd6199 GCC_ARM: Strip the -NS from core option before setting floating point options 2019-02-08 16:50:27 +00:00
deepikabhavnani d8d62238d2 Armc6 - Set floating point and CPU options for all core variants explicitly
Below are the options read from the toolchains/arm
armclang --target=arm-arm-none-eabi -mcpu=list
The following arguments to option 'mcpu' can be selected:
  -mcpu=cortex-m0
  -mcpu=cortex-m0plus
  -mcpu=cortex-m1
  -mcpu=cortex-m3
  -mcpu=cortex-m4
  -mcpu=cortex-m7
  -mcpu=cortex-m23
  -mcpu=cortex-m33
  ...

armlink --cpu=list
The following arguments to option 'cpu' can be selected:
 --cpu=Cortex-M0
 --cpu=Cortex-M0plus
 --cpu=Cortex-M1
 --cpu=Cortex-M1.os_extension
 --cpu=Cortex-M1.no_os_extension
 --cpu=Cortex-M4
 --cpu=Cortex-M4.no_fp
 --cpu=Cortex-M7
 --cpu=Cortex-M7.fp.sp
 --cpu=Cortex-M7.no_fp
 --cpu=Cortex-M23
 --cpu=Cortex-M33
 --cpu=Cortex-M33.no_fp
 --cpu=Cortex-M33.no_dsp
 --cpu=Cortex-M33.no_dsp.no_fp
...

armclang --target=arm-arm-none-eabi -mfpu=list
The following arguments to option 'mfpu' can be selected:
  -mfpu=fpv4-sp-d16
  -mfpu=fpv5-sp-d16
  -mfpu=fpv5-d16
...
2019-02-08 16:50:27 +00:00
deepikabhavnani 1c5eb39b05 Use core arch for setting secure/non-secure flags 2019-02-08 16:50:27 +00:00
deepikabhavnani bad1483a30 Moved util (common test folder) inside the TESTS directory
Util was common test folder, which was kept outside as we had
no mechanism to have common files for various tests in tools.
Now same can be achieved by having COMMON folder inside tests
directory
2019-02-08 16:50:27 +00:00
deepikabhavnani aa6d80d39e Moved `mbed_lib.json` outside config folder
This is to have consistency across all storage components
2019-02-08 16:50:27 +00:00
David Saada 025edb0c5f FlashIAP BD: Assert if default constructor is used w/o config change 2019-02-08 16:50:27 +00:00
Marcin Tomczyk e0bf2593ce ONME-3868, Modiefie mem-size parameter to minimal size that work with DTLS 2019-02-08 16:50:27 +00:00
David Saada 569540f8d6 NVStore: fix area calculation function
Don't allocate the sector map array in this function,
as it was buggy and redundant. Separate user config vs. automatic allocation
cases instead (which was essentially the case anyway).
In addition, fix tests to get over failures in low end boards
2019-02-08 16:50:27 +00:00
Seppo Takalo c66456a1d6 Fix TCPSOCKET_ENDPOINT_CLOSE: Cannot accept WOULD_BLOCK
This testcase uses Socket in blocking mode, and therefore
WOULD_BLOCK should not be accepted.
The logic was wrong anyway, because return value was tested
to be negative before testing with WOULD_BLOCK which is negative
as well.

Also replaced TEST_FAIL() macro with TEST_ASSERT_EQUAL() to
make the return code visible in test log.
2019-02-08 16:50:27 +00:00
Amir Cohen dd43030751 Add sd-driver example 2019-02-08 16:50:27 +00:00
jeromecoutant 8d4b54db12 STM32_gen_PeripheralPins.py v1.5
Use dedicated PinMap for each QSPI data line #9438
2019-02-08 16:50:27 +00:00
jeromecoutant 4ba8e0e754 STM32: PeripheralPins files minor update
Script version 1.4
CubeMX DB version DB.5.0.1
2019-02-08 16:50:27 +00:00
jeromecoutant 9563254658 STM32_gen_PeripheralPins.py v1.4
Minor updates:
- remove QSPI BK2
- beautifier edition
- use STM_MODE_ANALOG_ADC_CONTROL for L4 family
2019-02-08 16:50:27 +00:00
Jarno Lamsa be2eb9b6ed Set tasklet parameters before connecting
Set tasklet parameters before connecting to prevent the parameters to be set to 0.
The tasklet parameters are reset to 0 when wisun_tasklet_connect gets called,
thus those need to be set in the wisun_tasklet_configure_and_connect_to_network
before they are used. This is also done this way in other tasklets.
2019-02-08 16:50:27 +00:00
Jarno Lamsa fdd0360f3e Remove yotta-specific lines from .gitignore 2019-02-08 16:50:27 +00:00
paul-szczepanek-arm 03fda0c842 review fixes 2019-02-08 16:50:27 +00:00
paul-szczepanek-arm 77113a9f2c check scanning status first 2019-02-08 16:50:27 +00:00
paul-szczepanek-arm a0b5b60e6b scan timeout for 4.2 controllers using new API 2019-02-08 16:50:27 +00:00
Brian Daniels 3180422483 Update utest README 2019-02-08 16:50:27 +00:00
Brian Daniels cadbd3a950 Correct example given in greentea-client readme 2019-02-08 16:50:27 +00:00
Brian Daniels fa92ed4137 Remove reference to yotta and mbed-drivers in greentea-client 2019-02-08 16:50:27 +00:00
Brian Daniels 3ad5e13070 Removing references to yotta and minar within utest 2019-02-08 16:50:27 +00:00
Michal Paszta cd438a321a Prevent double attempt to connect mesh api
Socket network interface tests were failing due to DICONNECTED event
being advertised, where GLOBAL_UP was expected. It turned out that
nanostack receives two events: APPL_EVENT_CONNECT and
APPL_BACKHAUL_INTERFACE_PHY_UP. The second attempt to connect obviously
returns errors, but it also causes events to be sent out to the
application. The second attempt should not take place in case the
bootstrap is already started.

I also fixed two reports being sent with DISCONNECT status, while they
are actually something else.
2019-02-08 16:50:27 +00:00
jeromecoutant 2eec7c8562 STM32H7: 0S2 compilation 2019-02-08 16:50:27 +00:00
Fahim Alavi fad7ff9655 Fixed modem reset functionality to avoid low time to trigger module switch off 2019-02-08 16:50:27 +00:00
Veijo Pesonen 7dbce3e15a Test UDPSOCKET_SENDTO_INVALID allows NSAPI_ERROR_UNSUPPORTED 2019-02-08 16:50:27 +00:00
Veijo Pesonen dd82b6be74 ESP8266: with empty packet send returns zero if TCP, unsupported otherwise 2019-02-08 16:50:27 +00:00
Mirela Chirica 138a2774a0 Cellular: Remove makefile and mbedignore refering to obsolete cellular unit tests 2019-02-08 16:50:27 +00:00