Commit Graph

4894 Commits (mbed-os-5.12.4)

Author SHA1 Message Date
Vincent Veron 5c872a4c06 TARGET_STM32F7: Reset QSPI in default mode on abort for all versions.
This patch is missing in F7 HAL.
Fix #10049

Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-04-24 13:37:42 +01:00
Qinghao Shi 452b295fde FastModel: Add SPDX License Identifier 2019-04-24 13:37:42 +01:00
Qinghao Shi 724c0bc79a FastModel: Enable low-power ticker and sleep 2019-04-24 13:37:42 +01:00
Qinghao Shi 9e1a4787a1 FastModel: refactor us_ticker code, make names intuitive
- reanme US_TICKER_TIMER1 to US_TICKER_COUNTER
 - reanme US_TICKER_TIMER2 to US_TICKER_INTERRUPT
2019-04-24 13:37:42 +01:00
Qinghao Shi c4726f9d8f FastModel: add HAL sleep implementation 2019-04-24 13:37:42 +01:00
Qinghao Shi f6f92d73e7 Fastmodel: add HAL low-power ticker implementation 2019-04-24 13:37:42 +01:00
adbridge 869028cf79 "Update secure binaries for LPC55S69_S" 2019-04-05 18:12:53 +01:00
adbridge 3aca6d8ae5 "Update secure binaries for FUTURE_SEQUANA_M0_PSA" 2019-04-05 16:33:23 +01:00
adbridge 4af9124e36 "Update secure binaries for CY8CKIT_062_WIFI_BT_M0_PSA" 2019-04-05 16:19:34 +01:00
Ashok Rao a07dbd7445 SPDX license identifier changed to Apache-2.0 2019-04-05 13:59:51 +01:00
Ashok Rao 731cd1633f Adding SPDX identifier 2019-04-05 13:59:49 +01:00
Ashok Rao 76cde7702a Incorporating review comments Removing USBDEVICE since USB pins are NOT brought out on the MTB/MCB. 2019-04-05 13:59:48 +01:00
Ashok Rao 438cf8ce17 Incorporating review comments 2019-04-05 13:59:47 +01:00
Ashok Rao f3f2cedbbf Adding STM32_F429 + S2_LP (WiSUN) as a new MTB target 2019-04-05 13:59:45 +01:00
Ashok Rao aa4803f9d6 Removing all content related to EMAC 2019-04-05 13:59:44 +01:00
Ashok Rao d7347ccc6d Adding STM S2_LP as a new target 2019-04-05 13:59:42 +01:00
Ashok Rao a71a08cbf5 Changing SPI flash's CS ine, Errata on SCH 2019-04-05 13:59:40 +01:00
Ashok Rao 997ad6c766 Pin map changes
Based on v1.1.0 of S2_LP MCB using STM32F429ZIT6.
2019-04-05 13:59:38 +01:00
Ashok Rao 0455ff45c4 Removing all content related to EMAC 2019-04-05 13:59:37 +01:00
Ashok Rao 00a1c93f89 Adding MTB aliases to PinNames 2019-04-05 13:59:35 +01:00
Ashok Rao 7632c9784d Adding STM S2_LP as a new target 2019-04-05 13:59:32 +01:00
Leszek Rusinowicz 60b1413be2 FUTURE_SEQUANA: Fixed LP ticker for M0 core
Fixed interrupt vector settings on M0 core. Wrong vector settings prevented
LP_TICKER from working, resulting in deep sleep tests failing on M0
or PSA variant.
2019-04-05 12:47:01 +01:00
Laurent Meunier c5b277f880 STM32WB: ADC INTERNAL CHANNEL reset after read
Internal channels use is enabling ADC "internal path" which needs
to be disabled after measurement.

Same applied here for WB family as was done for others in #10143.
2019-04-05 12:27:07 +01:00
Laurent Meunier defa75ae17 STM32WB: Only configure default peripherals in SetSysClock
Typically the RTC clock is configured by RTC driver itself.

RNG on the other hand is shared with M0+ core and it is expected that
M4 turns it on at boot time.
2019-04-05 12:27:07 +01:00
Laurent Meunier fee3faea3f STM32WB: disable debug lines when not needed
When doing so, do not disbale GPIO clocks as they may be used by other
drivers !

