Commit Graph

4696 Commits (10c6a277d34e757c1b8d4829343ae20ed6936036)

Author SHA1 Message Date
Cruz Monrreal 87a9d7c45a
Merge pull request #9605 from kfnta/alzix/pelion-psa
Restore MBEDTLS_PSA_CRYPTO_C for PSA targets
2019-02-11 18:46:12 -06:00
Deepika 80eb887f5b Update linker files and resolve build issue
Linker files for LPC11U68 and LPC1549 updated as Mbed OS memory model
1.	LPC1549
Has multiple memory banks, 4K bank used for stack exclusively and 16K for Heap
Its is mbed 2 only target hence 4K for stack.

2.	LPC11U68
Added Heap and Stack sections in linker files. Resolved build issues.
2019-02-11 14:44:41 -06:00
Martin Kojtal 8f932a476f
Merge pull request #9449 from c1728p9/pinmap-extension
Pinmap extensions
2019-02-11 18:24:19 +01:00
Martin Kojtal fd5a6af137
Merge pull request #9613 from mprse/stack_heap_fix_k64f_only
K64/ARM: Update to 2-region model for HEAP and Stack Memory
2019-02-11 17:55:30 +01:00
Martin Kojtal 160a771e2b
Merge pull request #9647 from lrusinowicz/sequana_spi_fixes
FUTURE_SEQUANA: SPI HAL fixes
2019-02-11 17:53:04 +01:00
Fahim Alavi 3549083f9c Default behavior of C030-R412M should be to use modem IP stack 2019-02-11 16:12:29 +05:00
ccli8 99dd189177 [Nuvoton] Remove unnecessary header files in crypto-misc.cpp 2019-02-11 18:10:51 +08:00
ccli8 8988b6e9db [M2351] Hook crypto interrupt handler without NVIC_SetVector 2019-02-11 14:21:41 +08:00
ccli8 267f62e928 [M2351] Fix crypto AC mgmt
Port of NUC472/M487 crypto AC mgmt work to M2351:
1. Choose mutex to synchronize access to crypto non-SHA AC
2. Choose atomic flag to synchronize access to crypto SHA AC
2019-02-11 13:36:15 +08:00
Alexander Zilberkant d629bdfe5f FUTURE_SEQUANA_M0_PSA - fix CM4 starting address
Use PSA_NON_SECURE_ROM_START configuration value instead of hardcoded CY_CORTEX_M4_APPL_ADDR.
2019-02-10 11:13:38 +02:00
Leszek Rusinowicz 2f6684ba19 FUTURE_SEQUANA: SPI HAL fixes
1. Removed random i/o glitches occurring during device reconfiguration
2. Fixed hazardous reads occurring at the end of transfer resulting
   in incorrect values being received
3. Added spi_free() function
4. Replaced default M0 image with a one ignoring i/o reservation. This is
   a workaround for missing proper destructors in Mbed drivers and BlockDevice
   tests failing on repeated initialization
Fixes issue #9620.
2019-02-08 16:59:13 +01:00
Russ Butler 800708569d Add testing pinmaps to LPC15XX and LPC8XX devices
Add pinmap tables to the LPC15XX and LPC8XX families to allow testing.
2019-02-08 09:10:49 -06:00
Russ Butler c7a19461b4 Add pinmaps to Ameba
Add testing pinmaps to the Ameba along with fixing build errors.
2019-02-08 09:10:47 -06:00
Russ Butler 8d205ab430 Add testing pinmaps to NRF5X devices
Add pinmap tables to the NRF5X families to allow testing.
2019-02-08 09:10:46 -06:00
Russ Butler 7071513d7f Add form factor pinmap support
Add support for listing all the pins of one or more form factors.
This is in preparation for automated testing of the default form
factor.

This patch includes the following:
-A function to get a list of restricted pins which should not be
    used for testing due to some caveat.
-The target config "default-form-factor" which can specify which form
    factor should be tested
-Form factor information for the arduino form factor
2019-02-08 09:10:45 -06:00
Russ Butler 8669417e7b Add HAL API for spi pinmap
Add the functions to get spi pinmaps to all targets.
2019-02-08 09:10:37 -06:00
Russ Butler 34c176654d Add HAL API for serial pinmap
Add the functions serial_tx_pinmap, serial_rx_pinmap, serial_cts_pinmap
and serial_rts_pinmap to all targets.
2019-02-08 09:10:28 -06:00
Russ Butler 2ed1dc2bfa Add HAL API for qspi pinmap
Add the functions qspi_master_sclk_pinmap, qspi_master_ssel_pinmap and
qspi_master_data0_pinmap-qspi_master_data3_pinmap to all targets with
qspi support.
2019-02-08 09:10:25 -06:00
Russ Butler be492fe07a Add HAL API for pwmout pinmap
Add the function pwm_pinmap to all targets.
2019-02-08 09:10:19 -06:00
Russ Butler 22a89773fa Add HAL API for i2c pinmap
Add the functions i2c_master_sda_pinmap, i2c_master_scl_pinmap,
i2c_slave_sda_pinmap and i2c_slave_scl_pinmap to all targets.
2019-02-08 09:10:12 -06:00
Russ Butler 7e8695a2c5 Add HAL API for can pinmap
Add the functions can_rd_pinmap and can_td_pinmap to all targets.
2019-02-08 09:10:10 -06:00
Russ Butler 3bd3aca6db Add HAL API for analog out pinmap
Add the function analogout_pinmap to all targets.
2019-02-08 09:10:05 -06:00
Russ Butler 4818f88d73 Add HAL API for analog in pinmap
Add the function analogin_pinmap to all targets.
2019-02-08 09:09:51 -06:00
Anna Bridge 3252530e3a
Merge pull request #9481 from vmedcy/add_cypress_kits
Add Cypress PSoC 6 targets
2019-02-08 10:43:28 +00:00
Volodymyr Medvid aebf242e43 PSOC6: add network-default-interface-type to Cypress boards
Set the default network interface type as WIFI for Cypress
targets with on-board WICED Wi-Fi module.
2019-02-07 18:24:57 +02:00
Volodymyr Medvid 022bd8eeef Add WICED binary drivers for Cypress PSoC 6 targets
Add prebuilt WICED libraries for the PSoC 6 boards with WICED radios:
* TARGET_CY8CKIT_062_4343W
* TARGET_CY8CKIT_062_WIFI_BT
* TARGET_CY8CPROTO_062_4343W
* TARGET_CYW943012P6EVB_01

Add required extra labels to the PSoC 6 targets in targets.json:
(PSOC6_01/02 labels are used during the library compilation).
2019-02-07 18:24:56 +02:00
Volodymyr Medvid a16811532b PSoC6: add implementation of BLE HCI driver for CYW4343W/CYW43012
Add Cypress HCI driver implementation in TARGET_Cypress directory.

Update targets.json to enable CORDIO stack for Cypress PSoC 6 boards
with CYW43XXX radios with compatible HCI driver implementation:
CYW4343W and CYW43012.
2019-02-07 18:24:56 +02:00
Nir Sonnenschein e6c2a1de40
Merge pull request #9566 from kfnta/alzix/crypto-warn
Fix warning in Crypto when using boot seed injection
2019-02-07 18:18:41 +02:00
Nir Sonnenschein 8c2ad14ace
Merge pull request #9568 from ARMmbed/feature-cellular-refactor
Merge feature cellular refactor
2019-02-07 18:17:32 +02:00
Volodymyr Medvid 5c47eb4b20 PSOC6: add BSP generated sources for Cypress kits
Code generated for pioneer kits:
* CY8CKIT-062-4343W
* CY8CKIT-062-BLE
* CY8CKIT-WIFI-BT
Prototyping boards:
* CY8CPROTO-062-4343W

