Martin Kojtal
7fd637b66b
Merge pull request #12095 from NXPmicro/Update_MXRT_SDK6
...
Update MXRT1050 to SDK 6.0
2020-01-03 15:22:13 +00:00
Hugues Kamba
6afca2460e
NRF5x: Fix baremetal linker error
...
DEBUG_NRF_USER gets defined for build profiles (develop, debug)
which do not define NDEBUG (see nrf_assert.h). Therefore the definition
of the function should also be visible if DEBUG_NRF_USER is defined.
2020-01-03 15:14:09 +00:00
Martin Kojtal
83101170a3
Merge pull request #12167 from dustin-crossman/pr/cypress_target_update
...
Update Cypress Targets and Assets
2020-01-03 13:15:28 +00:00
Przemyslaw Stekiel
79d16ae8f7
STM serial init: Set pin function only if pin is defined (not NC)
2020-01-03 14:14:26 +01:00
cyliangtw
115520a7b8
Add SPDX identifiers in Nuvoton USBD files
2020-01-03 20:40:47 +08:00
cyliangtw
eab8555fc8
Support NUC472 with USB 2.0 only and set M487 USB1.1 in default
2020-01-03 20:40:46 +08:00
cyliangtw
4cddc5de25
Add M453 USBD
2020-01-03 20:40:45 +08:00
cyliangtw
6612ee8460
Set NANO130 CLK as 48 MHz for USBD support
2020-01-03 20:40:44 +08:00
cyliangtw
abf3eeed64
Support NuMaker M453, NUC472, M2351 & M263 USBD; also support M0 usb-isr non-recloate vector limit
2020-01-03 20:40:43 +08:00
cyliangtw
a5aaabff5d
NANO130 add extern C into nano100_usbd.h for C++ caller
2020-01-03 20:40:42 +08:00
cyliangtw
93fbef2cde
Refine M487 USBD code and build M263A successfully
2020-01-03 20:40:41 +08:00
cyliangtw
9b721bf327
Support M487 USBD 1.1 & 2.0
2020-01-03 20:40:39 +08:00
cyliangtw
84882f773e
M487: Fixed USBD serial input pending issue
2020-01-03 20:40:37 +08:00
cyliangtw
b34fd309e3
M487: Support USBD
2020-01-03 20:40:36 +08:00
Martin Kojtal
88ae99ffca
LPC55S6: remove cmsis powerquad
...
This file requires CMSIS library (DSP).
2020-01-03 12:30:54 +00:00
Martin Kojtal
fc2a71064d
Merge pull request #12068 from rajkan01/feature_bare_metal
...
Enabling small C library option and deprecating uARM toolchain
2020-01-03 11:35:48 +00:00
Martin Kojtal
4feca5942a
Merge pull request #12178 from tymoteuszblochmobica/lpctls
...
Fixes for LPC55S69_NS TLS tests
2020-01-03 11:29:49 +00:00
Filip Jagodzinski
ffd8d70a55
K64F: Add hal_reset_reason_get_capabilities()
2020-01-03 12:11:45 +01:00
Dustin Crossman
f53e10e330
Update psoc6pdl to version 1.4.0
2020-01-02 10:04:45 -08:00
Dustin Crossman
6ef5fb19bd
Update abstraction rtos with improved documentation and utilities.
2020-01-02 10:02:18 -08:00
Dustin Crossman
7649d92131
Update psoc6 core_lib with additional documentation and bit manipulation
...
utilities.
2020-01-02 09:58:26 -08:00
Dustin Crossman
af5abae283
Updated cypress target code with latest configurator and PDL
...
library (1.4.0).
2020-01-02 09:49:29 -08:00
Tymoteusz Bloch
b40ab36a6b
Incerased LPC55S69_NS heap in IAR linker script for TLS purpose.
2020-01-02 15:56:26 +01:00
Martin Kojtal
b8045fb29b
Merge pull request #12164 from shuopeng-deng/pr-dev/remove-hardcoded-timeout-in-cypress-bt-code
...
Pr dev/remove hardcoded timeout in cypress bt code
2020-01-02 12:52:51 +00:00
Martin Kojtal
adcd0066ca
Merge pull request #12170 from OpenNuvoton/nuvoton_iar_dynamic_heap
...
Nuvoton: Support dynamic heap configuration on IAR
2020-01-02 10:12:03 +00:00
Martin Kojtal
a387985c7c
Merge pull request #12144 from hugueskamba/hk-nrf52840-two-mem-region-model
...
NRF52840: Use 2 region memory model for the ARM toolchain
2020-01-02 10:08:58 +00:00
Antti Kauppila
e29cb193ca
Added missing define for Quectel UG96
2019-12-27 16:04:10 +01:00
Antti Kauppila
ca7848d854
Refactored away onboard_modem_api because it is not needed at all
...
All targets must implement soft_- and hard_power_on/off() functions which are practically same what onboard_modem_api offered.
These were seen as a duplicate features and therefore we removed this.
All targets involved have been updated to reflect the changes
2019-12-27 16:04:10 +01:00
Chun-Chieh Li
c99dc34f65
Nuvoton: Support dynamic heap configuration on IAR
...
On IAR, configure heap to 1KiB at a minimum and expandable, dependent on available SRAM. This requires IAR 8.x.
Support targets:
- NUMAKER_PFM_NUC472 w/ and w/o XRAM
- NUMAKER_PFM_M453
- NUMAKER_PFM_M487/NUMAKER_IOT_M487
- NUMAKER_IOT_M263A
- NUMAKER_M252KG
2019-12-27 09:01:07 +08:00
Rajkumar Kanagaraj
6d081eeb70
Fixed the build tools test case failure,incorporated review comments
2019-12-23 03:54:18 -08:00
Anna Bridge
bb028babc6
Merge pull request #12134 from toyowata/lpc11u35_fix
...
Fix LPC11U35_401 baremetal build
2019-12-23 11:51:52 +00:00
jeromecoutant
5cedd3320c
STM32F0: clean main-thread-stack-size setting
2019-12-23 12:29:40 +01:00
jeromecoutant
c27c03c784
STM32 remove unused INITIAL_SP macro
2019-12-23 12:29:40 +01:00
Przemyslaw Stekiel
7202b77834
STM SPI capabilities: rx/tx buffers can have different sizes
2019-12-20 12:56:11 +01:00
Przemyslaw Stekiel
769b7c5256
NRF52x SPI capabilities: rx/tx buffers can have different sizes
2019-12-20 12:56:09 +01:00
Martin Kojtal
7609eb4741
Merge pull request #12113 from mprse/can_init_fix
...
Fix for issue #12104 (STM32 can_init_freq() ignores frequency)
2019-12-20 11:24:05 +01:00
Shuopeng Deng
7e79623b39
Removed a hardcoded timeout in CyH4TransportDriver.cpp
...
Replaced a hardcoded timeout in CyH4TransportDriver.cpp with a cypress
hal function. The cypress PUTC hal API only blocks until data has been
send into the HW buffer, not until all data has been out of the HW
buffer. Modified an API to block untill all tx transmit is complete.
This allows the removal of a hardcoded timeout in
CyH4TransportDriver.cpp that waits for data int the HW buffer to be
sent.
2019-12-19 15:35:38 -08:00
Rajkumar Kanagaraj
957dca2082
Enabling small C library option and deprecating uARM toolchain
...
- By default, Mbed OS build tools use standard C library for all supported toolchains.
It is possible to use smaller C libraries by overriding the "target.default_lib" option
with "small". This option is only currently supported for the GCC_ARM toolchain.
This override config option is now extended in the build tool for ARM toolchain.
- Add configuration option to specify libraries supported for each toolchain per targets.
- Move __aeabi_assert function from rtos to retarget code so it’s available for bare metal.
- Use 2 memory region model for ARM toolchain scatter file for the following targets:
NUCLEO_F207ZG, STM32F411xE, STM32F429xI, NUCLEO_L073RZ, STM32F303xE
- Add a warning message in the build tools to deprecate uARM toolchain.
- NewLib-Nano C library is not supporting floating-point and printf with %hhd,%hhu,%hhX,%lld,%llu,%llX
format specifier so skipping those green tea test cases.
2019-12-19 10:05:11 -08:00
Anna Bridge
bef36f5f3e
Merge pull request #12093 from ABOSTM/SUPPORT_NUCLEO_G071RB
...
TARGET_STM: add support of board NUCLEO_G071RB
2019-12-19 15:26:08 +00:00
Hugues Kamba
c3c6cfa8d6
NRF52840: Use 2 region memory model for the ARM toolchain
2019-12-19 15:13:44 +00:00
toyowata
f9242d0b5c
Fix runtime crash by ARMC6 build
2019-12-19 15:31:33 +09:00
toyowata
0d88ff0cfe
Fix USTICKER build error for LPC11U35_401
2019-12-19 15:22:07 +09:00
Przemyslaw Stekiel
fffc30ffda
STM CAN: remove CAN_INIT_DIRECT macro
2019-12-18 10:43:55 +01:00
Anna Bridge
b1b0673622
Merge pull request #12086 from ABOSTM/FLASH_API_64B_ALIGNMENT
...
TARGET_STM: fix flash api 64bit address alignment on L4 and WB
2019-12-17 16:46:21 +00:00
Anna Bridge
8b0a5c2e4b
Merge pull request #12099 from J91Olivier/stm32f4_baud_rate_calculation_fix
...
Implemented recommended fix from https://github.com/STMicroelectronic …
2019-12-17 16:27:19 +00:00
Anna Bridge
4c68eaecd3
Merge pull request #12097 from shuopeng-deng/pr/fix-iar-warnings
...
cypress target: fix iar warnings
2019-12-17 16:26:05 +00:00
Anna Bridge
378f8c2b26
Merge pull request #12067 from jeromecoutant/PR_IRQ_CRITICAL
...
STM32 GPIO IRQ : add a critical section in gpio_irq_init
2019-12-17 16:23:44 +00:00
Anna Bridge
3ad3110888
Merge pull request #12019 from shuopeng-deng/pr/cypress-lptimer-hal-rework
...
Cypress: rework lptimer hal
2019-12-17 16:19:43 +00:00
Przemyslaw Stekiel
e0e280aeaf
optimize can_init(): call can_init_freq() with default freq
2019-12-16 14:09:54 +01:00
Tymoteusz Bloch
8b2f4c2e7e
Getaddrinfo interface for multiple DNS adresses added.
...
New members are added to the network interface
-getaddrinfo
-getaddrinfo_async
gethostbyname is unchanged but gethostbyname_async result param now contains results od DNS records found.
Test cases for sync/async added added to DNS test folder.
2019-12-16 13:59:46 +01:00
Przemyslaw Stekiel
6a3e343ec6
Fix for issue #12104 (STM32 can_init_freq() ignores frequency)
2019-12-16 13:16:51 +01:00
Mahesh Mahadevan
a947c523ea
MXRT1050: Formatting update
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:24 -06:00
Mahesh Mahadevan
3b5ca18924
Update MXRT sleep function
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:23 -06:00
Mahesh Mahadevan
126df98c39
MIMXRT1050: Update UART driver
...
The UART first instance is 1 and not 0. Update the code logic to account
for this.
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:22 -06:00
Mahesh Mahadevan
3a0269c805
MIMXRT1050: Update the usticker driver
...
The PIT module should be initialized only once
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:21 -06:00
Mahesh Mahadevan
2d32e43713
MXRT: Update the LPTimer driver
...
1. Run in doze mode
2. Add implementation for free function
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:20 -06:00
Mahesh Mahadevan
4efbe621e2
MXRT: Update GPIO IRQ hal driver
...
The SDK header provides separate arrays for high and low
GPIO interrupts in place of the previous combined array
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:20 -06:00
Mahesh Mahadevan
d75d9a605d
MIMXRT1050: Update target configuration
...
1. Add defines to copy ram & no-cache functions
2. Add deep sleep latency definition
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:18 -06:00
Mahesh Mahadevan
d117f0df79
MXRT1050: Do not switch 24M source to reduce latency
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:17 -06:00
Mahesh Mahadevan
c92c29ffbd
MIMXRT1050: Update the low power driver to SDK 2.6
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:16 -06:00
Alexandre Bourdiol
528ac279fe
Targets: adapt NUCLEO_G071RB to CMSIS-pack info update
2019-12-13 16:42:40 +01:00
jaco.olivier
ef5da02a68
Implemented recommended fix from https://github.com/STMicroelectronics/STM32CubeF4/issues/5
2019-12-13 10:48:38 +02:00
Shuopeng Deng
6f3852dd59
fix 'enumerated type mixed with another type' IAR warnings
2019-12-12 17:05:11 -08:00
Shuopeng Deng
7817a228e9
fix 'statement is unreachable' IAR warning
2019-12-12 17:05:11 -08:00
Mahesh Mahadevan
2bb8184460
MIMXRT1050: Update the XIP file from SDK 2.6
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-12 13:52:51 -06:00
Mahesh Mahadevan
b906d259d8
MIMXRT1050: Update the mbed_overrides file
...
1. No need to copy RAM functions, this is done in the startup file
2. Update memory config for the FLASH section
3. Configure the PMIC_STDBY pin
4. Update UART clock setting
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-12 13:52:50 -06:00
Mahesh Mahadevan
6c3adb026c
MIMXRT1050: Update the clock driver to SDK 2.6
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-12 13:52:48 -06:00
Mahesh Mahadevan
96f834eb20
MIMXRT1050: Update the ENET PHY driver from SDK 2.6
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-12 13:52:47 -06:00
Mahesh Mahadevan
b7ca64bbeb
MIMXRT1050: Update linker scripts & startup files from SDK 2.6
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-12 13:52:45 -06:00
Mahesh Mahadevan
aaa4a91c4b
MIMXRT1050: Update the device files to SDK 2.6
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-12 13:52:44 -06:00
Mahesh Mahadevan
70cba03e08
MIMXRT1050: Use __ramfunc keyword to copy functions to RAM
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-12 13:52:42 -06:00
Mahesh Mahadevan
44de6d49c2
MIMXRT1050: Update the drivers to SDK 2.6
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-12 13:52:40 -06:00
Alexandre Bourdiol
7c52aa59ec
TARGET_STM: add support of board NUCLEO_G071RB
2019-12-12 14:00:04 +01:00
Alexandre Bourdiol
9e3ad13d5e
TARGET_STM: fix flash api 64bit address alignment on L4 and WB
2019-12-11 18:32:42 +01:00
Martin Kojtal
1d5bd750b9
Merge pull request #12061 from OpenNuvoton/nuvoton_nano130_iar_dynamic_heap
...
NANO130: Support dynamic heap configuration on IAR
2019-12-11 10:46:28 +01:00
Michael Gurevich
03ea0e0b59
Expose target_offset and header_offset parameters in targets.json
2019-12-11 10:49:51 +02:00
Martin Kojtal
f2701463ae
Merge pull request #12052 from yarbcy/pr/fix-for-arm-issue-11860
...
fpga tests: clear uart fix
Fixes #11860 (correction from the commit msg)
2019-12-11 08:05:53 +01:00
Martin Kojtal
06da49984f
Merge pull request #12069 from jeromecoutant/PR_ASTYLE
...
STM32: astyle update
2019-12-11 08:01:19 +01:00
jeromecoutant
9317bea756
STM32 GPIO INIT in critical section
...
critical section added in gpio_irq init and free functions
to protect shared code structures
Note that other functions are protected in API level in InterruptIn
2019-12-10 15:59:56 +01:00
Martin Kojtal
22ab94a1c9
TARGET_STM32F74: fix IAR SIZE check in linker scripts
2019-12-10 14:09:38 +00:00
Martin Kojtal
e27f456a29
STM32F756xG: fix IAR RAM size check
2019-12-10 14:09:37 +00:00
Martin Kojtal
76af152fe1
UNO_91H: remove sectors, bootloader was disabled
...
This should be reverted once bootloader is supported.
2019-12-10 14:09:37 +00:00
Martin Kojtal
5165275d6d
CY8CKIT_062_BLE: disable bootloader support
...
device_name is missing
2019-12-10 14:09:36 +00:00
Martin Kojtal
08b2c583df
CY8CKIT_062_WIFI_BT: disable bootloader support
...
device_name is missing
2019-12-10 14:09:36 +00:00
Martin Kojtal
eb5ee71e67
CY8CPROTO_062_4343W: disable bootloader support
...
device_name is missing
2019-12-10 14:09:35 +00:00
Martin Kojtal
054e806feb
CY8CPROTO_063_BLE: disable bootloader support
...
device_name is missing
2019-12-10 14:09:34 +00:00
Martin Kojtal
6ec7534e87
CYW9P62S1_43438EVB_01: disable bootloader support
...
device_name missing
2019-12-10 14:09:34 +00:00
Martin Kojtal
8d4a1668c9
DISCO_L4R9I: disable bootloader
...
device_name is missing
2019-12-10 14:09:33 +00:00
Martin Kojtal
2a16200a60
GR_LYCHEE: disable bootloader support
...
An error to be fixed:
tools.config.ConfigException: Missing a memory that is read, write in CMSIS Pack data
2019-12-10 14:09:33 +00:00
Martin Kojtal
b0224ecb8a
NUCLEO_WB55RG: disable bootloader support
...
device_name is missing
2019-12-10 14:09:32 +00:00
Martin Kojtal
1c76b7efff
RZ_A1H: bootloader support disable
...
Until the error is fixed:
"start not found in targets.json.".format(active_memory)
2019-12-10 14:09:32 +00:00
Martin Kojtal
00c375b1c0
TB_SENSE_1: fix bootloader, not supported, ROM regions here
2019-12-10 14:09:31 +00:00
Martin Kojtal
ee2caf0716
UNO_91: disable bootloader support as device name missing
...
The config failes with an exception that was previously ignored.
2019-12-10 14:09:31 +00:00
jeromecoutant
bea83d02c2
STM32 TARGET_STM astyle corrections
2019-12-10 14:39:47 +01:00
Martin Kojtal
b7c3b35d65
Merge pull request #12043 from petroborys/master
...
Modify itm_api.c for EFM32 targets
2019-12-10 09:48:46 +01:00
Chun-Chieh Li
f90b6c9cb0
NANO130: Support dynamic heap configuration on IAR
...
On IAR, configure heap to 1KiB at a minimum and expandable, dependent on available SRAM. This requires IAR 8.x.
2019-12-10 10:00:05 +08:00
YARB(Cypress)
a79b1b3369
Fix for ARM issue 11859.
...
1. Clear UART events before enabling
2. Reset device before return from test case
2019-12-09 12:58:47 +02:00
Chun-Chieh Li
3e4e0629dc
NANO130: Decrease heap to 2.75KiB to spare SRAM for static allocation
...
This adjustment is to pass compile on IAR on which heap configuration is hard-coded and cannot be adjusted according to staic SRAM usage.
2019-12-09 18:56:42 +08:00
Chun-Chieh Li
6df5eea841
NANO130: Fix OOM with packing algorithm at IAR linking
...
At IAR linking, the default method of 'initialize by copy' is 'auto', which will estimate
different packing algorithms, including complex 'lz77', for smallest memory footprint. But
the algorithm itself can consume some SRAM and cause OOM at linking time for NANO130, which
just has 16KiB SRAM. To avoid this error, always choose 'none' packing algorithm.
2019-12-09 13:48:31 +08:00
petroborys
8bee5f300d
Add ITM to targets.json for EFM32GG11_STK3701
2019-12-07 03:04:39 +02:00
petroborys
2525100cc7
modified itm_api.c for STK3701 and add SWO location 0 to EFM32GG11_STK3701, EFM32GG_STK3700, EFM32LG_STK3600, EFM32PG_STK3401, EFM32PG12_STK3402 and EFM32WG_STK3800
2019-12-07 03:00:01 +02:00
Martin Kojtal
8d246d8ac1
Merge pull request #12026 from deepak-shreshti/master
...
Update HAL file to Toshiba's TMPM4G9
2019-12-06 15:48:55 +01:00
Martin Kojtal
0e66678bf8
Merge pull request #12030 from miteshdedhia7/pr/whd_update_1.70
...
Updates the Cypress WiFi Host Driver to 1.7.0
2019-12-06 13:44:42 +01:00
Martin Kojtal
0a332d9d19
Merge pull request #12041 from trowbridgec/ep_agora-add-qspi-support
...
Add QSPI and relevant test support for target EP_AGORA
2019-12-06 13:33:14 +01:00
Deepak V. Shreshti
b2616ca1fe
Resolved linker issue
2019-12-06 15:22:55 +05:30
Deepak V. Shreshti
0ad1133ea5
Added SPDX identifier License
2019-12-06 15:15:05 +05:30
Deepak V. Shreshti
6fd5fbc7d5
Updated HAL files of TMPM4G9
2019-12-06 15:15:05 +05:30
Chris Trowbridge
6b8b324eaa
Add QSPI and relevant test support for target EP_AGORA
2019-12-05 14:58:06 -05:00
midd
493d4af228
Remove extra resource file left over from the renaming from TARGET_WHD to COMPONENT_WHD
2019-12-05 10:38:16 -08:00
midd
26cc865fed
Update WiFi Host Driver to 1.7.0
...
- Fixes issues with stopping AP in APSTA mode
2019-12-05 10:37:50 -08:00
YARB(Cypress)
91e97a17d7
Cypress: Remove qspi_frequency() call.
...
cy_qspi_frequency is not implemented.
This change is made because for compatibility
reason with upcoming cy_hal changes.
2019-12-05 16:12:14 +02:00
Martin Kojtal
e9cb9cb014
Merge pull request #12018 from jeromecoutant/PR_OLIMEX_EMAC
...
STM32_EMAC cleanup
2019-12-05 14:03:46 +01:00
Martin Kojtal
a4dbf63dc3
Merge pull request #12029 from jeromecoutant/PR_F091
...
STM32F0: create STM32F091xC target
2019-12-05 08:22:32 +01:00
jeromecoutant
1a3673ee52
STM32F0: create STM32F091xC target
2019-12-04 15:03:46 +01:00
Martin Kojtal
2cf56b8f6d
Merge pull request #11891 from hugueskamba/hk-enable-minimal-printf-in-tools
...
minimal-printf: Enable using a target configuration parameter
2019-12-04 10:14:54 +01:00
Martin Kojtal
bbf68d7272
Merge pull request #11983 from u-blox/ublox_odin_driver_os_5_v3.7.1_rc3
...
Ublox Odin Driver OS 5 v3.7.1 rc3: Network-WiFi Test Crash Fixes
2019-12-04 10:12:11 +01:00
jeromecoutant
bdbec57447
STM32F407 configuration cleanup
2019-12-03 14:48:48 +01:00
Hugues Kamba
d5aef28145
minimal-printf: Enable using a target configuration parameter
2019-12-03 12:31:51 +00:00
Martin Kojtal
ad3647c191
Merge pull request #11957 from kjbracey-arm/crc-redo
...
MbedCRC and CRC HAL revisions (6.0 redo)
2019-12-03 13:21:36 +01:00
Martin Kojtal
c098bdff18
Merge pull request #12006 from jamesbeyond/fc_fix
...
FIX: fix a bug introduced by static pinmap
2019-12-03 13:20:14 +01:00
Martin Kojtal
a8ee2d8c7d
Merge pull request #11594 from OpenNuvoton/nuvoton_m2351_partition-memory-pelion
...
M2351: Pre-build secure image/lib to favor pelion application
2019-12-03 09:05:49 +01:00
Martin Kojtal
fc488f6f36
Merge pull request #11995 from VeijoPesonen/mcu_nrf52840_fixes
...
MCU_NRF52840 target configuration fixes
2019-12-03 09:03:43 +01:00
Qinghao Shi
9545a46c23
FIX: fix a bug introduced by static pinmap
2019-12-02 19:32:32 +00:00
hamza-ubx
506e2ef8c7
Fixed Alignment
2019-12-02 19:44:16 +05:00
Kevin Bracey
fe22bc023e
Update HAL CRC API
...
* Change "is supported" check to be a macro, so it can be done at
compile-time.
* Eliminate weird shift on 7-bit CRCs.
* Add support for 32-bit CRCs and reversals to TMPM3HQ.
2019-12-02 14:45:37 +02:00
Veijo Pesonen
5d3e859d1c
NRF52840_DK: Fixes target id code
2019-12-02 13:00:19 +02:00
Veijo Pesonen
28a2327f7e
MCU_NRF52840: Removes redundant component and errata definitions
2019-12-02 12:59:56 +02:00
Veijo Pesonen
c479dab901
MCU_NRF52840: Removes redundant OS version and CMSIS Packs data
2019-12-02 12:59:39 +02:00
Martin Kojtal
48f544f9e4
Merge pull request #11980 from jeromecoutant/PR_L4R9I
...
DISCO_L4R9I: update clock configuration for all clock sources
2019-12-02 11:23:51 +01:00
Martin Kojtal
f2d211b7c2
Merge pull request #11978 from hugueskamba/hk-fix-lpc55s69_ns-baremetal-compilation
...
LPC55S69_NS: Fix baremetal compilation error
2019-11-29 13:05:13 +01:00
Hamza Rizwan
c15320d48e
Fixes for Network WiFi Test Crashes
2019-11-29 14:52:25 +05:00
Martin Kojtal
7177d8fefe
Merge pull request #11950 from ABOSTM/DISCO_H747I_TICKLESS
...
DISCO_H747I: add support of MBED_TICKLESS
2019-11-29 09:48:09 +01:00
Martin Kojtal
a656f51d07
Merge pull request #11963 from jeromecoutant/PR_USB_L4
...
STM32 USB : Add __HAL_RCC_PWR_CLK_ENABLE
2019-11-29 09:45:44 +01:00
Martin Kojtal
b4a885d8b8
Merge pull request #11966 from hugueskamba/hk-remove-json-duplicate-keys
...
Fix targets.json syntax errors
2019-11-29 09:45:31 +01:00
jeromecoutant
354913a45e
DISCO_L4R9I: correct clock tree for all clock sources
2019-11-28 16:29:11 +01:00
jeromecoutant
7e26cea796
DISCO_L4R9I : correct HSE frequency value
2019-11-28 16:29:10 +01:00
Hugues Kamba
20f41a0540
LPC55S69_NS: Fix baremetal compilation error
...
As the `psa` library is not included in the baremetal profile, perform
a TFM system reset only if the `psa` library is included in
the build otherwise perform a normal CMSIS system reset.
2019-11-28 14:53:31 +00:00
Przemyslaw Stekiel
2e793842d8
STM QSPI driver: return init status, fix pin function setting
2019-11-28 12:41:40 +01:00
Hugues Kamba
444c0893e4
Fix targets.json syntax errors
...
Remove duplicated keys.
2019-11-28 08:30:58 +00:00
Przemyslaw Stekiel
b2dad08387
Change explicit pinmap to static pinmap
2019-11-28 08:32:12 +01:00
Przemyslaw Stekiel
e3a34a57e1
Move GPIO_AF_NONE from PeripheralPins.h to PinNamesTypes.h
2019-11-28 08:32:10 +01:00
Przemyslaw Stekiel
b35579ba39
NUCLEO_F429ZI add CAN pinmaps
2019-11-28 08:32:07 +01:00
Przemyslaw Stekiel
6489bb7c99
STM: Add support for internal ADC pins
2019-11-28 08:32:06 +01:00
Przemyslaw Stekiel
0e0952fadc
NRF52840_DK: Add explicit pinmap support
2019-11-28 08:32:06 +01:00
Przemyslaw Stekiel
42b2eeede9
NUCLEO_F303RE: Add explicit pinmap support
2019-11-28 08:32:06 +01:00
Przemyslaw Stekiel
a83756504f
LPC55S69_NS: Add explicit pinmap support
2019-11-28 08:32:05 +01:00
Przemyslaw Stekiel
a2320f2e5c
NUCLEO_L073RZ: Add explicit pinmap support
2019-11-28 08:32:05 +01:00
Przemyslaw Stekiel
2855e801cb
NUCLEO_F411RE: Add explicit pinmap support
2019-11-28 08:32:05 +01:00
Przemyslaw Stekiel
dc26390d08
DISCO_L475VG_IOT01A: Add explicit pinmap support
2019-11-28 08:32:04 +01:00
Przemyslaw Stekiel
31f99416ae
STM QSPI driver: Add explicit pinmap support
2019-11-28 08:32:04 +01:00
Przemyslaw Stekiel
c8a80bbcd3
STM CAN driver: Add explicit pinmap support
2019-11-28 08:32:04 +01:00
Przemyslaw Stekiel
ba12228556
Explicit pinmap: Fix build failures reported by CI
2019-11-28 08:32:03 +01:00
Przemyslaw Stekiel
d75cc97d80
Explicit pinmap - fix style
2019-11-28 08:32:02 +01:00
Przemyslaw Stekiel
17c1b9a860
Fix spelling error
2019-11-28 08:32:02 +01:00
Przemyslaw Stekiel
7b0ceb0140
NUCLEO_F429ZI: Add constexpr pinmap tables
2019-11-28 08:32:01 +01:00
Przemyslaw Stekiel
211356f307
K64F: Add constexpr pinmap tables
2019-11-28 08:32:01 +01:00
Przemyslaw Stekiel
3d719f7e35
K64F, NUCLEO_F429ZI: Use explicit pinmap for console
2019-11-28 08:32:00 +01:00
Przemyslaw Stekiel
3d2bebde0c
STM32 serial driver: Add explicit pinmap support
2019-11-28 08:32:00 +01:00
Przemyslaw Stekiel
e82e190a66
K64F serial driver: Add explicit pinmap support
2019-11-28 08:32:00 +01:00
Przemyslaw Stekiel
2185e80e08
STM32F4 I2C driver: Add explicit pinmap support
2019-11-28 08:31:59 +01:00
Przemyslaw Stekiel
e0fdee9f0d
TARGET_MCUXpresso_MCUS I2C driver: Add explicit pinmap support
2019-11-28 08:31:59 +01:00
Przemyslaw Stekiel
eab08d7047
STM32F4 Analogout driver: Add explicit pinmap support
2019-11-28 08:31:58 +01:00
Przemyslaw Stekiel
4a79e59ef6
K64F Analogout driver: Add explicit pinmap support
2019-11-28 08:31:58 +01:00
Przemyslaw Stekiel
b22cc4a032
STM32F4 Analogin driver: Add explicit pinmap support
2019-11-28 08:31:57 +01:00
Przemyslaw Stekiel
640c0a0160
K64F Analogin driver: Add explicit pinmap support
2019-11-28 08:31:57 +01:00
Przemyslaw Stekiel
ce4a943350
STM PWM driver: Add explicit pinmap support
2019-11-28 08:31:56 +01:00
Przemyslaw Stekiel
53d59adc11
K64F PWM driver: Add explicit pinmap support
2019-11-28 08:31:56 +01:00
Przemyslaw Stekiel
ca80cd22f7
STM SPI driver: Add explicit pinmap support
2019-11-28 08:31:55 +01:00
Przemyslaw Stekiel
31bff30b64
K64F SPI driver: Add explicit pinmap support
2019-11-28 08:31:55 +01:00
Shuopeng Deng
823d50d6fd
rework cypress lptimer hal
...
Changed set_match api to use an absolute ticks rather than delayed tick to match api name.
Added api set_delay to delay by a specific amount of ticks. Removed unused set_time api.
Simplified the logic for computing interrupts match value for cascading counters.
Fixed an issue when incorrect base time would be read when trying to set match values.
2019-11-27 12:20:37 -08:00
Martin Kojtal
a1cddbae5f
Merge pull request #11938 from LMESTM/stm32_serial_clear_rxne
...
STM32: Update and align serial_clear implementations
2019-11-27 16:30:11 +01:00
jeromecoutant
c5ffd40aa6
STM3 USB : Add __HAL_RCC_PWR_CLK_ENABLE
2019-11-27 16:25:10 +01:00
Alexandre Bourdiol
42a0407a56
export: fix IAR definition for dual core STM32 DISCO_H747I
2019-11-27 14:26:09 +01:00
Alexandre Bourdiol
f36982cc97
TARGET_STM: STM32H7 HAL_RCC_OscConfig update in PLL configuration
...
port fix #5896 on STM32H7 Cube HAL
ST internal ticket 42806 not yet released for STM32H7
2019-11-27 14:26:02 +01:00
Alexandre Bourdiol
df7431df81
TARGET_STM: Improve H747 dual core Deepsleep robustness
2019-11-27 14:25:53 +01:00
Alexandre Bourdiol
affe7113ef
TARGET_STM: Remove timeout on HSEM.
...
With tickless mechanism hsem can be used for quite a long time
(time to set up PLL clock).
Also, if hsem is held to long, then this is not the current core which is faulty,
but probably the other (the one which hold the HSEM)
2019-11-27 14:25:43 +01:00
Alexandre Bourdiol
41b038a028
TARGET_STM: rework hal_sleep management to be compatible with all STM32 families
2019-11-27 14:25:30 +01:00
Alexandre Bourdiol
e83a8abdcb
targets: DISCO_H747I add support of MBED_TICKLESS
2019-11-27 14:16:15 +01:00
Martin Kojtal
b0751bf507
Merge pull request #11946 from ARMmbed/revert-11559-crc
...
Revert "MbedCRC and CRC HAL revisions"
2019-11-27 11:07:13 +01:00
Martin Kojtal
5f7ecea00b
Revert "MbedCRC and CRC HAL revisions"
2019-11-26 13:45:37 +00:00
yarb
088da17146
Cypress: Minor fix for mbed astyle
2019-11-26 13:20:35 +02:00
Kyle Kearney
c736afa3b0
Fix missing #include in wiced_resource.h
...
The `CY_PRAGMA` macro is used in certain build scenarios with IAR,
but it is not defined without including "cy_syslib.h"
2019-11-25 12:09:36 -08:00
Kyle Kearney
ac8a8a6079
Add target for CY8CPROTO-062S3-4343W
2019-11-25 11:41:39 -08:00
Martin Kojtal
a169edfdec
Merge pull request #11887 from kyle-cypress/pr/target-p62s1-43438
...
Add target for CYW9P62S1_43438EVB_01
2019-11-25 18:32:48 +01:00
Laurent Meunier
f20529f9e6
STM32: Update and align serial_clear implementations
...
Clear RXNE flag by reading the RX register and align this implementation
on all families.
2019-11-25 14:55:32 +01:00
Martin Kojtal
59bc33cf3d
Merge pull request #11901 from morser499/pr/cyw9p62s1_43012evb_01
...
Update MPN for CYW9P62S1_43012EVB_01 board
2019-11-25 12:51:23 +01:00
Martin Kojtal
1a2ecebc62
Merge pull request #11881 from hugueskamba/hk-UBLOX_EVK_ODIN_W2-enable-baremetal
...
UBLOX_EVK_ODIN_W2: Fix baremetal build and greentea tests
2019-11-25 08:40:33 +01:00
Martin Kojtal
6b7720d971
Merge pull request #11884 from morser499/pr/target-update
...
Update Cypress targets
2019-11-23 18:46:07 +01:00
Martin Kojtal
83fc580f79
Merge pull request #11773 from fkjagodzinski/fix-watchdog_reset_test
...
Fix watchdog reset test
2019-11-22 22:26:44 +01:00
Ryan Morse
1ac71356c5
Fixed Arduino form factor support on 2 Cypress boards
2019-11-22 08:41:53 -08:00
Kyle Kearney
1a0925e5dc
Add missing arduino form factor to CYW9P62S1-43438EVB-01
2019-11-22 08:30:40 -08:00
Janne Kiiskila
cfbbc6944a
Add FlashIAP to NUCLEO_L4R5ZI
...
It is supported and we need it.
2019-11-22 15:48:30 +02:00
Martin Kojtal
cc120f3cd0
Merge pull request #11870 from jeromecoutant/PR_F7_LINKER
...
STM32F7: linker scripts updates
2019-11-22 13:50:16 +01:00
Martin Kojtal
38a8c0e28f
Merge pull request #11914 from michalpasztamobica/refactor_string_based_apis
...
Deprecate string-based APIs in IPCore
2019-11-22 12:00:56 +01:00
Hugues Kamba
157d126769
UBLOX_EVK_ODIN_W2: Fix baremetal build and greentea tests
...
Remove lwIP reliant networking and BLE tests for baremetal
Mbed OS 5 ported lwIP in its OS mode and uses threads. Networking
that rely on lwIP needs to be removed so it can be compiled with the
baremetal profile.
The BLE cordio Greentea tests are also disabled given that the feature
is not supported without an RTOS.
2019-11-22 10:55:39 +00:00
Michal Paszta
fd5b4b9119
Deprecate string-based APIs in IPCore
...
MBED_DEPRECATE macros is added to string-based APIs.
New, non-string-based APIs are added in their place.
Wiced binaries rebuilt
Any existing stubs or mocks are adjusted to compile and run with the newly added non-string based functions.
2019-11-22 11:31:12 +02:00
yarb
b204acbe3a
Cypress: FPGA: Improve SPI async calls
...
1. Fix for FPGA async test case.
2. Enabled events in proper place
3. Added check in async operation is in progress
2019-11-21 17:22:02 +02:00
Martin Kojtal
ab7f602512
Merge pull request #11908 from yarbcy/pr/i2c-improvement3
...
I2C byte read/write transmition improvement
2019-11-21 12:21:59 +01:00
Martin Kojtal
9f4119e84b
Merge pull request #11885 from morser499/pr/whd1.60
...
Update to WHD 1.60 release
2019-11-21 10:57:14 +01:00
Martin Kojtal
d0d3462781
Merge pull request #11846 from manchoz/manchoz_makerdiary-nrf52840-mdk
...
Add support for Makerdiary nRF52840-MDK
2019-11-21 10:54:21 +01:00
yarb
3d09a5a4f1
I2C byte read/write transmition improvement. Added CY_SCB_I2C_READ_XFER to clear CY_SCB_I2C_WRITE_XFER status in i2c_byte_write() API.
2019-11-21 11:41:40 +02:00
Ryan Morse
174adcf9b7
Update MPN for CYW9P62S1_43012EVB_01 board
...
- Enabled support for CRC & TRNG as the new MPN has a crypto block.
2019-11-20 07:52:50 -08:00
Martin Kojtal
9dc0c3737e
Merge pull request #11888 from fredlee12001/master
...
Pelion enable for UNO_91H
2019-11-20 16:31:56 +01:00
Martin Kojtal
2dfed373c7
Merge pull request #11713 from ABOSTM/FREMOVE_TICKLESS_FROM_STM32F4_TARGETS
...
Remove Tickless from STM32F4 targets
2019-11-20 10:56:04 +01:00
fred.li
72c5c78642
Default value for APPLICATION_ADDR if restrict_size not given
2019-11-20 10:34:49 +08:00
midd
4b4380a9ea
Added support for CYW9P62S1_43438EVB_01 board
2019-11-19 18:02:17 -08:00
jeromecoutant
82a962864c
STM32F7: linker scripts updates
...
- license header
- DTCM RAM use
- alignment within the STM32F7 family
2019-11-19 17:46:44 +01:00
Ryan Morse
33695b3e2c
Remove unnecessary peripherals from design files and regenerate source
2019-11-19 07:59:43 -08:00
Ryan Morse
85ee14b0fc
Fixup some documentation issues in SDIO_HOST driver
2019-11-19 07:59:42 -08:00
Ryan Morse
ea1f164814
Update board startup code to allow for not initializing the HAL
2019-11-19 07:59:42 -08:00
Ryan Morse
0b21a6940b
Add CM0+ startup code to each target
2019-11-19 07:59:42 -08:00
Ryan Morse
7fd78bc988
Standardize target pin defines in cybsp_types.h. Make PinNames.h/PeripheralNames.h use standard defines
2019-11-19 07:46:27 -08:00
Ryan Morse
38719908d1
Minor cleanup to target independent code
2019-11-19 07:30:15 -08:00
Martin Kojtal
a183033f59
Merge pull request #11867 from mprse/cypress_gpio_fix
...
Fix for Cypress GPIO driver (fix for issue #11835 )
2019-11-19 08:31:15 +01:00
fred.li
79f06c7b6c
Fix UART write logic issue
2019-11-19 12:08:06 +08:00
fred.li
fc8ae6fb18
All timer will not correct with 40M Clock, set back to 160M
2019-11-19 12:08:05 +08:00
fred.li
88cf7df286
1, Restrict access to 1st 4K of flash
...
2, Merge UNISOC change for auto reconnect patch
2019-11-19 12:08:05 +08:00
fred.li
0a2d843e15
Fix SystemReset Hang issue
2019-11-19 12:08:05 +08:00
fred.li
bf4f1b18ba
Skip clock setting, keep all code running with 40M
2019-11-19 12:08:04 +08:00
fred.li
08ef03492f
reset I2C_WAKEUP_EN bit with Clock reset
2019-11-19 12:08:04 +08:00
fred.li
ee2f7ce6bb
Vector Table should accordng to application offset
2019-11-19 12:08:04 +08:00
Osamu Koizumi
0c8196168a
Avoid setting clock parameter twice
2019-11-19 12:08:04 +08:00
fred.li
33f59b426f
Fix for PDMC Timer stopped working issue
2019-11-19 12:08:03 +08:00
Ryan Morse
722a6eb27c
Sync to WHD 1.60 release
2019-11-15 11:42:17 -08:00
Martin Kojtal
60a470a7ef
Merge pull request #11844 from amq/patch-1
...
EFM32: Enable RESET_REASON and WATCHDOG for EFM32GG11_STK3701
2019-11-15 18:34:06 +01:00
Martin Kojtal
30145b1393
Merge pull request #11736 from OpenNuvoton/nuvoton_remove_trng
...
Nuvoton: Remove TRNG support
2019-11-15 18:29:14 +01:00
Martin Kojtal
7b79157a4d
Merge pull request #11580 from wajahat-ublox/ubx_modems_custom_boards
...
Remove target dependency in ublox cellular APIs
2019-11-15 18:26:54 +01:00
Przemyslaw Stekiel
48b02af144
Fix for Cypress GPIO driver
2019-11-15 10:10:29 +01:00
Martin Kojtal
699372421a
Merge pull request #11790 from 0xc0170/master-rob
...
nrf52: reset UARTE peripheral in serial_free
2019-11-14 10:42:08 +01:00
Alexandre Bourdiol
328862028d
Remove Tickless from STM32F4 targets
...
Ticless on STM32 F4 boards causes SPI issue with following PR:
# 11682 Make FPGA tests to pass on CI targets (SPI, analogIn, PWM)
In asynch mode, using interrupts, SPI hardware detect an RX overrun.
Our understanding is that lpticker wrapper latency
causes issue similar to #8714 and #9785 ,
specially with SPI asynch which use interrupts.
2019-11-14 09:29:56 +01:00
Martin Kojtal
fd22997b60
Merge pull request #11559 from kjbracey-arm/crc
...
MbedCRC and CRC HAL revisions
2019-11-13 18:24:04 +01:00
Martin Kojtal
249d35c873
Merge pull request #11848 from manchoz/arduino_nano33ble_itm
...
Remove ITM Trace support from Arduino Nano 33 BLE
2019-11-13 15:17:16 +01:00
Martin Kojtal
5291228c00
Merge pull request #11850 from amitchone/amitchone-patch-1
...
Correct PB_6/PB_7 Serial AF mapping
2019-11-13 14:59:56 +01:00
Kevin Bracey
1f94428a56
Update HAL CRC API
...
* Change "is supported" check to be a macro, so it can be done at
compile-time.
* Eliminate weird shift on 7-bit CRCs.
* Add support for 32-bit CRCs and reversals to TMPM3HQ.
2019-11-13 14:31:49 +02:00
Chun-Chieh Li
aae04b2516
Nuvoton: Remove TRNG support
...
These targets below just support PRNG, not real TRNG. They cannot annouce TRNG.
- NUMAKER_PFM_NUC472
- NUMAKER_PFM_M487
- NUMAKER_IOT_M487
On targets without TRNG, to run mbedtls applications which require entropy source,
there are two alternatives to TRNG:
- Custom entropy source:
Define MBEDTLS_ENTROPY_HARDWARE_ALT and provide custom mbedtls_hardware_poll(...)
- NV seed:
1. Define MBEDTLS_ENTROPY_NV_SEED
2. Define MBEDTLS_PLATFORM_NV_SEED_READ_MACRO/MBEDTLS_PLATFORM_NV_SEED_WRITE_MACRO and provide custom mbedtls_nv_seed_read(...)/mbedtls_nv_seed_write(...).
3. Don't define MBEDTLS_PSA_INJECT_ENTROPY. Meet mbedtls_psa_inject_entropy(...) undefined and then provide custom one, which must be compatible with mbedtls_nv_seed_read(...)/mbedtls_nv_seed_write(...) above.
4. For development, simulating partial provision process, inject entropy seed via mbedtls_psa_inject_entropy(...) pre-main.
2019-11-13 18:01:24 +08:00
Martin Kojtal
f1848f9e6d
Merge pull request #11828 from 0xc0170/fix_11652
...
MCU_LPC11U35_501: fix MCU inheritance
2019-11-13 11:00:15 +01:00
Adam Mitchell
6064979303
Correct PB_6/PB_7 Serial AF mapping
2019-11-12 14:16:21 +00:00
Giampaolo Mancini
1804b40fac
Fix indentation
2019-11-12 14:48:54 +01:00
Giampaolo Mancini
6470afc1fc
Remove ITM Trace support from Arduino Nano 33 BLE
2019-11-12 14:26:27 +01:00
Martin Kojtal
609612c1f2
Merge pull request #11840 from morser499/pr/whd1.50
...
Update Cypress WifiHostDriver to version 1.50
2019-11-12 13:56:35 +01:00
Martin Kojtal
f61979ab31
Merge pull request #11843 from kapi90/master
...
Fix ethernet memory handling issues on CM3DS
2019-11-12 13:56:13 +01:00
Giampaolo Mancini
fd3088867e
Add support for Makerdiary nRF52840-MDK
2019-11-12 09:56:04 +01:00
Ryan Morse
977cf05473
Update WHD to v1.50
2019-11-11 15:12:03 -08:00
Ryan Morse
799146ba2f
Move WHD from being a Target to being a Component
2019-11-11 15:12:02 -08:00
amq
450318347f
EFM32: Enable RESET_REASON and WATCHDOG for EFM32GG11_STK3701
2019-11-11 21:52:09 +01:00
Martin Kojtal
4f6ca1512a
Merge pull request #11827 from ABOSTM/DISCO_H747I_ETHERNET_READY
...
DISCO STM32H747I ETHERNET support, but disabled.
2019-11-11 16:56:36 +01:00
Bence Kaposzta
d5e89a25c6
Fix ethernet memory handling issues on CM3DS
...
Signed-off-by: Bence Kaposzta <bence.kaposzta@arm.com>
2019-11-11 14:39:08 +01:00
jeromecoutant
7fcedd20e1
DISCO STM32H747I ETHERNET support, but disabled.
...
Ethernet is disabled by default,
because some hardware modifications are required on the board DISCO_H747I.
see https://os.mbed.com/teams/ST/wiki/DISCO_H747I-modifications-for-Ethernet
2019-11-08 16:05:00 +01:00
Martin Kojtal
f3f919e904
Merge pull request #11830 from yarbcy/pr/dev-arm-issue-11746
...
Cypress: Add implementation of free() for gpio
2019-11-07 11:51:18 +01:00
Martin Kojtal
33e392e9d9
Merge pull request #11682 from mprse/fpga_tests_CI_targets
...
Make FPGA tests to pass on CI targets (SPI, analogIn, PWM)
2019-11-07 11:46:40 +01:00