jeromecoutant
a54fdf7585
STM32L0 USB pins addition
2019-10-21 17:11:52 +02:00
jeromecoutant
40739d3b8f
STM32H7 USB pins addition
2019-10-21 17:11:50 +02:00
jeromecoutant
905f81851a
STM32F7 USB pins addition
2019-10-21 17:11:49 +02:00
jeromecoutant
6f0932033b
STM32F4 USB pins addition
2019-10-21 17:11:27 +02:00
Martin Kojtal
278f05bfb9
cy port api: fix styling
2019-10-21 14:58:04 +01:00
Giampaolo Mancini
c30ca66e2b
Add SPDX identifier
2019-10-21 15:41:41 +02:00
Giampaolo Mancini
f9674adaad
Fix overflow calculation for reload_value.
...
Please, note that this patch fixes upstream bug. See:
https://devzone.nordicsemi.com/f/nordic-q-a/51674/maximum-reload-time-for-wdt
2019-10-21 15:41:41 +02:00
Giampaolo Mancini
c79f54c67b
Remove default conf macro because typo in nRF SDK
2019-10-21 15:41:41 +02:00
Giampaolo Mancini
92a316711e
Fix timeout limits
2019-10-21 15:41:41 +02:00
Giampaolo Mancini
10c78f41e8
Add support for nRF52 Watchdog
2019-10-21 15:41:40 +02:00
Martin Kojtal
fe12608226
Merge pull request #11444 from jeromecoutant/PR_QSPI_EXTERNAL
...
QSPI : Define default pins at drivers level
2019-10-21 15:19:08 +02:00
jeromecoutant
6986daac61
STM32F3 USB pins addition
2019-10-21 14:49:19 +02:00
jeromecoutant
9b3cdd0972
STM32F2 USB pins addition
2019-10-21 14:49:19 +02:00
jeromecoutant
6e3dc7b173
STM32F1 USB pins addition
2019-10-21 14:49:18 +02:00
jeromecoutant
66dea7b5da
STM32F0 USB pins addition
2019-10-21 14:49:18 +02:00
jeromecoutant
5afd9ebb60
STM32 PeripheralPins.h update with USB
2019-10-21 14:49:18 +02:00
Martin Kojtal
cd415cfb41
Merge pull request #11708 from ABOSTM/FIX_SPI_COMPILATION_WARNING
...
TARGET_STM: remove warning and fix typo on SPI
2019-10-21 09:40:23 +02:00
Martin Kojtal
42cb19b6d8
Merge pull request #11679 from jeromecoutant/PR_L4_TRNG
...
STM32L4 TRNG clock configuration
2019-10-21 09:39:24 +02:00
Martin Kojtal
4af05bb370
Merge pull request #11648 from rohfle/target-olimex-stm32e407
...
OLIMEX_STM32E407_F407ZG: Added new target platform
2019-10-18 16:05:05 +02:00
Martin Kojtal
d851a63e46
Merge pull request #11602 from kyle-cypress/pr/qspi-arbitrary-alt-size
...
Allow for arbitrary QSPI alt sizes
2019-10-18 15:48:16 +02:00
Martin Kojtal
9c82706e6f
Merge pull request #11434 from romanjoe/pr/cy8ckit_064s2_4343w
...
Initial addition of files to support CY8CKIT_064S2_4343W target
2019-10-18 14:51:59 +02:00
Martin Kojtal
734072ffc3
Merge pull request #11599 from lrusinowicz/spi_fixes
...
FUTURE_SEQUANA: SPI HAL API fixes
2019-10-18 13:25:08 +02:00
Martin Kojtal
8ff5cf9216
Merge pull request #11700 from toyowata/arch_max_bootloader
...
Add bootloader support for Seeed Arch-MAX
2019-10-18 10:32:00 +02:00
Alexandre Bourdiol
bca9d9500e
TARGET_STM: remove warning and fix typo on SPI
2019-10-18 09:48:30 +02:00
Veijo Pesonen
a15cdd3194
MCU_NRF52840: Switches to correct Product Anomaly Notification macro
2019-10-18 07:23:59 +03:00
Rohan Fletcher
4b971fbb8f
OLIMEX_STM32E407_F407ZG: Added definitions for missing LEDs
2019-10-18 06:37:09 +13:00
Martin Kojtal
dba8e77b8c
Merge pull request #11688 from LMESTM/Clearing_UART_TC_Flag_prevents_deepsleep
...
Clearing UART TC Flag prevents deep sleep, so do not clear it
2019-10-17 14:17:15 +02:00
Hugues Kamba
7e0b56fa0c
USB-Cypress: Lock sleep when USB is initialized
...
None of the USB drivers currently support entering deep sleep mode
while USB is active. To protect USB from malfunctioning lock deep
sleep in USBPhyHw::init.This is done for similar
This was done for all other implementations as part of
https://github.com/ARMmbed/mbed-os/commit/8ffbe5c6033
2019-10-17 13:12:58 +01:00
Martin Kojtal
ccc37a181c
Merge pull request #11692 from VeijoPesonen/nrf52840_dk_enable_flashiap
...
NRF52840_DK: enables FLASHIAP for the device
2019-10-17 14:12:27 +02:00
Martin Kojtal
5747163664
Merge pull request #11694 from d-kato/rza1_fix_components
...
Fix components setting for GR-PEACH and GR-LYCHEE
2019-10-17 14:00:45 +02:00
jeromecoutant
7db11e0b20
STM32 TRNG clock configuration
2019-10-17 13:51:33 +02:00
toyowata
5389536953
Add bootloader support for Seeed Arch-MAX
2019-10-17 10:05:03 +09:00
Kyle Kearney
8e9877c212
Update STM driver changes for clarity
...
- Use a switch statement rather than shifting and masking to compute
the AlternateBytes value.
- Rename rounded_size to alt_bytes to clarify its purpose.
2019-10-16 09:37:27 -07:00
Martin Kojtal
8c860524fb
Merge pull request #11646 from kyle-cypress/pr/bt-wake-swap
...
Fix swapped BT pins on CYW943012P6EVB-01
2019-10-16 19:13:18 +08:00
Martin Kojtal
16568da47f
Merge pull request #11605 from ABOSTM/DISCO_H747I_DUALCORE_SUPPORT
...
DISCO_H747I dualcore support
2019-10-16 17:35:25 +08:00
d-kato
307c106ec6
Fix multiple definitions of GR-LYCHEE
2019-10-16 16:33:05 +09:00
d-kato
2bf1b5c8cc
Add FLASHIAP to GR-PEACH component
2019-10-16 16:28:41 +09:00
Martin Kojtal
c94ae909a8
Merge pull request #11622 from trowbridgec/increase-nrfx-gpiote-config-num-of-low-power-events
...
nRF52 SDK 15.0 - Enable more than 1 interrupt
2019-10-16 14:26:04 +08:00
Veijo Pesonen
b6453ef2cc
NRF52840_DK: enables FLASHIAP for the device
2019-10-16 08:45:57 +03:00
Shuopeng Deng
24991a4577
Changed mbed gpio-port api to match gpio api
...
The port configuration api was not correctly setting the port-pins'
direction. Changed the port driver to call the gpio driver for
configuration (read and write still are optimized for port-level
operations) so that the behavior is consistent.
2019-10-15 11:43:00 -07:00
jeromecoutant
f117d3518d
QSPIF frequency setting depends on QSPI memory not target.
...
This makes new board with the same QSPI memory addition.
2019-10-15 17:36:50 +02:00
Martin Kojtal
ea3ead0349
Merge pull request #11676 from maciejbocianski/nrf5X_fix_i2c_twi_sdk
...
nrf52 - fix i2c/twi driver
2019-10-15 22:16:19 +08:00
Martin Kojtal
fb2999982b
Merge pull request #11671 from maciejbocianski/nrf5X_add_misisng_gpio_function
...
nrf5x - add missing gpio_set implementation
2019-10-15 22:15:18 +08:00
Laurent Meunier
e862438fad
Clearing UART TC Flag prevents deep sleep, so do not clear it
...
The TC flag is used in function serial_is_tx_ongoing to check if there is
an ongoing serial transmission. So this Flag must not be cleared at the
end of the transmission, otherwise, serial_is_tx_ongoing will notify that
TX is ongoing.
The impact is that it may prevent deep sleep to be entered.
Also there is no need to clear this flag at the end of the transaction
because it will be cleared automatically by HW when a new transmission
starts.
2019-10-15 15:59:51 +02:00
Martin Kojtal
9aee314803
Merge pull request #11673 from JanneKiiskila/stm32f4xx-hal-pcd
...
stm32f4xx_hal_pcd.c@346,22: unused variable 'ep'
2019-10-15 21:40:15 +08:00
Filip Jagodzinski
fe685068ff
Silicon Labs: Fix watchdog features build errors
2019-10-15 15:40:10 +02:00
Roman Okhrimenko
27f9cf85de
Added specific policy file for 2M device to expand slot sizes
2019-10-15 16:07:56 +03:00
Alexandre Bourdiol
728a1c4383
STM32F767ZI - I2C FastModePlus not properly enabled 2/2
...
Warning: sometimes I2C_FASTMODEPLUS_I2Cx is defined,
even if not supported by some chip within the family
2019-10-15 13:46:29 +02:00
Martin Kojtal
262a62a375
Merge pull request #11645 from kyle-cypress/pr/psoc6-tickless
...
Enable tickless for PSoC6 targets
2019-10-15 19:28:11 +08:00
Janne Kiiskila
02c139f27a
stm32f4xx_hal_pcd.c@346,22: unused variable 'ep'
...
Compiler warning fix, trivial. One function has an unused
variable, delete that line.
2019-10-15 09:49:09 +03:00
Martin Kojtal
e8804cd574
Merge pull request #11668 from morser499/pr/whd_1.40
...
Update Cypress WiFi driver code to version 1.40
2019-10-15 13:13:17 +08:00
Martin Kojtal
89c08f5865
Merge pull request #11669 from morser499/pr/rtos-abstraction
...
Fixed issue with integer overflow when converting time units
2019-10-15 13:09:37 +08:00
Martin Kojtal
a806237226
Merge pull request #11660 from shuopeng-deng/pr/spi-transfer-fix
...
Fix dropped bytes on spi write
2019-10-15 13:08:32 +08:00
Martin Kojtal
2fe14682fa
Merge pull request #11609 from madchutney/iotbtool/407-microbit-fix
...
IOTBTOOL-407 Fix microbit to use Arm C5
2019-10-15 13:07:00 +08:00
Shuopeng Deng
9f03a1ce24
fixed spi_master_write to support transfer of 8+ bits
...
remove an unnecessary cast
2019-10-14 14:04:37 -07:00
Alexandre Bourdiol
6397a1d555
Mbed patch of STM32cube for bootloader: use NVIC_FLASH_VECTOR_ADDRESS
2019-10-14 18:03:47 +02:00
Alexandre Bourdiol
02cdac5fe3
Update HAL/LL EXTI to have default API applied on current core and nott CPU1
2019-10-14 18:03:28 +02:00
Alexandre Bourdiol
48aba33204
SystemCoreClock should correspond to current core clock and not D1 clock.
2019-10-14 18:03:06 +02:00
Alexandre Bourdiol
adcf0e2fa5
DISCO_H747I Dualcore support
...
Add 2 targets for DISCO_H747I dualcore:
* DISCO_H747I -> for CM7 core
* DISCO_H747I_CM4 -> for CM4 core
Current restrictions:
* TICKLESS deactivated
* DeepSleep not supported (DeepSleep wrapped to sleep)
Warning: use of the same IP (example I2C1) by both core at the same time is not prevented,
but is strongly not recommended.
Some Hardware Semaphore are use for common IP, to manage concurrent access by both cores: Flash, GPIO, RCC.
Warning: Drag and drop of binary to DISCO_H747I will flash CM7.
In order to flash CM4, one can use STM32 CubeProgrammer tool.
2019-10-14 18:02:57 +02:00
Martin Kojtal
8ff444ff80
Merge pull request #11621 from jeromecoutant/PR_L1_VREFINT_CAL_ADDR
...
STM32L151: update calibration memory address
2019-10-14 09:23:16 +02:00
Martin Kojtal
379787a127
Merge pull request #11626 from jeromecoutant/PR_DISCO_L4R_STMOD
...
DISCO_L4R9I: update default STMOD+ pin
2019-10-14 09:22:35 +02:00
Maciej Bocianski
7cc0b614bb
nrf52 - fix i2c/twi driver
...
Sync TWI driver to sdk version 15.3.0 to get rid of data length limitation
2019-10-12 08:59:57 +02:00
Roman Okhrimenko
9b86b391b2
Initial addition of files to support CY8CKIT_064S2_4343W target
2019-10-11 19:28:17 +03:00
Anna Bridge
c094ad8095
Merge pull request #11561 from kyle-cypress/pr/target-063-ble
...
Add TARGET_CY8CPROTO_063_BLE
2019-10-11 14:39:29 +01:00
Anna Bridge
489c30f569
Merge pull request #11297 from kyle-cypress/pr/qspi-dummy-cycles
...
Differentiate alt and dummy cycles in QSPIF
2019-10-11 14:34:17 +01:00
Anna Bridge
97e11cc781
Merge pull request #11176 from OpenNuvoton/nuvoton_m252kg
...
Support Nuvoton target NUMAKER_M252KG
2019-10-11 14:33:06 +01:00
Maciej Bocianski
98939e2749
nrf5x - add missing gpio_set implementation
2019-10-11 08:55:23 +02:00
Ryan Morse
f35328cfa0
Update WHD to v1.40
2019-10-10 12:08:50 -07:00
Ryan Morse
373580d4bd
Fixed issue with integer overflow when converting time units
2019-10-10 10:28:34 -07:00
Alexandre Bourdiol
66765332e0
STM32F767ZI - I2C FastModePlus not properly enabled
...
Fixes #11659
2019-10-10 10:26:59 +02:00
Kyle Kearney
4619f92326
Fix swapped pins for CYW943012P6EVB-01 in cybsp_types
...
Fix the issue as 09f715c96e in
cybsp_types.h as well.
2019-10-09 14:44:39 -07:00
Rohan Fletcher
02df759c37
OLIMEX_STM32E407_F407ZG: Added new target platform
...
Added Olimex STM32-E407 (STM32F407ZG) evaluation board.
USB, UART, External HS XTAL and Ethernet are all working correctly.
2019-10-10 09:20:28 +13:00
Shuopeng Deng
1b141209eb
Fix dropped bytes on spi write
...
The cyhal_spi_send api was changed to read and discard a byte on every
send operation (at the protocol level all SPI transfers are bidirectional).
This means that to achieve a truly bidirectional transfer, the
cyhal_spi_transfer API must be called (as opposed to a write followed
by a read).
2019-10-08 16:37:31 -07:00
Anna Bridge
1798c246cc
Merge pull request #11625 from gpsimenos/gp-revert-tickless-ublox-odin
...
Revert tickless on UBLOX_EVK_ODIN_W2
2019-10-08 10:45:43 +01:00
Kyle Kearney
09f715c96e
Fix swapped BT pins on CYW943012P6EVB-01
...
The BT_DEVICE_WAKE and BT_HOST_WAKE pins were swapped relative to
how the chips are wired up on the board.
2019-10-07 20:46:03 -07:00
Kyle Kearney
0c15ed1e13
Enable tickless for PSoC6 targets
2019-10-07 15:53:25 -07:00
Anna Bridge
f1295b9aa7
Merge pull request #11573 from felser/add_413_dragonfly
...
Add 413 dragonfly
2019-10-07 16:48:07 +01:00
Anna Bridge
f987fe0b32
Merge pull request #11542 from morser499/pr/target-update
...
Update Cypress targets
2019-10-07 16:44:59 +01:00
jeromecoutant
fc5b91a36f
DISCO_L4R9I: update default STMOD+ pin
2019-10-07 16:01:16 +02:00
jeromecoutant
99e4f228b5
STM32: remove unused TARGET_STM_EMAC additional directory
2019-10-07 11:18:14 +02:00
Anna Bridge
7eb8807a76
Merge pull request #11589 from jamesbeyond/fm_psa
...
Enable PSA tests for fastmodel
2019-10-04 12:01:19 +01:00
George Psimenos
508775c240
Revert tickless on UBLOX_EVK_ODIN_W2
2019-10-03 15:57:25 +01:00
Chris Trowbridge
26ebc997e0
Increase NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS from a default of 1 to 4
2019-10-03 08:56:39 -04:00
jeromecoutant
1673e8aa1b
STM32L151: update calibration memory address
2019-10-03 14:17:04 +02:00
Graham Hammond
18c5d47c68
IOTBTOOL-407 Fix microbit to use Arm C5
...
Earlier changes introduced a change to default Arm C6, which does not compile the micro library which is based on Mbed 2. This change fixes the compiler version for NRF51_MICROBIT devices.
2019-10-01 16:30:03 +01:00
Martin Kojtal
fda544a14c
Merge pull request #11566 from trowbridgec/add-default-connectivity-config-for-ep-agora
...
EP_AGORA: Add config logic to enable BLE, cell, and LoRa by default
2019-10-01 13:17:59 +02:00
Kyle Kearney
9b32c0f316
Fix possible negative QSPI alt count on STM
...
Remove an extraneous decrement operation in cases where the alt
bits size is a multiple of 8.
2019-09-30 16:00:24 -07:00
Matthew Macovsky
baf375f8cb
Allow for arbitrary QSPI alt sizes
...
The QSPI spec allows alt to be any size that is a multiple of the
number of data lines. For example, Micron's N25Q128A uses only a
single alt cycle for all read modes (1, 2, or 4 bits depending on
how many data lines are in use).
2019-09-30 14:45:08 -07:00
Ben Cooke
dd778c4126
Add MTS_DRAGONFLY_F413RH platform to mbed-os
2019-09-30 13:50:40 -05:00
Qinghao Shi
bdff628a6c
FASTMODEL: add a comment for TRNG simulation
2019-09-30 16:43:44 +01:00
Qinghao Shi
5089d9de87
FASTMODEL: update trng based on comments
2019-09-30 16:30:51 +01:00
Martin Kojtal
7e62cafc82
Merge pull request #11585 from marcemmers/nrf_port_api
...
NRF52: Fixed missing guard in port_api.c
2019-09-30 14:46:31 +02:00
Martin Kojtal
fa327ea16a
Merge pull request #11583 from jeromecoutant/PULL_REQUEST_CUBE_UPDATE_H7_V1.5.0
...
STM32H7 ST CUBE V1.5.0 update
2019-09-30 13:59:32 +02:00
Leszek Rusinowicz
a690bf305f
FUTURE_SEQUANA: SPI HAL API fixes.
...
- Fixed miscalculation in SPI frequency setup (divider value).
- Added possibility to set up SCK line as NC (usable when SPI peripheral
is used to handle non-SPI protocols.
- Fixed handlingh of 16-bit (and other >8 bit) transfers.
(cherry picked from commit 7d391f257b4ff6cdd7b43eeaa4894f8ce6d2cf8e)
2019-09-30 12:28:33 +02:00
Marc Emmers
a02c50d768
Add newline at end of file
2019-09-30 11:20:56 +02:00
int_szyk
d68a802f07
Add watchdog clock accuracy to Nuvoton targets.
2019-09-30 08:10:25 +02:00
int_szyk
e2955eb968
Add watchdog clock accuracy to SiliconLabs targets
2019-09-30 08:10:25 +02:00
int_szyk
f892ae7f1e
Add watchdog clock accuracy to STM targets.
2019-09-30 08:10:24 +02:00
int_szyk
82e5952693
Add watchdog clock accuracy to Freescale targets.
2019-09-30 08:10:24 +02:00
int_szyk
c7dfa87bbf
Add watchdog clock accuracy to ONSEMI targets.
2019-09-30 08:10:24 +02:00
int_szyk
632098de94
Add watchdog clock accuracy to NXP targets.
2019-09-30 08:10:24 +02:00
int_szyk
cb5311654c
Add watchdog clock accuracy to Cypress targets.
2019-09-30 08:10:24 +02:00
Ryan Morse
54d962a240
Moved TriggerMux initialization out of the HAL and into the BSP since that is what dictates what trigger muxes actually need to be used
2019-09-27 13:01:38 -07:00
Qinghao Shi
a3f82738dd
FASTMODEL: enable PSA tests for fastmodel
2019-09-27 15:59:42 +01:00
Qinghao Shi
4bbbad3d79
FASTMODEL: add simulated TRNG implementation to fastmodel
2019-09-27 15:58:28 +01:00
Marc Emmers
4c1067b8b8
Fixed missing #if in port_api.c
2019-09-27 14:44:20 +02:00
Chun-Chieh Li
f45ca72f11
[M252KG] Remove TRNG support
...
Reasons to remove TRNG support:
1. M252 just has 32KiB SRAM and cannot afford mbedtls application.
2. Implementing TRNG HAL with PRNG H/W has security concern.
2019-09-27 17:50:48 +08:00
Chun-Chieh Li
0168304e5b
[M252KG] Add BSD-3-Clause license for BSP files
2019-09-27 17:45:57 +08:00
Chun-Chieh Li
967effe59f
[M252KG] Free up peripheral pins in peripheral free-up HAL API
...
Without free-up of peripheral pins, peripheral pins of the same peripheral may
share by multiple ports after port iteration, and this peripheral may fail with
pin interference.
2019-09-27 17:45:56 +08:00
Chun-Chieh Li
38aaee0c1a
[M252KG] Support GPIO input pull-high/pull-low
...
In Nuvoton, only new-design chips support GPIO input pull-high/pull-low modes.
Targets not supporting this feature are listed below:
- NUMAKER_PFM_NANO130
- NUMAKER_PFM_NUC472
- NUMAKER_PFM_M453
2019-09-27 17:45:56 +08:00
Chun-Chieh Li
1447d9049f
[M252KG] Fix redundant call to UART IRQ handler
...
Honor RxIrq/TxIrq to avoid redundant call to UART IRQ handler.
This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-uart.
2019-09-27 17:45:55 +08:00
Chun-Chieh Li
d9217ed77a
[M252KG] Fix redundant SPI clock generation
...
Fix SPI clocks are generated redundantly at the end of transfer.
This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-spi/
SPI - async mode.
2019-09-27 17:45:55 +08:00
Chun-Chieh Li
c68af32a4c
[M252KG] Fix I2C NACK error
...
Fix logic error on replying NACK at the end of transfer.
This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-i2c/
i2c - test single byte read i2c API.
2019-09-27 17:45:55 +08:00
Chun-Chieh Li
0917a0d5a6
[M252KG] Fix IP initialization sequence
...
Better IP initialization sequence:
1. Configure IP pins
2. Select IP clock source and then enable it
3. Reset the IP (SYS_ResetModule)
NOTE1: IP reset takes effect regardless of IP clock. So it doesn't matter if
IP clock enable is before IP reset.
NOTE2: Non-configured pins may disturb IP's state, so IP pinout first and then
IP reset.
NOTE3: IP reset at the end of IP initialization sequence can cover unexpected
situation.
2019-09-27 17:45:54 +08:00
Chun-Chieh Li
4bb7fde6b5
[M252KG] Exclude USB UART from testing
...
USB UART is dedicated to USB COM and so must exclude from FPGA CI testing.
2019-09-27 17:45:54 +08:00
Chun-Chieh Li
cd73422345
[M252KG] Force enum PinName to 32-bit
...
NU_PINNAME_BIND(...) requires enum PinName to be 32-bit to encode module
binding information in it.
2019-09-27 17:45:54 +08:00
Chun-Chieh Li
a8f0817cdb
[M252KG] Enlarge LPTICKER_DELAY_TICKS for safe
...
On Nuvoton targets, lp_ticker_set_interrupt(...) needs around 3 lp-ticker
ticks to take effect. It may miss when current tick and match tick are very
close (see hal/LowPowerTickerWrapper.cpp). Enlarge LPTICKER_DELAY_TICKS to
4 from 3 to address this boundary case.
2019-09-27 17:45:53 +08:00
Chun-Chieh Li
a5afcd6115
[M252KG] Enlarge required deep sleep latency
...
This configuration is to pass wake-up from deep-sleep test such as mbedmicro-rtos-mbed-systimer.
2019-09-27 17:45:53 +08:00
Chun-Chieh Li
538f55f9ff
[M252KG] Add 'sectors' target configuration parameter
2019-09-27 17:45:53 +08:00
Chun-Chieh Li
d0ffd9510f
[M252KG] Override mpu-rom-end to 0x1fffffff
...
Without this override, mpu hal will require 5 mpu regions which exceed 4 mpu
regions supported by M252 (see hal/mpu/mbed_mpu_v8m.c). In this scenario,
we will hit assert error but we actually meet stack overrun first due to just
0x400 bytes for emitting error message. The issue doesn’t occur on other
targets such as M487 because it has 8 mpu regions.
2019-09-27 17:45:52 +08:00
Chun-Chieh Li
36278618ad
Support Nuvoton's NUMAKER_M252KG target
2019-09-27 17:45:52 +08:00
jeromecoutant
fff88617b7
STM32H7 ST CUBE V1.5.0 update
2019-09-27 11:39:06 +02:00
Martin Kojtal
fff888b118
Merge pull request #11562 from VVESTM/vve_h7_memmap
...
STM32H7: memory relocation
2019-09-26 14:01:23 +02:00
Martin Kojtal
698e75f336
Merge pull request #11529 from vmedcy/pr/psoc6pdl-1.3.1
...
PSOC6: update to PDL 1.3.1
2019-09-26 12:24:06 +02:00
Chris Trowbridge
eb6a474ba8
EP_AGORA: Add config logic to enable BLE, cell, and LoRa by default
2019-09-25 12:28:04 -04:00
Kyle Kearney
1b21612afd
Add target for CY8CPROTO-063-BLE
2019-09-24 11:25:12 -07:00
Volodymyr Medvid
d199fa6bb4
PSOC6: update to PDL 1.3.1.1499
2019-09-24 17:43:23 +03:00
Martin Kojtal
65d5c72cbd
Merge pull request #11404 from lrusinowicz/interrupt_in_fix
...
FUTURE_SEQUANA: InterruptIn implementation bug fix
2019-09-24 13:20:39 +02:00
Martin Kojtal
f513bce4a3
Merge pull request #11480 from gpsimenos/gp-enable-tickless-stage2
...
Enable tickless mode in additional tested targets
2019-09-23 11:42:58 +02:00
Martin Kojtal
1f5a124820
Merge pull request #11117 from Terstegge/target_msp432_support
...
Target msp432 support
2019-09-20 15:02:35 +02:00
Martin Kojtal
bb1338d07d
Merge pull request #11525 from jeromecoutant/PR_LSI
...
STM32WB/STM32H7 : LSI selection when LSE is not available
2019-09-20 14:19:58 +02:00
Martin Kojtal
c225f8f1e7
Merge pull request #11516 from kyle-cypress/pr/hal-update
...
Update to latest psoc6csp
2019-09-20 14:18:13 +02:00
Martin Kojtal
77dd6f02a0
Merge pull request #11463 from gpsimenos/gp-enable-tickless-stage1
...
Enable tickless mode in MAX32630FTHR
2019-09-20 14:13:32 +02:00
Martin Kojtal
6790e64bd8
Merge pull request #11347 from woodsking2/master
...
Fix NRF52832 softdevice memory map
2019-09-20 14:09:42 +02:00
James Wang
876b643a9d
remove NRF52840, NRF52832 static_memory_defines set
...
static_memory_defines controls the macro MBED_RAM_START AND MBED_RAM_SIZE
when nrf52840 to use softdevice, it need MBED_RAM_START to set the true application ram start
default static_memory_defines is true, so just remove NRF52840 and NRF52832's set
2019-09-20 11:34:35 +08:00
Kyle Kearney
f0fdee4a1c
Clean up BSP hardware configuration
...
- Improve block naming
- Remove unneeded items
2019-09-19 12:05:25 -07:00
Kyle Kearney
2831dfde1c
Update CY8CPROTO-064-SB linker scripts
...
Update linker scripts for the latest PDL to be consistent with other Cypress targets
2019-09-19 12:03:32 -07:00
Kyle Kearney
09182d1ed0
Refactor serial flash support
2019-09-19 12:01:29 -07:00
Kyle Kearney
70590006cb
Simplify BSP contents
...
Remove some (Cypress-proprietary) BSP interfaces and hardware initialization
from the BSPs which is better implemented by a library or application firmware.
Move some remaining functionality from common to the individual targets.
2019-09-19 12:00:13 -07:00
Kyle Kearney
4ec3ad1850
Consolidate/clean up wifi initialization
2019-09-19 11:51:15 -07:00
Kyle Kearney
d067952b6f
Avoid doubly allocating whd thread stack
...
Don't malloc during wifi initialization, as that could cause double allocation in some cases.
The thread stack will be allocated by cy_rtos_thread_start if necessary.
2019-09-19 11:05:05 -07:00
George Psimenos
f1a8b04769
Enable tickless mode on tested targets ARCH_PRO, NUCLEO_F401RE, NUCLEO_F411RE, UBLOX_EVK_ODIN_W2
2019-09-19 13:25:05 +01:00
jeromecoutant
8c1f94f7cb
STM32WB : LSI clock selection when LSE is not available
2019-09-19 13:07:54 +02:00
jeromecoutant
5cfee65881
STM32H7: LSI clock selection when LSE is not available
2019-09-19 13:07:54 +02:00
Volodymyr Medvid
2af2105aeb
PSOC6: update to PDL 1.3.1.1474
2019-09-19 10:40:44 +01:00
Kyle Kearney
8aa449c662
Improve psoc6csp doxygen comments
2019-09-18 12:13:34 -07:00
Kyle Kearney
a0b657295f
Reorganize resource and rtos abstraction files
...
- Move resource and rtos abstractions into their own folders
- Remove files for abstractions that are not implemented
2019-09-18 12:10:07 -07:00
Kyle Kearney
e8dc5f111c
Update to latest HAL
...
- Add const and static qualifiers in places where they are
applicable but missing
- Remove headers for drivers that aren't implemented yet
- Misc minor bugfixes
2019-09-18 12:07:08 -07:00
Kyle Kearney
1713e79ccf
Fix incorrect integer division in analogout_read
...
Replace with multiplication by the floating point reciprocal, to
produce a floating point result while being more efficient than
floating point division.
Addresses the issue raised by kjbracey-arm in
https://github.com/ARMmbed/mbed-os/pull/11324#pullrequestreview-282433989
2019-09-18 12:06:33 -07: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
Vincent Veron
82e89add61
STM32H7 : use RAM instead of DTCMRAM (GCC_ARM toolchain)
2019-09-18 10:57:21 +02:00
Vincent Veron
ac30a70092
STM32H7 : use RAM instead of DTCMRAM (ARM toolchain)
2019-09-18 10:57:20 +02:00
Vincent Veron
d241eef5d4
STM32H7 : use RAM instead of DTCMRAM (IAR toolchain)
...
Keep vector table and crash data ram in 0x20000000 for
tests-mbed_platform-crash_reporting test.
Move the rest in RAM (0x24000000). This is needed for ethernet and allows
user to use more RAM (512k).
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-09-18 10:57:19 +02:00
George Psimenos
43e5532c50
Remove trailing whitespace
2019-09-17 14:49:38 +01:00
George Psimenos
9673a45c93
Enable tickless in MAX32630FTHR
2019-09-17 14:49:38 +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
mahanthgouda
1780a08d54
Add OKDO platform ( #11407 )
...
Add OKDO platform
2019-09-16 16:58:54 +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
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
jeromecoutant
ee8489f4e9
STM32WB ADC : Consecutive VBAT values reading was not possible
...
Add Stop after read
2019-09-12 12:55:41 +02:00
Kostiantyn Tkachov
9fc299a1cc
Updated mbedTLS CRYPTO target to be more flexibly configured for supported boards
2019-09-12 01:30:54 +02:00
Martin Kojtal
c897e041c8
Merge pull request #11384 from jeromecoutant/PR_H747_CM7
...
ST DISCO-H747I introduction
2019-09-10 19:43:57 +02:00
Martin Kojtal
4ea7768514
Merge pull request #11443 from michalpasztamobica/k66f_enable_dma
...
Enable asynchronous serial with DMA for K66F
2019-09-10 19:27:40 +02:00
jeromecoutant
db7efabfd5
STM license file update
...
Some code have been copied from ST Cube deliveries.
ST copyright is then needed.
2019-09-10 14:24:48 +02:00
jeromecoutant
535dbe87af
STM32H747 license update
2019-09-10 11:46:52 +02:00
jeromecoutant
fb3f0f904e
Remove "STM32H747ZI" device_name, as not supported yet by MBED
2019-09-10 11:46:50 +02:00
jeromecoutant
c28d5f17e5
DISCO_H747I single core M7 introduction
2019-09-10 11:46:50 +02:00
jeromecoutant
73a00e953d
STM32H747xI introduction
2019-09-10 11:46:47 +02:00
jeromecoutant
117ddbadee
STM32H743 files move
2019-09-10 11:46:35 +02:00
Michal Paszta
551bc8a1f5
Enable async serial for K66F
...
Added DMA definitions and usage for UART, based on K64F's code.
2019-09-09 18:43:43 +03:00
Martin Kojtal
458523219a
Merge pull request #11006 from linlingao/pr10692
...
Introduce an Mbed config to enable XIP
2019-09-09 11:09:21 +02:00
Martin Kojtal
f35e16ebea
Merge pull request #11412 from NXPmicro/Kinetis_Update_To_Fix_Tickless
...
Kinetis update to fix tickless
2019-09-09 10:35:44 +02:00
Martin Kojtal
021c67e3eb
Merge pull request #11418 from 0xc0170/fix_nrf52
...
NRF52: fix config
2019-09-06 10:42:29 +02:00
Mahesh Mahadevan
31da8ff09f
MCUXpresso: Update the MXRT Serial driver for MBED_TICKLESS
...
We should not block in case the UART is busy transmitting. The
API has been updated to check the status of all UART's and return
1 in case any of them is busy transmitting.
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-09-05 14:16:10 -05:00
Mahesh Mahadevan
b30e294ba1
MCUXpresso: Change the MXRT deep sleep implementation
...
The code checks if any of the UART's is still transmitting.
If so then prevent from entering deepsleep
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-09-05 14:16:09 -05:00
Mahesh Mahadevan
e65012e549
MCUXpresso: Update the Kinetis Serial driver for MBED_TICKLESS
...
We should not block in case the UART is busy transmitting. The
API has been updated to check the status of all UART's and return
1 in case any of them is busy transmitting.
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-09-05 13:58:59 -05:00
Mahesh Mahadevan
6eca8d2e2e
MCUXpresso: Change the Kinetis deep sleep implementation
...
The code checks if any of the UART's is still transmitting.
If so then prevent from entering deepsleep
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-09-05 13:58:58 -05:00
Martin Kojtal
f06145db13
Merge pull request #11376 from kyle-cypress/pr/pdl-1.3-doc
...
Update PDL documentation and metadata
2019-09-05 13:30:28 +02:00
Martin Kojtal
6c0144eb21
nrf52: fix removing additional config - was not there
2019-09-05 11:38:22 +01:00
Martin Kojtal
530f1e9a24
NRF52: fix config
...
remove lib config and use target configuration instead. To avoid duplication of symbols, etc.
Fixes #10655
2019-09-05 11:02:05 +01:00
Martin Kojtal
b8ebee5719
Merge pull request #11385 from Tharazi97/lp_ticker_wrapper_change
...
Fix problem with low level lp_ticker STM wrapper
2019-09-05 11:09:50 +02:00
Martin Kojtal
f0234268f5
Merge pull request #11046 from kotkcy/pr/cy_mbedtls_alt
...
Initial implementation of Cypress Crypto hardware acceleration for mbedTLS
2019-09-05 09:43:06 +02:00
Martin Kojtal
ea54f126a5
Merge pull request #11379 from OpenNuvoton/nuvoton_m263_fpga-ci
...
M263: Fix FPGA CI testing failing
2019-09-04 14:06:19 +02:00
Martin Kojtal
7b06ce552f
Merge pull request #11368 from ua1arn/master
...
Add pin speed controlling interface
2019-09-04 13:55:26 +02:00
Martin Kojtal
753917d476
Merge pull request #11380 from OpenNuvoton/nuvoton_m263_lpticker-delay-ticks
...
M263: Enlarge LPTICKER_DELAY_TICKS for safe
2019-09-04 13:51:49 +02:00
Martin Kojtal
5a6bf446d2
Merge pull request #11383 from Tharazi97/f303_watchdog_reset
...
Change LSI_VALUE in STM implementation.
2019-09-04 11:55:27 +02:00
Martin Kojtal
9e0e00d6cd
Merge pull request #11381 from OpenNuvoton/nuvoton_m263_wakeup-latency
...
M263: Enlarge required deep sleep latency
2019-09-04 11:55:06 +02:00
Martin Kojtal
9a1ffdd9d2
Merge pull request #11330 from tung7970/fix-ameba
...
RTL8195AM - resuscitate AMEBA GCC/ARMCC support
2019-09-04 11:53:56 +02:00
Kostiantyn Tkachov
d4746dd9f9
Removed mbedTLS hardware support from FUTURE_SEQUANA targets
2019-09-04 12:28:20 +03:00
Lin Gao
67c6bdbf2d
removed xip unrelated changes
2019-09-03 16:14:38 -05:00
Lin Gao
f1813e5bcc
Remove keep keyword for .heap section
2019-09-03 13:22:47 -05:00
Lin Gao
b9f8e2ac53
Remove QSPI for Future targets
2019-09-03 13:22:43 -05:00
Lin Gao
2a78a9ba13
Refactored code to not use macro. Created config xip-enable
2019-09-03 11:54:14 -05:00
Lin Gao
ea032bebc4
Add XIP capability, enable QSPI. XIP can be enable by adding macro XIP_ENABLE in mbed_app.json. It's disabled by default.
2019-09-03 11:54:11 -05:00
jeromecoutant
55d60f3c25
Add USB support for DISCO_L4R9I
2019-09-03 16:43:05 +02:00
jeromecoutant
fb8b503b1c
STM32 targets: USBDEVICE support
2019-09-03 14:24:34 +02:00
jeromecoutant
425d63856c
STM32L4 USB: remove EndpointAbort support
2019-09-03 14:23:05 +02:00
Leszek Rusinowicz
7d540cd61a
FUTURE_SEQUANA: InterruptIn implementation bug fix
...
Fixed HAL API implementation for InterruptIn:
- Interrupt was not enabled by default after configuration as it should be.
- Interrupt-to-object linking was not handled properly.
2019-09-03 13:48:53 +02:00
Andreas Terstegge
e16394cf09
Final source code cleanup. Smaller changes in system_msp432p401r.c
2019-09-03 11:19:32 +02:00
Andreas Terstegge
8853453ce3
First version of MSP432 support for mbed OS
...
Removed private TODO file.
Fixed cmsis.h so that renaming of CS and DIR_H is not necessary any more.
Leave pinmap.h unchanged although it should include stdint.h
Moved stdint.h to PinNames.h instead, where it is also used.
Reworked system startup (clock configuration) to be more flexible
(different clock sources for MCLK and SMCLK, configurable clock dividers).
Fixed Copyright headers
Changed default clock settings for MSP432 Launchpad to
MCLK 48 MHz (HFXT) and SMCLK 24 MHz (HFXT)
Remove mbed_rtx.h
Added common mbed_rtx.h file (merge with lastest master)
Added support for IAR toolchain
Fixed some astyle problems.
Added support for ARM C5/C6 toolchains
Small changes to us_ticker implementation after port testing.
Changed default clock configuration to DCO (MCLK 48MHz, SMCLK 24MHz).
De-configured the LFXT crysal, because this made the system_reset() test to time out.
Removed MPU from device_has list. Changed clock source to HFXT.
Reworked startup_msp432p401r.c -> now only one startup file for all compilers.
Changed all linker scripts to delete VECTORS stuff (not needed).
Moved position of MSP432 in targets.json so TI stuff is in one block.
2019-09-03 11:19:31 +02:00
dolphin\gena
afc79cf9b7
formatting
2019-09-03 12:03:04 +03:00
dolphin\gena
2a13490e6d
bad formatting correction
2019-09-03 11:47:52 +03:00
dolphin\gena
a684f43b7f
indents correction
2019-09-03 11:45:35 +03:00
Martin Kojtal
e001216b55
Merge pull request #11315 from Patater/psa-crypto-api-1.0b3
...
Update Mbed OS for PSA Crypto API 1.0b3
2019-09-03 09:20:15 +02:00
Jaeden Amero
a848cd6987
psa: Update LPC55S69 and MUSCA_A1 TF-M binaries
...
Rebuild the TF-M binaries for the LPC55S69 and MUSCA_A1 using the latest
service updates. This allows the boards to use the PSA Crypto API 1.0b3.
2019-09-02 17:11:00 +01:00
Kostiantyn Tkachov
7cbfa84625
Initial commit to add mbedTLS hardware acceleration for Cypress chips to mbed-os sources
2019-09-02 15:20:11 +03:00
dolphin\gena
1379009f5e
rename macro
2019-09-02 14:02:29 +03:00
Martin Kojtal
940d3fdf60
Merge pull request #11291 from LMESTM/STM32_OSPI_QSPI_fallback_support
...
Stm32 ospi qspi fallback support
2019-09-02 12:26:55 +02:00
Martin Kojtal
8add87aeba
ST pinmap: remove endif mistype
2019-09-02 10:33:20 +01:00
Martin Kojtal
b44fbfe714
ST pinmap: Fix the style
2019-09-02 10:32:32 +01:00
dolphin\gena
58ca13006d
formatting
2019-09-02 12:08:07 +03:00
int_szyk
a95450bdc0
AStyle
2019-09-02 10:48:41 +02:00
int_szyk
16c5121705
Fix problem with low level lp_ticker STM wrapper
2019-09-02 10:48:40 +02:00
dolphin\gena
9043330af4
fix mistypes
2019-09-02 10:21:38 +03:00
dolphin\gena
05fc0f5263
formatting issue
2019-09-02 10:17:54 +03:00
dolphin\gena
75c17cea90
mistype fix
2019-09-02 10:08:36 +03:00
Ryan Morse
b140b7011a
Update PDL to latest 1.3 build
...
Updates to documentation and personalities. No functional code changes.
2019-08-30 08:35:39 -07:00
Roman Okhrimenko
9780c9018e
Disabled QSPI for now
2019-08-30 16:00:09 +03:00
Roman Okhrimenko
c249bf97c2
Updated target files structure to align with the following BSP PR.
2019-08-30 15:10:19 +03:00
Roman Okhrimenko
515555e7ba
Removed scripts for provisiongs from repository, made fixes per PR comments, adjusted Readme.md
2019-08-30 15:10:19 +03:00
Roman Okhrimenko
74e873a045
Updated README.md
2019-08-30 15:10:19 +03:00
Roman Okhrimenko
74c5ea6517
Updated BSD license file content.
2019-08-30 15:10:19 +03:00
Roman Okhrimenko
7e8d569261
Added example x.509 certificate for provisioning.
2019-08-30 15:10:19 +03:00
Roman Okhrimenko
b8639a00ec
Updated CyBootloader hexes.
2019-08-30 15:10:19 +03:00
Roman Okhrimenko
9d4a697207
Updated linker scripts and startup file for ARM - fixes tests-mbedmicro-rtos-mbed-heap_and_stack failure on ARM compiler.
2019-08-30 15:10:19 +03:00
Roman Okhrimenko
4db392c2f6
Updated licenses in files, mentioned in commnets to https://github.com/ARMmbed/mbed-os/pull/11046
2019-08-30 15:10:18 +03:00
Roman Okhrimenko
b15d54f5bf
Fixed IAR linker script.
2019-08-30 15:10:18 +03:00
Roman Okhrimenko
ed9995e06c
PSOC6_SB: Initial commit to add CY8CPROTO_064_SB to mbed-os sources.
2019-08-30 15:10:18 +03:00
int_szyk
3fa878f8a8
Change LSI_VALUE in STM implementation.
...
Wrong LSI value might be causing problems witch watchdogs.
2019-08-30 13:54:39 +02:00
Martin Kojtal
1c32e3ca5a
Merge pull request #11353 from kyle-cypress/pr/psoc-reserved-resources
...
Add reserved resources metadata to Cypress BSPs
2019-08-30 12:47:42 +02:00
Martin Kojtal
335f3ad7ea
Merge pull request #11355 from kyle-cypress/pr/psoc-serial-flash
...
Initial support for Serial Flash on PSoC Devices
2019-08-30 12:42:59 +02:00
Martin Kojtal
68054861e8
Merge pull request #11354 from kyle-cypress/pr/pdl-linker-script
...
Update linker scripts based on latest PDL 1.3
2019-08-30 07:10:32 +02:00
Chun-Chieh Li
254866eac1
M263: Remove redundant SPI I2S pins from pinmap
...
The pins suffixed with 'I2SMCLK' are for SPI I2S and cannot be used in normal SPI.
This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-spi.
2019-08-30 11:33:56 +08:00
Chun-Chieh Li
c67a0d8bd0
M263: Free up peripheral pins in peripheral free-up HAL API
...
Without free-up of peripheral pins, peripheral pins of the same peripheral may
share by multiple ports after port iteration, and this peripheral may fail with
pin interference.
2019-08-30 11:33:55 +08:00
Chun-Chieh Li
78ae1e0c73
M263: Support GPIO input pull-high/pull-low
...
In Nuvoton, only new-design chips support GPIO input pull-high/pull-low modes.
Targets not supporting this feature are listed below:
- NUMAKER_PFM_NANO130
- NUMAKER_PFM_NUC472
- NUMAKER_PFM_M453
2019-08-30 11:33:54 +08:00
Chun-Chieh Li
5b7beab9da
M263: Fix redundant call to UART IRQ handler
...
Honor RxIrq/TxIrq to avoid redundant call to UART IRQ handler.
This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-uart.
2019-08-30 11:33:52 +08:00
Chun-Chieh Li
eb435b7da0
M263: Fix redundant SPI clock generation
...
Fix SPI clocks are generated redundantly at the end of transfer.
This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-spi/
SPI - async mode.
2019-08-30 11:33:51 +08:00
Chun-Chieh Li
d15abe5171
M263: Fix I2C NACK error
...
Fix logic error on replying NACK at the end of transfer.
This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-i2c/
i2c - test single byte read i2c API.
2019-08-30 11:33:49 +08:00
Chun-Chieh Li
9d4d99cf34
M263: Fix IP initialization sequence
...
Better IP initialization sequence:
1. Configure IP pins
2. Select IP clock source and then enable it
3. Reset the IP (SYS_ResetModule)
NOTE1: IP reset takes effect regardless of IP clock. So it doesn't matter if
IP clock enable is before IP reset.
NOTE2: Non-configured pins may disturb IP's state, so IP pinout first and then
IP reset.
NOTE3: IP reset at the end of IP initialization sequence can cover unexpected
situation.
2019-08-30 11:33:48 +08:00
Chun-Chieh Li
9aa69d03bf
M263: Exclude USB UART from testing
...
USB UART is dedicated to USB COM and so must exclude from FPGA CI testing.
2019-08-30 11:33:47 +08:00
Chun-Chieh Li
3cb95a8baf
M263: Force enum PinName to 32-bit
...
NU_PINNAME_BIND(...) requires enum PinName to be 32-bit to encode module
binding information in it.
2019-08-30 11:33:45 +08:00
Ryan Morse
d373cab5ab
Initialize serial flash on device startup
2019-08-29 14:09:21 -07:00
Ryan Morse
ee944cf850
Add serial flash implementation for PSoC 6
2019-08-29 14:08:56 -07:00
Martin Kojtal
a65ed8c3d8
Merge pull request #11303 from jeromecoutant/PR_H743ZI2_480
...
NUCLEO_H743ZI2 : increase system clock from 400 MHz to 480 MHz
2019-08-29 17:10:06 +02:00
Hennadiy Kytsun
bf00ebe409
Remove rom start/size macros when bootloader=true
...
Allow the application to specify this depending on whether/how
it is using the bootloader and whether it requires a CM0+ image.
2019-08-29 07:15:56 -07:00
Ryan Morse
aaf641062c
Update linker scripts based on latest PDL 1.3
2019-08-29 07:15:56 -07:00
jeromecoutant
bb1388be8e
NUCLEO_L4R5ZI: add QSPI_x definition
2019-08-29 14:17:33 +02:00
Martin Kojtal
8ef742a49c
Merge pull request #11370 from u-blox/ublox_odin_driver_os_5_v3.7.1_rc1
...
Driver Updates + ARMC6 driver support + WIFI fixes
2019-08-29 13:35:06 +02:00
jeromecoutant
f13072490c
NUCLEO_L4R5ZI : add OSPI pins for QSPI
2019-08-29 12:11:28 +02:00
Chun-Chieh Li
7504cf835f
M263: Fix mbedmicro-rtos-mbed-systimer/Wake up from deep sleep failing
...
This test requires total latency (tot = h/w + s/w) (wakeup from deepsleep) be
under 1ms. To check the issue, measure total latency on Nuvoton targets:
TARGET EXP(us) EXP+TOL(us) ACT(us)
NANO130 42000 43000 42939
NUC472 42000 43000 42236
M453 42000 43000 43274
M487 42000 43000 42877
M2351 42000 43000 43213
Checking h/w spec, h/w latency (wakeup time from normal power-down mode) on
M487/M2351 is just 1us (n/a on other targets). S/W latency plays the major
part here.
S/W latency relies on system performance. On Nuvoton targets, 'LPTICKER_DELAY_TICKS'
possibly complicates the test. Anyway, to pass the test, add extra 1ms latency
(deep-sleep-latency) in targets.json for Nuvoton targets.
2019-08-29 18:08:12 +08:00
Chun-Chieh Li
2a48f54c1d
M263: Enlarge LPTICKER_DELAY_TICKS for safe
...
On Nuvoton targets, lp_ticker_set_interrupt(...) needs around 3 lp-ticker
ticks to take effect. It may miss when current tick and match tick are very
close (see hal/LowPowerTickerWrapper.cpp). Enlarge LPTICKER_DELAY_TICKS to
4 from 3 to address this boundary case.
2019-08-29 18:00:45 +08:00
Laurent Meunier
8401c2ea31
STM32: Few fixes and tidy-up in qspi_api
2019-08-29 11:17:46 +02:00
jeromecoutant
be78084a8b
NUCLEO_H743ZI and NUCLEO_H743ZI2: clock configuration cleanup
2019-08-29 10:52:24 +02:00
Martin Kojtal
453122944c
Merge pull request #11366 from 0xc0170/dev_rollup
...
Rollup part 2 for 5.14
2019-08-29 09:28:49 +02:00
Martin Kojtal
27571bc2d7
Merge pull request #11309 from NXPmicro/Fix_Kinetis_Spi
...
MCUXpresso Kinetis SPI drive: Add a delay between CS assertion and first sclk edge
2019-08-29 08:49:49 +02:00
aqib-ublox
7f36fbc86e
Driver Updates + ARMC6 driver support + wifi fixes
2019-08-29 11:33:29 +05:00
Kyle Kearney
095e8dfbd9
Remove WATCHDOG from TARGET_SEQUANA
...
This was added to TARGET_PSOC6 which TARGET_SEQUANA inherits from,
but TARGET_SEQUANA doesn't implement WATCHDOG
2019-08-28 18:06:02 -07:00
dolphin\gena
605fdd13de
Add pin speed controlling interface
2019-08-28 22:17:45 +03:00
Orest Akymyshyn
3898fed709
Update targets for Cypress Kits
...
Enable QSPI and Watchdog
Define additional macros to enable more generic BSP code
Allow deep sleep latency to be set by configurator-generated code
2019-08-28 10:56:15 -07:00
Ryan Morse
13f216d23d
Fix LPA pin configuration for two Cypress Targets
...
Fixes are for CY8CKIT_062S2_43012 and CY8CPROTO_062_4343W
2019-08-28 10:56:15 -07:00
Kyle Kearney
e8f325fe33
Update device startup code and linker scripts
...
Only include the CM4 startup code and linker scripts with the target for each board.
2019-08-28 10:56:15 -07:00
Kyle Kearney
8c2dec1233
Update board hardware configuration
...
Include all configurator design files with each BSP
2019-08-28 10:56:15 -07:00
Kyle Kearney
166325ac37
Move nested targets up one level
...
For kit targets that inherit from a module, move the kit a top-level
target folder rather than nesting underneath the module folder, to
avoid too-long-path issues on Windows.
Note this only changes the folder layout, not the inheritance.
2019-08-28 10:56:14 -07:00
Kyle Kearney
317f720b11
Move BSP design.modus/GenSrc into its own component
...
Enables code examples/end user applications to override if necessary
Add BSP_DESIGN_MODUS component by default to all PSOC6 boards. Applications can remove this if necessary.
2019-08-28 10:56:14 -07:00
Kyle Kearney
236bf2c0c3
Initialize timer for us_ticker at startup
...
This avoids a stack overflow if sleep is called for the first time from
the idle thread (which by default has a fairly small stack, and which is
already fairly deep by the time it calls into the usticker adapter)
2019-08-28 10:56:14 -07:00
Kyle Kearney
ad6e833450
Enable SDIO DeepSleep Callback
2019-08-28 10:56:14 -07:00
Ryan Morse
0164ddcc80
Minor updates to BSP init for clarity
2019-08-28 10:56:14 -07:00
Kyle Kearney
85dd8d704b
Clean up unnecessary doxygen comments
...
Fix incorrect file names in a few headers
2019-08-28 10:56:14 -07:00
Kyle Kearney
d50145fd1d
Comment about resource reservations in BSP Init
2019-08-28 10:56:14 -07:00
Kyle Kearney
0a1e64dd00
Register Sysclk PM callback in BSP Init
2019-08-28 10:56:14 -07:00
Kyle Kearney
ced234607e
Clean up common BSP implementation
2019-08-28 10:56:14 -07:00
Kyle Kearney
e64fdba7fc
Update BSP and WifiInterface for WHD Changes
2019-08-28 10:56:14 -07:00
Kyle Kearney
5d819ebc81
Initialize wifi SDIO during BSP init
2019-08-28 10:56:14 -07:00
Kyle Kearney
d98fa7a569
Rename BSP header for easier moves between targets
2019-08-28 10:56:14 -07:00
Martin Kojtal
96d9a8fea9
Merge branch 'MX25LM51245G_QSPI_test_config' of git://github.com/LMESTM/mbed into dev_rollup
2019-08-28 18:37:17 +01:00
Martin Kojtal
104f9281c4
Merge branch 'I2C_SEQUENTIAL_COMMUNICATION_REWORK' of git://github.com/ABOSTM/mbed-os into dev_rollup
2019-08-28 18:36:53 +01:00
Martin Kojtal
31b65adf45
Merge branch 'master' of git://github.com/malavikasajikumar/mbed-os into dev_rollup
2019-08-28 18:36:40 +01:00
Martin Kojtal
7eb97be5a3
Merge pull request #11358 from 0xc0170/dev_rollup
...
Rollup PRs for 5.14
2019-08-28 16:39:36 +02:00
Martin Kojtal
67d1bb180b
Merge pull request #11319 from kyle-cypress/pr/whd-1.30-update
...
Update WHD to 1.30.0
2019-08-28 16:11:24 +02:00
Leon Lindenfelser
7063ccee9e
Add PA6 to ADC PeripheralPins for MTS_DRAGONFLY_L471QG
2019-08-28 13:12:08 +01:00
Mahesh Mahadevan
695e930f09
KL43Z: Enable USBDevice
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-28 13:12:04 +01:00
Marcelo Salazar
4d5bf75ae6
Fix ELMO_F411RE detect code
2019-08-28 13:12:03 +01:00
Martin Kojtal
2cfea4faba
target TT_: fix compilation errors
...
They define slave for spi, rtc but do not contain implementation - removing them.
Fixes #11143
2019-08-28 13:12:03 +01:00
Martin Kojtal
ae247b5645
Merge pull request #11326 from kyle-cypress/pr/psoc6-pdl
...
Update PDL for Cypress Targets
2019-08-28 12:30:37 +02:00
Martin Kojtal
d7b5f759ae
Merge pull request #11324 from kyle-cypress/pr/psoc6-csp
...
PSOC6: Update CSP to latest
2019-08-28 10:07:44 +02:00
Martin Kojtal
7e0fb8fab9
Merge pull request #11293 from NXPmicro/K82F_Add_USBDevice
...
K82F: Add USBDEVICE support
2019-08-28 07:27:40 +02:00
Ryan Morse
c611e76297
Update WHD to latest 1.30 build
2019-08-27 17:16:44 -07:00
Ryan Morse
ac3951097f
Update PDL to 1.3.0 final
2019-08-27 16:13:07 -07:00
Ryan Morse
5c899a3350
Bug fixes to interrupt/event handling in SDHC HAL
2019-08-27 15:29:32 -07:00
Malavika Sajikumar
db0d3d21e6
Updating SDP-K1 PinNames.h file.
...
- Removing LED pin definitions based on color.
- Removing and updating incorrect USB pin definitions.
- Adding comments for Arduino SPI and I2C pins.
2019-08-27 15:24:08 -07:00
Shuopeng Deng
8ad377add3
Fix I2C handling of 1 byte external memory address
2019-08-27 15:10:34 -07:00
Ryan Morse
459666f8f2
Fixed issue in QSPI when there aren't 8 pins
2019-08-27 15:10:34 -07:00
Kyle Kearney
375221097c
Update CSP to latest
...
Update HAL adapter for interface changes
Misc minor fixes to HAL adapter
2019-08-27 15:10:34 -07:00
Ryan Morse
5e2234f3e3
Add reserved resources lists to Cypress BSPs
...
These provide information to allow Cypress graphical configuration tools
to avoid conflicting usage of hardware resources which are managed by
firware included with the BSP.
2019-08-27 11:35:23 -07:00
James Wang
6d3d88f921
set NRF52832 static_memory_defines true
...
static_memory_defines controls the macro MBED_RAM_START AND MBED_RAM_SIZE
when nrf52832 to use softdevice, it need MBED_RAM_START to set the true application ram start
2019-08-27 19:50:01 +08:00
Martin Kojtal
7e179f5beb
Merge pull request #11301 from jeromecoutant/PR_L4R
...
STM32L4+ : increase system clock from 80 MHz to 120 MHz
2019-08-27 09:49:09 +02:00
Tony Wu
16e52f2868
rtl8195am - remove redundant code
...
Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-08-27 10:41:34 +08:00
Tony Wu
b170a90acf
rtl8195am - fix array assumed to have one element warning
...
Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-08-27 10:41:32 +08:00
Tony Wu
d52dd1941e
rtl8195am - fix argument format warning
...
[Warning] tcm_heap.c@70,18: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'MemChunk * {aka struct _MemChunk *}' [-Wformat=]
[Warning] tcm_heap.c@70,28: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'MemChunk * {aka struct _MemChunk *}' [-Wformat=]
Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-08-27 10:41:29 +08:00
Tony Wu
ec7a3dd0f3
rtl8195am - fix missing braces around empty body warning
...
osdep_service.c@214,61: suggest braces around empty body in an 'else' statement [-Wempty-body]
Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-08-27 10:41:26 +08:00
Tony Wu
885b4ccbef
rtl8195am - cleanup gcc linker script
...
Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-08-27 10:40:51 +08:00
Tony Wu
020cf85cf0
rtl8195am - disable IAR support
...
Disable IAR support until HAL library is upgraded to IAR8
Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-08-27 10:40:23 +08:00
Tony Wu
371d336fcd
rtl8195am - enable USTICKER support
...
Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-08-27 10:40:19 +08:00
Kyle Kearney
33493b12d9
Update WHD clients for interface changes
2019-08-26 16:05:47 -07:00
Ryan Morse
66cf10f030
Update WHD to 1.30.0
2019-08-26 16:05:46 -07:00
Martin Kojtal
421ad37433
Merge pull request #11122 from OpenNuvoton/nuvoton_m263
...
Support Nuvoton's new target NUMAKER_IOT_M263A
2019-08-26 14:12:36 +02:00
Alexandre Bourdiol
de121a308a
Fix I2C issue with test mbed_hal_fpga_ci_test_shield
...
On last case #5 there was a last unexpected read.
It happened when stop condition was generated
2019-08-26 14:01:23 +02:00
Martin Kojtal
02d1873c06
Merge pull request #11266 from u-blox/feature_adc_temp_conf
...
ADC internal temperature support and EMAC header fix
2019-08-26 11:08:47 +02:00
Kyle Kearney
04aa0a6e9d
Update PDL
2019-08-23 17:58:41 -07:00
Alexandre Bourdiol
7910de2f38
TARGET_STM: Fix I2C sequential communication
...
Keep former behaviour for I2C V1.
For I2C V2:
Use only I2C_FIRST_FRAME, I2C_FIRST_AND_LAST_FRAME and I2C_LAST_FRAME,
thus we avoid using reload bit.
Reload suppose the next frame would be in the same direction,
but we have no guarranty about this. So we cannot use reload bit.
Note: in case of 2 consecutive I2C_FIRST_FRAME,
a restart is automatically generated only if there is direction change in the direction.
2019-08-23 16:26:19 +02:00
cyliangtw
5a1a25abe0
Add MBED_FAULT_HANDLER_DISABLED into macros to avoid GCC issue
2019-08-23 21:53:01 +08:00
Martin Kojtal
b786e68a6a
Merge pull request #11294 from NXPmicro/KL43_Add_Storage
...
KL43Z: Enable FALSHIAP storage
2019-08-23 15:43:19 +02:00
jeromecoutant
8cd00b3468
STM32L4: Add OSPI IP support in fallback QSPI mode
...
For STM32 platforms that embed an OSPI IP, we're offering
a QSPI fallback support with this commit.
When OSPI is supported in mbed, we can consider adding full
OSPI support
2019-08-23 15:18:48 +02:00
Mahesh Mahadevan
5af80db8b6
MCUXpresso Kinetis SPI drive: Add a delay between CS assertion and first sclk edge
...
1. FPGA test shield requires at least half sclk period delay between
CS assertion and first sclk edge
2. Update Kinetis SPI drivers to match what is already done for K64F
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-23 07:11:43 -05:00
aqib-ublox
1ab75d3759
adding internal ADC pin definition for MBED_CONNECT_ODIN and MBED_ODIN_W2
2019-08-23 15:46:15 +05:00
cyliangtw
e57ed04252
modify acceptable license term of SDK drivres
2019-08-23 18:12:23 +08:00
cyliangtw
23267ba229
re-license files of M261 device folder to be Apache
2019-08-23 18:12:19 +08:00
cyliangtw
2b3fda91d3
Not disable MBED_FAULT_HANDLE by default after it supports Cortex-M23
2019-08-23 18:12:18 +08:00
cyliangtw
9d653af2cc
re-license all of M261 hal files to be Apache
2019-08-23 18:12:16 +08:00
cyliangtw
99e1d0b49c
M263 support GCC and IAR toolchain
2019-08-23 18:12:14 +08:00
cyliangtw
c9006bd422
Support InterruptIn class in ci-test/pwm_rise_fall test case
2019-08-23 18:12:13 +08:00
cyliangtw
d69e7c5613
Fix UNO pin map
2019-08-23 18:12:11 +08:00
cyliangtw
3164095cd6
M263: Fix channel release in analogout_free()
2019-08-23 18:12:10 +08:00
cyliangtw
a62c877d0e
M263: modify epwm-config-output
2019-08-23 18:12:09 +08:00
cyliangtw
2596b7c7be
M263: Include cmsis core_m23.h for macro __CORTEX_M in M261.h
2019-08-23 18:12:07 +08:00
cyliangtw
d52fced891
M263: Fix compile error on analogin/out & crypto-misc
2019-08-23 18:12:06 +08:00
cyliangtw
b9a2e06a1a
M263: delete 2 redundant files
2019-08-23 18:12:04 +08:00
cyliangtw
e46cf83850
M263: Add Numaker-IoT-M263A target board
2019-08-23 18:12:02 +08:00
jeromecoutant
3e4592703d
Create NUCLEO_H743ZI2 own target at 480 MHz
2019-08-23 10:33:08 +02:00
Martin Kojtal
14021eb4fe
Merge pull request #11268 from NXPmicro/Update_MCUXpresso_SDK_SPI
...
Update MCUXpresso SDK SPI drivers
2019-08-23 10:20:09 +02:00
Martin Kojtal
edc59ced82
Merge pull request #11215 from chrissnow/LPC1768_Scatter
...
LPC1768: Make use of the other 32K of RAM
2019-08-23 10:18:21 +02:00
Martin Kojtal
48b5939b33
Merge pull request #11152 from OpenNuvoton/nuvoton_fpga-ci
...
Nuvoton: Fix FPGA CI test failing
2019-08-23 10:02:19 +02:00
Martin Kojtal
b1aec797e2
Merge pull request #11282 from NXPmicro/K22_Add_Storage
...
K22F: Add FlashIAP for storage
2019-08-23 10:01:16 +02:00
Mahesh Mahadevan
6d736d8ce0
KL43Z: Enable FALSHIAP storage
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-22 12:16:09 -05:00
Mahesh Mahadevan
c249d5fd54
K82F: Add USBDEVICE support
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-22 11:17:35 -05:00
Anna Bridge
7455b89603
Merge pull request #11280 from Tharazi97/stm_spi_api_memset_fill_truncated
...
Tweak stm_spi_api Coverity warning.
2019-08-22 17:11:19 +01:00
Mahesh Mahadevan
a85f0824be
MCUXpresso: Update EDMA drivers to fix warnings
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-22 10:47:43 -05:00
Mahesh Mahadevan
a184a86e90
MCUXpresso: Update the SDK LPUART drivers
...
Use the latest driver from K66F
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-22 08:26:11 -05:00
Mahesh Mahadevan
bff287580c
MCUXpresso: Update I2C SDK driver
...
Use the K66F driver that has the latest
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-22 07:48:29 -05:00
Mahesh Mahadevan
23bf7b74b0
MCUXpresso: Update SDK EDMA driver
...
Update to the latest version from K66F
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-22 07:48:29 -05:00
Mahesh Mahadevan
382696fc50
MCUXpresso: Use SDK API for spi_master_block_write
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-22 07:48:28 -05:00
Mahesh Mahadevan
33b66ffa60
MCUXpresso: Update Kinetis SPI SDK drivers
...
Added dummy data setup API to allow users to configure
the dummy data to be transferred.
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-22 07:48:28 -05:00
Mahesh Mahadevan
4102114a72
MCUXpresso: Update Kinetis DSPI SDK drivers
...
- Added dummy data setup API to allow users to configure
the dummy data to be transferred.
- Added new APIs for half-duplex transfer function. Users
can send and receive data by one API in the polling/interrupt/EDMA way,
and they can choose either to transmit first or to receive first.
Additionally, the PCS pin can be configured as assert status in
transmission (between transmit and receive) by setting the
isPcsAssertInTransfer to true.
- Fix for MISRA issues
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-22 07:48:28 -05:00
Martin Kojtal
1182d1e9bb
Merge pull request #11284 from NXPmicro/K22_Add_USB_Support
...
K22: Add USBDEVICE support
2019-08-22 14:34:44 +02:00
jeromecoutant
680e0fc5fb
DISCO_L4R9I: increase system clock from 80MHz to 120MHz
2019-08-22 13:32:20 +02:00
jeromecoutant
bdd0689228
NUCLEO_L4R5ZI: increase system clock from 80MHz to 120MHz
2019-08-22 13:21:28 +02:00
Martin Kojtal
32e97e3371
Merge pull request #11267 from NXPmicro/LPC_Optimize_usticker
...
NXP MCUXpresso: optimize us_ticker for LPC platforms
2019-08-22 11:18:09 +02:00
Martin Kojtal
9d6bfcfc78
Merge pull request #11261 from NXPmicro/Enable_Tickless_LPC
...
MCUXpresso: Add TICKLESS support for LPC platforms
2019-08-22 11:06:00 +02:00
Alexandre Bourdiol
7647b39adc
TARGET_STM: I2C sequential communication revert PR #3324 to original cube HAL
2019-08-22 10:44:20 +02:00
Martin Kojtal
edcde1ce8c
Merge pull request #10796 from NXPmicro/tickless
...
NXP: Enable MBED_TICKLESS on various NXP platforms
2019-08-22 10:30:14 +02:00
Martin Kojtal
d0c917cb32
Merge pull request #11274 from VVESTM/vve_eth_h7
...
Add ethernet support on NUCLEO_H743ZI board
2019-08-22 09:42:45 +02:00
Mahesh Mahadevan
20aa1ecfd9
K22F: Add FlashIAP for storage
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-21 12:10:00 -05:00
int_szyk
5c9daa3941
Tweak stm_spi_api Coverity issue.
...
Coverity warining: "memset fill truncated (NO_EFFECT)".
Changed SPI_FILL_WORD to SPI_FILL_CHAR.
2019-08-21 16:47:35 +02:00
Vincent Veron
8ab6aecbe9
Move stm32xx_emac_config.h to family specific folder
...
This allows to specify which hal version to use for each family.
It can also be used to modify the thread stack size.
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-08-21 15:02:45 +02:00
Vincent Veron
76fb4d22cc
STM32H7 : update linker script files to use right location for lwip_ram_heap
...
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-08-21 11:41:30 +02:00
Vincent Veron
9f2e9aa576
Add EMAC support for NUCLEO_H743ZI
...
This port is based on :
* CurryGuy ethernet branch :
https://github.com/CurryGuy/mbed-os/tree/feature-stm32h7-emac
* STM32 Cube example :
Applications/LwIP/LwIP_HTTP_Server_Netconn_RTOS example
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-08-21 11:40:48 +02:00
Mahesh Mahadevan
7e6da8bffe
K22: Add USBDEVICE support
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-20 15:15:46 -05:00
Mahesh Mahadevan
c8ad24c8f5
NXP MCUXpresso: optimize us_ticker for LPC platforms
...
Provide new optimizations for us_ticker and wait_us.
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-20 10:39:28 -05:00
aqib-ublox
80e30f4258
ADc internal temperature suuport and EMAC header fix
2019-08-20 18:44:22 +05:00
Martin Kojtal
ce74bb53c4
Merge pull request #11178 from Tharazi97/watchdog_max_timeout
...
ST: Watchdog: Fix timeout registers value calculation
2019-08-20 13:47:31 +02:00
Martin Kojtal
c37b5628ec
Merge pull request #11255 from cy-vaira/nvram-cy8cmod-062s2-43012
...
Update NVRAM image for target CY8CMOD-062S2-43012
2019-08-20 10:27:30 +02:00
Martin Kojtal
169ada9209
Merge pull request #11237 from Tharazi97/TT_M3HQ-build-problem
...
Fix TT_M3HQ build problem
2019-08-20 10:23:28 +02:00
Martin Kojtal
191f029f73
Merge pull request #11226 from chrissnow/LPC1768_WDT
...
LPC1768 Watchdog & Reset Reason
2019-08-20 10:22:42 +02:00
Martin Kojtal
e2fef54898
Merge pull request #11188 from NXPmicro/MXRT_TRNG
...
MIMXRT1050_EVK: Add TRNG support
2019-08-20 09:50:43 +02:00
Martin Kojtal
e3bfcbc2ff
Merge pull request #11142 from hugueskamba/hk-usb-targets-relocation
...
Relocate USB target specific code to root `targets` directory
2019-08-20 09:39:30 +02:00
Martin Kojtal
e56f3199eb
Merge pull request #11127 from NXPmicro/Fix_LPC55S69_AnalogIn
...
Fix ANALOGIN support for LPC55S69
2019-08-20 09:33:40 +02:00
Martin Kojtal
b16aaca568
Merge pull request #11118 from ganesh-ramachandran/m46b_newfeatures
...
Add new features to Toshiba's TMPM46B
2019-08-20 09:27:28 +02:00
Chun-Chieh Li
96dac4faa7
[M487] Exclude A2/A3 from testing for NuMaker-IoT-M487 V1.3
...
Since NuMaker-IoT-M487 V1.3, A2/A3 are dedicated to on-board ESP8266 WiFi
module RTS/CTS pins and so must exclude from FPGA CI testing.
2019-08-20 13:12:44 +08:00
Chun-Chieh Li
c99c43cacd
[M2351] Fix pinmap table error with SPI clock pin
2019-08-20 13:12:44 +08:00
Chun-Chieh Li
07f39f1337
[M2351] Fix CLK_SetModuleClock_S(...) error with SPI
...
Fix SPI module index error in modidx_ns_tab table in CLK_SetModuleClock_S().
Need to update secure image for this bugfix.
This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-spi/
SPI - init/free test all pins.
2019-08-20 13:12:44 +08:00
Chun-Chieh Li
bab5d27e26
[M453] Classify by M45xD/M45xC and M45xG/M45xE
...
M451 series can classify by M45xD/M45xC and M45xG/M45xE. To support this
classification:
1. Create TARGET_M45xD_M45xC and TARGET_M45xG_M45xE targets.
2. Mark NUMAKER_PFM_M453 belongs to TARGET_M45xG_M45xE by 'extra_labels_add'
in targets.json.
3. Fix pin name table according to the classification.
4. Fix pinmap table according to the classification.
2019-08-20 13:12:43 +08:00
Chun-Chieh Li
6f1bd325cd
[NANO130] Remove SPI MOSI1/MISO1 pins from pinmap
...
MOSI1/MISO1 are used in second bit of 2-bit transfer mode and cannot be used
for normal MOSI/MISO. Remove them from pinmap.
This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-spi/
SPI - basic test.
2019-08-20 13:12:43 +08:00
Chun-Chieh Li
c3d7ef8341
[Nuvoton] Free up peripheral pins in peripheral free-up HAL API
...
Without free-up of peripheral pins, peripheral pins of the same peripheral may
share by multiple ports after port iteration, and this peripheral may fail with
pin interference.
2019-08-20 13:12:43 +08:00
Chun-Chieh Li
ca0846b1e9
[Nuvoton] Support GPIO input pull-high/pull-low
...
In Nuvoton, only new-design chips support GPIO input pull-high/pull-low modes.
Targets not supporting this feature are listed below:
- NUMAKER_PFM_NANO130
- NUMAKER_PFM_NUC472
- NUMAKER_PFM_M453
2019-08-20 13:12:42 +08:00
Chun-Chieh Li
09bf844d76
[Nuvoton] Fix redundant call to UART IRQ handler
...
Honor RxIrq/TxIrq to avoid redundant call to UART IRQ handler.
This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-uart.
2019-08-20 13:12:42 +08:00
Chun-Chieh Li
d46c6fea47
[Nuvoton] Fix redundant SPI clock generation
...
Fix SPI clocks are generated redundantly at the end of transfer.
This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-spi/
SPI - async mode.
2019-08-20 13:12:42 +08:00
Chun-Chieh Li
80c21aeff5
[Nuvoton] Fix I2C NACK error
...
Fix logic error on replying NACK at the end of transfer.
This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-i2c/
i2c - test single byte read i2c API.
2019-08-20 13:12:42 +08:00
Chun-Chieh Li
fef138a3cd
[Nuvoton] Fix IP initialization sequence
...
Better IP initialization sequence:
1. Configure IP pins
2. Select IP clock source and then enable it
3. Reset the IP (SYS_ResetModule)
NOTE1: IP reset takes effect regardless of IP clock. So it doesn't matter if
IP clock enable is before IP reset.
NOTE2: Non-configured pins may disturb IP's state, so IP pinout first and then
IP reset.
NOTE3: IP reset at the end of IP initialization sequence can cover unexpected
situation.
2019-08-20 13:12:41 +08:00
Chun-Chieh Li
560fe33ed8
[Nuvoton] Exclude USB UART from testing
...
USB UART is dedicated to USB COM and so must exclude from FPGA CI testing.
2019-08-20 13:12:41 +08:00
Chun-Chieh Li
f88bd72c19
[Nuvoton] Force enum PinName to 32-bit
...
NU_PINNAME_BIND(...) requires enum PinName to be 32-bit to encode module
binding information in it.
2019-08-20 13:12:41 +08:00
Mahesh Mahadevan
99b1114e63
MCUXpresso: Add TICKLESS support for LPC platforms
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-19 13:15:39 -05:00
Chris Snow
82f4be0b4d
SPDX identifier and license amended
2019-08-19 11:58:02 +01:00
Martin Kojtal
101ae73b87
Merge pull request #11063 from linlingao/f_cc3220sf_launchxl
...
Add CC3220SF_Launchxl to Mbed OS
2019-08-19 12:08:11 +02:00
Vairamuthu Ramasamy
e7f190f2d7
Updated nvram image for target CY8CMOD-062S2-43012
2019-08-19 14:07:33 +05:30
Hugues Kamba
3d6fb15b48
Use consistant naming for Cypress USB target files.
2019-08-16 15:42:43 +01:00
Hugues Kamba
de231b8664
Move USB Templates to `mbed-os/hal/usb`
2019-08-16 15:42:43 +01:00
Hugues Kamba
f3df1c1d1e
Relocate TARGET_MCU_NRF52840 to TARGET_NRF5x/TARGET_NRF52
2019-08-16 15:42:43 +01:00
Hugues Kamba
41346bad13
Rename template dir so future templates can be added to the same dir.
2019-08-16 15:42:43 +01:00
Hugues Kamba
5cbc3e0497
Relocate USB target specific code to root `targets` directory
...
All target specific source and header files should be in the `targets`
directory located at the root of the Mbed OS repository.
2019-08-16 15:42:43 +01:00
int_szyk
3c2ed16fce
Fix TT_M3HQ build problem with SPI
2019-08-16 14:55:49 +02:00
int_szyk
ce58505fa4
fix TT_M3HQ build problem with i2c
2019-08-16 14:55:49 +02:00
int_szyk
aa56f86cec
Remove SERIAL_FC from target.json on TT_M3HQ
...
Development board TT_M3HQ doesn't have CTS/RTS on its pinout.
If that is not the case PinMap_UART_RTS should be created.
2019-08-16 14:44:31 +02:00
Ganesh Ramachandran
edf36fb2ae
Added new features to TMPM46B
2019-08-16 10:43:52 +05:30
Mahesh Mahadevan
43b4c0ab82
MIMXRT1050_EVK: Add TRNG support
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-15 16:51:18 -05:00
Anna Bridge
08ecbfcd46
Merge pull request #11021 from OpenNuvoton/nuvoton_lpticker_delay_ticks
...
Nuvoton: Enlarge LPTICKER_DELAY_TICKS for safe
2019-08-15 12:47:55 +01:00
Chris Snow
edc992b297
Enable WATCHDOG and RESET_REASON for other LPC1768 targets
2019-08-14 17:15:18 +01:00
Lin Gao
cae7427717
Cosmetic changes to incorporate review feedback
2019-08-14 11:09:11 -05:00
Chris Snow
7e2c2a98dd
LPC1768 Reset Reason implementation
2019-08-14 15:50:11 +01:00
Chris Snow
2fcafb9c93
LPC1768 WDT implementation
2019-08-14 13:42:04 +01:00
Martin Kojtal
a6c316afee
Merge pull request #11020 from OpenNuvoton/nuvoton_wakeup_latency
...
Nuvoton: Enlarge required deep sleep latency
2019-08-14 13:38:00 +02:00
int_szyk
df43350f28
Tweak STM watchdog implementation
...
Change the calculation method of rl so it is rounded up.
2019-08-14 13:02:47 +02:00
Chris Snow
9825b0d915
remove CAN section form .ANY
2019-08-13 20:18:52 +01:00
Chris Snow
f801a61138
Make use of the other 32K of RAM if not used by libraries, least priority is IRAM1 to help maximise heap availability.
...
Most beneficial when LWIP is not in use.
2019-08-13 13:41:18 +01:00
Martin Kojtal
de84004be1
Merge pull request #11189 from LMESTM/pwmout_cpp_guard
...
__cplusplus guard fixed pwmout_device.h for STM32 families
2019-08-13 11:19:24 +02:00
Martin Kojtal
be23d3c871
Merge pull request #11137 from facchinm/nano33ble_public
...
Add Arduino Nano 33 BLE target
2019-08-13 10:51:12 +02:00
Martin Kojtal
9113c8d5d7
Merge pull request #11116 from nubix-io/issue-11115
...
Define I²C related pin names for the L-Tek FF_LPC546XX target
2019-08-13 10:42:49 +02:00
Mahesh Mahadevan
d68d8009d9
K64F: Update UART aynchronous API for tickless implementation
...
Do not allow entry to deep sleep mode when UART transfer is active
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-12 10:57:17 -05:00
Mahesh Mahadevan
72e1f415a9
K64F: Update SPI aynchronous API for tickless implementation
...
Do not allow entry to deep sleep mode when SPI transfer is active
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-12 10:57:14 -05:00
Mahesh Mahadevan
eaace297dc
MCUXpresso: Provide an API to wait till TX complete
...
Wait till the data is flushed out of TX buffer
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-12 10:57:04 -05:00
Mahesh Mahadevan
75608f6db2
MCUXpresso: Updated SMC SDK driver
...
Update includes allocating RAM region for code to enter
stop modes and execute this code in RAM, thus the flash
is idle and no prefetch is performed while entering stop
mode.
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-12 10:56:56 -05:00
Mahesh Mahadevan
df64e32aa3
MCUXpresso: Update Kinetis Sleep implementation
...
1. Use the updated API's provided by the SMC driver
2. Wait till debug UART has finished transmitting data
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-12 10:56:52 -05:00
Mahesh Mahadevan
10bbbd1565
Fix ANALOGIN support for LPC55S69
...
1. Update to handle 12-bit resolution
2. Properly handle the pin configuration
3. Update the pin setup to handle the ADC B channel
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-09 09:18:04 -05:00
Mahesh Mahadevan
bed28681d5
NXP: Enable MBED_TICKLESS on various NXP platforms
...
Enable for K22F, K64F, K66F, K82F, KL82Z, KW24D, KW41Z, MIMXRT1050, HEXIWEAR
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-09 09:17:16 -05:00
Martin Kojtal
f8dc035ae4
Merge pull request #11139 from sethitow/stm32f413-crash-capture
...
STM32F413 Crash Capture
2019-08-09 12:49:21 +01:00
Martin Kojtal
174cac7e11
Merge pull request #11103 from desowin/stm32f7-usbhost
...
STM32F7: Do not generate redundant IN tokens
2019-08-09 11:36:37 +01:00
Martin Kojtal
9b4373639b
Merge pull request #11072 from jeromecoutant/PULL_REQUEST_CUBE_UPDATE_L4_V1.14.0
...
STM32L4: update drivers version to CUBE V1.14.0
2019-08-09 11:35:00 +01:00
Laurent Meunier
319223ac16
__cplusplus guard fixed pwmout_device.h for STM32 families
...
This bug prevented using this header in cpp code directly.
2019-08-09 09:51:39 +02:00
Martin Kojtal
d27867ecd4
Merge pull request #11150 from byq77/patch-1
...
__cplusplus guard fixed pwmout_device.h for STM32F4
2019-08-09 08:41:12 +01:00
Martin Kojtal
fd931a169d
Merge pull request #11168 from maciejbocianski/fix_qspi_write_k82f
...
Xpresso: qspi_write fix
2019-08-09 08:23:21 +01:00
Martino Facchin
bd0988416e
[TARGET] Add Arduino NANO33BLE
2019-08-08 17:24:56 +02:00
Seppo Takalo
5f6379a55d
Merge pull request #11119 from Reda-RM/master
...
Riot Micro cellular device
2019-08-07 14:07:27 +03:00
Maciej Bocianski
f2599f43eb
Xpresso: qspi_write fix
...
Due to the data buffer is loaded in two steps the whole block needs protection from being interrupted
2019-08-06 14:55:29 +02:00
Seppo Takalo
644f79592c
Merge pull request #11151 from kyle-cypress/pr/gpio-inout-fix
...
Fix PSoC 6 inout pins
2019-08-06 12:37:08 +03:00
Seppo Takalo
6436f11335
Merge pull request #11123 from desmond-blue/fix-nrf52-us-ticker-free
...
NRF52 need to call TIMER_TASK_SHUTDOWN for current consumption
2019-08-06 11:33:55 +03:00
Seppo Takalo
1c2b050cb0
Merge pull request #11138 from maclobdell/fix-cypress-mbed-rom-start
...
fix rom start & size for CY8CKIT_062_WIFI_BT & CY8CPROTO_062_4343W
2019-08-06 11:33:09 +03:00
Seppo Takalo
1e4a837add
Merge pull request #11141 from maciejbocianski/i2c_Xpresso_byte_read_fix
...
freescale: fix i2c_byte_read function
2019-08-06 11:32:24 +03:00
Seppo Takalo
fae1504e30
Merge pull request #11160 from OpenNuvoton/nuvoton_remove_delay_cycle_x4
...
Nuvoton: Remove dead code nu_delay_cycle_x4
2019-08-06 11:29:14 +03:00
Reda Maher
ef1d9778a9
[Riot Micro] Add Riot Micro cellular module targets
2019-08-05 18:57:43 +02:00
Seppo Takalo
f2236d26f8
Merge pull request #11131 from lrusinowicz/serial_free_fix
...
FUTURE_SEQUANA: Add missing serial_free() implementation
2019-08-05 15:41:45 +03:00
Seppo Takalo
e69a7c913d
Merge pull request #11099 from trowbridgec/update-ep-agora-pinout
...
Update EP_AGORA target pinout
2019-08-05 12:00:08 +03:00
Chun-Chieh Li
413d127586
Nuvoton: Remove dead code nu_delay_cycle_x4(...)
...
Originally, nu_delay_cycle_x4(...) is borrowed from mbed test code for delay
cycle. Currently, it is not used on Nuvoton targets. If delay cycle is needed,
use wait_ns(...) instead which has strict implementation and has passed tests.
2019-08-05 09:32:35 +08:00
Seth Itow
9a65310a85
stm32f413xh: add crash capture support for ARM_STD
2019-08-01 11:28:36 -07:00
Szymon Szantula
dd2876c8ac
__cplusplus guard fixed
...
This error prevented using this header in cpp code directly.
2019-08-01 14:41:11 +02:00
Seth Itow
1c4ad895dd
stm32f413xh: add crash capture support for IAR
2019-07-31 15:54:47 -07:00
Seth Itow
6278dacc1f
stm32f413xh: add crash capture support for ARM_MICRO
2019-07-31 15:54:20 -07:00
Seth Itow
489bd3dec8
stm32f413xh: add crash capture support for GCC_ARM
2019-07-31 15:53:34 -07:00
Kyle Kearney
33b06d4109
Fix inout pins not functioning correctly
...
Update the drive mode when setting the GPIO direction.
2019-07-31 11:51:04 -07:00
maclobdell
e201a5c6be
fix rom start & size for psoc6 targets for 5.13
2019-07-31 12:48:25 -05:00
Maciej Bocianski
b788541308
freescale: fix i2c_byte_read function
2019-07-31 19:44:23 +02:00
Lin Gao
c36980c370
Fix a build break with ARM compiler
2019-07-31 11:51:20 -05:00
Leszek Rusinowicz
16372f3222
FUTURE_SEQUANA: Add missing serial_free() implementation
2019-07-31 13:28:31 +02:00
Lin Gao
eebe00b9d1
Implement PWMOUT
2019-07-30 11:09:44 -05:00
desmond.chen
7b5366f7a3
NRF52 need to call TIMER_TASK_SHUTDOWN for current consumption
2019-07-30 17:20:08 +08:00
Seppo Takalo
417a9fe2fb
Merge pull request #11074 from fkjagodzinski/pinmap-gpio_irq
...
Add a gpio-irq pinmap
2019-07-29 17:44:55 +03:00
Seppo Takalo
9affeb868d
Merge pull request #11071 from cypress-neil/pr/psoc6-usb
...
PSOC6: USB device implementation
2019-07-29 17:41:42 +03:00