As a result, debug will be disabled by default, but can be enabled by
either modifying code or selecting MBED debug profile.
2019-04-05 12:27:07 +01:00
Laurent Meunier c0bfcec6d3 STM32WB: update deep sleep sequence
Review HSE clock initialization to match with latest CUBE firmware.
Also there is no need to set the full clock tree again after deep sleep exit.

With this change we get a stable deep sleep mode (when allowed by CORDIO stack).
2019-04-05 12:27:06 +01:00
Laurent Meunier 9cf03e3438 STM32WB: update GCC linker script to match with master 2019-04-05 12:27:06 +01:00
Laurent Meunier 5da83a2617 STM32WB: Add FLASH HW Semaphore
Because FLASH is a shared resource between the 2 STM32WB cores, SW needs
to acquire HW Semaphore before using the resource.
2019-04-05 12:27:06 +01:00
Laurent Meunier 92ef812e42 STM32WB: Add TRNG HW Semaphore
Because TRNG is a shared resource between the 2 STM32WB cores, SW needs
to acquire HW Semaphore before using the resource.
2019-04-05 12:27:06 +01:00
Laurent Meunier 07545a20d6 STM32WB: Add SPDX identifier to new files
also update the copyright year when needed
2019-04-05 12:27:06 +01:00
Laurent Meunier 615a9f6548 STM32WB: Update headers 2019-04-05 12:27:05 +01:00
Laurent Meunier 8cc84044ce STM32WB55RG: temporarily remove device_name property in targets.json
Until the CMSIS pack device name is officially deployed.

then we'll the name as can be found in Keil CMSIS pack

       <!-- *************************  Device 'STM32WB55RG'  ***************************** -->
        <device Dname="STM32WB55RGVx">
          <memory id="IROM1"                           start="0x08000000" size="0x001000000" startup="1" default="1" />
          <memory id="IRAM1"                           start="0x20000000" size="0x000040000" init="0"    default="1" />
          <algorithm name="CMSIS/Flash/STM32WB_M4.FLM" start="0x08000000" size="0x001000000"             default="1" />

          <feature type="QFP" n="68"/>
        </device>
2019-04-05 12:27:05 +01:00
Laurent Meunier 96f88c5022 STM32WB: ARM linker script update
There is no need to add FIRST attribute to MAPPING_TABLE as the default
ordering is alphabetical order.

With this change, we don't have any warning with MBED2 and the sections
are properly ordered anyway in BLE cases.
2019-04-05 12:27:05 +01:00
Laurent Meunier f903920f47 STM32WB: Fix ARM link error in mbed2
In case of mbed2, BLE feature is not built.

As there is a MAPPING_TABLE in BLE feature which is not compiled in case
of mbed2, the linker reported the below error

[ERROR] "C:/Data/Workspace/mbed/BUILD/test/NUCLEO_WB55RG/ARM/MBED_2/
.link_script.sct", line 65 (column 6): Error: L6236E:
No section matches selector - no section to be FIRST/LAST.

Solution is to check whether BLE is enabled.
2019-04-05 12:27:04 +01:00
Laurent Meunier 0dcddcea9b STM32WB: Adapt I2C timings
for now based on L4+ cubeMX inputs
2019-04-05 12:27:04 +01:00
Laurent Meunier 9e3d52d701 fixup! NUCLEO_WB55RG: add SDK files 2019-04-05 12:27:04 +01:00
Laurent Meunier 9345e5cbcb STM32WB: Add missing analogin_pinmap
This is required since PR #9449
commit
"Add HAL API for analog in pinmap"
2019-04-05 12:27:04 +01:00
Laurent Meunier 86c84050be Add WB support and CUBE FW version in readme.md 2019-04-05 12:27:04 +01:00
Laurent Meunier 91c08e3914 STM: fix minor warnings 2019-04-05 12:27:04 +01:00
Laurent Meunier 1a6cdf849f STM32WB: FIX LL RTC warning 2019-04-05 12:27:04 +01:00
Laurent Meunier e57771f375 STM32WB: Move STM32WB utilies from FEATURE_BLE to targets folder
These files are not BLE specific, but also needed for some clock setting
for instance.