The source is generated with ModusToolbox Device Configurator.
The origin design.modus files used to produce the GeneratedSource
will be submitted in the consequent pull requests.
2019-02-06 19:39:42 +02:00
Volodymyr Medvid 7aeb2ff361 Add prebuilt CM0+ images for Cypress kits 2019-02-06 19:39:42 +02:00
Volodymyr Medvid 769b725601 PSOC6: add BSPs for Cypress kits 2019-02-06 19:39:42 +02:00
Volodymyr Medvid 432c29d806 PSOC6: add CRC and TRNG APIs
Exclude the labels from inherited FUTURE_SEQUANA targets.
2019-02-06 19:39:42 +02:00
Volodymyr Medvid 6d932c69e6 PSOC6: update the HAL implementation to latest PDL
Integrate the latest fixes to the PSoC 6 HAL.
2019-02-06 19:39:41 +02:00
Volodymyr Medvid 4713de29db PSOC6: add the latest Cypress PDL sources 2019-02-06 19:39:38 +02:00
Volodymyr Medvid cd98eb619a PSOC6: reuse FUTURE_SEQUANA porting layer
Copy the porting layer from TARGET_PSOC6_FUTURE to TARGET_PSOC6.
This commit is intended to make the history and changes applied easier
to follow.
ipcpipe_transport.c, ipcpipe_transport.h, rpc_api.h, rpc_defs.h
are excluded (not used by Cypress port).
PeripheralNames.h is moved to BSP layer introduced in subsequent
commits (the peripheral names and count are board-specific).
2019-02-06 18:56:19 +02:00
Volodymyr Medvid 6b0658dd30 Move FUTURE_SEQUANA port to TARGET_PSOC6_FUTURE
The targets/TARGET_Cypress/TARGET_PSOC6 is dedicated to the mbed-os HAL
and PSoC 6 MCU targets developed by Cypress Semiconductor. Move the
existing port developed by Future Electronics to TARGET_PSOC_FUTURE
and update the labels in targets.json appropriately.
2019-02-06 18:56:19 +02:00
Ganesh Ramachandran a9a79dfecf Added MBED_APP_START to linker script 2019-02-06 17:38:19 +05:30
Martin Kojtal 57d8915a89
Merge pull request #9615 from lrusinowicz/updated_hex_images
FUTURE_SEQUANA: Remove special "tags" from M0 hex images
2019-02-05 17:13:42 +01:00
Martin Kojtal ad97936f30
Merge pull request #9526 from bridadan/remove_os3_NCS36510
Remove yotta and minar references in NCS36510
2019-02-05 16:58:52 +01:00
Alexander Zilberkant 911d138534 Restore MBEDTLS_PSA_CRYPTO_C for PSA targets
Removed by mistake in 763cb4c157
2019-02-05 15:53:34 +02:00
Alexander Zilberkant 4a204015ac Simplify entropy seed injection configuration
Move NVSEED callbacks configuration to a header file
2019-02-05 15:48:41 +02:00
Kevin Bracey 5ed7e372db nRF52 serial: Tighten/simplify atomics
Use new atomics (exchange, load, store and bool types) to simplify
and improve the atomics in the nRF52 serial HAL.

* Ensure mutexes are released last and atomically when done
  done inside a critical section.
* Compare-and-swap is not required for the spinlock - exchange is
  sufficient. (Not clear a spinlock is needed anyway, but left in).
