MarceloSalazar
73206b5b69
Fix WIO_EMW3166 target for WICED driver
2020-04-09 22:56:50 +01:00
MarceloSalazar
4ae7b0e814
Remove VBLUNO targets
2020-04-09 15:32:41 +01:00
MarceloSalazar
8bf863c181
Remove vk_rz_a1h target
2020-04-09 15:32:41 +01:00
MarceloSalazar
e43ece13aa
Rename EMW3166 target
2020-04-09 15:32:41 +01:00
MarceloSalazar
831c475a46
Remove Silica target
2020-04-09 15:32:41 +01:00
MarceloSalazar
0aa4713429
Remove Wiznet targets
2020-04-09 15:32:41 +01:00
MarceloSalazar
1e4c707cc5
Remove ELMO target
2020-04-09 15:32:41 +01:00
MarceloSalazar
c50c940761
Remove TI targets
2020-04-09 15:32:40 +01:00
MarceloSalazar
92d8838296
Remove Atmel targets
2020-04-09 15:32:40 +01:00
MarceloSalazar
c0f7670c6f
Remove GD32_E103VB target
2020-04-09 15:32:40 +01:00
MarceloSalazar
a3f9bbb002
Remove RDA targets
2020-04-09 15:32:39 +01:00
MarceloSalazar
3ad6c4fa2b
Remove Ublox ODIN targets
2020-04-09 15:32:39 +01:00
MarceloSalazar
32fab9bc0d
Remove Realtek targets
2020-04-09 15:32:39 +01:00
MarceloSalazar
8858a87071
Remove Thundersoft targets
2020-04-09 15:32:38 +01:00
Martin Kojtal
7fce7f552c
Merge pull request #12572 from rajkan01/waitapi_remove_deprecated
...
Remove mbed wait deprecated APIs
2020-04-09 14:57:46 +02:00
Martin Kojtal
71c9780dfe
Merge pull request #12387 from AGlass0fMilk/objects-extensions
...
Add Objects Extensions Configuration Parameter to HAL
2020-04-09 10:20:44 +02:00
Sree Harsha Angara
b77a5b331c
Removed NVRAM references to CY8CKTI_064B0S2_4343W Kit
2020-04-08 11:32:27 -07:00
Sree Harsha Angara
63b93ff696
Removing ES100 references and CY8CKIT_064B0S2_4343W
2020-04-08 11:28:58 -07:00
Rajkumar Kanagaraj
3d128e861b
- Fix the CI build issue.
...
- Incorporate the review comment.
2020-04-08 10:35:07 +01:00
Rajkumar Kanagaraj
9739b565b2
Fix the CI build issue
2020-04-08 10:35:07 +01:00
Sree Harsha Angara
118b4b3df1
Fixing clock for greentea cordio test
2020-04-07 14:43:29 -07:00
YARB(Cypress)
4f28ff0b16
Remove extraneous label to include CM0p firmware image that has been updated to be included using the component mechanism.
2020-04-07 10:42:32 -07:00
Taylor Heck
5ca347f460
Use basic STM32F411RE linker scripts, removes bootloader section.
2020-04-07 09:00:09 -05:00
Taylor Heck
94dd3f98c3
Update system_clock.c for VECT_TAB_OFFSET changes in target definition
2020-04-07 09:00:07 -05:00
Taylor Heck
be03c0d937
Remove post_binary_hook from MTS_MDOT_F411RE target definition.
2020-04-07 09:00:06 -05:00
Sree Harsha Angara
3b6020c1be
Updating BSP files for CYESKIT_064B0S2_4343W
2020-04-06 17:12:23 -07:00
Martin Kojtal
4b3cddff2a
Merge pull request #12744 from heejungPark/master
...
Change files in TARGET_SDT64B
2020-04-06 08:04:22 +02:00
Roman Okhrimenko
e6084562b4
Add TARGET_CYESKIT_064B0S2_4343W to targets.json
2020-04-05 13:52:27 +03:00
Roman Okhrimenko
70c9142647
Add wifi_nvram_image for TARGET_CYESKIT_064B0S2_4343W
2020-04-05 13:52:27 +03:00
Roman Okhrimenko
69d0721e30
Add BSP for CYESKIT_064B0S2_4343W
2020-04-05 13:52:27 +03:00
Roman Okhrimenko
c7f7bec5f3
Temporarily change CY8CKIT_064B0S2_4343W board id to 190A, as actual kit is not available yet
2020-04-05 13:52:27 +03:00
Roman Okhrimenko
d3813a318a
Add latest prebuild hex file
2020-04-05 13:52:27 +03:00
Roman Okhrimenko
c4e8f8d816
Comment out init_cycfg_system() to avoid HardFault before Secure Driver arrive
2020-04-05 13:52:27 +03:00
Roman Okhrimenko
89531b9163
Add essential file for peripheral pins definition
2020-04-05 13:52:27 +03:00
Roman Okhrimenko
f2a3954d6e
Update slot start address in linker scripts according to default multi image policy
2020-04-05 13:52:27 +03:00
Roman Okhrimenko
57d141d005
Update pre build hex with Release version, generated by CI
2020-04-05 13:52:27 +03:00
Roman Okhrimenko
ae733ffc11
Add default secure boot params to targets.json, add option to post build to redefine them in mbed_app.json
2020-04-05 13:52:27 +03:00
Roman Okhrimenko
9294eee878
Add initial implementation of post build function, that uses cysecuretools
2020-04-05 13:52:26 +03:00
Roman Okhrimenko
5267ec3375
Add prebuilded hex file for secure cm0p application
2020-04-05 13:52:26 +03:00
Roman Okhrimenko
a17bed366a
Change policy to multi image, as one supported for es100
2020-04-05 13:52:26 +03:00
Dustin Crossman
e873669b04
Added policy file and removed old secure tools config file.
2020-04-05 13:52:26 +03:00
Dustin Crossman
f8c1c446f1
Add nvram image for CY8CKIT_064B0S2_4343W
2020-04-05 13:52:26 +03:00
Dustin Crossman
b6c4fc6d23
Add CY8CKIT_064B0S2_4343W board.
2020-04-05 13:52:26 +03:00
Jaeden Amero
c447278727
cypress: psoc64: Add TF-M compatibility
...
Make the CY8CKIT_064S2_4343W target TF-M compatible by addding flash and
region definitions from TF-M (at c4f37c18c4a0) and by updating the
CY8CKIT_064S2_4343W linker script to create a flash image compatible
with TF-M.
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-03 15:48:58 +01:00
Devaraj Ranganna
cc8cc5903a
cypress: psoc64: Reserve timer channels used by TF-M
...
There are two timers, Timer0 and Timer1, available on the PSoC64. Timer0
has 8 channels and Timer1 has 24 channels. TF-M regression tests make
use of Timer0 Channel 0 and Timer0 Channel 1. Therefore, reserve the
timer channels used by TF-M. This approach can be replaced once we have
a way to allocate dedicated timers for TF-M and Mbed OS.
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
Signed-off-by: Vikas Katariya <vikas.katariya@arm.com>
2020-04-03 15:48:58 +01:00
Gavin Liu
288946a226
targets:MIMXRT1050: Update link file for application
...
For the application(firmware) booted by bootloader(OTA),
the image doesn't need the "flash_config" and "ivt" header.
So update the link file to support both kinds of application
(firmware) booted by bootROM and bootloader.
In default, the compilation will get the image with
"flash_config" and "ivt" header, for example the bootloader
compiling.
When compiling the OTA application image, please add the
line as below in the mbed_app.json file.
"target.macros_add" : ["MBED_APP_COMPILE"]
This will remove the "flash_config" and "ivt" header in the
final image.
Signed-off-by: Gavin Liu <gang.liu@nxp.com>
2020-04-03 17:48:46 +08:00
Gavin Liu
1d1e69a4a2
targets:MIMXRT1050: Add QSPI Flash FLASHIAP support
...
Update the flash driver to support both Hyper Flash
and QSPI Flash.
In addition, the static function cannot be linked to
SRAM even defined by AT_QUICKACCESS_SECTION_CODE macro.
So remove all "static" modifier for the FLASHIAP
functions.
Signed-off-by: Gavin Liu <gang.liu@nxp.com>
2020-04-03 17:46:55 +08:00
George Beckstein
2a2295c0b3
Fixed typo in target.json
2020-04-03 05:43:17 -04:00
Gavin Liu
2be0790c4a
targets:TARGET_IMX: Fix the memset issue for FLASHIAP
...
The memset function from c library will be linked in flash
space, it's risk for FLASHIAP. So I wrote flexspi_memset
to replace the memset for IMX FLASHIAP, and put the function
into targets/.../TARGET_IMX/flash_api.c file. All IMX Soc
platforms can declare it as extern and use in their Soc
flexspi driver files.
Signed-off-by: Gavin Liu <gang.liu@nxp.com>
2020-04-03 17:41:34 +08:00
Gavin Liu
f8a8401a13
targets:TARGET_IMX: Fix the flash init risk
...
The flash access may fail when implementing flash
initialization. So there is risk for interrupt handler
which linked in flash space.
Add the critical section to avoid the risk.
Signed-off-by: Gavin Liu <gang.liu@nxp.com>
2020-04-03 17:41:07 +08:00
Gavin Liu
b53d40b269
targets:MIMXRT1050: Add QSPI Flash boot support
...
NXP MIMXRT1050 EVK can support Hyper Flash or QSPI Flash with
small hardware reworks. Modify the XIP file to support boot
from the two kinds of Flash device. The Hyper Flash should be
the default device and defined in tartgets.json with the macro
"HYPERFLASH_BOOT". To select the QSPI Flash, just remove the
macro with the below line in any overriding json file.
"target.macros_remove" : ["HYPERFLASH_BOOT"]
Signed-off-by: Gavin Liu <gang.liu@nxp.com>
2020-04-03 17:40:39 +08:00
George Beckstein
d8727510e7
Remove unused internal state enum
2020-04-03 05:38:23 -04:00
George Beckstein
907ae1b67e
Implement I2CSLAVE in the i2c_api for nRF52 targets
2020-04-03 05:38:21 -04:00
George Beckstein
85a17293d3
Enable I2CSLAVE for nRF52 targets
2020-04-03 05:01:22 -04:00
George Beckstein
e1178be65e
Applying changes to only specific targets for stop-gap.
2020-04-03 04:45:43 -04:00
George Beckstein
382a55487f
Added object extensions configuration parameter to HAL
2020-04-03 04:38:21 -04:00
Volodymyr Medvid
b61cf5bdd6
PSoC 62/63: set correct mbed_ram_start and mbed_ram_size
...
In case when target.mbed_ram_start and target.mbed_ram_size are not set
neither in targets.json nor in mbed_app.json, the IRAM1 region values
defined in tools/arm_pack_manager/index.json are passed by Mbed CLI as
the linker script preprocessing flags. As a result, wrong addresses of
MBED_RAM_START and MBED_RAM_SIZE are defined in the linker script since
CMSIS DFP pack has no information about RAM split between CM0+ and CM4 applications.
Set the values explicitly in targets.json to ensure the correct RAM layout.
The MBED_ROM_START and MBED_ROM_SIZE provided by CMSIS DFP are already
correct since the linker scripts places CM4 vector table at MBED_APP_START,
taking into account the flash application area of the CM0+ prebuilt application.
2020-04-02 17:44:37 +01:00
Martin Kojtal
ded879daed
Merge pull request #12603 from dustin-crossman/pr/add-cysbsyskit_01
...
Add target CYSBSYSKIT_01
2020-04-02 18:18:11 +02:00
heejungPark
7cb2344f42
Update PeripheralPinMaps.h
...
Add SPDX identifier
2020-04-02 20:08:42 +09:00
heejungPark
e87e2f4770
Change files in TARGET_SDT64B
2020-04-02 11:36:34 +09:00
Martin Kojtal
6e46e2ddd3
Merge pull request #12639 from rajkan01/ethernethal_remove_deprecated
...
Remove the deprecated ethernet hal APIs
2020-04-01 20:28:17 +02:00
Martin Kojtal
00fef8346e
Merge pull request #12733 from 0xc0170/fix_odin_removal
...
odin targets: remove release version
2020-04-01 14:41:11 +02:00
Martin Kojtal
66bf7e85a6
Merge pull request #12547 from amq/update-emlib
...
EFM32: update emlib to 5.9.1
2020-04-01 14:19:10 +02:00
Martin Kojtal
a6ef9db8dc
Merge pull request #12626 from jeromecoutant/PR_F4
...
STM32F4 update drivers version to CUBE V1.25.0
2020-04-01 10:50:32 +02:00
Martin Kojtal
0eca8d38d0
Merge pull request #12715 from RyoheiHagimoto/rza1-eth-deprecation
...
RZ_A1H remove usage of ethernet hal API
2020-04-01 08:54:31 +02:00
Martin Kojtal
d308da11e7
Merge pull request #12610 from u-blox/ubx_modem_api
...
Add UBLOX_onboard_modem_api for power up UBLOX_C027.
2020-04-01 08:41:26 +02:00
Martin Kojtal
f03860a971
Merge pull request #12604 from OpenNuvoton/nuvoton_nano130_tickless_lpticker
...
NANO130: Fix test failures with tickless from lp_ticker
2020-04-01 08:40:19 +02:00
Chun-Chieh Li
2c9ec8f19d
M487: Add SPDX license identifier for BSP files
2020-04-01 13:55:46 +08:00
Chun-Chieh Li
d709c775b4
M487: Add SPDX license identifier
2020-04-01 13:55:45 +08:00
Chun-Chieh Li
3b9492fdbc
M487: Update BSP
...
Relevant modifications:
1. Support degrading QSPI0/1 to SPI4/5 for normal SPI transfer
2. Fix with BSP crypto driver API change
3. Fix with BSP PDMA driver API change
4. Make necessary modifications to pass FPGA CI Test Shield tests
5. Don't distinguish pinmap among parts e.g. M480 LG. Application users must take care.
2020-04-01 13:55:12 +08:00
Martin Kojtal
f899bae16a
odin targets: remove release version
...
This is a preparation for more upcoming changes. The latest master updates removed deprecated functionality and these targets do not compile anymore.
2020-03-31 15:55:27 +01:00
amq
ef28b74802
EFM32: move __Vectors from header to source
2020-03-31 10:37:28 +02:00
Martin Kojtal
0a6e586a9d
Merge pull request #12660 from OpenNuvoton/nuvoton_m2351_custom_board
...
M2351: Support custom board
2020-03-31 09:29:22 +02:00
Martin Kojtal
eb2457f59d
Merge pull request #12690 from jeromecoutant/PR_GCC_ETEXT
...
STM32: solve GCC Unspecified RTOS error
2020-03-31 09:27:05 +02:00
jeromecoutant
33fc5000a9
STM32F4 V1.19.0 -> V1.25.0 : adaptation
2020-03-30 16:04:02 +02:00
jeromecoutant
aa22c4b4d5
STM32F4 V1.19.0 -> V1.25.0 : Driver part
2020-03-30 16:04:01 +02:00
jeromecoutant
480fd2ab92
STM32F4 V1.19.0 -> V1.25.0 : CMSIS part
2020-03-30 16:04:00 +02:00
jeromecoutant
3c3b17d601
STM32F4 restructuration for better maintenance
2020-03-30 16:03:59 +02:00
Martin Kojtal
92cdcfb302
Merge pull request #12662 from artokin/workaround_for_stm32f4_sleep
...
Add workaround for STM32F4 hardfault in sleep mode
2020-03-30 14:08:48 +02:00
mudassar-ublox
bf65342d75
Added UBLOX modem api for power up modem UBLOX_C027
2020-03-30 17:01:09 +05:00
RyoheiHagimoto
7794221c69
[RZ_A1H] remove usage of ethernet hal API
2020-03-30 14:54:35 +09:00
Marcelo Salazar
5aa66b5c9a
Add workaround for F429 hardfault
2020-03-27 11:58:46 +00:00
Anna Bridge
a34333fe36
Merge pull request #12677 from jeromecoutant/PR_H7_QSPI
...
STM32H7: enable QSPI
2020-03-27 11:20:48 +00:00
Dustin Crossman
56099951b5
Ran astyle on COMPONENT_SCL.
2020-03-26 11:50:58 -07:00
Martin Kojtal
b5f00bc67a
Merge pull request #12679 from vmedcy/psoc6-export
...
PSoC6: enable export to uVision and IAR
2020-03-26 09:09:35 +01:00
Martin Kojtal
f011ccb2cb
Merge pull request #12692 from petroborys/master
...
EFM32G11: Add RGB LEDs to PinNames.h
2020-03-26 09:08:53 +01:00
petroborys
3f6a48fcc8
Added RGB LEDs to PinNames.h
2020-03-24 21:05:07 +02:00
jeromecoutant
a1c159e0b5
STM32 GCC Unspecified RTOS error
2020-03-24 17:32:13 +01:00
Martin Kojtal
2c5660ae35
Merge pull request #12642 from OpenNuvoton/nuvoton_m263_custom_board
...
M263: Support custom board
2020-03-24 08:52:47 +01:00
Chun-Chieh Li
e6823c6af5
M2351: Add SPDX license identifier for BSP files
2020-03-24 10:47:03 +08:00
Chun-Chieh Li
d1655854c9
M2351: Add SPDX license identifier
2020-03-24 10:03:44 +08:00
Volodymyr Medvid
0ac62d0317
PSoC6: enable export to uVision and IAR
2020-03-23 20:08:30 +01:00
jeromecoutant
249752e7bc
STM32H7: enable QSPI
...
- DISCO_H747I board has MT25QL512 embedded QSPI
2020-03-23 18:46:26 +01:00
Anna Bridge
c37b119418
Merge pull request #12659 from tymoteuszblochmobica/wiced_update
...
Rebuild WICED libraries after Mbed update
2020-03-20 15:24:16 +00:00
Teemu Takaluoma
40672c5e0f
Disable sleep on STM32F4 as an workaround for stability issues.
...
This workaround is related to Mbed OS issue
https://github.com/ARMmbed/mbed-os/issues/12294
2020-03-20 12:16:06 +02:00
Chun-Chieh Li
dbd34ed63e
NANO130: Enlarge timeout in CLK_WaitClockReady(...)
...
Most code doesn't check return code of CLK_WaitClockReady(...). Enlarge timeout to meet most cases.
lp_ticker initialization fails with this issue. Steps for reproducing:
1. System runs in tickless from lp_ticker mode.
2. Arm WDT reset.
3. In next reset cycle, lp_ticker initialization fails (active flag doesn't become active).
2020-03-20 10:26:39 +08:00
Chun-Chieh Li
427e8eb777
M2351: Support custom board
...
1. Introduce MCU_M2351 target to be inheritable
2. Re-organize PinNames.h to be overridable
3. Enable configurability of USB/STDIO UART pins
2020-03-20 09:39:16 +08:00
Chun-Chieh Li
f5cb899413
M263: Re-organize PinNames.h
...
This is to support custom boards based on M261 series chips.
2020-03-20 09:16:51 +08:00
Chun-Chieh Li
15fcdb1c36
M263: Support configurability for USB/STDIO UART pins
...
- STDIO_UART and STDIO_UART_TX/STDIO_UART_RX
- USB_UART and USBTX/USBRX
2020-03-20 09:16:51 +08:00
Chun-Chieh Li
edcfcf0495
M263: Enable configurability for memory specification
...
This is to support custom boards based on M261 series chips.
2020-03-20 09:16:50 +08:00
Chun-Chieh Li
203a9fe0ec
M263: Add SERIAL_TX/SERIAL_RX pin names
...
Don't set SERIAL_TX/SERIAL_RX to USBTX/USBRX which should be dedicated for USB VCOM and not for other uses.
2020-03-20 09:16:49 +08:00
Chun-Chieh Li
180528b5c9
M263: Add MCU_M261 target
...
This is to support M261 series based targets.
2020-03-20 09:16:12 +08:00
Tymoteusz Bloch
7e146b0c9e
Rebuild WICED libraries after Mbed update
2020-03-18 00:27:50 +01:00
Martin Kojtal
696467976f
Merge pull request #12576 from OpenNuvoton/nuvoton_m487_custom_board
...
M487: Support custom board
2020-03-17 16:39:50 +01:00
Rajkumar Kanagaraj
20c3e38349
Remove the deprecated ethernet APIs
2020-03-17 06:00:07 -07:00
Dustin Crossman
89c70fbd9a
Fix licenses in COMPONENT_SCL.
2020-03-16 09:40:34 -07:00
Anna Bridge
d61187c23a
Merge pull request #12611 from jeromecoutant/PR_UART_PARITY
...
STM32F4 UART issue when parity enabled
2020-03-13 11:07:21 +00:00
Chun-Chieh Li
5ec86411c4
M487: Re-organize PinNames.h
...
This is to support custom targets based on M480 series chips.
2020-03-12 09:34:45 +08:00
Chun-Chieh Li
2cf82821dd
M487: Support configurability of USB/STDIO UART pins
...
- STDIO_UART and STDIO_UART_TX/STDIO_UART_RX
- USB_UART and USBTX/USBRX
2020-03-12 09:34:45 +08:00
Chun-Chieh Li
9d26390595
M487: Make memory specification configurable
...
This is to support custom targets based on M480 series chips.
2020-03-12 09:34:14 +08:00
Chun-Chieh Li
58e0048c50
M487: Enable FLASHIAP for custom targets
...
This is to support custom targets based on M480 series chips.
2020-03-12 09:31:52 +08:00
Chun-Chieh Li
6f30d4fdc7
M487: Disable network default interface type for custom targets
...
This is to support custom targets based on M480 series chips.
For Mbed-Enabled boards:
- NUMAKER_PFM_M487: ETHERNET
- NUMAKER_IOT_M487: WIFI
2020-03-12 09:31:52 +08:00
Chun-Chieh Li
43f297fdd4
M487: Disable MBEDTLS_CONFIG_HW_SUPPORT for custom targets
...
This is to support custom targets based on M480 series chips.
2020-03-12 09:31:52 +08:00
Chun-Chieh Li
98c151a9f2
M487: Make SPIM CCM mode configurable
...
This is to support custom targets based on M480 series chips.
2020-03-12 09:31:51 +08:00
Chun-Chieh Li
2f770b77a9
M487: Remove BUTTON1/2 for custom targets
...
This is to support custom targets based on M480 series chips.
2020-03-12 09:31:51 +08:00
Chun-Chieh Li
c4ffd38a90
M487: Change SERIAL_TX/SERIAL_RX pin names to other than USBTX/USBRX
...
USBTX/USBRX should be dedicated for USB VCOM and not for other uses.
2020-03-12 09:31:51 +08:00
Anna Bridge
4bc491ac30
Merge pull request #12598 from rajkan01/mutex_lock_remove_return
...
Change Mutex lock and unlock APIs return value to void
2020-03-11 12:39:16 +00:00
Dustin Crossman
539b78fae0
CYSBSYSKIT_01 targets.json and bsp update.
2020-03-10 09:52:52 -07:00
jeromecoutant
6752a2d555
STM32F4 UART issue when parity enabled
...
Bits 8:0 DR[8:0]: Data value
When receiving with the parity enabled, the value read in the MSB bit is the received parity
bit.
2020-03-10 17:22:02 +01:00
Rajkumar Kanagaraj
2f4cf1a052
Fix the CI build issue
2020-03-10 07:50:32 -07:00
Anna Bridge
33f3049286
Merge pull request #12233 from bulislaw/minimal_printf_default
...
Enable minimal-printf by default for all builds
2020-03-10 12:13:11 +00:00
Dustin Crossman
05776d6f88
Update COMPONENT_SCL.
2020-03-09 10:07:12 -07:00
Dustin Crossman
6b6db89434
Improve documentation.
2020-03-09 10:07:12 -07:00
Dustin Crossman
0fe5efc4a4
Added checks for configuration parameters
2020-03-09 10:07:12 -07:00
Dustin Crossman
63e546f2c0
Remove MBED_TICKLESS from CYSBSYSKIT_01.
2020-03-09 10:07:12 -07:00
Dustin Crossman
25a4caf3ed
Formatted json for cysbsyskit_01.
2020-03-09 10:07:12 -07:00
Dustin Crossman
792dfb51d5
Add forced reset timeout to CYSBSYSKIT_01 target.
2020-03-09 10:07:12 -07:00
Dustin Crossman
60169e92f4
Defined default config options.
2020-03-09 10:07:12 -07:00
Dustin Crossman
e754510cce
Add COMPONENT_SCL.
2020-03-09 10:07:11 -07:00
Dustin Crossman
89549e7bc9
Add CYSBSYSKIT_01 target.
2020-03-09 10:07:11 -07:00
Dustin Crossman
684d6dab4c
Add CYSBSYSKIT_01 bsp.
2020-03-09 10:07:11 -07:00
jeromecoutant
1fa78eb5a8
STM32F7: add ARM_LIB_HEAP definition in ARM linker scripts
2020-03-05 16:35:40 +01:00
jeromecoutant
0871db277b
STM32F7: allow multiple SetSysClock call
2020-03-05 16:34:56 +01:00
Martin Kojtal
22f3bc4ae7
Merge pull request #12436 from mprse/fpga_remove_gpio_pinmaps
...
Remove GPIO pin-maps used for FPGA testing
2020-03-04 13:24:05 +00:00
Martin Kojtal
a17866e623
Merge pull request #12559 from jeromecoutant/PR_DISCO_L4R9
...
DISCO_L4R9I correct LED pins
2020-03-04 07:48:32 +00:00
Martin Kojtal
b3583f04cf
Merge pull request #12464 from jeromecoutant/PR_ETHERNET
...
STM32 EMAC : add configuration choice and connection check
2020-03-03 16:04:18 +00:00
Martin Kojtal
4f07086d85
Merge pull request #12557 from OpenNuvoton/nuvoton_m487_wdt_reset_powerdown
...
M487: Fix crash on WDT reset from power-down
2020-03-03 14:24:25 +00:00
jeromecoutant
3e30033822
DISCO_L4R9I correct LED pins
2020-03-03 13:36:57 +01:00
Martin Kojtal
bad9c57085
Merge pull request #12460 from mprse/spi_init_nc_fix
...
Allow MISO/MOSI set to NC during SPI initialisation (fix for issue #12435 )
2020-03-03 09:56:47 +00:00
Evelyne Donnaes
5016fa1a10
Merge branch 'master' into minimal_printf_default
2020-03-02 17:31:37 +00:00
jeromecoutant
1b40076376
STM32 EMAC : more configurable
...
- PHY default configuration can be changed
- AutoNegotiation
- Speed
- DuplexMode
- PHY register offset can be updated depending on chosen PHY
All unused parameters are cleaned.
2020-03-02 16:19:26 +01:00
amq
0fdb9f237a
EFM32: fix minor emlib changelog typos
2020-03-02 14:00:40 +01:00
amq
6f7b242ff5
EFM32: update emlib for EFR32MG12
2020-03-02 13:32:41 +01:00
amq
4c375046bc
EFM32: update emlib for EFR32MG1
2020-03-02 13:32:41 +01:00
amq
0361bdea3f
EFM32: update emlib for EFM32ZG
2020-03-02 13:32:41 +01:00
amq
c68bcf806e
EFM32: update emlib for EFM32WG
2020-03-02 13:32:40 +01:00
amq
4c230763db
EFM32: update emlib for EFM32PG
2020-03-02 13:32:40 +01:00
amq
012682a244
EFM32: update emlib for EFM32LG
2020-03-02 13:32:40 +01:00
amq
b3f13b8d4a
EFM32: update emlib for EFM32HG
2020-03-02 13:32:39 +01:00
amq
39d5c86829
EFM32: update emlib for EFM32PG12
2020-02-27 22:32:39 +01:00
amq
5dfea97afc
EFM32: update emlib for EFM32GG11
2020-02-27 22:31:57 +01:00
amq
a1a55d8c5c
EFM32: update emlib for EFM32GG
2020-02-27 22:31:16 +01:00
amq
b81d585404
EFM32: update emlib src and inc
2020-02-27 22:16:06 +01:00
amq
9399887686
EFM32: update emlib changelog
2020-02-27 22:15:44 +01:00
Dustin Crossman
c7ec670886
Remove reset reason from Future Sequana targets.
2020-02-27 09:59:43 -08:00
Martin Kojtal
fc5f3259de
Merge pull request #12458 from GaborAbonyi/add_musca_b1_platform
...
Add Musca B1 target
2020-02-27 13:53:58 +00:00
Martin Kojtal
2d93a4578d
Merge pull request #12451 from jeromecoutant/PR_QSPI_TRACE
...
STM32 : enable MBED trace for QSPI
2020-02-27 10:02:46 +00:00
Chun-Chieh Li
cbf1a8a6fd
M487: Get around h/w issue with reset from power-down mode
...
When UART interrupt enabled and WDT reset from power-down mode, in the next
cycle, UART interrupt keeps breaking in and cannot block unless via NVIC. To
get around it, we deliberately make up a signal of WDT wake-up from power-down
mode in the start of boot proces when WDT reset is detected.
2020-02-27 17:46:19 +08:00
Chun-Chieh Li
55f88a0942
M487: Re-implement Reset_Handler() in naked inline assembly
...
This is to guarantee SRAM bank2, not initialized yet, isn't used for stack by function preamble code at the very start.
2020-02-27 17:38:53 +08:00
Martin Kojtal
5c16018c96
Merge pull request #12509 from SiliconLabs/bugfix/rtcc_lpticker_coexistence
...
EFM32: RTCC bugfix for #12374
2020-02-27 07:21:14 +00:00
Martin Kojtal
98db25537a
Merge pull request #12440 from dustin-crossman/pr/reset_reason
...
Implement reset_reason api for cypress targets
2020-02-25 15:24:54 +00:00
Steven Cooreman
9bc59fe2d7
Bugfix for #12374
...
Use an RTCC retention register to keep track of user timebase for RTC API. RTC and LP Ticker implementations use the same counter, but they shouldn't share timebases.
2020-02-25 11:44:12 +01:00
Martin Kojtal
1629103fb1
Merge pull request #12421 from dustin-crossman/pr/cy_targets_reorganization
...
Cypress Targets Reorganization
2020-02-24 16:25:08 +00:00
Przemyslaw Stekiel
32311b7ca5
i2c_api.c: fix style
2020-02-24 14:59:07 +01:00
Przemyslaw Stekiel
e18a800e7c
NRF52840 I2C driver: Initialise I2C pins before transmission
...
By default D0 - D3 pins are used for the bit-banged SPI com channel between mbed target and the FPGA-test-shield.
For some reason, if pins were used as GPIOs and then reconfigured to I2C pins the I2C com does not work on NRF52840.
This commit modifies i2c_configure_twi_instance() function and adds proper initialization of the I2C pins.
2020-02-24 14:59:06 +01:00
Przemyslaw Stekiel
2b52c5861a
K64F: remove PTD3 pin from I2C SDA pinmap - fails FPGA test
2020-02-24 14:58:51 +01:00
Przemyslaw Stekiel
d36f2aacb2
KW24D, KW41Z: Remove GPIO pin-maps (use restricted GPIO pins if needed)
2020-02-24 14:56:54 +01:00
Martin Kojtal
119931e56d
Merge pull request #12478 from OpenNuvoton/nuvoton_m2351_minor
...
M2351: Fix some minor issues
2020-02-24 12:51:52 +00:00
Martin Kojtal
f47e569da5
Merge pull request #12496 from amq/efm32_fix_pinmap_test
...
EFM32: fix mbed_hal-pinmap test
2020-02-24 11:58:06 +00:00
Martin Kojtal
ec2da1ae54
Merge pull request #12492 from miteshdedhia7/pr/psoc6cm0p-update-1.1.1
...
Update psoc6cm0p asset to version 1.1.1.
2020-02-24 11:27:18 +00:00
amq
ca9424f6ba
EFM32: fix mbed_hal-pinmap test
2020-02-24 11:25:01 +01:00
Martin Kojtal
dc733d8883
Merge pull request #12477 from fkjagodzinski/hal-gpio-get_capabilities
...
HAL: Add a get_capabilities() function to GPIO API
2020-02-24 07:47:39 +00:00
midd
6baafdaf81
Update psoc6cm0p asset to version 1.1.1. This version is built with PSoC 6 Peripheral Driver Library (PDL) 1.4.1
2020-02-21 10:52:33 -08:00
Dustin Crossman
404dacc9ea
Implemented reset reason api.
2020-02-21 09:48:26 -08:00
Tamas Kaman
551c3c553c
Add ARM_MUSCA_B1 as a new target platform
...
Musca-B1 is a Cortex-M33 based target with security extension enabled.
- ARM_MUSCA_B1 is the non-secure target running mbed-os.
- ARM_MUSCA_B1_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_B1 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.
Change-Id: I4b36290941b5f0bb7aa7c12dda2f38b5c1e39ae2
Signed-off-by: Tamas Kaman <tamas.kaman@arm.com>
Signed-off-by: Gabor Abonyi <gabor.abonyi@arm.com>
2020-02-21 14:34:39 +01:00
Martin Kojtal
8f1bf967d3
Merge pull request #11942 from michalpasztamobica/remove_deprecated_apis
...
IPCore String-based API removal
2020-02-21 12:14:06 +00:00
Martin Kojtal
72b2fcf29a
Merge pull request #12384 from jeromecoutant/PR_WBDEBUG
...
STM32WB : update BLE part with better support
2020-02-21 12:12:42 +00:00
Martin Kojtal
685e0be935
Merge pull request #12473 from amock/fix-MCUXpresso-dac
...
Fix Freescale MCUXpresso AnalogOut
2020-02-20 15:18:14 +00:00
Martin Kojtal
3662759a0e
Merge pull request #12438 from hugueskamba/hk-fix-baremetal-cy9cproto
...
Fix CY8CPROTO_062_4343W baremetal build
2020-02-20 12:50:29 +00:00
jeromecoutant
9977ace2c9
STM32 : enable MBED trace for QSPI
2020-02-20 12:20:24 +01:00
jeromecoutant
a1570f936f
STM32WB : Add ReadMe file
...
Help on FW update procedure
2020-02-20 09:20:44 +01:00
jeromecoutant
9d016022b6
STM32WB clean SetSysClock
2020-02-20 09:20:44 +01:00
jeromecoutant
ebae0e56d4
STM32WB align deepsleep functions with CubeFW
2020-02-20 09:20:43 +01:00
Alan Mock
b3c0ef81dc
The DAC init was using the ADC pinmap. This fixes that.
2020-02-19 22:33:07 -08:00
Filip Jagodzinski
09ecd2fdc0
Nuvoton: Add gpio_get_capabilities()
...
TARGET_NANO100, TARGET_NUC472 & TARGET_M451 do not support input pull
mode configuration.
2020-02-19 18:58:47 +01:00
Filip Jagodzinski
1b894aa67a
K64F: Add gpio_get_capabilities()
...
Remove the gpio_pinmap() for this target. GPIO tests are skipped based
on pin's capabilities.
2020-02-19 18:58:47 +01:00
Bartek Szatkowski
30c947efbb
Enable minimal-printf by default for all builds
...
Also reenable floating point by default.
2020-02-19 15:29:38 +00:00
Martin Kojtal
043f68b9a7
Merge pull request #12454 from OpenNuvoton/nuvoton_spi_no_miso
...
Nuvoton: Optimize spi_master_write(...) in case of no SPI MISO pin
2020-02-19 14:33:42 +00:00
Martin Kojtal
1f8778b15b
Merge pull request #12449 from eavelardev/patch-2
...
Add missing pins def for ARDUINO_NANO33BLE
2020-02-19 14:32:51 +00:00
Martin Kojtal
1c00adc6ba
Merge pull request #12447 from eavelardev/patch-1
...
fix targets device_name with nrf51822 32K SoC
2020-02-19 14:32:06 +00:00
Martin Kojtal
664000ac82
Merge pull request #12431 from the-real-blackh/master
...
Nordic NRF52 GPIO API: Fix non-deterministic failure to configure interrupt handling
2020-02-19 12:54:58 +00:00
Martin Kojtal
9f5ced30dc
Merge pull request #12415 from jeromecoutant/PR_H7README
...
STM32H7 : add readme file for dual core use
2020-02-19 12:52:10 +00:00
Przemyslaw Stekiel
713be4fd77
STM pin_function(), pin_mode(): return immediately when given pin is NC
...
Additionally, remove redundant pin checks against NC when above functions are used.
2020-02-19 11:46:59 +01:00
Przemyslaw Stekiel
5aaf3b7479
K64F, LPC SPI driver: Fix style
2020-02-19 11:46:57 +01:00
Chun-Chieh Li
34d3d43f0d
M2351: Fix NSC_Init(...)
...
Actually, NSC_Init(...) is not used by secure code currently. No need to rebuild secoure image/lib.
2020-02-19 17:59:49 +08:00
Chun-Chieh Li
7328467012
M2351: Fix interrupt vector with BSP update
2020-02-19 17:57:01 +08:00
Chun-Chieh Li
d5620b66a7
M2351: Fix RTC comment
2020-02-19 17:51:49 +08:00
Przemyslaw Stekiel
c6a6984ab8
Allow NC for MISO or MOSI while initializing SPI
...
Static pinmap extension required to use pin_function() and pin_mode() functions instead of pinmap_pinout(). Unfortunatelly pin_function() does not allow passing NC pin.
Call pin_function() and pin_mode() only if MISO/MOSI pin is not NC.
2020-02-18 13:38:43 +01:00
jeromecoutant
065a79e48a
STM32H7: add README file for dual core use
2020-02-17 16:21:20 +01:00
Eduardo Avelar
5984f02203
Add missing pins def for ARDUINO_NANO33BLE
...
We add pins def for the sense version of the board.
https://content.arduino.cc/assets/Pinout-NANOsense_latest.pdf
https://content.arduino.cc/assets/NANO33BLE_V2.0_sch.pdf
2020-02-17 01:01:33 -08:00
Chun-Chieh Li
8df96ec50a
Nuvoton: Make SPI inter-frame (delay match configured suspend interval
...
In no MISO case, skip SPI read so that no more write/read delay contribute to SPI inter-frame delay when data is written successively.
Update targets:
- NUMAKER_PFM_NANO130
- NUMAKER_PFM_NUC472
- NUMAKER_PFM_M453
- NUMAKER_PFM_M487/NUMAKER_IOT_M487
- NU_PFM_M2351_*
- NUMAKER_IOT_M263A
- NUMAKER_M252KG
2020-02-17 15:00:09 +08:00
Eduardo Avelar
77852199cf
fix targets device_name with nrf51822 32K SoC
...
nrf51822 32K SoC corresponds to device name nRF51822_xxAC
2020-02-16 20:24:07 -08:00
Hugues Kamba
18193abdb5
Fix CY8CPROTO_062_4343W baremetal build
...
Make a Mbed library with Cypress WHD files so it is automatically excluded
when building with the bare metal profile. Create another Mbed library to
group network files that use WHD so they can also be excluded fro the bare
metal profile.
2020-02-16 13:02:36 +00:00
jeromecoutant
d66b39de18
STM32L5 : Add DISCO-L562E support
2020-02-14 17:49:40 +01:00
jeromecoutant
f0969022b8
STM32L5 : add QSPI support
2020-02-14 17:49:33 +01:00
Martin Kojtal
a8188bfd4d
Merge pull request #12166 from hugueskamba/hk-baremetal-NRF52840_DK-fix
...
NRF52840_DK: Fix baremetal linker error
2020-02-14 08:21:27 +00:00
Stephen Blackheath
e9dd6020b5
Nordic NRF52 GPIO API: Fix failure to clear the field 'skip_gpio_setup' in a local
...
gpiote input configuration data structure, resulting in non-deterministic failure
to initialize interrupt handling.
2020-02-14 10:08:23 +13:00
Martin Kojtal
7e1443ad47
Merge pull request #12424 from OpenNuvoton/nuvoton_gpio-irq_rtc-lxt
...
Nuvoton: Fix GPIO IRQ and RTC
2020-02-13 15:56:33 +00:00
Martin Kojtal
7383860c57
Merge pull request #12422 from dustin-crossman/pr/cy_asset_update_2-7-20
...
Cypress Asset Update
2020-02-13 10:11:28 +00:00
Martin Kojtal
d78e009284
Merge pull request #12411 from soleilplanet/L496AG_port
...
add FLASHIAP in targets.json for KVStore used in PDMC
2020-02-13 09:47:38 +00:00
Martin Kojtal
7658681a9e
Merge pull request #12409 from LMESTM/Fix_lpuart_deep_sleep
...
FIX: LPUART clock source selection should be left to serial driver
2020-02-13 09:45:41 +00:00
Martin Kojtal
ffbd8b1994
Merge pull request #12408 from fkjagodzinski/fix-lpc408x_ethernet_api
...
LPC408X: Delete the ethernet_api.c files
2020-02-13 09:45:26 +00:00
Martin Kojtal
df6d0729b1
Merge pull request #12407 from mprse/NRF_restricyed_uart_fix
...
Disable restricted uart peripheral for NRF52840
2020-02-13 09:45:16 +00:00
Chun-Chieh Li
769781cfb3
M2351: Update PSA secure image/lib with RTC LXT
2020-02-13 11:24:02 +08:00
Chun-Chieh Li
4c9e0f1fcd
M2351: Update non-PSA secure image/lib with RTC LXT
2020-02-13 11:24:02 +08:00
Chun-Chieh Li
9f9ca0acaa
M2351: Fix CRYPTO_MODBASE() when crypto module is configured to secure
...
This bug results from BSP update:
- CRPT: Base address of secure or non-secure crypto module, dependent on partition
- CRPT_S: Base address of secure crypto module
- CRPT_NS: Base address of non-secured crypto module
2020-02-13 11:24:02 +08:00
Chun-Chieh Li
834e1aad60
M2351: Fix delay code with RTC clock source
...
Explicitly configure RTC clock source to LXT
2020-02-13 11:24:02 +08:00
Chun-Chieh Li
28495bb075
M2351: Refine gpio_irq_set(...) with inconsistent GPIO_EnableInt(...) implementations
...
No logic change
2020-02-13 11:24:02 +08:00
Chun-Chieh Li
582c08c129
M2351: Refine code layout of PeripheralPins.c
...
No logic change
2020-02-13 11:24:01 +08:00
Chun-Chieh Li
4a1d612e90
Nuvoton: Fix delay code with RTC clock source
...
Explicitly configure RTC clock source to LXT
Update targets:
- NUMAKER_PFM_NANO130
- NUMAKER_PFM_NUC472
- NUMAKER_PFM_M453
- NUMAKER_PFM_M487/NUMAKER_IOT_M487
- NUMAKER_M252KG
- NUMAKER_IOT_M263A
2020-02-13 11:24:01 +08:00
Chun-Chieh Li
86fcae5b03
Nuvoton: Fix GPIO rising/falling edge interrupts cannot exist simultaneously
...
This is to pass mbed_hal_fpga_ci_test_shield-gpio_irq test.
Update targets:
- NUMAKER_PFM_NANO130
- NUMAKER_PFM_NUC472
- NUMAKER_PFM_M453
- NUMAKER_PFM_M487/NUMAKER_IOT_M487
- NUMAKER_M252KG
- NUMAKER_IOT_M263A
2020-02-13 11:24:01 +08:00
Dustin Crossman
563edb294d
Store RTC century and RTC state information in persistent BREG register.
2020-02-12 15:05:26 -08:00
Dustin Crossman
3fdb820b26
Update psoc6hal to 1.1.1.11145.
2020-02-12 15:05:16 -08:00
Dustin Crossman
a8331c28ce
Update psoc6 core_lib to version 1.1.1.11109.
2020-02-12 15:05:05 -08:00
Dustin Crossman
5bd02f866e
Update psoc6pdl to version 1.4.1.2240
2020-02-12 15:04:46 -08:00
Alvin Lee
66413d4d4e
add FLASHIAP in targets.json for KVStore used in PDMC
2020-02-12 15:11:28 +08:00
Laurent Meunier
3fd071404e
FIX: LPUART clock source selection should be left to serial driver
...
The clock source selection of LPUART depends on System clocks but also on
the serial baudrate. There is a specific computation done in serial driver
targets/target_STM/serial_api.c
At first start-up the LPUART1 clock selected in SetSysClock was anyway
overridden by the serial driver, so this was of no effect. But in case
of deep sleep SetSysClock is called again, while the driver isn't, so
SetSyClock was corrupting the serial clock configuration.
So let's remove these few lines of code which are causing trouble.
2020-02-11 17:14:45 +01:00
Martin Kojtal
8e522056a0
Merge pull request #12404 from OpenNuvoton/nuvoton_m2351_bsp
...
M2351: Update BSP and bugfix
2020-02-11 15:43:10 +00:00
Filip Jagodzinski
fc36b9594c
LPC408X: Delete the ethernet_api.c files
...
Remove an obsolete HAL implementation from LPC408X to fix the GCC_ARM
build with the "-flto" flag.
With the lto enabled, unreferenced buffers defined in ethernet_api.c
were not excluded at link time overflowing the 16kB peripheral SRAM1
(ld error: "section '.AHBSRAM1' will not fit in region 'ETH_RAM'").
The Ethernet HAL API is deprecated in favor of EMAC.
2020-02-11 16:34:44 +01:00
Przemyslaw Stekiel
d541b461c9
Disable restricted uart peripheral for NRF52840
...
While testing it has been found that all tests are skipped in the FPGA uart test on the NRF52840 target.
This is caused by the following change:
https://github.com/ARMmbed/mbed-os/pull/12379 - Add STDIO UART as restricted for FPGA testing for all targets
NRF targets have MUXed pins and mainly do not provide pin-maps. There are only dummy pin-maps for testing.
These pin-maps hold only pins and do not specify the peripheral or function of the pin (always 0). Because of that if we restrict STDIO uart peripheral (0) all FPGA uart test cases will be skipped.
To fix this we will remove this restriction for NRF52840. Restriction for testing the USBTX, USBRX pins is sufficient in this case.
2020-02-11 15:24:17 +01:00
Martin Kojtal
c1eaf2c358
Merge pull request #12380 from mprse/DISCO_L475VG_IOT01A_add_gpio_pinmap
...
DISCO_L475VG_IOT01A: Add a list of restricted GPIO pins for testing
2020-02-11 11:58:53 +00:00
Martin Kojtal
a745525a54
Merge pull request #12342 from fkjagodzinski/fix-nxp-hal_fpga
...
LPC55S69: Fix UART & GPIO HAL to pass FPGA CI test shield tests
2020-02-11 11:03:22 +00:00
Martin Kojtal
d3078a39b1
Merge pull request #12379 from mprse/STDIO_UART_restricted_all
...
Add STDIO UART as restricted for FPGA testing for all targets and support for restricting GPIO
2020-02-11 10:20:25 +00:00
Martin Kojtal
4ec6228e70
Merge pull request #12393 from GaborAbonyi/musca_a1_linker_fix
...
Fix Musca-A1 gcc linker
2020-02-11 08:31:39 +00:00
Dustin Crossman
286af23585
Removed unnecessary PSOC6Code.complete post binary hook from cypress targets.
2020-02-10 14:08:01 -08:00
Dustin Crossman
d35c9f1895
Removed CY8CMODs from targets.json.
2020-02-10 20:16:35 +00:00
Dustin Crossman
84c9303ea0
Remove CY8CMOD_062S3_4343W and merge into CY8CPROTO_062S3_4343W.
2020-02-10 12:04:59 -08:00
Dustin Crossman
0f0c79d2ed
Remove CY8CMOD_062S2_43012 and merge into CY8CKIT_062S2_43012.
2020-02-10 12:03:13 -08:00
Dustin Crossman
f4731715df
Remove CY8CMOD_062_4343W and merge into CY8CPROTO_062_4343W.
2020-02-10 12:01:51 -08:00
Hugues Kamba
65fbee1d33
NRF52840_DK: Fix baremetal linker error
...
Compile in the inclusion of cryptocell310 only if the library is included
in the build
2020-02-10 15:18:46 +00:00
Martin Kojtal
a8e87236de
Merge pull request #12368 from mprse/NRF_Serial_Fpga_fix
...
Fix NRF52840_DK UART driver and adapt FPGA test
2020-02-10 14:26:31 +00:00
Martin Kojtal
88438dfd6c
Merge pull request #12394 from miteshdedhia7/pr/bug-fix-misc
...
Fix SDIO communication issue on Cypress 1M boards and other minor fixes
2020-02-10 14:05:11 +00:00
Martin Kojtal
7fd5119b89
Merge pull request #12341 from fkjagodzinski/fix-stm-hal_fpga
...
STM32L4: Fix the UART RX & TX data reg bitmasks
2020-02-10 13:21:31 +00:00
Chun-Chieh Li
3d9c7b2519
M2351: Update PSA secure image/lib with BSP update
2020-02-10 18:37:30 +08:00
Chun-Chieh Li
ee8236b22e
M2351: Update non-PSA secure image/lib with BSP update
2020-02-10 17:50:15 +08:00
Chun-Chieh Li
6f793fbb5a
M2351: Fix GPIO rising/falling edge interrupts cannot exist simultaneously
2020-02-10 17:44:55 +08:00
Chun-Chieh Li
a2c9ae6b7d
M2351: Update BSP and bugfix
...
Align with mainline BSP and fix relevant bugs:
1. Align with SPI module naming
(1) Remove SPI5
(2) Degrade QSPI0 to SPI4 so that it can use for standard SPI
2. Fix some code lacking GPIO H
3. Implement __PC(...) by following BSP instead of with MBED_CALLER_ADDR()
4. Add SCU_IRQHandler(). Change printf(...) with interrupt-safe error(...)
5. Other minor alignment change
2020-02-10 16:23:32 +08:00
Chun-Chieh Li
82770d7e2b
M2351: Refine PeripheralNames.h
...
No logic change and bugfix
2020-02-10 09:07:13 +08:00
midd
df5ac6483b
Added a multiplied by 2 in the SDIO clock divider calculation to account for internal UDB divider.
...
Note: Fixes issues with intermittent WiFi firmware load failures on CY8CKIT_062_WIFI_BT, CYW943012P6EVB_01, CYW9P62S1_43012EVB_01, CYW9P62S1_43438EVB_01.
2020-02-07 10:25:24 -08:00
midd
8a986f7dcc
Remove wounding for the hardware CRYPTO block. The PSoC 6 MPN CYW9P62S1_43012EVB_01 was revised to add the hardware crypto block.
2020-02-07 10:24:57 -08:00
jeromecoutant
2368a07244
STM32: Fix the UART RX & TX data reg bitmasks
2020-02-07 16:23:50 +00:00
thegecko
ff1fc2cd87
Updated 113 targets with missing detect_codes
2020-02-07 16:02:05 +00:00
Gabor Abonyi
a5a6912b0e
Fix Musca-A1 gcc linker
...
Was broken since 3e3af70afc
Signed-off-by: Gabor Abonyi <gabor.abonyi@arm.com>
2020-02-07 16:33:32 +01:00
Przemyslaw Stekiel
a0ff95bed5
LPC55S69: Add restricted GPIO pins for FPGA testing
2020-02-07 13:32:32 +01:00
Filip Jagodzinski
83b7b6d142
LPC55S69: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2020-02-07 13:32:32 +01:00
Martin Kojtal
d847f9f164
Merge pull request #12305 from kivaisan/remove_multi_athandler_support_v2
...
Cellular: Remove support for multiple ATHandlers
2020-02-07 11:00:41 +00:00
Przemyslaw Stekiel
3a71f86235
DISCO_L475VG_IOT01A: Add a list of restricted GPIO pins for testing
2020-02-07 11:41:32 +01:00
Przemyslaw Stekiel
a4e1354769
Remove pinmap_restricted_peripherals() function from Nuvoton (STDIO uart is restricted by default)
2020-02-07 10:45:02 +01:00
Martin Kojtal
2719090f93
Merge pull request #12364 from NXPmicro/MXRT1050_Deep_Sleep_Latency
...
MIMXRT1050: Update for deep sleep latency
2020-02-07 09:39:11 +00:00
Filip Jagodzinski
ae635d5cd4
STM32L4: Fix the UART RX & TX data reg bitmasks
...
The existing logic was insufficient to properly handle odd and even
parity setting, e.g. serial_getc() returned 9-bit data for 8O1
transmission format.
2020-02-06 14:07:51 +01:00
Przemyslaw Stekiel
8fda5a453a
Use dedicated macros to skip test cases instead target macro.
2020-02-06 12:53:41 +01:00
Michal Paszta
2cb2c41ba2
Rebuilt wiced libs to remove the deprecated API dependencies.
2020-02-06 11:27:52 +02:00
Martin Kojtal
9017957638
Merge pull request #12377 from miteshdedhia7/pr/psoc6cm0p-update-1.1.0
...
Update psoc6cm0p asset to 1.1.0
2020-02-06 09:05:10 +00:00
Martin Kojtal
9e0642d518
Merge pull request #12359 from NXPmicro/MXRT1050_Bootloader_Support
...
MXRT1050: Add bootloader support
2020-02-06 08:10:45 +00:00
midd
3dbfed058e
Update psoc6cm0p asset to 1.1.0
2020-02-05 12:40:17 -08:00
Mahesh Mahadevan
8b46e91a28
MIMXRT1050: Update for deep sleep latency
...
1. Do not disable and enable osillators during deep sleep
entry and exit
2. Increase the deep sleep to pass tests
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-02-05 10:38:53 -06:00
Martin Kojtal
32675cc6ac
Merge pull request #11874 from fkjagodzinski/armc6_build-enable_lto_for_release
...
ARMC6: Add a build profile extension with the link-time optimizer enabled
2020-02-05 14:42:16 +00:00
Martin Kojtal
a039979851
Merge pull request #12370 from 0xc0170/MarceloSalazar-FIX_OKDO_ODIN_12361
...
OKDO_ODIN_W2: Reenable lp-ticker and BLE
2020-02-05 14:08:59 +00:00
Martin Kojtal
e3ad1cae55
Merge pull request #12334 from AriParkkila/cell-c030-r412m
...
Update cellular drivers/tests for UBLOX_C030_R412M
2020-02-05 12:50:11 +00:00
Martin Kojtal
edb39c603c
Merge pull request #12366 from OpenNuvoton/nuvoton_m2351_gcc
...
M2351: Support GCC
2020-02-05 12:48:03 +00:00
Marcelo Salazar
b2ac793775
OKDO_ODIN_W2: Reenable lp-ticker and BLE
2020-02-05 12:36:04 +00:00
Martin Kojtal
b140fd0766
Merge pull request #12369 from hugueskamba/hk-fixlpc1768-baremetal
...
LPC1768: Fix ARM toolchain baremetal by defining 2 memory region
2020-02-05 11:26:57 +00:00
Martin Kojtal
841b846b46
Merge pull request #12362 from ABOSTM/L0_CUBE_HAL_REWORK_NO_MORE_OVERRUN
...
TARGET_STM: L0 CUBE SPI async mode send next byte after previous one is read
2020-02-05 10:17:13 +00:00
Hugues Kamba
193e49c6b7
LPC1768: Fix ARM toolchain baremetal by defining 2 memory region
...
The changes are based on the scatter file in TOOLCHAIN_ARM_MICRO
2020-02-05 08:50:11 +00:00
Przemyslaw Stekiel
6a9b4bb64f
TARGET_NRF52/serial_api.c: Fix style
2020-02-05 08:47:09 +01:00
Przemyslaw Stekiel
fbe8a8e327
NRF52 serial: Trigger TxIrq interrupt manually on enabling
...
It is required by Mbed HAL API to generate TxIrq interrupt when TXD register is empty (also after enabling TxIrq interrupt):
f73a62afbf/hal/serial_api.h (L144-L147)
The driver uses DMA to perform uart transfer and TxIrq is generated after the transfer is finished.
While enabling TxIrq we will check if TXD reg is empty and manually trigger the interrupt.
2020-02-05 08:47:09 +01:00
Chun-Chieh Li
9faa236dfc
M2351: Refactor startup file
...
1. Re-organize to make clear for all targets/toolchains support in single startup file
2. Inline assembly syntax is limited, esp. on IAR. Try paving the way for accessing external symbols still in inline assembly instead of re-write in assembly.
2020-02-05 10:14:26 +08:00
Chun-Chieh Li
c168e147d6
M2351: Support GCC
...
1. Enable GCC support on non-secure targets
2. Disable GCC support on secure targets becasue of GCC bug (as of 9-2019-q4-major): In non-secure entry function, callee-saved registers must be restored, but they are incorrectly cleared at optimization level "Os".
2020-02-05 10:11:48 +08:00
Mahesh Mahadevan
013b651988
MXRT1050: Add bootloader support
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-02-04 10:37:06 -06:00
Martin Kojtal
b33573ed27
Merge pull request #12317 from NXPmicro/MXRT_FlashSupport
...
MXRT1050 Flash support
2020-02-04 15:25:22 +00:00
Martin Kojtal
cee2a352a7
Merge pull request #12357 from ABOSTM/F103_ADC3_NOT_SUPPORTING_COMMON_SETTINGS
...
TARGET_STM32F1: don't set ADC common register when ADC doesn't support it
2020-02-04 15:24:51 +00:00
Alexandre Bourdiol
315220832f
TARGET_STM: L0 CUBE SPI async mode send next byte after previous one read
...
In STM32 Cube HAL, in interrupt mode (async),
2 bytes can be prepared in hardware registers without any read
(1 in regular register, the other in shift register),
but Only 1 RX byte can stored in hardware register, specially when there is no hardware FIFO.
If interrupt handling is fast enough, each read is made in parralele of the write.
But if interrupt handling is too long or is interrupted for too long,
it can happen that one read byte is lost (overrun).
For STM32F4, Tickless has been deactivated to avoid such issue.
For STM32L0, we don't want to deactivate tickless,
because those chips are specially design for lowpower.
So instead of removing SPI async mode,
we propose to change the HAL behavior specially for L0:
each byte is send only when previous read is performed.
Thus only 1 RX byte at a time which is saved in hardware register.
This prevent overrun, but it introduceS some latency between each byte send,
this is why it is not applied to all STM32 families.
2020-02-04 13:26:49 +01:00
Maciej Bocianski
e3b8514a91
NUMAKER_IOT_M487: keep __vector_handlers symbols in LTO builds
...
Add a "used" attribute to __vector_handlers to fix ARMC6 build with
the "-flto" flag.
(Error: L6236E: No section matches selector - no section to be FIRST/LAST. )
This attribute, attached to a function/variable, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:38:37 +01:00
Maciej Bocianski
6d896f032f
NU_PFM_M2351_NPSA: keep __vector_handlers symbol in LTO builds
...
Add a "used" attribute to __vector_handlers to fix ARMC6 build with
the "-flto" flag.
(Error: L6236E: No section matches selector - no section to be FIRST/LAST.)
This attribute, attached to a function/variable, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:38:26 +01:00
Maciej Bocianski
50c3b100a8
NUMAKER_PFM_NUC472: keep __vector_handlers symbol in LTO builds
...
Add a "used" attribute to __vector_handlers to fix ARMC6 build with
the "-flto" flag.
(Error: L6236E: No section matches selector - no section to be FIRST/LAST.)
This attribute, attached to a function/variable, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:30:00 +01:00
Maciej Bocianski
ad7f27bf77
NUMAKER_PFM_NANO130: keep __vector_handlers symbol in LTO builds
...
Add a "used" attribute to __vector_handlers to fix ARMC6 build with
the "-flto" flag.
(Error: L6236E: No section matches selector - no section to be FIRST/LAST.)
This attribute, attached to a function/variable, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:29:59 +01:00
Maciej Bocianski
ddd2cf8920
NUMAKER_PFM_M453: keep __vector_handlers symbol in LTO builds
...
Add a "used" attribute to __vector_handlers to fix ARMC6 build with
the "-flto" flag.
(Error: L6236E: No section matches selector - no section to be FIRST/LAST.)
This attribute, attached to a function/variable, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:29:59 +01:00
Maciej Bocianski
f0dc4abb3f
NUMAKER_M252KG: keep __vector_handlers symbol in LTO builds
...
Add a "used" attribute to __vector_handlers to fix ARMC6 build with
the "-flto" flag.
(Error: L6236E: No section matches selector - no section to be FIRST/LAST. )
This attribute, attached to a function/variable, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:29:58 +01:00
Maciej Bocianski
9aade4a816
NUMAKER_IOT_M263A: keep __vector_handlers symbol in LTO builds
...
Add a "used" attribute to __vector_handlers to fix ARMC6 build with
the "-flto" flag.
(Error: L6236E: No section matches selector - no section to be FIRST/LAST. )
This attribute, attached to a function/variable, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:29:57 +01:00
Maciej Bocianski
ec839f0931
MSP432_LAUNCHPAD: keep interruptVectors symbol in LTO builds
...
Add a "used" attribute to interruptVectors to fix ARMC6 build with
the "-flto" flag.
(Error: L6236E: No section matches selector - no section to be FIRST/LAST. )
This attribute, attached to a function/variable, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:29:57 +01:00
Maciej Bocianski
5fdacc4fb3
MIMXRT1050_EVt: keep hyperflash_config/image_vector_table symbols in LTO builds
...
Add a "used" attribute to hyperflash_config/image_vector_table to fix ARMC6 build with
the "-flto" flag.
(Error: L6236E: No section matches selector - no section to be FIRST/LAST. )
This attribute, attached to a function/variable, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:29:56 +01:00
Maciej Bocianski
cf1e1ddd4b
EV_COG_AD4050LZ: keep IVT_NAME/blank_checksum symbols in LTO builds
...
Add a "used" attribute to IVT_NAME/blank_checksum
to fix ARMC6 build with the "-flto" flag. (Error: L6236E: No section matches
selector - no section to be FIRST/LAST. )
This attribute, attached to a function, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:29:55 +01:00
Maciej Bocianski
12261edd2b
EV_COG_AD3029LZ: keep IVT_NAME/blank_checksum symbols in LTO builds
...
Add a "used" attribute to IVT_NAME/blank_checksum
to fix ARMC6 build with the "-flto" flag. (Error: L6236E: No section matches
selector - no section to be FIRST/LAST. )
This attribute, attached to a function, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:29:55 +01:00
Maciej Bocianski
a761ec57fd
CC3220SF_LAUNCHXL: keep ulDebugHeader symbol in LTO builds
...
Add a "used" attribute to ulDebugHeader (placed in signature_section section)
to fix ARMC6 build with the "-flto" flag. (Error: L6236E: No section matches
selector - no section to be FIRST/LAST. )
This attribute, attached to a function, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:29:54 +01:00
Maciej Bocianski
8db3b40a7b
STM: change rtc irq handler name
...
Fix for the error caused by lto on armc6 compiler:
L6137E: Symbol RTC_IRQHandler was not preserved by the LTO codegen but is needed by the image.
lto optimization cause that local symbol RTC_IRQHandler(from rtc_api.c)
somehow interferes with global symbol RTC_IRQHandler (from startup_stm32f070xb.S)
Changing local RTC_IRQHandler to _RTC_IRQHandler fixes problem
2020-02-04 12:29:52 +01:00
Filip Jagodzinski
28b1169b7e
NUVOTON: Fix undefined reference to Reset_Handler_Cascade
...
Add a "used" attribute to Reset_Handler_Cascade to fix GCC build with
the "-flto" flag.
This attribute, attached to a function, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:29:51 +01:00
Martin Kojtal
f73a62afbf
Merge pull request #12356 from mprse/NRF_gipo_irq_fix
...
Fix NRF51, NRF52 gpio_irq_init() function
2020-02-04 10:09:12 +00:00
Martin Kojtal
c63daa5fb8
Merge pull request #12355 from panmasuo/hani_iot_new_target
...
HANI_IOT: add new target board support
2020-02-04 08:37:12 +00:00
Mahesh Mahadevan
b5eb7bc9a9
MIMXRT1050: Enable FlashIAP support
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-02-03 12:23:59 -06:00
Mahesh Mahadevan
fa3a72e716
MIMXRT1050: Reduce NOR size used by mbed-os
...
Reserve 4MB for mbed-os. The rest is used by storage driver
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-02-03 12:23:59 -06:00
Mahesh Mahadevan
42a90cc8b0
MXRT1050: Add support for Flash driver
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-02-03 12:23:59 -06:00
Martin Kojtal
250e58134f
Merge pull request #12286 from pea-pod/target-nucleo_l452re-p
...
Add new target: NUCLEO_L452RE-P
2020-02-03 16:34:36 +00:00
Martin Kojtal
443802a1a7
Merge pull request #12353 from OpenNuvoton/nuvoton_m2351_iar
...
M2351: Support IAR
2020-02-03 15:13:34 +00:00
Alexandre Bourdiol
03b03feb8d
TARGET_STM32F1: don't set ADC common register when ADC doesn't support it
...
STM32F103ZE: ADC3 doesn't support common settings.
__LL_ADC_COMMON_INSTANCE(ADC3) returns 0
2020-02-03 15:56:49 +01:00
Pawel Zarembski
66d729af9a
hani_iot: add SPDX identifier to all new ARM copyrighted files
2020-02-03 15:54:59 +01:00
Pawel Zarembski
4934e4f248
hani_iot: update licenses dates, remove unnecessary comment
2020-02-03 15:26:59 +01:00
Przemyslaw Stekiel
575f9c2d64
Fix NRF51, NRF52 gpio_irq_init() function
...
Acording to the description in `gpio_irq_hal_api.h` file `gpio_irq_init()` should return 0 on success.
Currently, it returns 1 causing the FPGA test to fail.
2020-02-03 14:23:41 +01:00
Pawel Zarembski
620442305f
hani_iot: add spif storage config
2020-02-03 14:03:09 +01:00
Pawel Zarembski
9ee212a1e7
hani_iot: add target files and update targets.json
2020-02-03 14:03:09 +01:00
Martin Kojtal
0f4a9867be
Merge pull request #12332 from jamesbeyond/analogIn_fix
...
FIX: Disable Analogin D13(PA_5) on some NUCLEO targets
2020-02-03 12:44:07 +00:00
Qinghao Shi
f7d9850fe7
Disable Analogin D13(PA_5) on some NUCLEO targets
...
- pins are connected to the LED, can't be used as analogin
2020-02-03 11:39:31 +00:00
Martin Kojtal
02c5e0806f
Merge pull request #12350 from maciejbocianski/fix_fpga_i2c_test
...
implements i2c_free for STM
2020-02-03 09:56:59 +00:00
Mahesh Mahadevan
e46e48249a
MXRT1050: Update Flexspi driver to move functions to RAM
...
These functions are used to READ/WRITE to the Flexspi NOR
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-02-01 07:59:24 -06:00
Kevin Bracey
236c336526
Merge pull request #12299 from NXPmicro/MXRT_WDOG
...
MIMXRT1050: Add Watchdog support
2020-01-31 16:25:22 +02:00
Maciej Bocianski
0b634e54b4
implement i2c_free for STM family
2020-01-31 14:51:54 +01:00
Maciej Bocianski
95996fb924
disable PA_8 i2c pin on NUCLEO_F411RE
...
pin PA_8 by default is connected to MCO
2020-01-31 14:48:00 +01:00
Kevin Bracey
ba5dd4d8c1
Merge pull request #12153 from mprse/spi_fpga_test_extend
...
Hackathon: Increase coverage of the SPI master FPGA test
2020-01-31 15:00:02 +02:00
Kevin Bracey
44add981ff
Merge pull request #12331 from jeromecoutant/PR_OSPI
...
STM32: enable QSPI test with MX25LM51245G octo SPI
2020-01-30 15:46:52 +02:00
Kevin Bracey
c8d7778235
Merge pull request #12324 from dustin-crossman/pr/fix-cypress-crc-reversal
...
Fix inconsistency between mbed crc and psoc6 crc implementations.
2020-01-30 13:40:25 +02:00
Chun-Chieh Li
94762d02a1
M2351: Support IAR
...
1. Enable IAR on non-secure targets
2. Disable IAR on secure targets because:
(1) IAR toolchain bug: As of IAR 8.32, cmse_nonsecure_caller() is not always inlined.
(2) TFM hasn't supported IAR yet.
2020-01-30 13:12:31 +08:00
Chun-Chieh Li
152f6f1975
M2351: Refine MBED_TZ_DEFAULT_ACCESS placement
...
1. On M2351, SYS/CLK registers are hard-wired to secure. Define MBED_TZ_DEFAULT_ACCESS to 1 so that all non-secure user threads have access to call secure functions to control these registers.
2. MBED_TZ_DEFAULT_ACCESS is only meaningful for non-secure target. Define it only for non-secure target in targets.json.
3. On TFM target, MBED_TZ_DEFAULT_ACCESS has defined in mbed_lib.json. Avoid duplicate definition which IAR assembler doesn't allow.
2020-01-30 13:12:29 +08:00
jeromecoutant
84b48410f0
STM32: enable QSPI test with MX25LM51245G octo SPI
2020-01-29 16:18:38 +01:00
Kevin Bracey
91464b2729
Merge pull request #12306 from jeromecoutant/PR_STM32L5_NUCLEO
...
STM32L5: NUCLEO-L552ZE-Q new target
2020-01-29 16:07:44 +02:00
Ari Parkkila
d6f8fece69
Cellular: Enable IP over PPP on UBLOX_C030_R41XM
2020-01-29 03:03:35 -08:00
pea-pod
f7c4693747
Add new target: NUCLEO_L452RE-P
2020-01-27 18:41:18 -06:00
Anna Bridge
ceaf562a11
Merge pull request #12283 from jeromecoutant/PR_STM32WB
...
STM32WB - Update CubeDriver from v1.0.0 to v1.4.0
2020-01-25 11:54:29 +00:00
Anna Bridge
f45a5a78b5
Merge pull request #12231 from devran01/upd_musca_a
...
Import latest python scripts and MCUBoot image
2020-01-25 11:53:34 +00:00
Dustin Crossman
b204dfd943
Fix inconsistency between mbed crc and psoc6 crc implementations.
2020-01-24 18:23:25 +00:00
Mahesh Mahadevan
72bd899e02
MIMXRT1050: Add Watchdog support
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-01-24 07:24:46 -06:00
Anna Bridge
6e762a2850
Merge pull request #12210 from mprse/disable_lp_ticker_stm_no_lse
...
Fix for issue #10725 : disable lp-ticker for STM targets which uses RTC/LSI for lp-ticker
2020-01-24 11:22:57 +00:00
Anna Bridge
0d48a26f82
Merge pull request #12154 from hugueskamba/hk-baremetal-nrf51822-fix
...
NRF51822: Fix baremetal linker error
2020-01-24 11:21:25 +00:00
jeromecoutant
e4d0629d18
STM32L5 : Introduce NUCLEO_L552ZE_Q board
2020-01-23 17:55:07 +01:00
jeromecoutant
c1386cf52d
STM32L5 : update generic STM files for L5
2020-01-23 17:54:55 +01:00
jeromecoutant
bee5d44a1f
STM32L5: add API L5 family files
2020-01-23 17:54:52 +01:00
jeromecoutant
5d59c99b99
STM32L5: TOOLCHAIN automatic updates
2020-01-23 17:54:41 +01:00
jeromecoutant
77e5bb45b9
STM32L5: STM32Cube_FW_L5_V1.0.0 files
2020-01-23 13:30:31 +01:00
Anna Bridge
d984480f08
Merge pull request #12295 from jeromecoutant/PR_PR_H7_TIM17
...
STM32H7 correct PWMOUT instances
2020-01-23 11:50:44 +00:00
jeromecoutant
25da13bc18
STM32WB remove extra file
2020-01-23 10:53:09 +01:00
Kimmo Vaisanen
bd0f939277
Cellular: Remove support for multiple ATHandlers
...
Major changes:
- Dependency to FileHandle removed from base classes
- AT_CellularDevice owns the default FileHandle and shares it with AT -classes
- Hang-up -detection moved as CellularContext::configure_hup(). Cannot be configured via CellularDevice any more.
Result on NRF52840_DK + BG96:
GCC:
Total Static RAM memory (data + bss): 29360(+296) bytes
Total Flash memory (text + data): 130660(-832) bytes
ARM:
Total Static RAM memory (data + bss): 261554(+8) bytes
Total Flash memory (text + data): 127573(-1193) bytes
IAR:
Total Static RAM memory (data + bss): 25479(+296) bytes
Total Flash memory (text + data): 102418(-527) bytes
RAM increase is because now ATHandler is no longer created with new -operator but is now member of AT_CellularDevice,
so image tool is able to count it. Actually total RAM consumption has decreased due to removed variables.
2020-01-23 09:27:44 +02:00
PARKJIHOON
8b0fb5f5bd
comments the performance of TRNG
...
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
PARKJIHOON
3ba075b57b
Tidy up comments
...
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
PARKJIHOON
4ef74efed0
fix typo 'modifyh'
...
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
PARKJIHOON
d5bb27a94c
fix typo 'modifyh'
...
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
Andrew Chong
f9c4a51871
Adding in SPDX Apache 2.0 for the Apache 2 declared Samsung license headers.
2020-01-22 14:40:51 +09:00
Andrew Chong
dc64bd8a05
Changed 2018 or 2019 copyright to 2020 via sed auto change.
2020-01-22 14:40:51 +09:00
PARKJIHOON
3abe45f507
fix header for samsung spi driver
...
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
Andrew Chong
77457e83f2
Minor astyle change.
2020-01-22 14:40:51 +09:00
PARKJIHOON
adbc391a2c
Update SSS header contents
...
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
PARKJIHOON
67b1639810
remove .mbedignore list
...
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
PARKJIHOON
eb9267e93c
tidy up unused comment
...
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
PARKJIHOON
ccb85e00f1
tidy up unused printf
...
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
PARKJIHOON
c8e776929a
error case prints out using mbed_error_printf()
...
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
PARKJIHOON
1bae74160f
Remove Target dependant mbed_error()
...
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
Andrew Chong
107fc9fce3
Removed PortIn/Out/InOut from Samsung target for now.
2020-01-22 14:40:51 +09:00
Andrew Chong
65e9cac918
Updated the code fix of timer and Mbed TLS.
2020-01-22 14:40:51 +09:00
Andrew Chong
a26e0d1358
Revert "Removing CMSIS_NVIC_VIRTUAL from S5JS100 target conf."
...
This reverts commit e75292a11402e88a33dc25b6fbc03095604ae860.
2020-01-22 14:40:51 +09:00
Andrew Chong
b0eb27058a
Removing CMSIS_NVIC_VIRTUAL from S5JS100 target conf.
2020-01-22 14:40:51 +09:00
Andrew Chong
d13ff9c5cb
Revert "Removed the unused port_api.c driver code."
...
This reverts commit 9fad25f8dcc30591ce5c5f7c51945eabb8de2617.
2020-01-22 14:40:51 +09:00
Andrew Chong
bf24feae73
Removed the unused port_api.c driver code.
2020-01-22 14:40:51 +09:00
Andrew Chong
7bf7c1ec56
Revert "Following the IAR dynamic heap policy."
...
This reverts commit 374aed24111d80b03efc096722daa84234cfb613.
2020-01-22 14:40:51 +09:00
Andrew Chong
cc6f7e51a3
Revert "Forgot to set the IAR base heap size to minimal."
...
This reverts commit be5633d11e243d58406ddee27a1c75d242664a3e.
2020-01-22 14:40:51 +09:00
Andrew Chong
bce345f398
Forgot to set the IAR base heap size to minimal.
2020-01-22 14:40:51 +09:00
PARKJIHOON
12a0f6b13e
Assign VTOR address '0'
...
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
Andrew Chong
472378d265
Following the IAR dynamic heap policy.
2020-01-22 14:40:51 +09:00
PARKJIHOON
60dffda783
tidy up PR comments #2
...
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:50 +09:00
PARKJIHOON
d8dca5b4ab
fix Link Script format
...
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:50 +09:00
PARKJIHOON
2e0ff5d145
tidy up PR comments #1
...
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:50 +09:00
Andrew Chong
ceae1df511
Removing CMSIS pack connector of from S5JS100.
2020-01-22 14:40:50 +09:00
PARKJIHOON
8ab00df7b4
Adding Samsung Exynos i S111 target code.
...
Adding a new target of HW development kit using [Samsung Exynos i S111](https://www.samsung.com/semiconductor/minisite/exynos/products/iot/exynos-i-s111/ ) module to Mbed-OS.
This will widen the HW choices of Mbed-OS enabled NB-IoT, GNSS and Security (eFuse, AES, SHA-2, PKA, Secure Storage, Security Sub-System, [PUF](https://en.wikipedia.org/wiki/Physical_unclonable_function )) modules.
Target Name: S5JS100
Co-authored-by: Ivan Galkin <ivan.galkin@samsung.com>
Co-authored-by: Seokwon Lee <swon.lee@samsung.com>
Co-authored-by: Zhizhe Zhu <zhizhe.zhu@samsung.com>
Co-authored-by: Xinyi Zhao <xinyi.zhao@samsung.com>
2020-01-22 14:40:50 +09:00
Anna Bridge
ee1d998d43
Merge pull request #12278 from rajkan01/feature_rename_default_lib
...
Rename "default_lib" to "c_lib".
2020-01-21 16:39:11 +00:00
jeromecoutant
9f42a58d5a
STM32H7 correct PWMOUT
2020-01-21 16:03:17 +01:00
Rajkumar Kanagaraj
e4f4ff291b
Fixing the CI build issue
2020-01-21 04:10:13 -08:00
Devaraj Ranganna
bc7331b96e
Import latest python scripts and MCUBoot image
...
To help with the integration of Musca B1 into Mbed OS, python
signing scripts and MCUBoot image and RSA private key for Musca A
has been updated from latest TF-M
(https://git.trustedfirmware.org/trusted-firmware-m.git/commit/?id=6c5be4a98e4d7055ee49076ca4e515fb4b172e66 ).
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2020-01-21 10:25:56 +00:00
Przemyslaw Stekiel
39809111c5
targets.json: fix styling
2020-01-21 09:10:19 +01:00
jeromecoutant
3657f902d3
STM32Cube_FW_WB_V1.4.0 - STM32WB55xx part
2020-01-20 17:24:46 +01:00
jeromecoutant
7a5da6109f
STM32Cube_FW_WB_V1.4.0 - STM32WB50xx part
2020-01-20 17:24:46 +01:00
jeromecoutant
c39a13d10c
STM32Cube_FW_WB_V1.4.0 - template part
2020-01-20 17:24:45 +01:00
jeromecoutant
b4f3b0799d
STM32Cube_FW_WB_V1.4.0 - STM32_WPAN part
2020-01-20 17:24:45 +01:00
jeromecoutant
08184d7ac9
STM32Cube_FW_WB_V1.4.0 - HAL_DRIVER part
2020-01-20 17:24:44 +01:00
jeromecoutant
d6e4b15c1a
STM32Cube_FW_WB_V1.4.0 - CMSIS part
2020-01-20 17:24:43 +01:00
jeromecoutant
339846a1bb
STM32WB cleanup
...
- BLE feature is mandatory
- remove clock source selection
- license alignment
- startup file from Cube delivery
- linker script alignement
2020-01-20 17:24:28 +01:00
jeromecoutant
8f6171f8b0
STM32WB - BLE restructure
2020-01-20 16:10:55 +01:00
jeromecoutant
8c76a43d3c
STM32WB - New directory structure
2020-01-20 16:10:55 +01:00
Przemyslaw Stekiel
5994b1e108
MTB_UBLOX_ODIN_W2: Reenable lp-ticker and BLE
...
Make an exception for this target and enable lp-ticker when LSE is not available.
This exception is added because of with disabled lp-ticker (and BLE feature) we have the following linker error with ARM compiler:
[Error] @0,0: L6218E: Undefined symbol hciCmdAlloc (referred from BUILD/tests/MTB_UBLOX_ODIN_W2/ARM/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/TARGET_MODULE_UBLOX_ODIN_W2/sdk/TOOLCHAIN_ARM/libublox-odin-w2-driver.ar(hci_vendor_cmd.o)).
[Error] @0,0: L6218E: Undefined symbol hciCmdSend (referred from BUILD/tests/MTB_UBLOX_ODIN_W2/ARM/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/TARGET_MODULE_UBLOX_ODIN_W2/sdk/TOOLCHAIN_ARM/libublox-odin-w2-driver.ar(hci_vendor_cmd.o)).
It looks like the folloiwng library must be updated:
targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/TARGET_MODULE_UBLOX_ODIN_W2/sdk/TOOLCHAIN_ARM/libublox-odin-w2-driver.ar
2020-01-20 09:49:48 +01:00
Przemyslaw Stekiel
d9008cc205
Disabled BLE feature for targets without lp-ticker
2020-01-20 09:04:46 +01:00
Przemyslaw Stekiel
68468653be
Enable lp-ticker based on LSE for ublox C030 family.
2020-01-20 09:04:46 +01:00
Przemyslaw Stekiel
cc49560b63
Disable lp-ticker for STM targets which uses RTC/LSI for lp-ticker
...
According to the documentation of STM32F437VG76 MCU:
The LSI RC acts as an low-power clock source that can be kept running in Stop and
Standby mode for the independent watchdog (IWDG) and Auto-wakeup unit (AWU). The
clock frequency is around 32 kHz. For more details, refer to the electrical characteristics
section of the datasheets.
It seems that typical LSI frequency is 32 kHz, but it may vary from 17 to 47 kHz!
This means that lp-timer test may fail on the same board because lp-ticker frequency is unstable.
2020-01-20 09:04:45 +01:00
amq
860ccdec5e
EFM32: add UART and LEUART for EFM32GG11
...
- adds the missing PinMap definitions for UART0, UART1, LEUART0 and LEUART1
- corrects a misplaced `#endif` for `#if DEVICE_SPI` which included `UART_TX`
- all according to https://www.silabs.com/documents/public/data-sheets/efm32gg11-datasheet.pdf
2020-01-18 14:10:22 +01:00
Rajkumar Kanagaraj
8a0fdd24d9
Rename "default_lib" to "c_lib".
2020-01-17 08:05:48 -08:00
Martin Kojtal
3dbf780322
Merge pull request #12253 from VeijoPesonen/remove_depr_storage_abstraction
...
storage_abstraction: deprecated since Mbed OS 5.5 and now removed
2020-01-17 14:02:45 +00:00
Martin Kojtal
0266a95fb6
Merge pull request #12223 from d-kato/rza1xx_bootloader_support
...
RZ_A1H and GR_LYCHEE: Enable bootloader support
2020-01-17 13:53:36 +00:00
Martin Kojtal
b7c961c4ac
Merge pull request #12220 from hugueskamba/hk-replace-uartserial-nordic
...
NRF5x targets: Replace UARTSerial references with BufferedSerial
2020-01-17 09:59:56 +00:00
Martin Kojtal
6b5cbff743
Merge pull request #12209 from hugueskamba/hk-replace-uartserial-nxp
...
NXP target: Replace UARTSerial references with BufferedSerial
2020-01-17 08:43:57 +00:00
Martin Kojtal
d6e69ef57b
Merge pull request #12208 from hugueskamba/hk-replace-uartserial-st
...
ST targets: Replace UARTSerial references with BufferedSerial
2020-01-17 08:19:09 +00:00
Martin Kojtal
31988d85fe
Merge pull request #12139 from fkjagodzinski/hal-reset_reason-get_capabilities
...
HAL: Add a get_capabilities() function to ResetReason API
2020-01-16 14:44:31 +00:00
Martin Kojtal
22042e5349
Merge pull request #12241 from OpenNuvoton/nuvoton_m2351_npsa_secure-minimal-build
...
M2351: Remove LPTICKER to spare memory for non-PSA minimal secure build
2020-01-16 09:42:44 +00:00
Martin Kojtal
77fa743740
Merge pull request #12245 from JanneKiiskila/target_upd_NUCLEO_WB55RG
...
NUCLEO_WB55RG - add device name "STM32WB55RGVx"
2020-01-16 09:00:30 +00:00
Martin Kojtal
c27e644b96
Merge pull request #12240 from yarbcy/pr/add-new-tests-softap-2
...
Cypress: Initial commit of SoftAP host tests
2020-01-16 08:36:47 +00:00
Chun-Chieh Li
359d41adef
M2351: Remove LPTICKER to spare memory for non-PSA minimal secure build
2020-01-16 09:58:32 +08:00
Janne Kiiskila
fabd02d1f6
Enable bootloader for NUCLEO_WB55RG
...
That's whole reason we wanted to start the changes... Bootloader is
supported.
2020-01-15 14:09:09 +02:00
Janne Kiiskila
7517d95ab6
NUCLEO_WB55RG - add device name "STM32WB55RGVx"
...
Bootloader compilation will require the device to be in place,
it uses that to pick up the CMSIS-pack info from the index.json.
2020-01-15 14:08:32 +02:00
Martin Kojtal
4c4ed0ab78
Merge pull request #12258 from trowbridgec/disable-ep_agora-cell-aux-uart-by-default
...
Disable the cell AUX UART by default on EP_AGORA
2020-01-15 13:07:28 +01:00
Martin Kojtal
88f48d240e
Merge pull request #12237 from mprse/stm_serial_free_fix
...
STM serial free: Set pin function only if pin is defined (not NC)
2020-01-15 13:02:20 +01:00
Martin Kojtal
1a58d07c04
Merge pull request #12199 from ARMmbed/targets-json-format
...
Format targets.json
2020-01-15 13:00:26 +01:00
Martin Kojtal
978a9665f0
Merge pull request #12201 from jeromecoutant/PR_G0REFACTOR
...
TARGET_STM: FW driver files refactor proposition
2020-01-15 12:59:49 +01:00
Martin Kojtal
cbca99d38f
Merge pull request #12160 from AGlass0fMilk/fix-prs-config
...
nRF52: Properly configure nRF SDK for nRF52-series targets
2020-01-15 12:58:32 +01:00
Chris Trowbridge
a21a0062af
Disable the cell AUX UART by default on EP_AGORA
2020-01-14 12:55:16 -05:00
Martin Kojtal
117201d77d
"Update secure binaries for NU_PFM_M2351_S (ARMC6)"
2020-01-14 14:27:54 +00:00
Martin Kojtal
c9c5b78ca3
"Update secure binaries for ARM_MUSCA_A1_S (ARMC6)"
2020-01-14 14:27:54 +00:00
Martin Kojtal
2f07ad471b
"Update secure binaries for LPC55S69_S (ARMC6)"
2020-01-14 13:54:48 +00:00
Veijo Pesonen
d0d9338066
K64F: removes a deprecated storage driver
...
The API was deprecated since Mbed OS 5.5 and has been removed.
2020-01-14 13:15:58 +02:00
d-kato
b72d0be687
Add sector information
2020-01-14 11:10:30 +09:00
YARB(Cypress)
c53d2f1198
Addressed comments
2020-01-13 14:46:32 +02:00
YARB(Cypress)
3425b8e1fc
Cypress: Initial commit of SoftAP host tests
2020-01-10 19:58:40 +02:00
George Beckstein
d8fbfbfeb4
Replace macro "UART1_ENABLED" with corresponding "NRFX_UARTE1_ENABLED".
2020-01-10 11:33:11 -05:00
George Beckstein
dd98d0102f
Update SDK config for nRF52840 to disable UART1 instance (Mbed serial port uses UARTE peripheral)
2020-01-10 11:32:47 -05:00
Przemyslaw Stekiel
8a938ea777
STM serial free: Set pin function only if pin is defined (not NC)
2020-01-10 14:59:28 +01:00
aglass0fmilk
dc19460fa3
Remove use of deprecated UART driver (as opposed to UARTE). Disable unused TWIM peripheral (deprecated TWI peripheral is currently used for I2C master mode operation).
2020-01-09 16:35:06 -05:00
George Beckstein
b6befee4cf
Properly configure PRS API so it actually delegates the shared interrupt slot to the appropriate peripheral
2020-01-09 16:35:06 -05:00
Martin Kojtal
759ce271c2
Merge pull request #12200 from MultiTechSystems/fix_PeripheralPins
...
Minor fixes for peripheral pins on Dragonfly Nano
2020-01-09 13:17:01 +01:00
Martin Kojtal
dbb0695311
Merge pull request #12202 from LMESTM/Increase_MSI_Freq_out_of_deep_sleep
...
Increase MSI clock frequency when exiting deep sleep
2020-01-09 10:49:20 +01:00
d-kato
3a2ab1b56e
GR_LYCHEE: enable bootloader support
2020-01-09 16:18:14 +09:00
d-kato
aad53c2377
RZ_A1H: enable bootloader support
2020-01-09 16:15:50 +09:00
Martin Kojtal
40b7901cfb
Merge pull request #12217 from OpenNuvoton/nuvoton_usbd
...
Nuvoton: Add DEVICE_USBDEVICE detection in usbd implementation
2020-01-08 17:00:23 +01:00
Hugues Kamba
efd3763467
NRF5x targets: Replace UARTSerial references with BufferedSerial
...
`BufferedSerial` is `UARTSerial` renamed to convey the original purpose
of the class. It is the recommended buffered I/O serial class.
2020-01-08 15:42:07 +00:00
Hugues Kamba
e0c628cbb7
NRF51822: Fix baremetal linker error
...
Ensure the NRF51822 `us_ticker.c` module content is compiled in only if
the target supports USTICKER.
2020-01-08 15:33:01 +00:00
Martin Kojtal
af03f839e2
Merge pull request #10959 from OpenNuvoton/nuvoton_m2351_psa
...
M2351: Support TFM level 1
2020-01-08 16:09:35 +01:00
Martin Kojtal
c42125f890
Merge pull request #12151 from hugueskamba/hk-nrf-fix-baremetal-build
...
NRF5x: Fix baremetal linker error
2020-01-08 14:41:26 +01:00
Martin Kojtal
1a6934adc4
Merge pull request #12081 from micgur01/master
...
Expose target_offset and header_offset parameters in targets.json
2020-01-08 14:01:57 +01:00
cyliangtw
b924a922a8
Add DEVICE_USBDEVICE detection in usbd implementation to avoid compiler error on target without usb-device
2020-01-08 19:36:51 +08:00
Martin Kojtal
b77f6b457e
Merge pull request #12055 from 0xc0170/fix_12054
...
cmsis: remove arm math
2020-01-08 12:00:54 +01:00
Hugues Kamba
7819909148
NXP target: Replace UARTSerial references with BufferedSerial
...
`BufferedSerial` is `UARTSerial` renamed to convey the original purpose
of the class. It is the recommended buffered I/O serial class.
2020-01-08 09:01:19 +00:00
Hugues Kamba
03cff0a02c
ST targets: Replace UARTSerial references with BufferedSerial
...
BufferedSerial is UARTSerial renamed to convey the original purpose of
the class. It is the recommended buffered I/O serial class.
2020-01-08 08:34:20 +00:00
Laurent Meunier
022c0eb7dc
Increase MSI clock frequency when exiting deep sleep
...
This will optimize down the time it takes to restore the clock
settings when getting out of deep sleep.
If 48MHz is available let's use it, otherwise at least 4MHz should be
available for any MCU with MSI.
2020-01-07 17:59:33 +01:00
jeromecoutant
9448ded044
STM32G0: Update G071xx toolchain files with default files
2020-01-07 17:00:30 +01:00
Martin Kojtal
fab9e3b6c7
Merge pull request #12176 from OpenNuvoton/nuvoton_usbd
...
Nuvoton: Support usbd
2020-01-07 16:38:39 +01:00
thegecko
4ae87298a2
Format targets.json
2020-01-07 15:32:49 +00:00
jeromecoutant
cf2dfcbc60
STM32G0: introduction of G030/G031/G041/G070/G081 sub-families
2020-01-07 16:07:18 +01:00
jeromecoutant
57f144ec66
STM32G0: remove MBED patch
...
Goal is to remove all mis-aligment with official ST CUBE delivery
2020-01-07 16:05:34 +01:00
jeromecoutant
631ed0c0b3
STM32G0: move us_ticker_data.h file to family level
2020-01-07 16:02:08 +01:00
jeromecoutant
6d780d8773
STM32G0: move cmsis_nvic.h file to Sub-family level
2020-01-07 16:01:45 +01:00
jeromecoutant
7dd31d0319
STM32G0: move TOOLCHAIN files to Sub-family level
2020-01-07 16:00:40 +01:00
jeromecoutant
fd52eb46d1
STM32G0: move files to TARGET_STM32G0/STM32Cube_FW
2020-01-07 16:00:16 +01:00
jeromecoutant
6875d0318e
STM32G0: move files to TARGET_STM32G0/STM32Cube_FW/CMSIS
2020-01-07 15:57:04 +01:00
jeromecoutant
f322d87d43
STM32G0: move files to TARGET_STM32G0/STM32Cube_FW/STM32G0xx_HAL_Driver
2020-01-07 15:56:19 +01:00
Leon Lindenfelser
94ead7adb2
Minor fixes for peripheral pins on Dragonfly Nano
...
1. PG8 should be labeled I2C3 not I2C1.
2. PC0 is dedicated to measuring system voltage.
2020-01-07 08:52:34 -06:00
Martin Kojtal
9d16a17e7e
Merge pull request #11653 from tymoteuszblochmobica/multiple
...
Add Getaddrinfo interface for multiple DNS adresses
2020-01-07 14:53:36 +01:00
Martin Kojtal
5d71e69f6a
Merge pull request #12186 from mprse/fix_for_issue_12172_stm_serial
...
STM serial init: Set pin function only if pin is defined (not NC)
2020-01-07 11:38:00 +01:00
cyliangtw
95be7da860
Add CLKSEL0_USBSEL_HIRC48 in m2351_clk.h
2020-01-06 19:08:52 +08:00
Hugues Kamba
15bf72e982
LPC11U24: Fix baremetal build and runtime error
...
* Add `USTICKER` support for `LPC11U24`.
* Add `tickless-from-us-ticker` and `boot-stack-size` overrides.
2020-01-06 08:47:13 +00:00