In order to compile an MBED2 application, we need to move the files.
2019-04-05 12:27:04 +01:00
Laurent Meunier ee64f1543f NUCLEO_WB55RG: Rework Clock and sleep support
- move hw_conf.h file to targets/TARGET_STM/TARGET_STM32WB directory as
this is used also out of BLE feature.
- create a dedicated hal_deepsleep function as the behavior in WB is a lot
different from other existing STM32 targets
- update clock tree configuration to directly clock the entire tree @ 32MHz
out of HSE. This is needed as we want to let the M0 core running without
any change on M0-side of clocks when M4 enters /exits deep sleep.
2019-04-05 12:27:04 +01:00
bcostm 2b257fabad NUCLEO_WB55RG: update targets.json 2019-04-05 12:27:03 +01:00
Laurent Meunier b5c30756f1 NUCLEO_WB55RG: IAR, ARM and GCC linker files alignment
Align all scatter BLE shared memory declarations.
2019-04-05 12:27:03 +01:00
jeromecoutant f913a31ad2 NUCLEO_WB55RG: HAL API updates to get SLEEP, RTC and LPTICKER OK
- astyle OK
- file alignment with other families
- HSE, MSI, HSI clock support
- LPTICKER with RTC and LPTIM tested
2019-04-05 12:27:03 +01:00
bcostm f07d570137 NUCLEO_WB55RG: update STM common files
- Include RTC ll file from hal as in other families
- STM32WB: update Flash API driver
2019-04-05 12:27:03 +01:00
bcostm 658c8b6fdb NUCLEO_WB55RG: update mbed_rtx.h 2019-04-05 12:27:03 +01:00
bcostm 0613359b6b NUCLEO_WB55RG: add SDK files
- Contains files from STM32Cube_FW_WB_V1.0.0
2019-04-05 12:27:02 +01:00
Ganesh Ramachandran f05b50ec6e Fixed support for DigitalOut(NC) instantiation 2019-04-05 12:27:02 +01:00
junichi.katsu@uhuru.jp 2f45444cfd added SPDX identifier and added the description of uhuru_raven_init function 2019-04-05 12:27:01 +01:00
junichi.katsu@uhuru.jp 6b2a219740 Add definition of RAVEN 2019-04-05 12:27:01 +01:00
Brian Daniels 160055c0fe Revert "Only enable ARMC6 for a few targets"
These targets appear to run fine with ARMC5.

This reverts commit 2b75dfda0f.
2019-04-05 12:27:00 +01:00
Vivek Pallantla c5a1ea3b6b PSOC: Modify lp_ticker to 32 bit
Needed for PSoC to deep-sleep for more than 2 seconds
Max sleep with 16 bit lp_ticker (before this change) : 2sec
Max sleep with 32 bit lp_ticker (after this change)  : 36hours
2019-04-05 12:27:00 +01:00
Lei Zhang 5f74415544 PSOC6: Rebuild WICED libraries
- Modify WICED to RTOS priority mapping
2019-04-05 12:27:00 +01:00
jeromecoutant ec36d2a16e STM32 ADC INTERNAL CHANNEL reset after read
Internal channels use is enabling ADC "internal path"
which needs to be disabled after measurement
2019-04-05 12:26:59 +01:00
Mahesh Mahadevan 7efc3eb841 LPC55S69: Update Flash driver to set clock frequency
This is to ensure the flash access time is set correctly

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-04-05 12:26:58 +01:00
Vincent Veron 9a481bdca8 TARGET_STM32F7: Refresh cache when erasing or programming flash
The cache must be refreshed when we erase or program flash memory.
It fix 2 issues :
    Fix #9934
    Fix #6380