* Remove unneeded volatile, and make mutexes bool.
2019-02-05 15:44:04 +02:00
Przemyslaw Stekiel 292f1a155d K64/ARM: Update to 2-region model for HEAP and Stack Memory 2019-02-05 14:13:58 +01:00
Leszek Rusinowicz caaaaff3e6 FUTURE_SEQUANA: Removed special "tags" from M0 hex images for better tools compatibility
This fixes issue #9611
2019-02-05 13:43:30 +01:00
Martin Kojtal 7106d0d201
Merge pull request #9557 from SeeedJP/hal-wio_bg96-9026
[Wio BG96] Modified pin map
2019-02-05 10:51:59 +01:00
Martin Kojtal d7a442b717
Merge pull request #9593 from c1728p9/standard_form_factor
Standardize Arduino form factor
2019-02-05 10:51:32 +01:00
Martin Kojtal dcba5ffa3c
Merge pull request #9529 from kfnta/its_crypto
RollUp PR Crypto with ITS
2019-02-04 17:14:05 +01:00
Martin Kojtal 46101f68fe
Merge pull request #9595 from c1728p9/define_usbtx_and_usbrx
Define USBTX and USBRX for targets without them
2019-02-04 17:13:00 +01:00
jeromecoutant ae47617c77 STM32 GPIO: use maximum speed 2019-02-04 15:32:15 +01:00
Yoshihiro TSUBOI e19ddef069 [Wio BG96] 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-04 23:04:37 +09:00
Martin Kojtal 7e9181cf57
Merge pull request #9553 from jeromecoutant/PR_FC
STM32: Enable SERIAL_FC for all
2019-02-04 14:42:55 +01:00
Martin Kojtal 346ebe6344
Merge pull request #9556 from SeeedJP/hal-wio_3g-9026
[Wio 3G] Modified pin map
2019-02-04 14:41:58 +01:00
Martin Kojtal e9648dd461
Merge pull request #9583 from jeromecoutant/PR_F2TRNG
STM32F2: Enable TRNG
2019-02-04 14:41:19 +01:00
Martin Kojtal b4e09cfc93
Merge pull request #9594 from c1728p9/remove_serial_flow_control
Remove SERIAL_FC on devices which don't support it
2019-02-04 14:39:12 +01:00
Martin Kojtal ed53fe1ed4
Merge pull request #9534 from jeromecoutant/PR_FLOW
STM32 Serial Flow Control
2019-02-04 14:35:47 +01:00
Martin Kojtal 0ae6a048e4
Merge pull request #9431 from deepikabhavnani/iar_armv8m_changes
Update IAR Armv8M changes
2019-02-04 14:34:28 +01:00
Martin Kojtal 2526ac8420
Merge pull request #9585 from lrusinowicz/ble_controller_core
PSOC6: M0 core binary image for BLE controller updated to version 1.05
2019-02-04 10:48:10 +01:00
Yoshihiro TSUBOI a2f1e9c01e [Wio 3G] 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-04 18:12:29 +09:00
Russ Butler ba30a4aa24 Define Arduino pins for the LPC812
Define the unconnected Arduino pins to NC so they are all defined.
2019-02-02 10:56:27 -06:00
Russ Butler 3e10418015 Define USBTX and USBRX for targets missing it
Define USBTX and USBRX for the LPC11U37H and the MTS_MDOT_F405RG.
2019-02-02 09:46:29 -06:00
Russ Butler b78bb90089 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-02 09:45:34 -06:00
Russ Butler c722eb87d0 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-02 09:45:33 -06:00
Russ Butler 29f14bd364 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-02 09:45:32 -06:00
Russ Butler 66b8ca2599 Define A0 to NC for the TARGET_KW41Z
Set A0 to NC so it is defined on the KW41Z platform.
2019-02-02 09:44:20 -06:00
Russ Butler 1e0f3b7f9e 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-02 09:44:19 -06:00
Russ Butler db8c31d30d 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-02 09:44:18 -06:00
Russ Butler 5e9ef0d9d7 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-02 09:44:17 -06:00
Lin Gao 837e86df28 Updated linker script for IAR and ARM to increase heap size by moving BSS to the 32K ram 2019-02-01 16:03:20 -06:00
Lin Gao aa2d49ae0c Move BSS to SRAM2 to increase heap size on ST475 IOT board 2019-02-01 15:32:43 -06:00
Leszek Rusinowicz 83b4e4a9a6 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-01 17:01:43 +01:00
jeromecoutant 85c2f22a87 STM32F2: Enable TRNG 2019-02-01 14:54:14 +01:00
jeromecoutant 715d16c8ee STM32 targets.json styling update 2019-02-01 09:50:05 +01:00
jeromecoutant 64e9fe1340 targets.json: "LOWPOWERTIMER" device_has is not used 2019-02-01 09:47:44 +01:00
jeromecoutant c1b49aa470 STM32: set DEVICE_SERIAL_FC at FAMILY_STM32 level 2019-02-01 09:42:23 +01:00
Martin Kojtal 363f35f842
Merge pull request #9560 from RobVlaar/analogin-fix-stm32l0xx
Reset internal vref buffer after an ADC conversion
2019-02-01 08:25:10 +01:00
Deepika 80f6b0e002 M2351: Update code to support IAR 8.x builds 2019-01-31 16:19:24 -06:00
Oren Cohen 3f92beb08b Update FUTURE_SEQUANA_PSA secure binaries 2019-01-31 19:31:53 +02:00
Cruz Monrreal b56ab5193d
Merge pull request #9562 from SenRamakri/sen_feature-armc6-update-29-Jan
LPC546XX, MIMXRT1050: Update to fix ARMC6 build failures
2019-01-31 11:07:54 -06:00
Oren Cohen 27cfacec5c Remove demand for MBED_SPM on single v7 platforms 2019-01-31 18:36:18 +02:00
jeromecoutant eec7126d37 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-01-31 17:11:23 +01:00
Oren Cohen bdea6781d5 Add MBED_SPM label to K64F
Ensure that K64F will continue to receive PSA defines
2019-01-31 17:20:25 +02:00
Oren Cohen f5e4f69c02 Update FUTURE_SEQUANA_PSA secure_binaries 2019-01-31 17:17:56 +02:00
Oren Cohen 0de098e149 Add FUTURE_SEQUANA prebuilt binaries 2019-01-31 17:17:55 +02:00
Oren Cohen 8841ba69f8 Align to new spec changes and prep for TFM SPM
# Conflicts:
#	components/TARGET_PSA/services/crypto/COMPONENT_PSA_SRV_IPC/psa_crypto_spm.c
#	components/TARGET_PSA/services/crypto/COMPONENT_SPE/psa_crypto_partition.c
2019-01-31 17:17:53 +02:00
Martin Kojtal 9265c19e2e
Merge pull request #9394 from jeromecoutant/PR_PERIPH
STM32: PeripheralPins files update from lastest CubeMX tool version
2019-01-31 11:21:09 +01:00
Martin Kojtal 6ef9349038
Merge pull request #9552 from jeromecoutant/PR_H7OS2
STM32H7: Enable OS2 compilation
2019-01-31 11:08:12 +01:00
Martin Kojtal 85cc30a425
Merge pull request #9485 from u-blox/R410
UBLOX_C030: Fix modem reset functionality
2019-01-31 11:04:47 +01:00
Rob Vlaar fa68d43ebd fixed indentation 2019-01-31 08:55:51 +01:00
Rob Vlaar 4378689944 Reset internal vref buffer after an ADC conversion using the config channel function 2019-01-30 14:43:05 +01:00
jeromecoutant 0564498509 STM32H7: 0S2 compilation 2019-01-30 14:05:45 +01:00
Mahesh Mahadevan 00477ddf68 LPC546XX, MIMXRT1050: Update to fix ARMC6 build failures
Fix for issue 9402

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-01-29 14:21:44 -06:00
Ari Parkkila 7578d5b174 Cellular: Fix mbed2-build of onboard-modems 2019-01-29 01:08:17 -08:00
Brian Daniels 374d516689 Remove yotta and minar references in NCS36510 2019-01-28 16:22:47 -06:00
Cruz Monrreal 953acef94c
Merge pull request #9482 from maciejbocianski/arch_pro_spi_pins
ARCH_PRO: add missing SPI pin definitions
2019-01-28 10:34:37 -06:00
Cruz Monrreal 7f8ebc75cd
Merge pull request #9466 from vmedcy/psoc6-target-hook
Improve PSoC 6 post-build hooks, whitelist makefile export
2019-01-28 10:33:12 -06:00
Martin Kojtal 489e52e428
Merge pull request #9410 from jeromecoutant/PR_F756_L486
STM32F756 and STM32L486 alignment with STM32F746 and STM32L476
2019-01-28 10:22:48 +01:00
Ari Parkkila 95839662c6 Cellular: Fix cellular specific Greentea tests 2019-01-24 23:34:44 -08:00
Cruz Monrreal eb26d82ca9
Merge pull request #9223 from kfnta/future_sequana_psa_binnaries_importer
Update PSA binaries importer for FUTURE_SEQUANA_PSA
2019-01-24 17:02:44 -06:00
Cruz Monrreal 615ed31f7a
Merge pull request #9488 from 0xc0170/fix_licenses
Fix licenses in travis test and realtek lib
2019-01-24 16:16:38 -06:00
Cruz Monrreal c7679109ef
Merge pull request #9354 from jeromecoutant/PR_H7CAN
STM32H7 : add CAN support
2019-01-24 13:26:36 -06:00
Cruz Monrreal 899ea5991c
Merge pull request #9318 from caixue1102/mbed-os-rda
fix bug for RDA UNO_91H:calling us ticker functions without init.
2019-01-24 13:25:58 -06:00
Cruz Monrreal 7c4668cfe9
Merge pull request #9291 from j3hill/QSPI_Align
NRF5x: QSPI SFDP read, min read/write implementation
2019-01-24 13:25:05 -06:00
Oren Cohen e1af45b3b3 Skip redundant binaries 2019-01-24 19:43:05 +02:00
Martin Kojtal 81f9cdae0b realtek: revert license change
While updating the file in the commit b06553fa25, the license was changed. This comimt restores the license back to the original one - Apache 2.0
2019-01-24 12:20:20 +00:00
jeromecoutant a5ef971402 STM32: PeripheralPins files minor update
Script version 1.4
CubeMX DB version DB.5.0.1
2019-01-24 10:51:30 +01:00
Maciej Bocianski a1311f813c ARCH_PRO: add SPI pin definitions 2019-01-24 09:20:29 +01:00
Fahim Alavi 03996da125 Fixed modem reset functionality to avoid low time to trigger module switch off 2019-01-24 11:37:32 +05:00
Cruz Monrreal 0c6f0e4f49
Merge pull request #9368 from lrusinowicz/psoc6_serial_fixes
PSOC6: Fixes for serial hal driver, asynchronous mode.
2019-01-23 22:47:32 -06:00
j3hill 2a72bb67a3 NRF5x: QSPI SFDP read implementation 2019-01-23 10:24:02 -06:00
Martin Kojtal a6509cf47f
Merge pull request #9438 from c1728p9/qspi_update
Use dedicated PinMap for each QSPI data line
2019-01-23 14:25:14 +01:00
Volodymyr Medvid a48ee113ea PSOC6: refactor M0 image merging, enable export to makefile
Rename the existing PSoC-specific m0_core_img key in targets.json
as a more generic hex_filename key. Update makefile exporter to select
the subset of resources.hex_files matching the hex_filename value.
Without this fix, multiple prebuilt CM0+ hex files are found in the
target resources and erroneously passed to the srec_cat tool.

