Kevin Bracey
e5e2e0ac22
Freescale MCUXpresso: optimize us_ticker
...
Provide new optimizations for us_ticker and wait_us.
2019-06-14 10:22:08 +03:00
Kevin Bracey
57310729d4
wait_us optimization
...
As the timer code became more generic, coping with initialization on
demand, and variable width and speed us_ticker_api implementations,
wait_us has gradually gotten slower and slower.
Some platforms have reportedly seen overhead of wait_us() increase from
10µs to 30µs. These changes should fully reverse that drop, and even
make it better than ever.
Add fast paths for platforms that provide compile-time information about
us_ticker. Speed and code size is improved further if:
* Timer has >= 2^32 microsecond range, or better still is 32-bit 1MHz.
* Platform implements us_ticker_read() as a macro
* Timer is initialised at boot, rather than first use
The latter initialisation option is the default for STM, as this has
always been the case.
2019-06-14 10:22:08 +03:00
Martin Kojtal
5a8f795976
Merge pull request #10804 from VVESTM/vve_fix_10589
...
TARGET_STM: SPI: update pull up config depending on clk polarity
2019-06-14 07:45:25 +01:00
Chun-Chieh Li
016ab2a417
[Nuvoton] Fix channel release in analogout_free()
2019-06-13 18:11:50 +08:00
Anna Bridge
4ad71c4d65
Merge pull request #10802 from Patater/update-to-mbedtls-2.18.0rc4
...
Update to mbedtls 2.18.0rc3
2019-06-12 16:09:02 +01:00
Anna Bridge
378e997e25
Merge pull request #10753 from desmond-blue/feature-fix-nrf52-uart-count
...
Fix nrf52 enabled uart count and enable uart0/1
2019-06-12 14:50:12 +01:00
Jaeden Amero
39ea40fed3
psa: Avoid re-definition of MBEDTLS_PSA_CRYPTO_C
...
Mbed TLS now enables PSA APIs by default on all targets. It's not
necessary to explicitly enable MBEDTLS_PSA_CRYPTO_C, as that can be
gotten from the Mbed TLS config.h.
However, many PSA targets depend on `-DMBEDTLS_PSA_CRYPTO_C` being
defined by the Mbed OS json configuration system and are not yet
properly including the Mbed TLS configuration; for these PSA targets,
warnings may remain until this issue is fixed.
Avoiding re-definition will eliminate warnings like the following, when
building mbed-os-example-blinky:
Compile [ 14.5%]: pal_client_api_empty_intf.c
[Warning] pal_client_api_intf.h@35,0: "PSA_SUCCESS" redefined
Compile [ 14.6%]: pal_client_api_intf.c
Compile [ 14.7%]: DeviceKey.cpp
Compile [ 14.9%]: pal_internal_trusted_storage_intf.c
[Warning] pal_internal_trusted_storage_intf.c@45,9: 'psa_its_set' is deprecated: PS specific types should not be used [-Wdeprecated-declarations]
Compile [ 15.3%]: val_attestation.c
[Warning] client.h@40,0: "PSA_VERSION_NONE" redefined
<..>
Compile [ 33.3%]: asn1parse.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 33.5%]: aes.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 33.6%]: asn1write.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 33.7%]: psa_crypto.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 33.8%]: blowfish.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 33.9%]: camellia.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 34.0%]: base64.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 34.2%]: ccm.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 34.3%]: chacha20.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 34.4%]: chachapoly.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 34.5%]: cipher_wrap.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 34.6%]: cmac.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 34.7%]: cipher.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 34.9%]: bignum.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 35.0%]: des.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 35.1%]: dhm.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 35.2%]: ctr_drbg.c
<..>
Compile [ 70.9%]: EthernetInterface.cpp
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 71.0%]: InternetSocket.cpp
Compile [ 71.1%]: L3IPInterface.cpp
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 71.2%]: NetworkInterface.cpp
2019-06-12 12:47:20 +01:00
desmond.chen
d5624b6ec6
Fix nrf52 enabled uart count and enable uart0/1
2019-06-12 15:36:09 +08:00
Martin Kojtal
09ea361c7e
Merge pull request #10790 from jeromecoutant/PR_H7_LPUART
...
STM32H7 enable LPUART
2019-06-11 09:06:22 +01:00
Martin Kojtal
94d2a42fd5
Merge pull request #10793 from jeromecoutant/PR_STM32WARNING
...
STM32: remove compilation warnings
2019-06-11 07:36:47 +01:00
Martin Kojtal
fbcae489a0
Merge pull request #10762 from mprse/reenable_tests
...
Disable only time drifting test cases and fix GREENTEA_SETUP() call in tests
2019-06-11 07:35:41 +01:00
panyz0725@thundersoft.com
4f107cc061
Add GPIO INT pin with PT1
2019-06-10 09:46:04 +08:00
Martin Kojtal
9dfc8d0ea7
Merge pull request #10775 from jeromecoutant/PR_H7_REFACTOR
...
STM32H7: refactor TARGET directory
2019-06-09 18:22:04 +01:00
Martin Kojtal
356c4fb7cb
Merge pull request #10758 from toyowata/stm32f407xe
...
Move Seeed ARCH_MAX to TARGET_STM32F407xE MCU
2019-06-09 18:20:03 +01:00
Martin Kojtal
dbe274ccf0
Merge pull request #10757 from petroborys/master
...
Add support I2C 3 for target EFM32G11
2019-06-09 18:19:42 +01:00
Martin Kojtal
9ab0e09699
Merge pull request #10752 from teijokinnunen/stm32l0_target_spi_count
...
STM32L0: Add DEVICE_SPI_COUNT to DISCO_L072CZ_LRWAN1 + MTB_MURATA_ABZ
2019-06-09 18:19:34 +01:00
Martin Kojtal
5581da56c9
Merge pull request #10751 from ThunderSoft123/master
...
TARGET_TT:Setting wisely pin mode for TT_M3HQ.
2019-06-09 18:19:05 +01:00
Martin Kojtal
b683f4252e
Merge pull request #10739 from OpenNuvoton/nuvoton_m487_wait-ns
...
M487: Fix wait_ns test failed
2019-06-09 18:16:34 +01:00
Martin Kojtal
ced4c3f4e4
Merge pull request #10708 from VVESTM/vve_fix_10671
...
TARGET_STM: SPI: add pulse on master transmissions
2019-06-09 18:10:42 +01:00
Martin Kojtal
dda79d4d23
Merge pull request #10695 from Ronny-Liu/master
...
GD32_F450ZI : Add bootloader support
2019-06-09 18:06:25 +01:00
Martin Kojtal
dc77c40fe9
Merge pull request #10709 from LDong-Arm/nrf52_cordio
...
Default to Cordio BLE stack for NRF52* targets
2019-06-09 18:03:34 +01:00
Qinghao Shi
288a685be4
modify targets.json to trun off MPU
2019-06-07 18:36:13 +01:00
Qinghao Shi
153ea175e8
correct CMSDK for M0Plus due to MPU is not presented
2019-06-07 18:35:25 +01:00
jeromecoutant
5ac7c8c77e
STM32WB warning compilation
...
[-Wparentheses-equality]
2019-06-07 18:11:16 +02:00
jeromecoutant
ddcc63276a
STM32H7 warning compilation
...
[-Wparentheses-equality]
2019-06-07 18:11:04 +02:00
jeromecoutant
39ee51a017
STM32L4 warning compilation
...
[-Wparentheses-equality]
2019-06-07 18:10:17 +02:00
jeromecoutant
43a304351a
STM32L1 warning compilation
...
[-Wparentheses-equality]
2019-06-07 18:10:17 +02:00
jeromecoutant
daf8d114c4
STM32L0 warning compilation
...
[-Wparentheses-equality]
2019-06-07 18:10:17 +02:00
jeromecoutant
7d05f22b31
STM32F7 warning compilation
...
[-Wparentheses-equality]
[-Wsign-compare]
2019-06-07 18:10:03 +02:00
jeromecoutant
09a58b5203
STM32F4 warning compilation
...
[-Wparentheses-equality]
2019-06-07 18:08:51 +02:00
jeromecoutant
89f554fb53
STM32F3 warning compilation
...
[-Wparentheses-equality]
2019-06-07 18:08:51 +02:00
jeromecoutant
f3c7cc9d47
STM32F2 warning compilation
...
[-Wparentheses-equality]
2019-06-07 18:08:51 +02:00
jeromecoutant
8c2ee68be1
STM32F1 warning compilation
...
[-Wparentheses-equality]
2019-06-07 18:08:50 +02:00
jeromecoutant
7154ac65f2
STM32F0 warning compilation
...
[-Wparentheses-equality]
2019-06-07 18:08:50 +02:00
jeromecoutant
5d80f9e98f
STM32: remove compilation warning
2019-06-07 18:08:39 +02:00
jeromecoutant
a90e68e788
STM32H7 UART: enable LPUART
2019-06-07 18:05:06 +02:00
Hugues Kamba
06c3a5bf25
Fix: Allow target size restriction for LPC55S69
...
The build tool uses the sector size found in the CMSIS Pack to determine if
the size that can be specified by `target.restrict_size` is enough to fit
all the parts of a given binary. See `target.restrict_size` documentation
in the Mbed OS manual for more information.
The sector size found in the CMSIS Pack is overriden to allow the build
tool to accurately make the decision.
The target's sectors in the CMSIS Pack are defined in 32KB pages.
However, you can erase pages at the 512 byte level.
This commit changes defined sector erase size to 512 bytes instead of
32 Kilobytes.
2019-06-07 16:57:25 +01:00
Filip Jagodzinski
8e3ca20817
K82F: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 16:47:59 +02:00
Filip Jagodzinski
3119d69f0e
KL27Z: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 16:46:53 +02:00
Filip Jagodzinski
9efaabe404
K66F: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 16:41:36 +02:00
Filip Jagodzinski
68269672c4
KL43Z: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 16:41:09 +02:00
Filip Jagodzinski
5f95c5fc85
KL82Z: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 16:37:49 +02:00
Filip Jagodzinski
0b33e8f976
KW24D: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 16:35:36 +02:00
Filip Jagodzinski
96b6cd3ee6
KW41Z: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 16:33:42 +02:00
Filip Jagodzinski
01e130ba83
K24F: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 16:19:25 +02:00
Filip Jagodzinski
f60850ad50
K22F: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 16:17:07 +02:00
Filip Jagodzinski
14b83e7fdf
STM32WB: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 15:36:21 +02:00
Filip Jagodzinski
53222fa448
STM32L4: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 15:33:49 +02:00
Filip Jagodzinski
fa0cc68657
STM32H7: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 15:30:03 +02:00
Filip Jagodzinski
d6a48218ee
STM32F3: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 15:26:20 +02:00
Filip Jagodzinski
b88b94eb75
STM32L0: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 15:17:22 +02:00
Filip Jagodzinski
c387bd889f
STM32F0: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 15:17:17 +02:00
Filip Jagodzinski
84384162bb
STM32F7: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 15:17:07 +02:00
Filip Jagodzinski
94c27aa750
K64F: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 15:17:07 +02:00
d-kato
4dc3b0e269
Fix bugs by optimization
2019-06-07 11:14:03 +09:00
Przemyslaw Stekiel
86dab2f9fa
Disable time drifting test cases.
...
Time drifting test cases use serial communication with the host and are unstable on CI.
Skip time-drifting test cases if SKIP_TIME_DRIFT_TESTS macro is defined.
The idea for the future is to use FPGA test shield for timing tests instead of host scripts.
Also remove `__ARM_FM` macro which in most cases was used to disable time drifting tests. In other cases replace `__ARM_FM` with `TARGET_ARM_FM` which is more suitable.
2019-06-06 21:48:04 +02:00
Qinghao Shi
07c3d90a5c
FastModel: change Fastmodel memory layout regions from 3 to 2
...
- change memoryzones.h
- change linker scripts for each toolchains
2019-06-06 18:54:59 +01:00
Qinghao Shi
2e4329192e
FastModel: enable FLASHIAP componment
2019-06-06 18:52:30 +01:00
Vincent Veron
82979f6415
TARGET_STM: SPI: update pull up config depending on clk polarity
...
Fix #10589
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-06-06 17:06:04 +02:00
Martin Kojtal
489bd10626
Merge pull request #10629 from trowbridgec/add-target-ep-agora
...
Add support for the Embedded Planet Agora target
2019-06-06 14:50:14 +01:00
jeromecoutant
25e4316963
STM32H7 directory cleanup and refactoring
2019-06-06 10:48:11 +02:00
jeromecoutant
119ff51fee
STM32H7: use default files from ST drivers delivery
2019-06-06 10:48:09 +02:00
jeromecoutant
5b53b3aae0
STM32: define USE_FULL_LL_DRIVER at top level
2019-06-06 10:48:08 +02:00
panyz0725@thundersoft.com
ed81f8e428
Setting wisely pin mode for TT_M3HQ
2019-06-06 10:16:31 +08:00
Volodymyr Medvid
f4bfbf3056
PSOC6: add SOFTFP to standard component list
...
This allows Cypress to deliver middleware libraries with
precompiled libraries for SoftFP ahd HardFP, separated by
component-specific sub-directories:
COMPONENT_SOFTFP/TOOLCHAIN_GCC_ARM/libcy_capsense.a
COMPONENT_HARDFP/TOOLCHAIN_GCC_ARM/libcy_capsense.a
2019-06-05 16:32:16 +03:00
toyowata
f1628f0b8d
Correct SPDX identifiers
2019-06-05 19:04:55 +09:00
Lingkai Dong
ffcceb0cb7
Default to Cordio BLE stack for NRF52* targets
...
The BLE stack from SoftDevice is not actively maintained and
has issues when used with Nordic SDK v15.
2019-06-05 09:53:53 +01:00
toyowata
9acf2c325c
Fix device_name and add SPDX identifiers
2019-06-05 16:48:08 +09:00
toyowata
f0a06b24ba
Remove ARCH_MAX files from STM32F407xG
2019-06-05 14:51:06 +09:00
toyowata
db2cac45f1
Move Seeed ARCH_MAX to TARGET_STM32F407xE MCU
2019-06-05 14:35:25 +09:00
petroborys
54fe348078
Add support I2C 3 (#ifdef I2C2) for target EFM32G11
2019-06-04 14:31:33 +00:00
Teijo Kinnunen
728c01f9e3
STM32L0: Add DEVICE_SPI_COUNT to DISCO_L072CZ_LRWAN1 + MTB_MURATA_ABZ
...
Enables simultaneous use of both SPIs without interference.
2019-06-04 09:38:20 +03:00
Hennadiy Kytsun
7447cac66c
Cypress: Fix issue #10613
2019-06-03 16:26:52 +03:00
Rajkumar Kanagaraj
400b2ee8a7
Add HwWatchdog
...
- mbed_watchdog_mgr has interface name mbed_wdog_manager_start(),mbed_wdog_manager_stop(),mbed_wdog_manager_kick()
- HwWatchdog is going to attach with LowPowerTIcker for periodic callback functionality
- mbed_wdog_manager_start() will either get start either by BL/RTOS Aps,it reads the timeout value specified via macro and macro gets defined in target.json file.
- mbed_wdog_manager_start() internally configure below HAL hw watchdog with timeout specified via target.json
- mbed_wdog_manager_start() internally divide the timeout(specified in target.json) by the 2 and attach LowPowerTicker with periodic callback of hw_kick()
- mbed_wdog_manager_start() internally create one instance of sw watchdog class,to access the static list data structure of sw watchdog class
- mbed_wdog_manager_kick() function periodically get called and refresh the hw watchdog to avoid watchdog reset
- converted C++ code into C based APIs
- added boolean to control watchdog start and stop
- Added detach from ticker on stop API
2019-06-03 15:23:56 +02:00
Chun-Chieh Li
197b328944
[M2351] Override wait_ns to provide more accurate implementation
...
At high HCLK rate, M2351 cannot provide zero-wait-state flash performance. Besides,
cache is forcibly turned off for non-secure land for internal reason. We locate
'delay_loop_code' from flash to SRAM to achieve zero-wait-state performance.
2019-06-03 16:47:14 +08:00
Vincent Veron
16475829f1
TARGET_STM: SPI: add pulse on master transmissions
...
Add a pulse when using hardware chip select for SPI transmissions.
CS is at low level when a transmission is on-going.
Be careful, this is not compatible with all modes. It will work only
if PHA is 0, ie spi mode is 0 or 2. See stm32xx reference manual,
chapter "NSS pulse mode" for more details.
Fix #10671
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-06-03 10:00:06 +02:00
Martin Kojtal
93e4a8251c
Merge pull request #10697 from jeromecoutant/PR_H7FLASH
...
STM32H7: flash issue while erasing sector in Bank 1
2019-06-03 08:35:29 +01:00
Chun-Chieh Li
010f4225a0
[M487] Fix wait_ns test failed
2019-06-03 11:28:26 +08:00
Chris Trowbridge
cea7bbd815
Remove component 'QSPIF' for target 'EP_AGORA'
2019-05-31 09:58:23 -04:00
Martin Kojtal
8a5f25c2ea
Merge pull request #10663 from vmedcy/psoc6-cmsis
...
PSOC6: move cmsis.h and device.h out from psoc6pdl directory
2019-05-31 12:35:26 +01:00
Martin Kojtal
8aeba87f25
Merge pull request #10674 from ThunderSoft123/master
...
TARGET_TT: adding switches to PinNames
2019-05-31 12:35:10 +01:00
Martin Kojtal
7ebadbfac3
Merge pull request #10676 from jeromecoutant/PR_COMMON_CMSIS
...
STM32: common cmsis.h and device.h files
2019-05-31 12:34:53 +01:00
Martin Kojtal
99b19098b8
Merge pull request #10686 from ale87jan/master
...
MAX32630.sct fix
2019-05-31 12:34:01 +01:00
Chris Trowbridge
7531c2bb56
Remove unneeded custom_board.h file
2019-05-30 14:16:29 -04:00
Filip Jagodzinski
f4e6966e14
Remove RESET_REASON from MCU_NRF52840
2019-05-29 10:25:51 +02:00
jeromecoutant
58994d88cd
STM32H7: flash issue while erasing sector in Bank 1
2019-05-29 09:31:30 +02:00
Ronny Liu
8dabdd7bed
bootloader support for GD32_F450ZI
2019-05-29 14:40:03 +08:00
Martin Kojtal
9cc1caa031
Merge pull request #10596 from kjbracey-arm/sem_acquire
...
Introduce Semaphore::acquire methods
2019-05-29 06:22:30 +01:00
aglass0fmilk
67cc3b0faf
Added spdx identifiers and fixed indentation in targets.json
2019-05-28 10:48:09 -04:00
George Beckstein
5386b87693
Removing systick edit from sdk_config.h
2019-05-28 10:48:09 -04:00
George Beckstein
d8fbdfcac3
Disabling systick
2019-05-28 10:48:09 -04:00
George Beckstein
058060711d
Revert adding USB to STM32F407VG target
2019-05-28 10:48:09 -04:00
George Beckstein
002df471e0
Changed formatting, check if endpoint is stalled in unstall. Added errata header
2019-05-28 10:48:09 -04:00
George Beckstein
1ab27aff1f
Finished compatibility changes for nrfx renaming
2019-05-28 10:48:09 -04:00
George Beckstein
2bd024d174
Fixing compatibilities with new nrfx drivers
2019-05-28 10:48:09 -04:00
George Beckstein
09c5982a4b
Added EP0 stalls to setup event handler
2019-05-28 10:48:09 -04:00
George Beckstein
bd2605cce9
Configured sdk for enabling USB. Preliminary implementation of USB for nRF52840
2019-05-28 10:48:09 -04:00
Kevin Bracey
2fbbd9d2ca
Introduce Semaphore::acquire methods
...
Deprecate wait() in favour of acquire(), try_acquire(),
try_acquire_for() and try_acquire_until().
Brings Semaphore more into line with CMSIS-RTOS 2 (which uses "acquire"),
itself (as it has "release"), and other classes having "try", "try for"
and "try until".
Also steps away from vague "wait" term - the primary operation here is
to acquire the semaphore, and this will of course sleep.
2019-05-28 17:02:06 +03:00
ale87jan
2d492e1166
Update MAX3263x.sct
2019-05-28 12:02:51 +02:00
Martin Kojtal
19e762298f
Merge pull request #10666 from ARMmbed/feature-nrf52-sdk15
...
Nordic SDK v15 Update
2019-05-28 09:48:44 +01:00
jeromecoutant
d919498745
STM32: common cmsis.h and device.h
2019-05-27 16:27:41 +02:00
Filip Jagodzinski
61f9a1c362
KW41Z: Add a GPIO pinmap for testing
2019-05-27 14:57:01 +02:00
Filip Jagodzinski
1a9b635e7d
KW24D: Add a GPIO pinmap for testing
2019-05-27 13:21:43 +02:00
panyz0725@thundersoft.com
e0eefaed99
Modifiying file PinNames.h
2019-05-27 11:02:43 +08:00
Filip Jagodzinski
a326db8b77
K64F: Use a common peripheral name in GPIO pinmap
...
This was unnecessary since all the pins may be used independently.
2019-05-24 16:33:01 +02:00
Volodymyr Medvid
c870d6f1ba
PSOC6: move cmsis.h and device.h out from psoc6pdl directory
...
This simplifies updating of psoc6pdl directory to the latest Cypress
PSoC 6 PDL releases. cmsis.h and device.h are not part of psoc6pdl.
2019-05-24 15:16:37 +03:00
Martin Kojtal
ab82f1fca6
Merge pull request #10627 from devran01/remove_future_sequana_target
...
Remove targets FUTURE_SEQUANA_M0_PSA and FUTURE_SEQUANA_PSA
2019-05-24 12:16:10 +01:00
Rajkumar Kanagaraj
727070e04a
Removed RESET_REASON for NRF51_DK board
2019-05-24 12:32:53 +02:00
Rajkumar Kanagaraj
50c6e9f481
Added the SPDX identifier
2019-05-24 12:32:53 +02:00
Rajkumar Kanagaraj
15bcb38fad
Trailing space issue fix
2019-05-24 12:32:52 +02:00
Rajkumar Kanagaraj
af0b056b05
fix for Jenkin build issue
2019-05-24 12:32:51 +02:00
Rajkumar Kanagaraj
7d5a17d955
Removed RESET_REASON for NRF52832,NRF52840 family and Removed WATCHDOG for H743ZI board
2019-05-24 12:32:50 +02:00
Rajkumar Kanagaraj
8393068770
Revert "fix for build failure issues"
...
This reverts commit 3ce1d4940cb7fd9d74ca2be75ed08b76854ff534.
2019-05-24 12:32:45 +02:00
Rajkumar Kanagaraj
e13fdc444f
fix for build failure issues
2019-05-24 12:31:28 +02:00
Rajkumar Kanagaraj
f4184b19a0
update:Remove DEVICE_WATCHDOG and added RESET_RESON in stm32 family
2019-05-24 12:28:20 +02:00
Steve Cartmell
ad295e64ba
fix(hal-watchdog): Guard TMPM 'ResetReason' code behind feature flag
2019-05-24 12:23:43 +02:00
Steve Cartmell
a63e236d84
fix(hal-watchdog): Add 'RESET_REASON' flags to supported devices
2019-05-24 12:23:42 +02:00
Steve Cartmell
8baae2475a
fix(hal-watchdog): Remove 'RESET_REASON' flags from unsupported devices
2019-05-24 12:23:41 +02:00
Steve Cartmell
544eb82a47
fix: Remove excess comma from device_has key in targets.json
2019-05-24 12:23:41 +02:00
Ganesh Ramachandran
a0c2b59475
Added reset_reason feature for TMPM3HQ
2019-05-24 12:23:39 +02:00
Steve Cartmell
7f47b0a65c
fix(hal-watchdog): Add feature guards to K64F watchdog implementation
2019-05-24 12:23:35 +02:00
Ganesh Ramachandran
5fc77d3c4a
Added reset_reason feature for TMPM3H6 & TMPM4G9
2019-05-24 12:23:33 +02:00
Ganesh Ramachandran
f6fcabb9b8
Added reset_reason feature for TMPM066 & TMPM46B
2019-05-24 12:23:29 +02:00
ccli8
84440531f1
[Nuvoton] Support watchdog timer
2019-05-24 12:20:01 +02:00
ccli8
6e514b6e08
[Nuvoton] Support reset reason
2019-05-24 11:35:44 +02:00
ccli8
717979075f
[NUC472] Fix WDT driver in BSP
2019-05-24 11:35:43 +02:00
Qinghao Shi
a6a34722ca
fix bugs introduced on rebase
2019-05-24 11:35:43 +02:00
jeromecoutant
570e9b0bf4
STM32 WATCHDOG : increase timeout value
2019-05-24 11:35:42 +02:00
jeromecoutant
4300e5d6c4
STM32 WATCHDOG : use ST HAL in order to make code commun for all STM32
2019-05-24 11:35:41 +02:00
jeromecoutant
feec85cc37
STM32 WATCHDOG : update STM32L0 HAL_IWDG_Init to a newest version
2019-05-24 11:35:41 +02:00
jeromecoutant
e29d64fc19
STM32 WATCHDOG : compilation issue with typed define
2019-05-24 11:35:40 +02:00
jeromecoutant
1b8513a5a8
STM32 Watchdog : move API file to STM family level
2019-05-24 11:35:39 +02:00
Lukas Mandak
ce574b5eef
NCS36510: Added watchdog implementation.
2019-05-24 11:35:38 +02:00
Steven Cooreman
c7bc7e5122
Add implementation of reset reason on Silicon Labs parts
2019-05-24 11:35:38 +02:00
Steven Cooreman
295c79ab0a
Add support for watchdog on Silicon Labs devices
2019-05-24 11:35:37 +02:00
Filip Jagodzinski
3d31801f4f
STM: HAL: Reset_reason: Correct return values
2019-05-24 11:35:35 +02:00
Bartek Szatkowski
585edc1f43
Disable Watchdog on Odin as it fails intermittently
2019-05-24 11:35:32 +02:00
Filip Jagodzinski
4ed0b948f4
K64F: watchdog HAL: Fix init() and stop()
...
Added a missing wait for the WCT window end. Without it, consecutive
init() or stop() calls were ignored.
2019-05-24 11:35:30 +02:00
Filip Jagodzinski
d26dba40b2
STM32F4: watchdog HAL: Fix issues found with tests
...
Fix WATCHDOG_STATUS_INVALID_ARGUMENT for timeout values from 1 ms to
407 ms (fix inability to set prescaler bits to zero).
Fix timeout <-> IWDG registers conversions.
Fix read & write access to IWDG_PR and IWDG_RLR registers.
Fix LSI RC frequency setting.
Limit MAX_TIMEOUT_MS to UINT32_MAX.
2019-05-24 11:35:29 +02:00
Steven Cartmell
2fb9fc2a8e
Rename watchdog.c -> watchdog_api.c to prevent name collision with Platform API
2019-05-24 11:35:25 +02:00
Steven Cartmell
9d571cd617
Add RESET_REASON and WATCHDOG definitions to hexiwear build target
2019-05-24 11:35:24 +02:00
Filip Jagodzinski
90bb2929e0
K64F: watchdog HAL: Fix max_timeout.
...
Limit MAX_TIMEOUT_MS to UINT32_MAX.
Improve MAX_TIMEOUT_MS handling.
Fix hal_watchdog_get_platform_features() returning
.max_timeout = 0xfffffff8 instead of 0xffffffff.
2019-05-24 11:35:23 +02:00
Steven Cartmell
2ab738fc66
Fix Watchdog::stop on K64F target
...
WDOG_Disable will suspend the watchdog until a reset is triggered instead of stopping it altogether. Deinit will disable it until it is reinitialized.
2019-05-24 11:35:22 +02:00
Steven Cartmell
e7761a1d39
Move watchdog parameter validation into the driver layer
2019-05-24 11:35:22 +02:00
Steven Cartmell
31924b2481
Add missing license headers
2019-05-24 11:35:21 +02:00
Steven Cartmell
7c392a16d4
Remove window and sleep mode options for watchdog API
2019-05-24 11:35:13 +02:00
Steven Cartmell
8fa38bb25b
Add Watchdog driver API
2019-05-24 11:20:26 +02:00
Steven Cartmell
366893ae71
Add independent watchdog reference implementation for STM32
2019-05-24 11:20:25 +02:00
Steven Cartmell
6b3d790fc1
Add function to fetch platform specific reset reason register values
2019-05-24 11:20:24 +02:00
Steven Cartmell
1ec22fee05
Add reset reason reference implementation STM32
2019-05-24 11:20:23 +02:00
Steven Cartmell
8a97101988
Fix watchdog API issues
...
- Fix typo in module comment
- Redefine the default system behaviour in sleep mode
- Guard K64F enableWait flag
- Remove bit shifts from reset reason enum
2019-05-24 11:20:22 +02:00
Steven Cartmell
c258acc222
Add simple watchdog reference implementation for K64F
...
- Add preprocessor guard to watchdog api that errors if the reset reason api is not also implemented
- Add RESET_REASON and WATCHDOG to K64F targets.json
- Add watchdog reference implementation
2019-05-24 11:20:21 +02:00
Steven Cartmell
efcdca8b0f
Add K64F reset reason reference implementation
2019-05-24 11:20:20 +02:00
Martin Kojtal
cfb107912b
Merge pull request #10616 from ThunderSoft123/master
...
Fix bug Operator new[] out of memory
2019-05-23 21:40:10 +01:00
Martin Kojtal
4567626ade
Merge pull request #10636 from u-blox/activation_status
...
+UPSND sent to poll activation status
2019-05-23 21:39:48 +01:00
Martin Kojtal
80d7cb2e17
Merge pull request #10631 from VVESTM/update_cube_h7
...
Update cube h7 to 1.4.0
2019-05-23 21:36:38 +01:00
Martin Kojtal
3f756f0769
Merge pull request #10591 from OpenNuvoton/nuvoton_m2351_fix_spdmc_sync
...
M2351: Fix serial sync error in SPDMC test
2019-05-23 21:36:15 +01:00
Martin Kojtal
02b91bdfca
Merge pull request #10582 from malavikasajikumar/master
...
Adding LED4 definition in PinNames.h of SDP-K1 board.
2019-05-23 21:35:42 +01:00
Chris Trowbridge
f81130dd23
Update licenses for EP_AGORA target
2019-05-23 11:30:25 -04:00
Filip Jagodzinski
5bc873239e
K64F: Add a GPIO pinmap for testing
2019-05-23 14:29:26 +02:00
Vincent Veron
d8e1e43e35
H7 ST CUBE : remove unecessary #if 1 instead of USE_FULL_LL_DRIVER
...
Keep #define USE_FULL_LL_DRIVER and define this switch in target.json
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-05-23 14:01:01 +02:00
Vincent Veron
80b41f0276
H7 ST CUBE V1.4.0
2019-05-23 14:01:00 +02:00
RFulchiero
b34057f933
Fix targets.json for MTB_LAIRD_BL654
...
When removing CryptoCell310 we now need to define:
NRFX_RNG_ENABLED=1
RNG_ENABLED=1
NRF_QUEUE_ENABLED=1
These are brought in via "macros_add".
2019-05-23 11:31:40 +08:00
RFulchiero
3343022f70
Remove redundant legacy files and definition of PACKED
...
* The following v14.2 files are removed from nrfx/legacy:
nrf_drv_clock.h
nrf_drv_common.h
nrf_drv_gpiote.h
nrf_drv_spi.h
nrf_drv_twi.h
nrf_drv_uarth.h
* Remove unneeded references to "nrfx_glue.h" and "nrf_drv_common.h"
* Remove the definition of PACKED from app_util_platform.h (already defined
in mbed_toolchain.h)
2019-05-23 11:31:40 +08:00
RFulchiero
8550fd0ed2
Fix preprocessor conditionals for AC6 build
2019-05-23 11:31:39 +08:00
RFulchiero
5c276f2c0e
Fix SOFTDEVICE_NONE builds and clean up
...
* Update all scatterfiles to define MBED_RAM_START and MBED_RAM_SIZE. These
get defined in mbed_lib.json when building with a SoftDevice but were missing
when no SoftDevice is brought in.
* Remove SDK 14.2 SoftDevice files.
* Add missing header file to qspi_api.c.
2019-05-23 11:31:38 +08:00
RFulchiero
2690f0f8bc
Update QSPI in the SDK to support long frame mode
...
* Carry forward changes made to v14.2SDK to support long frame mode
(from commit 2a72bb67a3 ).
* Fixed a few driver calls from rebase
2019-05-23 11:31:35 +08:00
RFulchiero
8237229530
Rebase to master in preparation for v5.12.0
2019-05-23 11:31:35 +08:00
Desmond Chen
4e8eed07e5
Fix nrf section iter macro check
2019-05-23 11:31:33 +08:00
Naveen Kaje
e8e1ef2a70
NRF52: reloc_vector_table: check the RTS pin settings in code
...
Move the check from preprocessor to the if condition
2019-05-23 11:31:33 +08:00
Desmond Chen
c048a34e00
Add BLE feature to mbed_lib.json of SoftDevice
2019-05-23 11:31:32 +08:00
RFulchiero
f8e2b7e679
Update file header at TARGET_NRF52 level
...
- Update (c) year and company name
- Add SPDX-License-Identifier
- Impacted files:
- Files touched for SDK15 port
- Files added in 2018
2019-05-23 11:31:32 +08:00
RFulchiero
bd6edc4917
Remove RTC from nRF52840_DK and DELTA_DFCM_NNN50 (was testing)
2019-05-23 11:31:32 +08:00
RFulchiero
cf162cdbab
Remove duplicate file
2019-05-23 11:31:31 +08:00
Desmond Chen
d20ca05a68
Fix SoftDevice configuration on NRF52_DK
2019-05-23 11:31:31 +08:00
Desmond Chen
b69dc2bdae
Update BLE SoftDevice from SDK14 to SDK15
...
- Adjust memory for SoftDevice
- Enable PRIO=5 for interrupt priority check
- Change NRF_SD_BLE_API_VERSION to 6
- Add handle and buffer for advertising and scanning
- Remove guard for phy update
- Change scatter files and mbed_lib.json for PR #8607
2019-05-23 11:31:31 +08:00
Desmond Chen
2fbc20f9b1
Fix timer1 irq configuration
2019-05-23 11:31:30 +08:00
Naveen Kaje
b17601ef43
NRF52: Cleanup unused code
2019-05-23 11:31:29 +08:00
Naveen Kaje
8eaf87cd50
NRF52: serial: fix build warnings
2019-05-23 11:31:29 +08:00
RFulchiero
e9a3ca6259
Set the PWM clock prescaler back to default (1MHz clock)
2019-05-23 11:31:29 +08:00
RFulchiero
501000e6a2
Changes required for rebase:
...
- Brought in new nrfx APIs
- Brought in PPI additions
- Removed dead code for RTC
2019-05-23 11:31:28 +08:00
RFulchiero
36c70a1c78
Enabling NRFX_PPI_ENABLED for serial_api updates
2019-05-23 11:31:26 +08:00
RFulchiero
74cb69873c
Cleanup for feature release
...
* Update TARGET_NRF5x/README.md to improve "Changing SoftDevice" section
and added section on NRF52840 CryptoCell310 Support
* Update the file list in TARGET_SDK_15_0/TARGET_SOFTDEVICE_COMMON/README.md
* Add missing CR-LF to Nordic-provided SDK file
* Rename a header file in the TARGET_SOFTDEVICE_S112 tree
2019-05-23 11:31:26 +08:00
RFulchiero
2a968d4d35
Revert "NRF52: Fix vector table"
...
This reverts commit 3d2fa535a71b7bad08c6a91a31d74f4492c8948c.
This was a breaking change for the "MBR" and "NONE" builds.
After testing it was also determined that copying the vector
table a second time wasn't required for the "FULL" build.
2019-05-23 11:31:26 +08:00
Ralph F
742d10fcc2
Add missing SoftDevice build support (MBR, NONE, OTA)
...
- Add MBR, NONE and OTA SoftDevice build options for S132 and S140
- Add S112 SoftDevice (single build option)
- Some folder restructuring in TARGET_SOFTDEVICE_COMMON was required
2019-05-23 11:31:25 +08:00
RFulchiero
3e3ac27698
Remove dead #define PORT_SHIFT
...
nRF5x PinNames.h never utilized PORT_SHIFT so removed for clarity after
user commented on it.
2019-05-23 11:31:24 +08:00
RFulchiero
fa84352752
Fix build for nRF51 (fewer common files with nRF52)
...
The 15.0 SDK doesn't support the nRF51 so it must continue to use the legacy
NRF drivers. Thus the original common_rtc.c, gpio_api.c and us_ticker.c are
restored and placed under TARGET_NRF5x/TARGET_NRF51.
Likewise the modified common_rtc.c, gpio_api.c and us_ticker.c are moved to
TARGET_NRF5x/TARGET_NRF52 so they are excluded from nRF51 builds.
2019-05-23 11:31:23 +08:00
RFulchiero
e85106129a
Updates after rebase with Mbed master (circa OS v5.10.1)
...
* Remove NRF_SDH_CLOCK parameters from mbed_lib.json
* Bring in QSPI for nRF52840
* Migrate legacy QSPI driver to SDK v15 (nrfx_qspi.h)
* Remove outdated comment in i2c_api.c
2019-05-23 11:31:23 +08:00
Naveen Kaje
6064ef30e9
NRF52: Fix vector table
...
Ensure that vector table gets initialized properly. The table that we
initialize in startup_nrf52840.S gets wiped out as the section is
declared as noinit. Fix this by implementing the weak function mbed_sdk_init
that inits the vector table.
2019-05-23 11:31:22 +08:00
RFulchiero
f79531414f
nRF52_DK: Use mbed_lib.json to set app_offset (MBED_APP_START)
...
When the SoftDevice (SD) is enabled we need to set the app_offset
to 0x26000 to make room for the SoftDevice. If we let the build
tools self-manage this, MBED_APP_START is coming out at 0x25000
which is not correct for the Nordic 15.0 SDK.
The app_offset value is translated to MBED_APP_START by the build
infrastructure. We were hard coding MBED_APP_START in the scatter
and ld files as a temporary measure while testing. This now sets
it properly if the SD is being brought in.
2019-05-23 11:31:22 +08:00
RFulchiero
317598604a
nRF52832 needs NRFX_RNG_ENABLED to use the legacy driver
2019-05-23 11:31:22 +08:00
Naveen Kaje
35c14ebbe3
NRF52832: enable UART
2019-05-23 11:31:21 +08:00
Naveen Kaje
d875c2ba2e
NRF: enable PRS (Peripheral Resource Sharing) for NRF52832 and NRF52840
2019-05-23 11:31:21 +08:00
Naveen Kaje
976ba7d4da
NRF52: i2c_api: port from Softdevice 14.2 to 15.0
2019-05-23 11:31:20 +08:00
Naveen Kaje
4f9782dfeb
NRF52: spi_api: port from Softdevice 14.2 to 15.0
2019-05-23 11:31:20 +08:00
RFulchiero
a1d5a4d973
Updates for IOTDEV-1576 (only TRNG API)
...
- Added legacy nrf_drv_rng.c as there is no merit in fully adopting nrfx_rng.c
- Added nrf_queue library component
- Removed apply_old_config.h (unused for some time now)
- Updated sdk_config.h for queue and RNG support for nRF52832
- Brought back RNG into targets.json for nRF52832
Note: nRF52840 still uses CryptoCell 310 for TRNG
2019-05-23 11:31:20 +08:00
RFulchiero
38c68e0a45
Updates for IOTDEV-1575 and nRF52_DK builds
...
- Use new NRFX header file
- Fix nRF52832 linker script/ld files (hardcoded addresses for now)
- Temporarily remove DEVICE_TRNG for nRF52832 (which broke the build)
- Improve serial_putc() fix so we don't rely on "extra" functions
2019-05-23 11:31:19 +08:00
Naveen Kaje
8123b5128d
serial_api: Fix the interrupt registration for Nordic Serial Device
...
Using the nrfx_get_irq_number only works with the handle. Since we
know the IRQ numbers for UART0, RTC2 and EGU0, use them directly.
2019-05-23 11:31:19 +08:00
Naveen Kaje
52c6048dc8
Nordic sdk_config: Configure UART instances
...
Enable UART interfaces to enable serial debug prints.
2019-05-23 11:31:19 +08:00
Naveen Kaje
3ee440c9db
serial_api: add changes to port from Softdevice 14.2 to 15.0
2019-05-23 11:31:18 +08:00
Naveen Kaje
af8d171a73
serial_api: Fixes to compile with SDK15.0
2019-05-23 11:31:18 +08:00
RFulchiero
9593a53e25
Updates to PWM for IOTDEV-1573
...
- Missed some NRFX defines that needed to changed
- Set PWM base clock to 125kHz (needs to be reverted back to 1 MHz)
- Updated sdk_config.h for nRF52_DK builds
- Brought in updates from PR7779 (fix for nRF52 PWM issues)
2019-05-23 11:31:18 +08:00
RFulchiero
cc54611f02
Ported analogin and pwm_out for IOTDEV-1573.
...
Also addressed:
- removed dependency on legacy config (excluded apply_old_config.h)
- removed legacy pwm and saadc headers
- Arm Compiler 5 linking issue (a band-aid for now... needs to
be properly addressed for peripheral sharing)
- added missing header in SoftDevice file
2019-05-23 11:31:17 +08:00
RFulchiero
9ac7fe7ac9
First porting effort covered by JIRA IOTDEV-1572:
...
- top level files ported from TARGET_NORDIC/TARGET_NRF5x/
Also addressed:
- fixed linking issue for gcc
- added support for nRF52-DK builds, but reverted to using nRF52840 sdk_config.h (must be updated)
- introduced "RTC" to targets.json (might need to be removed eventually)
2019-05-23 11:31:17 +08:00
RFulchiero
cd5b451320
Bringing in Softdevice but excluding BLE feature and improvements in feature defines
2019-05-23 11:31:13 +08:00
RFulchiero
511f8ebbd7
Mods for baseline 15.0 support
2019-05-23 11:31:13 +08:00
RFulchiero
6bd89e7939
Baseline legacy build using 14.2 drivers.
2019-05-23 11:31:12 +08:00
Oren Cohen
63487533aa
Update secure binaries
2019-05-22 17:31:49 +03:00
Martin Kojtal
fee07dcdf2
ARM_SSG: mbed_rtx remove empty line
2019-05-22 17:17:27 +03:00
Martin Kojtal
a115c9333f
gpio: indent fix
2019-05-22 17:17:27 +03:00
Gabor Kertesz
40627a5220
Fix last issues
...
Imports working McuBoot for reset.
Updates microsec ticker driver.
Default baudrate is set to 115200 to see TF-M boot messages.
Stack top is set to scatter file dependent and not hard-coded.
2019-05-22 17:17:26 +03:00
Michael Schwarcz
bde2557629
Update secure binaries for ARM_MUSCA_A1_S
2019-05-22 17:17:26 +03:00
Michael Schwarcz
0fc629ce45
MUSCA_A1_NS: Add IAR support
2019-05-22 17:17:25 +03:00
Michael Schwarcz
ef9c2721a0
Fix PinMap_UART_XX
2019-05-22 17:17:25 +03:00
Michael Schwarcz
1a182df19f
Add serial_tx_pinmap() and serial_rx_pinmap() to serial_api.c
2019-05-22 17:17:25 +03:00
Michael Schwarcz
c83ef8a444
Add license files
2019-05-22 17:17:24 +03:00
Michael Schwarcz
84bde31ea0
Increase Secure RAM by 4K
...
- 68KB Secure
- 60KB Non-secure
2019-05-22 17:17:24 +03:00
Michael Schwarcz
71683cbaa7
Fix secure linker script
2019-05-22 17:17:24 +03:00
Michael Schwarcz
cebf30a701
Increase secure heap size to 0x4000
2019-05-22 17:17:24 +03:00
Michael Schwarcz
0701fb1c58
Move us_ticker.c to NS side
2019-05-22 17:17:23 +03:00
Michael Schwarcz
96268d91ef
Updates after rebase
...
- postbuild: Use find_secure_image and update prebuilt binaries
- Add CMSIS driver headers
- Align with 2-region memory model
2019-05-22 17:17:23 +03:00
Michael Schwarcz
a5fd9176bb
Update target license headers
...
- Add SPDX identifiers and update dates
2019-05-22 17:17:22 +03:00
Michael Schwarcz
ff1c769c7e
Add ARM_MUSCA_A1 as a new target platform
...
Musca-A1 is a Cortex-M33 based target with security extension enabled.
- ARM_MUSCA_A1 is the non-secure target running mbed-os.
- ARM_MUSCA_A1_S is the secure target running TF-M.
- TF-M sources were imported and patched in previous commits.
- TF-M secure bootloader (McuBoot) for MUSCA_A1 is submitted by a pre-built binary.
- A post-build hook concatenates The secure and non-secure binaries,
signs it and then concatenates the bootloader with the signed binary.
2019-05-22 17:17:20 +03:00
Bilal Qamar
defc244db2
+UPSND sent to poll activation status
2019-05-22 16:52:03 +05:00
Martin Kojtal
4cf96b8d80
Merge pull request #10482 from SiliconLabs/fix/allow_nc_pins
...
Allow NC pins to be instantiated on Silicon Labs platforms
2019-05-22 08:36:06 +01:00
panyz0725@thundersoft.com
6aeb048e62
Fixing bug error 0x8001011F
2019-05-22 14:18:28 +08:00
Chris Trowbridge
225f1de5ac
Add support files for target EP_AGORA
2019-05-21 11:18:43 -04:00
Chris Trowbridge
7095c31bca
Add 'EP_AGORA' as a target
2019-05-21 11:05:03 -04:00
Martin Kojtal
d5b84a5d57
SDP_K1: Fix year change in the system clock
2019-05-21 07:44:49 -07:00
Martin Kojtal
3e1a24b3fe
Merge pull request #10587 from d-kato/ca9_armc6
...
GR_LYCHEE,RZ_A1H,VK_RZ_A1H: Fix greentea test failure with ARMC6
2019-05-21 15:07:59 +01:00
Martin Kojtal
c4b32cde87
Merge pull request #10617 from Wiznet/wiznet_develop
...
Change W7500 GPIO Driver
2019-05-21 15:07:10 +01:00
Devaraj Ranganna
7765d39283
The targets FUTURE_SEQUANA_M0_PSA and FUTURE_SEQUANA_PSA are removed
...
due to partial implementation. Having FUTURE_SEQUANA_M0 and
FUTURE_SEQUANA PSA targets is misleading.
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2019-05-21 15:00:31 +01:00
Martin Kojtal
f859289634
Merge pull request #10489 from kjbracey-arm/gpio_api_nc
...
gpio_api.h: Clarify desired behaviour for NC
2019-05-21 14:36:49 +01:00
Martin Kojtal
e4c64226f6
Merge pull request #10605 from sabharad/master
...
K66F: Update SAI and SAI EDMA driver to SDK 2.5
2019-05-21 10:51:28 +01:00
Steven Cooreman
365f3643bb
Allow NC pins to be instantiated
...
Keep asserting on trying to use an NC-instantiated object for anything else, though.
2019-05-20 15:23:34 +02:00
Martin Kojtal
d4122b0b3a
Merge pull request #10454 from u-blox/ublox_odin_driver_os_5_v3.7.0_rc1
...
Enterprise_mode_+_wifi_configuraiton_api: update ODIN drivers to v3.7.0 RC1
2019-05-20 10:54:45 +01:00
TeddyWiz
2a69c6d2cc
change W7500x_gpio.c GPIO_WriteBit
2019-05-20 16:56:48 +09:00
TeddyWiz
45f43b61fc
change text W7500x_gpio.c GPIO_Mode_OUT, HAL_GPIO_SetBits, HAL_GPIO_ResetBits
2019-05-20 16:52:54 +09:00
Anna Bridge
9fb4429379
Merge pull request #10520 from kjbracey-arm/build_tz_heuristic
...
Permit non-TrustZone ARMv8 build
2019-05-17 11:06:55 +01:00
Anna Bridge
d99756324a
Merge pull request #10483 from vmedcy/pr/cy-system-psoc6
...
PSOC6: move mbed_sdk_init to mbed_overrides.c
2019-05-16 11:00:29 +01:00
Anna Bridge
6a6dd02172
Merge pull request #10578 from ThunderSoft123/master
...
Modify PinName file to keep correspondence with spec
2019-05-16 10:59:25 +01:00
ccli8
7d44697268
[M2351] Fix serial sync error in SPDMC test
...
In M2351 SPDMC (SMCC) test, it boots from secure code to non-secure bootloader, and finally
to non-secure test code itself. The boot sequence will takes longer than usual. In test
initiation, host will send sync signal 1s after reset device. But due to the longer boot
sequence, test code in device can miss the signal. We enlarge the reset idle time to fix
the issue.
2019-05-16 16:27:49 +08:00
DESKTOP-UBVDC3M\Sachin
0897f6c196
K66F: Update to SDK 2.5
2019-05-15 21:54:48 -07:00
d-kato
874c087494
Change FPU enable timing in "SystemInit()"
2019-05-16 13:40:33 +09:00
Malavika Sajikumar
cf8f3725f9
Removing stale definition.
2019-05-14 12:33:57 -07:00
Malavika Sajikumar
82a6f157b3
Adding omitted definition for LED4. This is used as a STATUS LED.
2019-05-14 12:32:44 -07:00
panyz0725@thundersoft.com
a6c52d3865
Modify PinName file to keep correspondence with spec
2019-05-14 20:04:25 +08:00
Martin Kojtal
a2cde2e24e
Merge pull request #10570 from jeromecoutant/PR_ASTYLE
...
STM32 astyle updates
2019-05-14 09:22:18 +01:00
Martin Kojtal
3ea1c56124
Merge pull request #10147 from kjbracey-arm/atomic_bitwise
...
Assembler atomics
2019-05-13 14:18:05 +01:00
Martin Kojtal
22d78b40de
Merge pull request #10534 from OpenNuvoton/nuvoton_nano130_fix-vectab-virtual
...
NANO130: Fix optimization error with NVIC_SetVector/NVIC_GetVector on ARMC6
2019-05-13 14:14:48 +01:00
Martin Kojtal
548a40ee62
Merge pull request #10541 from guialonsoalb/master
...
Adding QSPI support to target RHOMBIO_L476DMW1K
2019-05-13 13:59:40 +01:00
Martin Kojtal
2956a35b17
Merge pull request #10538 from masoudr/master
...
Enabled crash reporting for DISCO_F407VG target
2019-05-13 13:29:17 +01:00
Martin Kojtal
773729fcf6
Merge pull request #10479 from LMESTM/more_flash_for_stm32wb_app
...
STM32WB: Update Flash size
2019-05-12 20:08:49 +01:00
Martin Kojtal
f8cedf3fc7
Merge pull request #10527 from OpenNuvoton/nuvoton_flashiap_component
...
Nuvoton: Add COMPONENT_FLASHIAP support
2019-05-12 20:02:47 +01:00
Anna Bridge
97e1c9cbaf
Merge pull request #10287 from linlingao/pr10177
...
Enable MTS_DRAGONFLY_F411RE to register with Pelion
2019-05-10 16:21:46 +01:00
jeromecoutant
0352bbbd5b
STM32 astyle updates
2019-05-10 15:32:05 +02:00
Martin Kojtal
872ad22770
Merge pull request #10529 from u-blox/cellular_target_instance
...
Cellular: Target name change for ublox cellular instance
2019-05-10 11:10:25 +01:00
Martin Kojtal
7a29e02fe0
Merge pull request #10530 from wajahat-ublox/c027_modem_flag
...
C027 Fix for modemOn flag
2019-05-10 11:10:03 +01:00
Laurent Meunier
e3a72eac9e
Typo fix for MBED_APP_SIZE
2019-05-09 10:28:20 +02:00
aqin
43759c0c4b
Enterprise mode + wifi configuraiton api
2019-05-08 17:52:04 +05:00
ccli8
fcab482357
[NANO130] Fix optimization error with NVIC_SetVector/NVIC_GetVector on ARMC6
...
On ARMC6 with optimization level "-Os", the two functions NVIC_SetVector/NVIC_GetVector
will be translated to illegal instruction for trapping due to NVIC_FLASH_VECTOR_ADDRESS
defined as direct 0. Fixed by defining NVIC_FLASH_VECTOR_ADDRESS as a symbol instead to
avoid such optimization error.
2019-05-08 10:25:36 +08:00
M. Rahimi
06ed3c44c2
Enabled crash reporting for DISCO_F407VG on all other toolchains
2019-05-07 21:43:37 +04:30
Guillermo Alonso
a1d785ccbe
error in tabulation fixed
2019-05-07 17:43:00 +02:00
Anna Bridge
bab78c6cc5
Merge pull request #10468 from petroborys/master
...
Add support for CAN to SiLabs targets
2019-05-07 15:57:58 +01:00
M. Rahimi
d30bdbe08b
Enabled crash reporting for DISCO_F407VG target
2019-05-07 19:25:46 +04:30
Guillermo Alonso
70bc390410
added QSPI support to target RHOMBIO_L476DMW1K
2019-05-07 15:44:09 +02:00
Laurent Meunier
fcc375f5c9
Update FLASH_SIZE backup value
...
By default, FLASH_SIZE should be read from HW.
In case this is not the case, we define it here, as the size of FLASH
that is available to the application running on M4.
2019-05-06 11:31:37 +02:00
Laurent Meunier
89eef1b490
STM32WB: Update Flash size
...
the flash is shared and split between cortex-M4 that
runs (mbed-os) application and the cortex-M0+ that
runs the BLE firmware.
The 512K allocated to the application was a
conservative that can now be updated.
With recent up-to-date BLE firmware flashed @ 0x080CB000,
there should be 812K available to application.
But there are boards out there that don't have an up-to-date
firmware, so we're keeping an intermediate, safer,
application size of 768K.
2019-05-06 11:31:37 +02:00
Volodymyr Medvid
737c98ff8f
PSOC6: simplify the mbed_sdk_init sequence
2019-05-03 16:54:23 +03:00
Kevin Bracey
65e0887ef3
Permit non-TrustZone ARMv8 build
...
Change the heuristic for selection of CMSE in the tools python, so that
a non-TrustZone ARMv8 build can happen.
Ideally we would have more direct flagging in the targets, but this
refines the heuristic so the necessary behaviour can be easily
achieved.
* DOMAIN_NS=1 is based purely on the `-NS` suffix on the core name.
* Enabling CMSE in the compiler and outputting a secure import library
is now enabled when the core doesn't have an `-NS` suffix by either
the target label `TFM` being present or the flag `trustzone` being set.
This covers the existing ARMv8-M behaviour - TF-M builds have the TFM
label, as per its documentation; M2351 secure builds have no explicit
flagging, so we ensure that the M2351_NS target has the trustzone flag
set, and the out-of-tree secure target inherits that.
2019-05-03 13:36:38 +03:00
Wajahat Abbas
fd0a2c7e29
C027 Fix for modemOn flag
2019-05-03 14:34:28 +05:00
Martin Kojtal
b21c278274
Merge pull request #10509 from NXPmicro/LPC55S69_Add_UART_Flowcontrol
...
LPC55S69: Add support for UART hardware flow control
2019-05-03 10:07:54 +01:00
mudassar-ublox
5f55eedfae
cellular target name change for ublox cellular instance
2019-05-03 11:21:38 +05:00
Martin Kojtal
bb3fdac760
Merge pull request #10449 from fredlee12001/UNO_91H_PDMC
...
Configure UNO_91H to support PDMC compile
2019-05-02 19:04:27 +01:00
Martin Kojtal
87711a9111
Merge pull request #10471 from malavikasajikumar/master
...
SDP-K1: Updates to target code
2019-05-02 19:03:22 +01:00
Lin Gao
2c22f549e9
Add option to keep post_binary_hook and make it default. It can be disabled by setting it to null
2019-05-02 11:25:20 -05:00
Lin Gao
438a52f15a
Fix handoff issue from the bootloader to the application on MTS_DRAGONFLY_F411RE
2019-05-02 11:25:19 -05:00
Martin Kojtal
40f8cb95a8
Merge pull request #10435 from morser499/pr/cy-smif
...
Add support for QSPI to Cypress Boards
2019-05-02 13:41:56 +01:00
Martin Kojtal
d41962a8c8
SDP_K1: Fix year change in the system clock
2019-05-02 11:35:40 +01:00
Kevin Bracey
e502eb5e34
HI2110: Cope correctly with NC GPIO
2019-05-02 12:16:34 +03:00
Kevin Bracey
1eff7ecb02
Wiznet: Cope correctly with NC GPIO
2019-05-02 12:16:34 +03:00
Kevin Bracey
e6e3614bd8
TT: Cope correctly with NC GPIO
2019-05-02 12:16:34 +03:00
Kevin Bracey
0fb64eee4e
RTL8195A: Cope correctly with NC GPIO
2019-05-02 12:16:34 +03:00
Kevin Bracey
bd69ede5dc
Atmel: Cope correctly with NC GPIO
2019-05-02 12:16:34 +03:00
Kevin Bracey
fd68691ce3
ARM SSG/FM: Cope correctly with NC GPIO
2019-05-02 12:16:34 +03:00
Martin Kojtal
58a5f954ec
Merge pull request #10493 from LMESTM/STM32F303RE_flashiap
...
STM32F303RE: Activate FLASHIAP
2019-05-02 09:25:54 +01:00
ccli8
92e0b2a17f
Nuvoton: Add COMPONENT_FLASHIAP support
...
Some Nuvoton targets support DEVICE_FLASH but their corresponding COMPONENT_FLASHIAP
supports are not enabled. Enable them:
NUMAKER_PFM_M453
NUMAKER_PFM_M2351
2019-05-02 14:36:54 +08:00
Ryan Morse
a8570ffe6c
Added support for QSPI to Cypress Boards
2019-05-01 07:09:58 -07:00
petroborys
b635c024a4
Add can_api.c for efm32:review build-IAR
2019-05-01 00:12:38 +00:00
petroborys
f29dffa7d7
Add can_api.c for efm32: wrap in presence of the base peripheral
2019-05-01 00:12:37 +00:00
petroborys
0a82591470
Add can_api.c for efm32
2019-05-01 00:12:14 +00:00
Martin Kojtal
b895bf6349
Merge pull request #10401 from OpenNuvoton/nuvoton_nuc472_fix_crash_capture
...
NUC472: Support crash capture for no-XRAM configuration
2019-04-30 14:54:05 +01:00
Martin Kojtal
a5862df1ef
Merge pull request #10506 from JarekParal/fix-k66-missing-adc-pins-mapping
...
Add missing ADC pins mapping for FRMD-K66F (#10498 )
2019-04-30 13:58:45 +01:00
Martin Kojtal
1de0712272
Merge pull request #9944 from deepikabhavnani/stm32_splitheap
...
GCC - Add support to split heap across 2-RAM banks
2019-04-30 11:02:51 +01:00
Martin Kojtal
d04bfa2262
Merge pull request #10492 from SiliconLabs/fix/remove_sleep_lock_from_hal
...
Remove sleep lock/unlock from Silicon Labs HAL implementation
2019-04-30 09:31:41 +01:00
fred.li
749302fc0b
Fix Syntax Error for IAR & ARMCC
2019-04-30 11:53:26 +08:00
Mahesh Mahadevan
39975b818d
LPC55S69: Add support for UART hardware flow control
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-04-29 14:18:35 -05:00
Malavika Sajikumar
e0faeb2b65
Fixing alignment.
2019-04-29 09:52:01 -07:00
JarekParal
bd59a4cdf5
Fix code alignment
2019-04-29 17:33:28 +02:00
Martin Kojtal
2cd7aa1148
Merge pull request #10303 from juhoeskeli/mem_changes
...
STM32L4xx: IAR memory maps updated
2019-04-29 13:46:46 +01:00
JarekParal
484c8a59b9
Add missing ADC pins mapping for FRMD-K66F
2019-04-29 10:54:39 +02:00
Laurent Meunier
1922937292
STM32F303RE: Activate FLASHIAP
2019-04-26 15:13:08 +02:00
Anna Bridge
4020c6d19d
Merge pull request #10436 from OpenNuvoton/nuvoton_nuc472_fix_power-down
...
NUC472: Workaround for unknown error with power-down
2019-04-26 13:34:12 +01:00
Anna Bridge
c0feb1a659
Merge pull request #10390 from kjbracey-arm/armc6_fpu_sel
...
Correct some CPU selections in tools
2019-04-26 13:32:29 +01:00
Anna Bridge
b1cd3dab16
Merge pull request #10258 from davidsaada/david_remove_feature_storage
...
Remove FEATURE_STORAGE and all underlying deprecated features
2019-04-26 13:31:37 +01:00
Anna Bridge
536da479dc
Merge pull request #10018 from deepikabhavnani/stm32_heap_armc6
...
STM: Update linker script for using SRAM1 and SRAM2 in ARM
2019-04-26 13:30:42 +01:00
Kevin Bracey
87396e0bf6
Assembler atomics
...
Reimplement atomic code in inline assembly. This can improve
optimisation, and avoids potential architectural problems with using
LDREX/STREX intrinsics.
API further extended:
* Bitwise operations (fetch_and/fetch_or/fetch_xor)
* fetch_add and fetch_sub (like incr/decr, but returning old value -
aligning with C++11)
* compare_exchange_weak
* Explicit memory order specification
* Basic freestanding template overloads for C++
This gives our existing C implementation essentially all the functionality
needed by C++11.
An actual Atomic<T> template based upon these C functions could follow.
2019-04-26 13:12:35 +03:00
Steven Cooreman
b16adea258
Remove sleep lock/unlock from HAL
...
The sleep locking/unlocking is taken care of by the layer above (driver).
2019-04-26 09:54:24 +02:00
Malavika Sajikumar
f11f63ddcf
AWAKE signal turned on at system init for SDP-K1 board.
...
- Setting AWAKE signal high in the SystemInit() to ensure VIO supply to daughter boards through SDP and Arduino connectors.
2019-04-25 23:49:19 -07:00
Malavika Sajikumar
869e48dad0
Improvements made to PinNames.h of SDP-K1 board.
...
PinNames.h:
- Removing definition of Status LED.
- Redefining SPI and I2C pin names using Arduino pins names.
2019-04-25 23:49:19 -07:00
Volodymyr Medvid
c98f91e375
PSOC6: move mbed_sdk_init to mbed_overrides.c
...
Purposes:
* Remove MbedOS-specific code from system_psoc6_{cm4,cm0plus}.c
to simplify updates to new PDL version (startup code is part of PDL).
* Unify mbed_sdk_init initialization sequence for both CPU cores.
This change is non-functional, sequence itself is not changed for any
of the PSoC 6 M4/M0 PSA/non-PSA targets.
2019-04-23 14:44:56 +03:00
Juho Eskeli
443974b864
STM32L4xx: IAR linker file updated to better use available memory
2019-04-23 12:53:53 +03:00
Kevin Bracey
20ac1c9266
KW24D: Use default ARM compiler (ARMC6)
...
KW24D was set to ARMC5 because the ARMC6 tooling didn't correctly handle
Cortex-M4 without floating-point. Now fixed.
2019-04-23 12:04:20 +03:00
fred.li
417051244d
PDMC support for ARMCC and IAR
2019-04-22 21:06:42 +08:00
fred.li
4d52639e3d
Remove invalid device_name
2019-04-22 15:23:17 +08:00
fred.li
784f2a070a
Add configuration to support PDMC compile
...
Configurable flash size for UNO_91H
2019-04-22 14:30:36 +08:00
Martin Kojtal
97693b7bbe
Merge pull request #10387 from kjbracey-arm/add_fpu_atmel
...
Atmel SAMG55: Cortex-M4 -> Cortex-M4F
2019-04-18 14:16:58 +01:00
Martin Kojtal
9157902af9
Merge pull request #10386 from kjbracey-arm/add_fpu_arm
...
ARM MPS2: Cortex-M4 -> M4F & M7 -> M7FD
2019-04-18 13:40:12 +01:00
Martin Kojtal
b6a2c7b63f
Merge pull request #10019 from deepikabhavnani/uarm_fix
...
uARM - Move heap region after IRAM1
2019-04-18 12:49:56 +01:00
Martin Kojtal
d2e9fde701
Merge pull request #10413 from kfnta/cy_rollup
...
Cypress PSoC6 rollup PR
2019-04-18 12:26:32 +01:00
Martin Kojtal
3ec9c190d0
Merge pull request #10314 from kjbracey-arm/rt1050_dcache
...
i.MX RT1050: Reactivate data cache
2019-04-18 09:49:13 +01:00
Martin Kojtal
fc12229df9
Merge pull request #10412 from lrusinowicz/flash_api_fix
...
FUTURE_SEQUANA: Fix flash_api bug introduced with e16d2d81d9
2019-04-18 08:20:31 +01:00
Martin Kojtal
ea1394724b
Merge pull request #10419 from lrusinowicz/warning_cleanup
...
FUTURE_SEQUANA: Clean up "unused variable" compiler warnings
2019-04-17 15:47:21 +01:00
Kevin Bracey
a5d0c1c00b
ARM MPS2: Cortex-M4 -> M4F & M7 -> M7FD
...
According to their cmsis.h, FPU is present, so change targets.json to
use it.
* ARM_MPS2_M4: already was Cortex-M4F
* ARM_MPS2_M7: Cortex-M7 -> M7FD
* FVP_MPS2_M4: Cortex-M4 -> M4F
* FVP_MPS2_M7: Cortex-M7 -> M7FD
If they do not in fact have FPU, then cmsis.h should be modified to set
`__FPU_PRESENT` to 0. This will currently cause compilation problems
with ARMC6, but I'll be submitting a fix for that.
2019-04-17 12:57:46 +03:00
Martin Kojtal
beed42e666
Merge pull request #10382 from kjbracey-arm/add_fpu_sdpk1
...
SDP_K1: Cortex-M4 -> Cortex-M4F
2019-04-17 10:46:09 +01:00
ccli8
61271d0df6
[NUC472] Get around unknown error with power-down
...
On NUC472, on wake-up from power-down mode, we may meet hard fault or some other
unknown error. Before its cause is found, we enter idle mode instead for a workaround.
To simulate power-down mode with idle mode, we also disable us_ticker during
power-down period.
2019-04-17 16:47:22 +08:00
Martin Kojtal
6c40386bb7
Merge pull request #10383 from kjbracey-arm/add_fpu_gd32
...
GigaDevice: Cortex-M4 -> Cortex-M4F
2019-04-17 09:19:38 +01:00
Martin Kojtal
c961a5d834
Merge pull request #9870 from ChangwuShan/Re-enable_MPS2_platform
...
Re-enable MPS2 platform
2019-04-17 08:02:14 +01:00
Leszek Rusinowicz
ab8b573138
FUTURE_SEQUANA: Clean up "unused variable" compiler warnings
...
Clean up compiler warnings coming from PDL read-out of peripheral
interrupt status registers.
2019-04-16 16:59:53 +02:00
Leszek Rusinowicz
f81fbab9f0
FUTURE_SEQUANA: Fix flash_api bug introduced with e16d2d81d9
...
PDL Flash API requires that the data buffer is 32-bit aligned, otherwise
programming can hung. Buffer declared as uint8_t array is not always
properly aligned, e.g. with gcc 6 when -Os option is used.
2019-04-16 11:20:11 +02:00
Lei Zhang
eb38b16551
PSOC6: Add WICED library build for ARMC6
...
- Also remove WICED library build for ARMC5
2019-04-16 11:51:39 +03:00
Hennadiy Kytsun
2417392419
CY8CKIT_062_WIFI_BT_PSA: mention tools/psa/release.py in README
2019-04-16 11:50:48 +03:00
Hennadiy Kytsun
20a302db2e
PSOC6: remove __attribute__((constructor)) from SystemInit
2019-04-16 11:50:47 +03:00
Hennadiy Kytsun
28113a23cc
PSOC6: rebuild CY8CKIT_062_WIFI_BT_PSA prebuilt HEX files
2019-04-16 11:50:47 +03:00
Hennadiy Kytsun
786d0c9b47
FUTURE_SEQUANA: reuse supported_toolchains from TARGET_PSOC6
2019-04-16 11:50:47 +03:00
Hennadiy Kytsun
ef19fb6ebb
PSOC6: add ARMC6 support (fix issue #9830 )
...
Update PDL syslib driver to 2.30.
Update startup assembly and linker scripts.
2019-04-16 11:50:47 +03:00
Hennadiy Kytsun
248013aca8
PSOC6: remove custom IPC configuration for PSA
...
* Update PDL startup driver to version 2.40
* Update linker scripts and startup assembly
* Remove custom IPC configuration from PSA initialization:
use default IPC configuration provided by low-level startup code.
2019-04-16 11:50:46 +03:00
Hennadiy Kytsun
ae716e2ab7
PSOC6: update version of PDL flash driver
...
Flash driver 3.30:
Moved ipcWaitMessageStc structure to the RAM section called ".cy_sharedmem"
Added support Secure Boot devices
Moved CY_FLASH_EFFECTIVE_PAGE_SIZE to flash_api.c (the macro is Mbed specific).
2019-04-16 11:50:46 +03:00
Hennadiy Kytsun
e8300553af
PSOC6: update version of PDL IPC driver
2019-04-16 11:50:46 +03:00
Hennadiy Kytsun
f45d701317
PSoC6: Remove TARGET_CY8C62XX CSP directory
...
GeneratedSource folders are BSP specific. No parts of the kit BSP can be reused
as generic chip support package. Remove TARGET_CY8C62XX directory,
and use flat BSP inheritance model:
MCU_PSOC6 -> MCU_PSOC6_M4 -> CY8CKIT_062_WIFI_BT
MCU_PSOC6 -> MCU_PSOC6_M0 -> CY8CKIT_062_WIFI_BT_M0
2019-04-16 11:50:46 +03:00
Martin Kojtal
93dc5514f2
Merge pull request #10334 from NXPmicro/MXRT1050_FixTestFailure
...
MXRT1050_EVK: Fixes test failure seen with ARM & IAR toolchain
2019-04-16 08:45:46 +01:00
Martin Kojtal
d53902267e
Merge pull request #10384 from kjbracey-arm/add_fpu_toshiba
...
Toshiba: Cortex-M4 -> Cortex-M4F
2019-04-16 08:26:38 +01:00
Shawn Shan
3d9b7df8e0
Fix the build failed issue of MPS2 targets with ARMC6.
...
Change-Id: I0205d381de331a827435d667c16297aaf5bb609e
Signed-off-by: Shawn Shan <shawn.shan@arm.com>
2019-04-15 16:56:44 +08:00
Shawn Shan
6374790b26
Add IAR support for the target AN382 of MPS2.
...
Add file MPS2.icf and startup_MPS2.S to suppout IAR of the target
AN382(ARM_MPS2_M0). Add "IAR" to supported_toolchain list.
Change-Id: I2b2ad7645166c4f973a8baa9c394521514183767
Signed-off-by: Shawn Shan <shawn.shan@arm.com>
2019-04-15 16:56:44 +08:00
Shawn Shan
b3ee6cb706
Add IAR support for the target AN383 of MPS2.
...
Add file MPS2.icf and startup_MPS2.S to suppout IAR of the target
AN383(ARM_MPS2_M0P). Add "IAR" to supported_toolchain list.
Change-Id: Ib2278d34e265e53ad070aecd318ed4e6a355e3c0
Signed-off-by: Shawn Shan <shawn.shan@arm.com>
2019-04-15 16:56:44 +08:00
Shawn Shan
b268aa6d6a
Add GCC_ARM support for the target AN382 of MPS2.
...
Add files MPS2.ld and startup_MPS2.S to support GCC_ARM of the target
AN382(ARM_MPS2_M0). Add "GCC_ARM" to supported_toolchains list.
Change-Id: I7046b698834c82e94015e51eef9a0f5e1315ddaa
Signed-off-by: Shawn Shan <shawn.shan@arm.com>
2019-04-15 16:56:44 +08:00
Shawn Shan
db57e58194
Add GCC_ARM support for the target AN383 of MPS2.
...
Add files MPS2.ld and startup_MPS2.S to support GCC_ARM of the target
AN383(ARM_MPS2_M0P). Add "GCC_ARM" to supported_toolchains list.
Change-Id: I48020b4f0f1b6e0aef3c53f5a3586bc9e9fca9c9
Signed-off-by: Shawn Shan <shawn.shan@arm.com>
2019-04-15 16:56:44 +08:00
Shawn Shan
0dbaeeffc2
Add IAR support for the target AN385 of MPS2.
...
Add file MPS2.icf and startup_MPS2.S to suppout IAR of the target
AN385(ARM_MPS2_M3). Add "IAR" to supported_toolchain list.
Change-Id: I038b05b8b21bd146a1568de897ed030ccd52ab79
Signed-off-by: Shawn Shan <shawn.shan@arm.com>
2019-04-15 16:56:44 +08:00
Shawn Shan
151d6e0bb4
Add IAR support for the target AN386 of MPS2.
...
Add file MPS2.icf and startup_MPS2.S to suppout IAR of the target
AN386(ARM_MPS2_M4). Add "IAR" to supported_toolchain list.
Change-Id: I4f43617c870197b9d39a4d4c9c12456adcc6f96f
Signed-off-by: Shawn Shan <shawn.shan@arm.com>
2019-04-15 16:56:44 +08:00
Shawn Shan
063d5dc295
Add IAR support for the target AN500 of MPS2.
...
Add file MPS2.icf and startup_MPS2.S to suppout IAR of the target
AN500(ARM_MPS2_M7). Add "IAR" to supported_toolchain list.
Change-Id: I0b8f018fc937727382b27ea0669940ae6675c834
Signed-off-by: Shawn Shan <shawn.shan@arm.com>
2019-04-15 16:56:44 +08:00