This solution was initially proposed in #6380.

Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-04-05 12:26:58 +01:00
ecoromka 313794cbc7 Fix tempsensor cal1 constant in stm32f3xx_ll_adc.h
Fix TEMPSENSOR_CAL1_TEMP according to datasheet.
2019-04-05 12:26:56 +01:00
d-kato fe1b368415 Refactoring system clock driver 2019-04-05 12:26:27 +01:00
d-kato 306ab7a650 Removed clock mode decision of "SystemCoreClockUpdate()"
Since GPIO.PPR0 can not check clock mode, I changed it to set a fixed value for each board.
2019-04-05 12:26:27 +01:00
d-kato 65a4de1c82 Fix the value of SystemCoreClock
The OS timer of RZ/A1 uses P0 clock, so until now it has been set the value of P0 clock in SystemCoreClock.
Changed the system clock value to set to SystemCoreClock.
Changed to refer to P0 clock macro instead of SystemCoreClock in OS timer processing.
2019-04-05 12:26:27 +01:00
ccli8 5ef3e077ba Add button names BUTTON1/BUTTON2 2019-04-05 12:26:27 +01:00
Oren Cohen ad79a3bd8e Define program_cycle_s for CY8CKIT_062_WIFI_BT 2019-04-05 12:26:26 +01:00
Oren Cohen be524bbb5d Define program_cycle_s for NXP LPC55S69 2019-04-05 12:26:26 +01:00
Michael Schwarcz 24a3b0cc74 LPC targets: Compile us_ticker.c only if USTICKER defined 2019-04-05 12:26:25 +01:00
Michael Schwarcz b130fae17e Add USTICKER to more targets
- LPC4088
- LPC4088_DM
- MAX32600MBED
- NCS36510
- WIZWIKI_W7500
- WIZWIKI_W7500ECO
- WIZWIKI_W7500P
2019-04-05 12:26:25 +01:00
Michael Schwarcz 83f9243362 Add USTICKER to ARCH_PRO target 2019-04-05 12:26:25 +01:00
Ryan Morse 9b9125a7f1 Fixed issue with PWM not being freed when the object is destroyed 2019-04-05 12:26:24 +01:00
Malavika Sajikumar 865a5dcf13 Renaming SDP-K1 to SDP_K1. 2019-04-05 12:26:24 +01:00
Malavika Sajikumar ad163d73e1 Disabling LPTICKER for now. Fixing a few more alignment issues. 2019-04-05 12:26:23 +01:00
Malavika Sajikumar 792d3b09d2 Updating SPDX-License-Identifier. 2019-04-05 12:26:23 +01:00
Malavika Sajikumar bb863b3109 Adding support for SDP connector pins. 2019-04-05 12:26:23 +01:00
Malavika Sajikumar 41ba2da3d6 Fixing for Travis CI test fail. 5e9e140. 2019-04-05 12:26:23 +01:00
Malavika Sajikumar 4b080876e9 Adding SPDX identifier (year 2019) to the license. 2019-04-05 12:26:23 +01:00
Malavika Sajikumar 84fe82e78e Removing commented out lines. Added SDP connector pins. 2019-04-05 12:26:23 +01:00
Malavika Sajikumar cfcefd347f Fixing alignment on the lines for SDP-K1 description. 2019-04-05 12:26:23 +01:00
Malavika Sajikumar 5b4b4386d0 Adding support for SDP-K1. 2019-04-05 12:26:22 +01:00
jeromecoutant 3c17155119 DISCO_L496AG: Add PMOD and STMOD+ connector 2019-04-05 12:26:20 +01:00
ccli8 2ab9540b80 Remove SD component from targets.json
Nuvoton targets below don't provide SPI-bus SD on-board, identified by 'SD' in
target component list. Instead, these targets provide SD-bus SD on-board, identified
by unofficial 'NUSD', driver of which is provided outside mbed-os tree. So 'SD' must
be removed to reflect the truth.