The fix is generic so other targets that need post-build hex merging
can use this key to pass the correct image to srecord tool.

The fix also removes sub_target key: instead, rely hex_filename json
key to detect if the hex image merging needs to be done.
The sub_target is not used in mbed-os codebase for anything else.

It is possible to override the hex file name in mbed_app.json:
{
  "target_overrides": {
    "*": {
      "target.hex_filename": "my_custom_m0_image.hex"
    }
}
2019-01-22 15:40:22 -08:00
Russ Butler 82b131aa59 Use dedicated PinMap for each QSPI data line
Split PinMap_QSPI_DATA into PinMap_QSPI_DATA0 - PinMap_QSPI_DATA3.
This allows pins to be selected more accurately.
2019-01-22 12:11:15 -06:00
Martin Kojtal 16e544d9b4
Merge pull request #9411 from jeromecoutant/PR_L496
STM32L496xG: increase IAR heap size
2019-01-22 14:48:16 +01:00
Martin Kojtal 813f5ac221
Merge pull request #9360 from NXPmicro/LPC_PowerLib_Readme_License
LPC546XX, LPC54114: Add README and LICENSE files for the power libraries
2019-01-22 13:38:56 +01:00
Martin Kojtal 3d0f168305
Merge pull request #9347 from kevinong0108/improve_crc
stm32: Improve the CRC function to support fully accumulate
2019-01-22 13:30:09 +01:00
Ari Parkkila af0d2cf61d Cellular: Update API description to match better onboard_modem_api 2019-01-22 02:24:45 -08:00
Ari Parkkila c4de2f2f0e Cellular: Power API updated to match onboard_modem_api 2019-01-22 02:24:45 -08:00
Ari Parkkila 269d151b12 Cellular: Default modem drivers with FF_ARDUINO 2019-01-22 02:24:45 -08:00
Ari Parkkila 75caa75a96 Cellular: Add get_target_default_instance in CellularDevice 2019-01-22 02:24:45 -08:00
jeromecoutant d0cdc3457b NUCLEO_H743ZI: CAN support 2019-01-21 13:53:47 +01:00
jeromecoutant f1d10cfeff STM32: FDCAN support for H7 family 2019-01-21 13:53:19 +01:00
Leszek Rusinowicz f09805c5a2 Any RX event should end read operation. 2019-01-21 13:05:54 +01:00
Fahim Alavi 1bcbd40c0e PB_1 is not connected to D4 in R412M above 2019-01-18 13:56:48 +05:00
Cruz Monrreal 46bb7540be
Merge pull request #9385 from kapi90/smsc9220_fix
Fixes typos in SMSC9220 Ethernet driver
2019-01-17 21:54:36 -06:00
Cruz Monrreal c0bbc5c77f
Merge pull request #9380 from kyliuxing/master
UNO_91H: open hal lib source
2019-01-17 21:53:12 -06:00
Cruz Monrreal 1afcbbfba6
Merge pull request #9316 from bentcooke/add_flash_MAX32620FTHR
Add FLASH support to TARGET_MAX32620C and brd targets
2019-01-17 21:50:45 -06:00
Cai 9e3ba59655 fix bug for RDA UNO_91H:calling us ticker functions without init.
solution: init us ticker when init TRNG.
2019-01-17 13:07:29 -06:00
kevin.ong 5ccdd67f6c stm32: fix indent style 2019-01-17 12:48:46 -06:00
kevin.ong 5598815982 stm32: fix typo 2019-01-17 12:48:46 -06:00
kevin.ong 8d58f8bae7 stm32: fix some F0 target compile error 2019-01-17 12:48:46 -06:00
kevin.ong 995594be28 stm32: F1/F2/F4/L1 set to not supported HW CRC
Currently, mbed supported input data format fix on bytes, so those
devices are not supported at default.
2019-01-17 12:48:46 -06:00
kevin.ong 603b8e6eb4 stm32: fix F1/F2/F4/L1 compile fail after enable CRC
Those series have not CRC_POLYLENGTH_32B definition
2019-01-17 12:48:46 -06:00
kevin.ong 19cdba4452 stm32: remove empty line 2019-01-17 12:48:46 -06:00
kevin.ong 1c2ffb8eb3 stm32: Improve the CRC function to support fully accumulate
Tested on DISCO_L476VG and NUCLEO_L476RG
2019-01-17 12:48:45 -06:00
jeromecoutant 7876a653c6 STM32L476 / STM32L486 alignment 2019-01-17 11:15:39 -06:00
jeromecoutant 5ae13f9c7b STM32F756 / STM32F746 alignment 2019-01-17 11:15:39 -06:00
jeromecoutant 8e0663f8d8 STM32L496xG: increase IAR heap size 2019-01-17 11:15:19 -06:00
Martin Kojtal 714fc83054
Merge pull request #9369 from u-blox/target_C030-R412M
Add target C030-R412M
2019-01-17 12:39:43 +01:00
Cruz Monrreal 97486a697c
Merge pull request #9374 from maclobdell/LPCXpresso546xx_add_qspif
Add QSPIF as default storage for LPCXpresso546XX
2019-01-16 22:02:53 -06:00
Ben Cooke 95a050bb6e Add FLASH support to TARGET_MAX32620C MCU and derivative platform targets 2019-01-15 10:59:56 -06:00
Bence Kaposzta 709c121a0c Fixes typos in SMSC9220 Ethernet driver
Change-Id: I44a12ec1c57a926dadee81df1b84bd531d5cfccb
Signed-off-by: Bence Kaposzta <bence.kaposzta@arm.com>
2019-01-15 15:36:35 +01:00
shilei.yu 4d45306e0a open hal lib source 2019-01-15 19:14:35 +08:00
Martin Kojtal 2896c123c2
Merge pull request #9357 from jeromecoutant/PR_H7TICKLESS
NUCLEO_H743ZI : enable TICKLESS
2019-01-15 10:38:12 +01:00
maclobdell ec3d713291 add qspif as default storage for LPCXpresso546XX 2019-01-14 15:55:30 -06:00
Oren Cohen 3abe696121 Typo 2019-01-14 19:09:53 +02:00
Oren Cohen 249a06675b Add license 2019-01-14 19:05:34 +02:00
Oren Cohen 1b23d3f112 Update PSA binaries importer for FUTURE_SEQUANA_PSA 2019-01-14 19:05:34 +02:00
Martin Kojtal 5212cc6544
Merge pull request #6622 from NXPmicro/Add_KW41Z_Thread
Add nanostack support for KW41Z
2019-01-14 14:00:14 +01:00
Fahim Alavi 5caeaed6db Set target C030-R412M in mbed 2019-01-14 17:34:50 +05:00
Leszek Rusinowicz 75131069d0 Fixes for PSoC6 serial interface, asynchronous mode. 2019-01-14 12:32:05 +01:00
Martin Kojtal 58a6c24f6b
Merge pull request #9195 from alzix/patch-1
Enable PSA APIs on Pelion boards
2019-01-14 08:40:06 +00:00
Martin Kojtal f4aaebde2f
Merge pull request #9203 from ChazJin/gd32e10x
Add GD32_E103VB as new target
2019-01-14 08:31:49 +00:00
Alexander Zilberkant 763cb4c157 Revert "Enable entropy injection on PSA targets"
mbedtls performs selftest on all entropy sources.
Enable injected source without proper entropy injection causes mbedtls
selftest to fail.

Application code can still enable entropy injection by adding the macros
to mbed_app.json/mbed_lib.json

This reverts commit 8c03e3e60d46da71708c4a0e4dacf46a0179d18d.
2019-01-13 18:30:22 +02:00
Alexander Zilberkant 7ad02620ae Enable entropy injection on PSA targets
enable entropy injection on:
- K64F
- K66F
- NUCLEO_F411RE
- NUCLEO_F429ZI
- UBLOX_EVK_ODIN_W2
2019-01-13 18:30:22 +02:00
Alexander Zilberkant eac620d1e9 Add FLASHAIP component 2019-01-13 18:30:21 +02:00
Alexander Zilberkant 7d25dcc6dd Enable PSA APIs on Pelion boards
Add PSA label - enabling PSA APIs support on Pelion boards
- K66F
- K66F, NUCLEO_F429ZI
- NUCLEO_F411RE
- UBLOX_EVK_ODIN_W2
2019-01-13 18:30:21 +02:00
Mahesh Mahadevan a11e201805 LPC546XX, LPC54114: Add README and LICENSE files for the power libraries
This is a fix for Issue#9254

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-01-11 14:50:47 -06:00
jeromecoutant 889d5dca1a NUCLEO_H743ZI : enable TICKLESS 2019-01-11 15:43:31 +01:00
Martin Kojtal d92febe700
Merge pull request #9327 from jeromecoutant/PR_IFDEF
STM32: replace missing #ifdef DEVICE_xxx
2019-01-11 14:07:28 +00:00
Martin Kojtal fd6ceda960
Merge pull request #9323 from jeromecoutant/PR_AST
STM32: astyle check
2019-01-11 14:06:05 +00:00
Martin Kojtal 919dba535b
Merge pull request #9321 from jeromecoutant/PR_QSPI
STM32 : typo error in QSPI
2019-01-11 14:05:51 +00:00
c_jin 4d9c4343a0 Support boot stack size configuration option 2019-01-11 18:04:56 +08:00
Przemyslaw Stekiel 14f6cddc6f [GigaDevice] Support boot stack size configuration option(GD32_F450ZI) 2019-01-11 09:51:39 +01:00
c_jin 75d4705d60 adjust directory structure for device 2019-01-11 09:54:47 +08:00
c_jin 7a29b20fb6 resolve conflicting file targets.json and add support for GD32_E103VB 2019-01-11 09:53:02 +08:00
c_jin c9ec3632ce Add GD32_E10X as new target 2019-01-11 09:44:22 +08:00
Cruz Monrreal 2454b25eba
Merge pull request #9092 from mprse/stack_unification_sec_try
Interrupt stack size unification + test
2019-01-10 16:08:44 -06:00
Cruz Monrreal 12980f4acd
Merge pull request #9232 from ChazJin/gd32f450
Add GD32_F450ZI as new target
2019-01-10 16:07:33 -06:00
Martin Kojtal f4487b76da
Merge pull request #9315 from NXPmicro/Fix_Build_MCU_LPC546XX
LPC546XX: Do not make MCU_LPC546XX target public
2019-01-10 12:18:55 +00:00
Martin Kojtal 27dd445722
Merge pull request #9313 from kevinong0108/fix_adc_pin
STM32L476VG: fix wrong pin map function on ADC channels
2019-01-10 10:56:14 +00:00
jeromecoutant 877a3a13e1 STM32: replace missing #ifdef DEVICE_xxx 2019-01-10 11:02:52 +01:00
jeromecoutant b1a284a876 STM32: astyle check 2019-01-10 10:22:21 +01:00
jeromecoutant cc447e9b27 STM32 : typo error in QSPI 2019-01-10 10:06:17 +01:00
Mahesh Mahadevan 59116b17a4 LPC546XX: Do not make MCU_LPC546XX target public
This is a fix for Issue:9207

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-01-09 13:05:01 -06:00
kevin.ong d3dfc986b5 STM32L476VG: fix wrong pin map function on ADC channels
This issue is start on https://github.com/ARMmbed/mbed-os/pull/6931

ADC pins must need STM_PIN_ANALOG_CONTROL_BIT to call LL_GPIO_EnablePinAnalogControl
2019-01-10 00:39:18 +08:00
Mahesh Mahadevan 585a4b6ddd Add nanostack support for KW41Z
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-01-09 07:43:41 -06:00
Cai aedeaf98cd fix MPU compilation issue 2019-01-09 19:59:29 +08:00
c_jin 970bc24c1c adjust directory structure for device 2019-01-09 19:03:34 +08:00
c_jin be65ebd038 add SPDX indentifier, modify 450zi.icf file and static definition in us_ticker.c 2019-01-09 19:03:33 +08:00
c_jin 04c0e4fe5c add button definitions 2019-01-09 19:03:33 +08:00
c_jin c31ecd8e40 modify the 'INITIAL_SP' for GD32F450ZI 2019-01-09 19:03:33 +08:00
c_jin 5a1108e742 Add GD32_F450ZI as new target 2019-01-09 19:03:33 +08:00
Martin Kojtal c27dabe765
Merge pull request #9256 from jeromecoutant/PR_FLASHEEPROM
STM32L0 & STM32L1: FLASH is EEPROM
2019-01-08 15:06:50 +00:00
Przemyslaw Stekiel d97c4d5506 [TT] Support boot stack size configuration option 2019-01-08 15:32:07 +01:00
Przemyslaw Stekiel 4ee9378297 [GigaDevice] Support boot stack size configuration option 2019-01-08 15:32:07 +01:00
Przemyslaw Stekiel 888f49dade [NORDIC] Support boot stack size configuration option 2019-01-08 15:32:07 +01:00
Przemyslaw Stekiel 4a113d2e29 [ublox] Support boot stack size configuration option 2019-01-08 15:32:07 +01:00
Przemyslaw Stekiel f74f3c1fd0 [WIZNET] Support boot stack size configuration option 2019-01-08 15:32:07 +01:00
Przemyslaw Stekiel 9fe7e360b3 [TOSHIBA] Support boot stack size configuration option 2019-01-08 15:32:07 +01:00
Przemyslaw Stekiel d30a14e64f [Silicon_Labs] Support boot stack size configuration option 2019-01-08 15:32:06 +01:00
Przemyslaw Stekiel 58f6bf7292 [STM] Support boot stack size configuration option 2019-01-08 15:32:06 +01:00
Przemyslaw Stekiel 3525f6b393 [Realtek] Support boot stack size configuration option 2019-01-08 15:32:04 +01:00
Przemyslaw Stekiel 36ff05345e [RDA] Support boot stack size configuration option 2019-01-08 15:32:04 +01:00
Przemyslaw Stekiel c5a67c9267 [ONSEMI] Support boot stack size configuration option 2019-01-08 15:32:04 +01:00
Przemyslaw Stekiel 3b170118f3 [NXP] Support boot stack size configuration option 2019-01-08 15:32:04 +01:00
Przemyslaw Stekiel 6d1d08b660 [Maxim] Support boot stack size configuration option 2019-01-08 15:32:03 +01:00
Przemyslaw Stekiel 08004e141d [Freescale] Support boot stack size configuration option 2019-01-08 15:32:03 +01:00
Przemyslaw Stekiel 8f230b6e70 [Cypress] Support boot stack size configuration option 2019-01-08 15:32:02 +01:00
Przemyslaw Stekiel 5b065c5b95 [Atmel] Support boot stack size configuration option 2019-01-08 15:32:02 +01:00
Przemyslaw Stekiel f0ab08a68c [Analog_Devices] Support boot stack size configuration option 2019-01-08 15:32:02 +01:00
Przemyslaw Stekiel 0111f5d5fe [ARM_SSG] Support boot stack size configuration option 2019-01-08 15:32:02 +01:00
Przemyslaw Stekiel 55b1c664bc [ARM_FM] Support boot stack size configuration option 2019-01-08 15:32:01 +01:00
Martin Kojtal 63eca294a1
Merge pull request #9163 from InfernoEmbedded/fix-8913-partner
Don't use define checks on DEVICE_FOO macros (partner code)
2019-01-07 16:37:24 +00:00
Cruz Monrreal 90fd6cdf27
Merge pull request #9252 from jeromecoutant/PR_L4VBAT
STM32L4 ADC : power optimisation for VBAT channel
2019-01-04 11:36:10 -06:00
Cruz Monrreal 2352e18b5d
Merge pull request #9249 from ithinuel/disco_f469ni_bootloader
add bootloader support to the DISCO_F469NI
2019-01-04 10:32:53 -06:00
Cruz Monrreal 54f759176b
Merge pull request #9210 from AnttiKauppila/mbed_h_fix
mbed.h includes removed
2019-01-04 10:27:30 -06:00
jeromecoutant ef2fcebf57 STM32 L0 & L1: FLASH is EEPROM 2019-01-04 15:37:16 +01:00
Wilfried Chauveau bbb9de7c87
add bootloader support to the DISCO_F469NI 2019-01-04 11:32:23 +00:00
bcostm b897719c9d NUCLEO_H743ZI: add crash reporting for IAR 2019-01-04 10:03:36 +01:00
bcostm 1cf92dd8d4 NUCLEO_H743ZI: include rtc LL driver 2019-01-04 10:03:36 +01:00
jeromecoutant 4b67820f8a NUCLEO_H743ZI: add initial SDK 2019-01-04 10:03:36 +01:00
Martin Kojtal 26833c0281
Merge pull request #9233 from jamesbeyond/fm_sdk
FastModel: update platform header, removed unwanted smsc9220 device
2019-01-04 08:57:25 +00:00
Martin Kojtal 47c8855f31
Merge pull request #9227 from heejungPark/master
[SDT64B] changed UART0 to UART2, added UART_5 on SDT64B
2019-01-04 08:56:35 +00:00
Martin Kojtal d2e9136ddb
Merge pull request #9167 from TomoYamanaka/hanlder_without_RTOS
Modify IRQ handler processing when unusing RTOS at Cortex-A
2019-01-04 08:42:11 +00:00
jeromecoutant 164fee0e61 STM32L4 ADC VBAT CHANNEL 2019-01-04 09:15:32 +01:00
TomoYamanaka 3cdc314460 Modify the definition as to whether RTOS is not present in sys.cpp. 2019-01-04 09:43:34 +09:00
Cruz Monrreal f83e1d29d7
Merge pull request #9246 from jeromecoutant/PR_L0TEMP
STM32L0 TEMPERATURE ADC CHANNEL minor update
2019-01-03 15:32:44 -06:00
Cruz Monrreal 757626a951
Merge pull request #9182 from donatieng/disable_mpu_nrf52x
Disable MPU support on NRF52x platforms
2019-01-03 15:31:58 -06:00
Antti Kauppila b53bedba09 Fixed Realtek test build 2019-01-03 20:05:08 +02:00
Cruz Monrreal f8375a459d
Merge pull request #9202 from AdamZhang0124/realtek-rtl8195am-Hide_Debugging_Messages
Realtek-RTL8195AM-Hide_Debugging_Messages
2019-01-03 10:35:26 -06:00
Cruz Monrreal d425ec5860
Merge pull request #9197 from OpenNuvoton/nuvoton_fix_uart-flow-control
Nuvoton: Fix UART flow control CTS/RTS
2019-01-03 10:34:58 -06:00
jeromecoutant 087cd26dd4 STM32L0 ADC TEMPERATURE CHANNEL rework 2019-01-03 17:03:07 +01:00
heejungPark 725fbb96a8 changed UART0 to UART2, added UART_5 on SDT64B 2019-01-03 17:13:16 +09:00
ccli8 ad1e57bdef [Nuvoton] Refine MBED_CONF_RTOS_PRESENT check in crypto_misc.cpp 2019-01-03 09:21:05 +08:00
Qinghao Shi 55bd5d5c44 FastModel: rename SMM_MPS2.h to FVP_MPS2.h 2019-01-02 22:32:04 +00:00
Qinghao Shi a7de0a5991 FastModel: share the same MPS2 platform header to all targets 2019-01-02 22:12:07 +00:00
Qinghao Shi f0f2a5d440 FastModel: remove SMSC9220 related definitions from SDK 2019-01-02 22:07:03 +00:00
ccli8 39f705e033 [Nuvoton] Fix crypto_misc.cpp compile error with RTOS-absent
Replace Mutex with PlatformMutex which supports RTOS-absent
2019-01-02 15:53:31 +08:00
ccli8 388076d36d [Nuvoton] Remove unnecessary mbed_rtos_storage.h in crypto_misc.cpp 2019-01-02 14:06:03 +08:00
Cruz Monrreal 51143eab02
Merge pull request #8815 from ThunderSoft123/master
Add platform TT_M3HQ
2018-12-27 21:11:28 -06:00
Cruz Monrreal 1bf7e1cb32
Merge pull request #9171 from OpenNuvoton/nuvoton_nuc472_hardfault
Nuvoton: Fix NUC472 hard fault in SMCC tests
2018-12-27 21:09:42 -06:00
Lu 5fa127313f realtek-rtl8195am-Hide_Debugging_Messages
This PR addresses the issue of #8903.
A new boolean variable 'debug' is added to turn off the display of debugging message (by default). It can be turned on when needed.

Description
1.	Add new boolean parameter ‘debug’ in function ‘RTWInterface’ in file "RTWInterface.h".
2.	Add conditional statement to enable/disable variable ‘GlobalDebugEnable’ in file "RTWInterface.h" to control whether debugging message should be displayed.
2018-12-27 13:35:32 +08:00
ccli8 17fb5b7ff2 [Nuvoton] Fix UART flow control CTS/RTS
Configure RTS pin outout to active low when RTS is disabled. This allows the peer to be able
to send data if its CTS is still enabled.
2018-12-25 18:21:11 +08:00
Anna Bridge 70956ee9bb
Merge pull request #8955 from ARMmbed/dreemkiller_LPC54608_fix
Bug fix for UART issue on LPC54608 - issue #7398
2018-12-24 12:54:54 +00:00
Anna Bridge 52a45e71d3
Merge pull request #9180 from kjbracey-arm/stm_dont_skip_rtc_write
Revert "STM32 RTC : skip rtc_write if possible"
2018-12-24 12:54:01 +00:00
Cruz Monrreal a8fa6ec38b
Merge pull request #9174 from ashok-rao/MTB_ODIN_v2_fixes
MTB_ODIN_v2_fixes
2018-12-22 12:33:53 -06:00
Donatien Garnier 8415d25b5e Disable MPU support on NRF52x platforms 2018-12-21 12:12:26 +00:00
Ashok Rao 64e9ad0b11 MTB_ODIN_v2_fixes
1. Removed redundant code comments. Added relevant ones for MTB pins.
2. More SPI_CS pins added for peripherals on the MTB.
3. Disabled LSE_Clock as it is not present on the MTB in targets.json
2018-12-21 11:40:43 +00:00
Kevin Bracey 535b439362 Revert "STM32 RTC : skip rtc_write if possible"
`rtc_write` must start the RTC. `time()` uses `rtc_write(0)` to start
the RTC if it is not already enabled, but this check made that not
work.

There's no point trying to optimise this case in a HAL - if we wanted
`set_time()` to protect against users making pointless adjustments, the
implementation should be there. But even then, you might want different
levels of hysteresis depending on application, so it's probably best
left to applications.

This reverts commit 9da5e48941.
2018-12-21 13:12:34 +02:00
panyz0725@thundersoft.com 0146c21924 Add MPU to fix CI failed 2018-12-21 14:43:16 +08:00
panyz0725@thundersoft.com 9efce259b8 Fix Expecting object 2018-12-21 10:22:02 +08:00
panyz0725@thundersoft.com 2c25b45417 Set __ICFEDIT_size_cstack__ =1k 2018-12-21 10:03:09 +08:00
ThunderSoft_mbed_os 79e57f0869 Update us_ticker.c 2018-12-21 10:03:09 +08:00
ThunderSoft_mbed_os 7718186a03 Update spi_api.c 2018-12-21 10:03:09 +08:00
ThunderSoft_mbed_os d421a165e4 Update sleep.c 2018-12-21 10:03:09 +08:00
ThunderSoft_mbed_os d883eb8f83 Update pwmout_api.c 2018-12-21 10:03:09 +08:00
ThunderSoft_mbed_os 076b5a64b0 Update port_api.c 2018-12-21 10:03:09 +08:00
ThunderSoft_mbed_os 35d088e5ba Update pinmap.c 2018-12-21 10:03:09 +08:00
ThunderSoft_mbed_os 5c706251c6 Update objects.h 2018-12-21 10:03:08 +08:00
ThunderSoft_mbed_os 07b23d84b0 Update i2c_api.c 2018-12-21 10:03:08 +08:00
ThunderSoft_mbed_os 198fe703b8 Update gpio_object.h 2018-12-21 10:03:08 +08:00
ThunderSoft_mbed_os df5fe31bac Update gpio_api.c 2018-12-21 10:03:08 +08:00
ThunderSoft_mbed_os a04498c4bc Update device.h 2018-12-21 10:03:08 +08:00
ThunderSoft_mbed_os 7c20ed8396 Update analogout_api.c 2018-12-21 10:03:08 +08:00
ThunderSoft_mbed_os 87293ce15c Update analogin_api.c 2018-12-21 10:03:08 +08:00
ThunderSoft_mbed_os 425d7e164f Update PortNames.h 2018-12-21 10:03:08 +08:00
ThunderSoft_mbed_os 39ee74e4d6 Update PinNames.h 2018-12-21 10:03:08 +08:00
ThunderSoft_mbed_os 0271bf7e3f Update PeripheralNames.h 2018-12-21 10:03:08 +08:00
ThunderSoft_mbed_os 0bd2efe60d Update mbed_rtx.h 2018-12-21 10:03:08 +08:00
ThunderSoft_mbed_os 568ea3187c Update us_ticker.c 2018-12-21 10:03:08 +08:00
panyz0725@thundersoft.com 7a24b6aded Add platform TT_M3HQ 2018-12-21 10:03:08 +08:00
Cruz Monrreal c1226ffbd8
Merge pull request #8916 from jeromecoutant/PR_F439
STM32F429/STM32F439 alignment
2018-12-20 12:08:42 -06:00
Martin Kojtal 4d44e1c0b6
Merge pull request #9134 from jeromecoutant/PR_TICKDELAY4
STM32: enable TICKLESS
2018-12-20 16:30:36 +00:00
Martin Kojtal efc0239518
Merge pull request #9166 from u-blox/ublox_c030_ADC
Ublox C030 ADC internal channels added
2018-12-20 16:29:25 +00:00
cyliangtw d5e643fd41 [Nuvoton] Fix NUC472 hard fault in SMCC tests 2018-12-20 19:42:42 +08:00
Martin Kojtal 3a2f6e924a
Merge pull request #8832 from j3hill/nRF52840_QSPI
nRF52840_DK: "qspi_api.c" check read/write WORD alignment, set clock frequency divider
2018-12-20 10:37:55 +00:00
Martin Kojtal 99778bd6a5
Merge pull request #8777 from jeromecoutant/PR_LP_RTC
STM32 LPTICKER with RTC : better sleep time
2018-12-20 10:26:44 +00:00
Alastair D'Silva aa80b7c70a Don't use define checks on DEVICE_FOO macros (partner code)
The DEVICE_FOO macros are always defined (either 0 or 1).

This patch replaces any instances of a define check on a DEVICE_FOO
macro with value test instead.

Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2018-12-20 20:02:29 +11:00
TomoYamanaka 65b4e72928 Modify IRQ handler processing without RTOS at Cortex-A IAR Compiler
In case of unusing RTOS, there is no processing against IRQ handler and it causes a linker error.
Therefore, I added this processing with WEAK attribute. Also I added cmain.S file at cmsis/TARGET_CORTEX_A folder.
2018-12-20 16:24:07 +09:00
TomoYamanaka dd8d8ea3c7 Modify IRQ handler processing without RTOS at Cortex-A GCC Compiler
In case of unusing RTOS, IRQ handler executes "while(1)" and it causes a program freeze.
Therefore, I revised this processing.
2018-12-20 16:19:04 +09:00
TomoYamanaka 240060ee69 Modify IRQ handler processing without RTOS at Cortex-A ARM Compiler
In case of unusing RTOS, IRQ handler executes "while(1)" and it causes a program freeze.
Therefore, I revised this processing. Also I added the heap setting processing and set the align to 8 byte.
2018-12-20 16:12:54 +09:00
mudassar-ublox a7ccb65e80 Ublox C030 ADC internal channels added 2018-12-20 11:00:36 +05:00
Cruz Monrreal e17b14adaf
Merge pull request #9157 from lrusinowicz/sequana_m0_firmware_update
PSOC6: Updated default M0 image to not modify UDB configuration when…
2018-12-19 13:35:56 -06:00
Cruz Monrreal 07947f4647
Merge pull request #9155 from lrusinowicz/srm_fixes
PSOC6: Fixing merge issue for pull request #9009
2018-12-19 13:16:20 -06:00
Cruz Monrreal 9edbcd77df
Merge pull request #9081 from OpenNuvoton/nuvoton_refine_crypto_ac
Nuvoton: Fix crypto AC management
2018-12-19 13:09:47 -06:00
Cruz Monrreal 6f576009c7
Merge pull request #9061 from kjbracey-arm/more_mpu_work
More MPU work
2018-12-19 12:32:54 -06:00
Leszek Rusinowicz e448b2b1c2 [PSOC6] Updated default M0 image to not modify UDB configuration when comming out of a deep sleep state.
On Mbed this is performed only on M4 core.
2018-12-19 14:07:11 +01:00
Leszek Rusinowicz 0f6a35ba73 Fixing merge issue for merge into master. 2018-12-19 13:35:07 +01:00
ccli8 ca44675086 [Nuvoton] Fix crypto AC management
1. For SHA AC, use atomic flag to manage its ownership.
   (1) Nuvoton SHA AC doesn't support SHA context save & restore, so S/W
       SHA fallback has been supported before. To make non-blocking 'acquire'
       semantics clearer, introduce 'try_acquire' to substitute for 'acquire'.
   (2) No biting CPU due to mechanism above.
   (3) No deadlock due to mechanism above.
2. For AES/DES/ECC AC, change to mutex to manage their ownership.
   (1) Change crypto-misc.c to crypto-misc.cpp to utilize C++ SingletonPtr
       which guarantees thread-safe mutex construct-on-first-use.
   (2) With change to crypto-misc.cpp, add 'extern "C"' modifier to CRYPTO_IRQHandler()
       to avoid name mangling in C++.
   (3) No priority inversion because mutex has osMutexPrioInherit attribute
       bit set.
   (4) No deadlock because these AC are all locked for a short sequence
       of operations rather than the whole lifetime of mbedtls context.
   (5) For double mbedtls_internal_ecp_init() issue, it has been fixed in upper
       mbedtls layer. So no need to change ecc init/free flow.
2018-12-19 10:17:39 +08:00
Russ Butler adf253e1fd Update MPU ram/rom split for Nuvoton M2351
Move the start of RAM from 0x10000000 to 0x20000000 on the
NUMAKER_PFM_M2351. This allows the target to work correctly.
2018-12-18 17:35:10 -06:00
j3hill 2c4a3d5980 NRF52840_DK: QSPI check Read/Write WORD alignment, and properly set
clock frequency divider

These changes are to enable QSPI functioanlity
for the NRF52840DK.
2018-12-18 13:55:10 -06:00
Cruz Monrreal 187d2d0104
Merge pull request #9102 from OpenNuvoton/nuvoton_support_boot_stack_option
Nuvoton: Support boot stack size configuration option
2018-12-18 13:22:46 -06:00
Cruz Monrreal d969d46bbf
Merge pull request #9084 from AdamZhang0124/realtek-rtl8195am-Network_Socket_Update
Realtek-rtl8195am-Network_Socket_Updates
2018-12-18 10:31:25 -06:00
Cruz Monrreal 15765d6286
Merge pull request #9126 from fluidblue/master
Fix multiple definitions of '__aeabi_atexit'
2018-12-18 10:30:49 -06:00
jeromecoutant ed582b0331 STM32 : Enable TICKLESS for targets with LPTIM 2018-12-18 11:57:04 +01:00
jeromecoutant 834ced6d06 STM32: update LPTICKER_DELAY_TICKS for LPTIM targets 2018-12-18 11:57:03 +01:00
Lu 1422379c24 Realtek-rtl8195am-Network Socket Updates
This PR addresses the issue of #8124.
It updates and enriches the wifi connection error type to adapt the Network Socket test plan requirement.
In the meantime, it increases the heap size that allows the transmission of larger packet size.

Description
1. Increase heap size in lwipstack\mbed_lib.json to fulfill bursty TCP and UDP transmission requirement.
2. Modify and enrich wifi connection error types in TARGET_AMEBA\RTWInterface.cpp to adapt the decision logic of the wifi test cases.
3. Add new static constants in TARGET_AMEBA\RTWInterface.h, including 'SSID_MAX_LENGTH', 'PASSPHRASE_MAX_LENGTH' and 'PASSPHRASE_MIN_LENGTH' to help verifying the validity of ssid and passphrase.

Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change
2018-12-18 17:18:32 +08:00
Martin Kojtal eda1952a74
Merge pull request #9053 from NXPmicro/Add-Support-RapidIoT-KW41Z
Rapid-IoT: Add support for the KW41Z side of the platform
2018-12-18 08:05:42 +00:00
ccli8 28b820fbf0 [NANO130] Change main thread stack size to default for stack size unification
NANO130 just has 16 KiB SRAM. User application may change it through "rtos.main-thread-stack-size"
configuration option.
2018-12-18 11:11:43 +08:00
Cruz Monrreal ff6744c85e
Merge pull request #9105 from LaurentLouf/improve-precision-duty-cycle-pwm-stm
Add some rounding to determine the pulse value for PWM for the STM target
2018-12-17 14:43:43 -06:00
fluidblue 96b345444b Removed GCC_CR toolchain for LPC11U68 2018-12-17 15:54:13 +01:00
Fluidblue c9eb60c6e2
Prevent multiple __aeabi_atexit definition linker error (GCC_CR) 2018-12-17 15:01:00 +01:00
Fluidblue 69ef8043a6
Prevent multiple __aeabi_atexit definition linker error (GCC_ARM) 2018-12-17 15:00:27 +01:00
Cruz Monrreal 64e7e468b2
Merge pull request #9089 from jeromecoutant/DEV_QSPI_TEST
STM32 QSPI update
2018-12-14 10:14:13 -06:00
Mahesh Mahadevan 3d8d65be6a Rapid-IoT: Add support for the KW41Z side of the platform
Add support for the KW41Z side of the RapidIoT platform. This requires the latest
DAPLink binary to be programmed on the RapidIoT platform, binary can be downloaded
from the below link:
https://armmbed.github.io/DAPLink/

Also, the KW41Z side on RapidIoT does not have a serial port connected to the Debug
terminal. Therefore a SerialPassThrough program should be flashed and running on the
K64F side of RapidIoT platform for the mbed tests to pass.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-12-14 06:35:43 -06:00
Laurent Louf db3f05e5fe Add some rounding to determine the pulse value for PWM for the STM target. 2018-12-14 12:08:09 +01:00
ccli8 244d4b6405 [Nuvoton] Support boot stack size configuration option 2018-12-14 17:29:55 +08:00
Cruz Monrreal 49103d8b0c
Merge pull request #8978 from JojoS62/fix-LPC1549-stack_top-linkerfile
fixed wrong __StackTop calculation
2018-12-13 18:15:58 -06:00
Cruz Monrreal f0a2b1dcb6
Merge pull request #9085 from u-blox/C030_PinName
U-blox C030 PinNames Updated
2018-12-13 18:14:52 -06:00