Commit Graph

21690 Commits (0f15c7ffe5afeb3800af90a78c887d950b947934)

Author SHA1 Message Date
Michael Schwarcz 0f15c7ffe5 Fix cortex-m33-S armlink error
Add "-mfpu=none" compilation flag
2019-02-08 16:50:27 +00:00
Michael Schwarcz f869e9a144 Fix cortex-m33-S compile error
Compilation error was due to due to bug in gcc.py
2019-02-08 16:50:27 +00:00
Leszek Rusinowicz c46215dc97 FUTURE_SEQUANA: Removed special "tags" from M0 hex images for better tools compatibility
This fixes issue #9611
2019-02-08 16:50:27 +00:00
Deepika 7020e6cd23 Correct typo no_dsp - nodsp
armclang - nodsp
armlink - no_dsp
2019-02-08 16:50:27 +00:00
Brian Daniels e6ba5f0cfb Remove yotta and minar references in NCS36510 2019-02-08 16:50:27 +00:00
Jarkko Paso 730cf07f8e FHSS timer: Use singleton pointer with timer objects
This is to save statically allocated memory. Without SingletonPtr the timer objects would always be included in build.
2019-02-08 16:50:27 +00:00
Yoshihiro TSUBOI 78e8ff14bc Modified pin map
* Remove unused Peripheral Pins definitions and add UART_1 TXD/RXD pins (fix #9026)  for the Wio BG96 board
* Remove/Fix unused PinName definitions for the Wio BG96 board from the PinNames enum
2019-02-08 16:50:27 +00:00
Russ Butler 820309e378 Define Arduino pins for the LPC812
Define the unconnected Arduino pins to NC so they are all defined.
2019-02-08 16:50:27 +00:00
Russ Butler 06037854a3 Define A0 to NC for the TARGET_KW41Z
Set A0 to NC so it is defined on the KW41Z platform.
2019-02-08 16:50:27 +00:00
Russ Butler e641a0497e Remove ARDUINO form factor for nano devices
Remove ARDUINO from supported form factors on devices which have the
physical form factor of the arduino nano.
2019-02-08 16:50:27 +00:00
Russ Butler 00844af7c4 Remove ARDUINO form factor from RBLAB_BLENANO2
Remove the ARDUINO form factor from the RBLAB_BLENANO2 since it
does not have D11, D12, D14, D15 defined and does not physically have
the arduino form factor.
2019-02-08 16:50:27 +00:00
Russ Butler 740724fa52 Remove ARDUINO form factor from FF1705_L151CC
The FF1705_L151CC does not have the following pins
D4, D5, D6, D7, D8, D9, A2, A3, A4, A5 so remove the ARDUINO form
factor from it.
2019-02-08 16:50:27 +00:00
Brian Daniels a56970499d Improve error message for exports for OS2-only targets 2019-02-08 16:50:27 +00:00
Russ Butler 75a01f6806 Define USBTX and USBRX for targets missing it
Define USBTX and USBRX for the LPC11U37H and the MTS_MDOT_F405RG.
2019-02-08 16:50:27 +00:00
jeromecoutant 2a74fbfc86 STM32 targets.json styling update 2019-02-08 16:50:27 +00:00
jeromecoutant d3f0af2cda targets.json: "LOWPOWERTIMER" device_has is not used 2019-02-08 16:50:27 +00:00
jeromecoutant 4b8c2b87a0 STM32: set DEVICE_SERIAL_FC at FAMILY_STM32 level 2019-02-08 16:50:27 +00:00
Yoshihiro TSUBOI 9df989d3f3 Modified pin map
* Remove unused Peripheral Pins definitions and add UART_1 TXD/RXD pins (fix #9026)  for the Wio 3G board
* Remove/Fix unused PinName definitions for the Wio 3G board from the PinNames enum
2019-02-08 16:50:27 +00:00
Kevin Bracey 02de2c1426 Fix SharedPtr::reset
SharedPtr::reset did not actually set the stored pointer value.
Correct this, with other minor tidies:

* Ensure counter is set to NULL if pointer is reset to NULL
* Be consistent about not clearing pointers in decrement_counter().
2019-02-08 16:50:27 +00:00
jeromecoutant eb013515bf STM32F2: Enable TRNG 2019-02-08 16:50:27 +00:00
Russ Butler e8931b6087 Remove SERIAL_FC from the MPS2 family
The MPS2 family does not support flow control in its serial driver so it
should not have SERIAL_FC in device_has.
2019-02-08 16:50:27 +00:00
Russ Butler 865dc26148 Remove SERIAL_FC from the ARM_IOTSS_BEID
The ARM_IOTSS_BEID does not support flow control in its serial driver so it
should not have SERIAL_FC in device_has.
2019-02-08 16:50:27 +00:00
Russ Butler 0a31227fdd Remove SERIAL_FC from the NCS36510
The NCS36510 does not support flow control in its serial driver so it
should not have SERIAL_FC in device_has.
2019-02-08 16:50:27 +00:00
jeromecoutant 23f68359b5 STM32 Serial Flow Control
Crash occured when RTS=CTS=NC
Now we chek if used pins are the same UART as TX and RX
2019-02-08 16:50:27 +00:00
Brian Daniels 538b6825a7 Add missing space - coding style nit
Co-Authored-By: deepikabhavnani <deepika.bhavnani@arm.com>
2019-02-08 16:50:27 +00:00
deepikabhavnani 53f52f9e0e Set the DSP option as `E` for Cortex-M33 2019-02-08 16:50:27 +00:00
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