- NUMAKER_PFM_NUC472
- NUMAKER_PFM_M487
- NUMAKER_IOT_M487
- NUMAKER_PFM_M2351
2019-04-05 12:26:20 +01:00
Juho Eskeli e49d00fd71 MTB_STM_L475: fix UART clock 2019-04-05 12:26:19 +01:00
Ashok Rao 2daa3e6783 Removing redundant code.
MCO pins are not brought out on MTB / MCB design.
2019-04-05 12:26:18 +01:00
Ashok Rao 5e39bf8eec Adding STM32_F439 as a new MTB target 2019-04-05 12:26:18 +01:00
jeromecoutant 85d832eb9f STM32H7 ADC internal channels 2019-04-05 12:26:18 +01:00
d-kato a384f140e1 Fix condition statement of write function 2019-04-05 12:26:13 +01:00
d-kato 41c422bc9a Add PWM pin for GR-LYCHEE 2019-04-05 12:26:13 +01:00
d-kato 080ca96304 Remove noise when duty is 0% and 100% 2019-04-05 12:26:13 +01:00
d-kato 7f08937c6d Changed PWM period setting register for RZ/A1 2019-04-05 12:26:13 +01:00
d-kato 255a4d447e Refactoring PWM driver for RZ/A1 2019-04-05 12:26:13 +01:00
Jan Jongboom 716e4d43cb OdinWifiInterface is calling memcpy with a null pointer 2019-04-05 12:26:10 +01:00
Oleg Kapshii 203b3a65d8 Removed PSoC6 SystemInit Workaround for ARM compiler 2019-04-05 12:26:09 +01:00
Ganesh Ramachandran b2a294e535 Error check for reallocation memory fail 2019-04-05 12:26:09 +01:00
Jan Jongboom 842d5d41bf GigaDevice targets can return ninitialized variable in CAN driver 2019-04-05 12:26:08 +01:00
Jan Jongboom e441f1f99d SAML21J18A: #endif without #if in analogout_api.c
This PR: 3bd3aca6db (diff-995cd6fe18f4fabfb549266dde0a3784) broke the SAML21J18A target, as there was no `#if DEVICE_ANALOGOUT` call, and this PR added an `#endif` there that's not matched now.
2019-04-05 12:26:08 +01:00
jeromecoutant 90f11a1c19 NUCLEO_H743ZI: Arduino A5 is mapped on ADC3_IN6 2019-04-05 12:26:08 +01:00
Wajahat Abbas d481cd01f8 do not assert MDMRST in case of SARA-R4 2019-04-05 12:26:08 +01:00
Michael Coulter 936173a2c9 Fix for i2c_t object not being initialized to 0 causing timeout For issue #9890 2019-04-05 12:26:08 +01:00
jeromecoutant d521ec6003 STM32F429 ARM MICRO startup file update 2019-04-05 12:26:06 +01:00
mudassar-ublox 9d28abae0d C030_N211 cellular api refactoring 2019-04-05 12:26:05 +01:00
Brian Daniels 9244a89eb5 Only enable ARMC6 for a few targets
The affected targets are Renesas targets, USI_WM_BN_BM_22 based
targets, and the MTB_MXCHIP_EMW3166.
2019-03-24 09:48:43 +00:00
Oren Cohen 2cff0ef18f Add missing sector data 2019-03-24 09:48:43 +00:00
Oren Cohen 627f47f161 Remove device_name from targets.json 2019-03-24 09:48:43 +00:00
Alexander Zilberkant 290f6121b4 "Update secure binaries for LPC55S69_S" 2019-03-19 17:29:15 +02:00
Alexander Zilberkant d99f82a557 "Update secure binaries for FUTURE_SEQUANA_M0_PSA" 2019-03-19 17:28:47 +02:00
Alexander Zilberkant 322e901bf7 "Update secure binaries for CY8CKIT_062_WIFI_BT_M0_PSA" 2019-03-19 17:27:41 +02:00
David Saada a566fab330 Add bootloader support for the LPC55S69 board
bla
2019-03-19 13:12:36 +00:00
Mahesh Mahadevan d5295dbde2 LPC55S69: Add IAR and uvision exporter support
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-19 13:12:35 +00:00
Oren Cohen 6fa5c9e1d2 "Update secure binaries for LPC55S69_S" 2019-03-19 13:12:34 +00:00
Michael Schwarcz 5311b90cf4 LPC55S69_S: reduce ITS size to 32KB
- Reduce LPC55S69 secure side ITS from 64KB to 32KB
2019-03-19 13:12:18 +00:00
Yossi Levy 122a018b97 Updating Cypress CY8CKIT_062_WIFI_BT_PSA and CY8CKIT_062_BLE device name 2019-03-19 13:12:17 +00:00
Yossi Levy 2ac05a0ec0 Adding documentation for MBED_APP_START and MBED_APP_SIZE in TARGET_CY8C62XX and TARGET_CY8CKIT_062_BLE linker scripts 2019-03-19 13:12:17 +00:00
Yossi Levy f05f3ec7a4 mbed-os to support bootlader for Cypress CY8CKIT_062_WIFI_BT_PSA and CY8CKIT_062_BLE 2019-03-19 13:12:16 +00:00
Oren Cohen cd2d1bde36 "Update secure binaries for CY8CKIT_062_WIFI_BT_M0_PSA" 2019-03-19 13:12:16 +00:00
Oren Cohen 86d030dbaa Finish memory protection and add static assert 2019-03-19 13:11:58 +00:00
Evgeni 51818e4d10 "Update secure binaries for CY8CKIT_062_WIFI_BT_M0_PSA" 2019-03-19 13:11:57 +00:00
Evgeni Bolotin 21f81cca20 make protected secure flash region configurable and change secure and non secure default region sizes 2019-03-19 12:59:08 +00:00
Michael Schwarcz 0e84d19f2f Update NS IAR icf file 2019-03-19 12:59:08 +00:00
Michael Schwarcz 42fca9ae0e Reduce 32KB from LPC55S69_S binary size 2019-03-19 12:59:08 +00:00
Cruz Monrreal II a04507af32 "Update secure binaries for LPC55S69_S" 2019-03-12 12:06:46 -05:00
Cruz Monrreal II 8c216f85d7 "Update secure binaries for FUTURE_SEQUANA_M0_PSA" 2019-03-12 10:46:04 -05:00
Cruz Monrreal II 9210b34815 "Update secure binaries for CY8CKIT_062_WIFI_BT_M0_PSA" 2019-03-12 10:39:54 -05:00
Arto Kinnunen fc73e4534a Use Mbed OS coding style
Run astyle 3.0 for the changed c-files.
2019-03-12 10:06:40 -05:00
Arto Kinnunen c7c0af8488 Add spi_get_peripheral_name to MCUEpresso spi_api
Fix issue https://github.com/ARMmbed/mbed-os/issues/9149.

Port changes from https://github.com/ARMmbed/mbed-os/pull/9845 also
to targets: K64F, K66F, KW24D and KW41Z
2019-03-12 10:06:40 -05:00
Alexander Zilberkant 64530095b9 Rename psa_system_reset to mbed_psa_system_reset
add noreturn attributes
update lifecycle service to use psa/error.h
fix doxygen
2019-03-12 10:06:40 -05:00
Oren Cohen 422bf25520 PSoC 6 Correct TRNG behaviour
* Remove NVSEED from M0_PSA
* Disable TRNG support for PSA M4
2019-03-12 10:06:40 -05:00
Mahesh Mahadevan 941b1c9b4c Updated the binaries
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:39 -05:00
Mahesh Mahadevan 01f3a0c532 Reduce the number of flash operation related veneer table entries
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:39 -05:00
Michael Schwarcz 66c1af1be1 LPC55S69: Change post-build hook to create HEX 2019-03-12 10:06:39 -05:00
Michael Schwarcz 6b61c288aa LPC55S69: Use find_secure_image in post-build and add prebuilt secure images 2019-03-12 10:06:39 -05:00
Mahesh Mahadevan f1d90c9cf8 LPC55S69: Fix the I2C SDK driver
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:38 -05:00
Mahesh Mahadevan e2366c3c1d MCUXpresso: Update Analogin support
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:38 -05:00
Mahesh Mahadevan 80006c8275 LPC55S69: Add a ctimer for usticker to be used in the secure domain
CTIMER 0 is used for the secure domain and CTIMER 1 is used for
the non-secure domain

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:38 -05:00
Mahesh Mahadevan 192040c0ae LPC55S69: Remove FPU_PRESENT and DSP_PRESENT defines
These are defined by mbed during compile

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:38 -05:00
Mahesh Mahadevan b2eb0459b5 MCUXpresso: Update the sleep implementation for LPC55S69 differences
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:38 -05:00
Mahesh Mahadevan 69c4ca3aaf Add support for LPC55S69
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:38 -05:00
Mahesh Mahadevan 9efcd955ce MCUXpresso: Update SPI driver
Move the clock setup and peripheral reset to the init function

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:38 -05:00
Mahesh Mahadevan 1dc9a6760c MCUXpresso: In pin_function() use mask macro instead of a hard-coded value
The mask size can vary based on the platform

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:38 -05:00
Mahesh Mahadevan b818c822be MCUXpresso: Update LPC TRNG driver
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:38 -05:00
Mahesh Mahadevan 7d2f50be11 MCUXpresso: Update LPC HAL flash driver
The flash driver for the LPC55S69 is different from
prior LPC family. Move the Flash HAL driver to SoC
specific folder

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:38 -05:00
Mahesh Mahadevan 270374b96c MCUXpresso: Update LPC I2C, SPI, UART HAL drivers
Use the individual IP count and not the FlexComm count

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:38 -05:00
Mahesh Mahadevan 981b6259b6 MCUXpresso: Update the LPC GPIO drivers
Update to the latest SDK GPIO driver

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:38 -05:00
Mahesh Mahadevan 2aa0e5f04a MCUXpresso: Update usticker driver
Move clock frequency to a target specific function

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:37 -05:00
Leszek Rusinowicz 4276779456 Removed cymetadata section from FUTURE_SEQUANA targets
This data, placed at physically not existing addresses (0x9xxxxxxx) was used
only by PSoC Programmer and KitProg2 and is no longer needed, but was causing
issues with standard hex file processing tools like srecord (srec_cat).
2019-03-12 10:06:37 -05:00
Sarah Marsh 0cf73fc344 NUCLEO_L073RZ: IAR linker script issue 2019-03-12 10:06:37 -05:00
Kyle Kearney 7aa52087af Rebuild PSoC6 secure binaries 2019-03-12 10:06:33 -05:00
Neil Tuttle b2105b1879 Rename PSoC 6 assembler files from .s to .S 2019-03-12 10:06:33 -05:00
Neil Tuttle d29baa0125 TARGET_PSOC6: Fix incorrect serial clock divider
If the board-specific initialization code configures the serial port to
use an 8-bit divider, the serial_init_clock function would configure the
16-bit divider with the same index instead of the intended 8-bit
divider.
2019-03-12 10:06:33 -05:00
Shuopeng Deng 6ea172179f adding flash iap component to cypress psoc6 m4 2019-03-12 10:06:33 -05:00
Vivek Pallantla 69e8b735b0 PSOC6 deep-sleep changes
- Enable add MBED_TICKLESS in targets/targets.json
 - BLE : deep-sleep aware HCI transport driver
 - WIFI: deep-sleep aware driver
 - Rebuild WICED libraries with Low Power changes
2019-03-12 10:06:33 -05:00
Sergii Vozniak 42f9c86327 Fixed type of STDIO UART initialization variable. 2019-03-12 10:06:32 -05:00
Oleg Kapshii 78a0057858 Added support for PSA target to WIFI_BT board
Added WiFi_Bt CM4 PSA target in mbedos json
Added SPE-NSPE mailbox initialization for CM4 SystemInit
Made similar to FUTURE_SEQUANA configurations
Copied FUTURE_SEQUANA CM0 SPM part for WiFi_Bt smoke test
Added CY8CKIT_062_WIFI_BT_M0 and CY8CKIT_062_WIFI_BT_M0_PSA targets
Sorted files for new CY8CKIT_062_WIFI_BT_M0 and CY8CKIT_062_WIFI_BT_M0_PSA targets
Copied files for CY8CKIT_062_WIFI_BT_M0_PSA from FUTURE_SEQUANA
Copied and updated cm0p start files
Corrected according to FUTURE_SEQUANA
Changes to M0 startup files to have SPM started
Fixed implicit declaration warning
Commented interrupts enabling according to FUTURE_SEQUANA flow
Updated prebuild spm_smore CM0 hex for CM4 target
Turned on greentea environment
Used special memory region for common CM0/CM4 data
Updated prebuild CM0 SPM hex
Placed shared memory region for flash operations into SPM shared memory region
Updated cyprotection code and configuration
Start address of protected regions is set by a defined number from target.json
Added masters pcMask configuration
Added support for PSA target to WIFI_BT board
Enabled resources protection for SPM
Aligned RAM usage according to Cypress FlashBoot and CyBootloader
alligned protection config
Added CYW943012P6EVB_01_M0 target
Enlarged heap size, remobed nv_seed
Added heap reservation in linker script from mbed-os
Removed heap size definition
turned on nv_seed config
Removed nv_seed macros
Enabled protection for PSoC6 CM0
Added PSoC6 CM0 PSA readme
Enabled mbed_hal-spm test
Enabled nv_seed and removed unneeded ipc config define
Added SPDX string to feature_ble cypress target files
Removed unneeded supported_toolchains lines for Cypress targets
Disabled protection settings
Corrected flash initialization for PSoC6 CM0 PSA
Changed PSoC6 IPC6 protection for flash
Enabled special flash initialization and enabled protection settings
Updated and added new prebuild PSoC6 CM0 PSA hex files
Disabled HW TRNG and CRC for PSoC6 CM4 PSA target
Added missing const to allow types to match
Updated PSoC6 WIFI_BT_PSA prebuilt directory
Moved PSoC6 shared section usage area definition to begin of ld
Added initial ARM_STD linker and startup files for PSoC6 CM0
Added initial IAR linker and startup files for PSoC6 CM0
Added defines to disable some SPM protection settings for PSoC64
Moved Flash function variables into separate memory region
Added defines for new Public area definition
Updated PSoC6 CM0_PSA hex-files
2019-03-12 10:06:32 -05:00