Chun-Chieh Li
95635f9c54
M2351: Remove from master
...
Since Mbed OS 6.0, secure build is not supported yet. Remove it from master temporarily.
For non-TF-M support (NU_PFM_M2351_NPSA_S/NS), go to mbed-os-5.15 branch and Mbed OS 5.15 release.
For TF-M support (NU_PFM_M2351_S/NS), this needs M2351 integrated into TF-M repo first.
Expect M2351 TF-M support can come back into master after integration with TF-M is finished.
2020-06-18 09:42:29 +08:00
Martin Kojtal
86dad5cda9
Merge pull request #12471 from AGlass0fMilk/adc-voltage-api
...
Extend AnalogIn API: read_voltage
2020-06-17 19:57:28 +02:00
jeromecoutant
b4d31ae863
STM32H7: correct Ethernet issue in baremetal
2020-06-17 18:39:34 +02:00
Vance Farren
1f20df9c7d
missing comma in targets.json
2020-06-17 12:10:19 -04:00
Vance Farren
1d8da69586
updates for mbed os 6
2020-06-17 12:10:19 -04:00
Vance Farren
b8687ab524
add EP_ATLAS as mbed target
2020-06-17 12:10:19 -04:00
Mahesh Mahadevan
9e8998a91c
KW41Z: Avoid using TARGET_NXP macro
...
Having Freescale and NXP macro causes compile from both
TARGET_Freescale and TARGET_NXP HAL folders.
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-06-17 11:04:35 -05:00
Mahesh Mahadevan
469ada5a11
MIMXRT1050_EVK: Fix to linker script for non-cached region
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-06-17 11:04:35 -05:00
Mahesh Mahadevan
81a1193012
MIMXRT1050_EVK: Add USB support
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-06-17 11:04:35 -05:00
Kyle Kearney
6a2d93ee94
Add optional post-bsp-init hook
...
This allows the application to inject its own resource reservations
immmediately after the BSP (and therefore HAL) is initialized,
ensuring that they can claim require resources before mbed tries
to use them for more flexible purposes. For example, the application
might want to claim a particular timer to make sure that it doesn't
get picked for us_ticker (which can use any arbitrary timer instance).
2020-06-16 11:07:34 -07:00
Kyle Kearney
ab5eb07e3c
Stop the us_ticker timer before deepsleep
...
A running timer will block DeepSleep, which would normally be
good because we don't want the timer to accidentally lose counts.
We don't care about that for us_ticker (If we're requesting deepsleep
the upper layers already determined that they are okay with that),
so explicitly stop the us_ticker timer before we go to sleep and
start it back up afterwards.
2020-06-16 11:07:34 -07:00
Martin Kojtal
3333f4185e
Merge pull request #12747 from jeromecoutant/PR_MBEDTLS
...
STM32 MBEDTLS support with HW crypto
2020-06-16 13:55:50 +02:00
Martin Kojtal
7b5a8d37b5
Merge pull request #12966 from MultiTechSystems/update-df413-onoff
...
DRAGONFLY_F413RH: Update power on and power off functionality
2020-06-16 13:54:01 +02:00
Martin Kojtal
0614e92c5b
Merge pull request #13083 from jeromecoutant/PR_H7_CUBE170
...
STM32H7 update drivers version to CUBE V1.7.0
2020-06-16 13:45:42 +02:00
Martin Kojtal
0b0ab6bf87
Merge pull request #13086 from jeromecoutant/PR_F1
...
STM32F1 update drivers version to CUBE V1.8.0
2020-06-16 13:45:25 +02:00
Martin Kojtal
e901ea9845
Merge pull request #13100 from vmedcy/pr/fix-13058
...
Fix BOOT_HEADER_SIZE allocation in ARM scatter files (#13058 )
2020-06-16 13:45:06 +02:00
Evelyne Donnaes
4d3c6b3a64
Replaced rtos profile with full profile
2020-06-15 13:42:24 +01:00
jeromecoutant
dcf2490b5a
STM32F1 STM32Cube FW V1.8.0: update for MBED
2020-06-15 13:49:47 +02:00
jeromecoutant
c99c8b5036
STM32F1 STM32Cube FW V1.6.1 => V1.8.0: target part
...
- SetSysClock update
2020-06-15 13:49:47 +02:00
jeromecoutant
ce3fc30cf0
STM32F1 STM32Cube FW V1.6.1 => V1.8.0
2020-06-15 13:49:46 +02:00
jeromecoutant
f13b06a7bc
STM32F1 STM32Cube FW V1.6.1 => V1.8.0: Driver part
2020-06-15 13:49:46 +02:00
jeromecoutant
97bf6fa386
STM32F1 STM32Cube FW V1.6.1 => V1.8.0: CMSIS part
2020-06-15 13:49:46 +02:00
jeromecoutant
1152c651d9
STM32F1: targets inherit from non public default MCU configuration
2020-06-15 13:49:39 +02:00
jeromecoutant
533fe21750
STM32F1: directory restructuration
2020-06-15 13:48:04 +02:00
Martin Kojtal
8b70dfe593
Merge pull request #13095 from jeromecoutant/PR_FULLBARE
...
STM32: MCU_STM32 supports rtos and bare-metal profiles
2020-06-15 11:30:50 +02:00
Anna Bridge
a870fcface
Merge pull request #13001 from jeromecoutant/PR_BAREMETAL_SUPPORT_STEP2
...
STM32 baremetal support step2 (L1/L4/WB)
2020-06-12 14:44:14 +01:00
Anna Bridge
58975d1df4
Merge pull request #13091 from jeromecoutant/PR_BAREMETAL_SUPPORT
...
STM32 baremetal support step3/3 (F2/F4)
2020-06-12 14:42:35 +01:00
Anna Bridge
727cf54873
Merge pull request #13073 from jeromecoutant/PR_H7_FPGA
...
STM32H7: FPGA tests support
2020-06-11 14:39:31 +01:00
jeromecoutant
46ccded9b1
STM32: MCU_STM32 supports rtos and bare-metal profiles
2020-06-10 14:25:24 +02:00
Martin Kojtal
698fc09b4c
Merge pull request #12615 from jeromecoutant/PR_FPGA_UART
...
FPGA UART test cases addition with 7 and 9 bits data length
2020-06-10 13:51:18 +02:00
Martin Kojtal
878875c884
Merge pull request #13090 from jeromecoutant/PR_DEVICE_H
...
STM: move us_ticker_defines.h include
2020-06-10 11:53:57 +02:00
Martin Kojtal
0f2a28d52f
Merge pull request #13053 from jeromecoutant/PR_README
...
STM32 more information in README file
2020-06-10 11:43:24 +02:00
Volodymyr Medvid
dc937ab53b
Fix BOOT_HEADER_SIZE allocation in ARM scatter files ( #13058 )
...
PSoC 64 secure BSP post-build hook (cysecuretools image signing)
expects the HEX file with start address 0x10000400 (first KB of
internal FLASH is reserved for MCUboot headers area).
In order to get the correct HEX file produced by ARM fromELF tool,
the ELF file should allocate LR_IROM1 starting from address
0x10000400, not 0x10000000. Otherwise the generated HEX file
allocates rows at addresses 0x10000000 ~ 010000400 and the
final application image is not signed correctly.
Fixes https://github.com/ARMmbed/mbed-os/issues/13058 .
2020-06-10 10:25:41 +03:00
jeromecoutant
47407759a4
STM: move us_ticker_defines.h include
2020-06-09 11:04:23 +02:00
jeromecoutant
713618abe0
STM32F4 baremetal support
2020-06-09 10:25:41 +02:00
jeromecoutant
adbd936cbc
STM32F2 baremetal support
2020-06-09 10:24:36 +02:00
jeromecoutant
048f454a5a
STM32H7: remove GENERIC_H745I
2020-06-08 15:33:42 +02:00
jeromecoutant
c815471526
STM33H7: DISCO_H747I inherit from MCU_STM32H747xI
2020-06-08 15:33:22 +02:00
jeromecoutant
561f8d48bf
STM32H7 STM32Cube FW V1.5.0 => V1.7.0
2020-06-08 14:33:10 +02:00
jeromecoutant
9936a53bd1
STM32H7 STM32Cube FW V1.5.0 => V1.7.0: HAL Driver part
2020-06-08 14:33:09 +02:00
jeromecoutant
21f262b5c3
STM32H7 STM32Cube FW V1.5.0 => V1.7.0: CMSIS part
2020-06-08 14:33:09 +02:00
jeromecoutant
7d181c1bf7
STM32H7: directory restructuration
...
- only files move
- sometimes files rename
+ targets.json update
2020-06-08 14:33:08 +02:00
jeromecoutant
59d2dd5e1f
DISCO_L562QE: enable MBEDTLS_CONFIG_HW_SUPPORT
2020-06-08 13:57:57 +02:00
jeromecoutant
bfadc650f6
NUCLEO_WB55RG: enable MBEDTLS_CONFIG_HW_SUPPORT
2020-06-08 13:56:31 +02:00
jeromecoutant
551f8b4231
NUCLEO_WB55RG: enable USBDEVICE
2020-06-08 13:17:23 +02:00
jeromecoutant
26223e6652
NUCLEO_F439ZI: align USB config from NUCLEO_F429ZI
2020-06-08 13:14:00 +02:00
Martin Kojtal
8d26d77690
Merge pull request #12482 from AGlass0fMilk/add-nucleo-g474re
...
NUCLEO_G474RE: Add new platform
2020-06-08 12:38:40 +02:00
jeromecoutant
28f8307afa
STM32WB baremetal support
...
move BLE files to FEATURE_BLE
2020-06-08 12:06:01 +02:00
jeromecoutant
0a447ac798
STM32L4 baremetal support
2020-06-08 12:05:54 +02:00
jeromecoutant
ba7deb4660
STM32L1 baremetal support
2020-06-08 11:46:56 +02:00
jeromecoutant
1292053bf9
STM32 more information in README file
2020-06-08 10:02:33 +02:00
jeromecoutant
c9e0c4f6f7
STM32WB ReadMe quick update
...
See #12975
2020-06-08 10:02:33 +02:00
jeromecoutant
10a5b97396
STM32H7: NUCLEO_H743ZI2 pins update
2020-06-05 16:26:33 +02:00
jeromecoutant
1484ac0859
STM32H7: DISCO_H747I pins update
2020-06-05 16:26:23 +02:00
jeromecoutant
b289d5a08f
STM32H7: enable dual analogic pad
2020-06-05 16:26:22 +02:00
jeromecoutant
538552adea
STM32H7 ADC issue correction
2020-06-05 16:26:22 +02:00
Martin Kojtal
59df4efaac
Merge pull request #13022 from jeromecoutant/PR_BSP
...
STM32: add weak TargetBSP_Init function
2020-06-05 16:01:25 +02:00
Martin Kojtal
49c1d947fa
Merge pull request #13044 from hugueskamba/hk_nrf_implicit_declaration
...
NRF: fix implicit declarations
2020-06-05 14:44:31 +02:00
Martin Kojtal
95a704ed92
Merge pull request #13045 from kyle-cypress/pr/pin-header-cyeskit
...
CYESKIT_064B0S2_4343W: Remove parentheses from arduino pins
2020-06-05 13:10:41 +02:00
Martin Kojtal
3ef2b1642e
Merge pull request #12996 from pilotak/master
...
STM32F412 bypass PLL configuration when already done by bootloader
2020-06-05 10:48:41 +02:00
Martin Kojtal
65cbf9759d
Merge pull request #13047 from hugueskamba/hk_nrf_arm_compiler
...
NRF: Migrate ARM Compiler 5 feature re-locate zero initialized variables
2020-06-05 10:48:06 +02:00
Martin Kojtal
819b9f98e0
Merge pull request #13043 from hugueskamba/hk_nrf_serial_warning
...
NRF serial: Use nrf_uarte_event_t enum to avoid implicit conversion
2020-06-05 10:47:49 +02:00
Martin Kojtal
8911f96c1b
Merge pull request #13014 from jeromecoutant/PR_H7CM4
...
DISCO_H747I_CM4 is supporting now hex format
2020-06-04 15:23:26 +02:00
Martin Kojtal
ed0cadfa9e
Merge pull request #12992 from jeromecoutant/PR_BAREMETAL_SUPPORT_STEP1
...
STM32 baremetal support step1 (F0/F1/F3/H7/L0)
2020-06-04 15:22:06 +02:00
Martin Kojtal
0988e5d0f9
Merge pull request #13064 from 0xc0170/fix_nxp_vector
...
nxp: fix vector redefinition from CMSIS
2020-06-04 15:10:40 +02:00
Martin Kojtal
ab439624ed
Merge pull request #12979 from LDong-Arm/stack_size_expectation_from_config
...
stack_size_unification test: set expected stack sizes from config
2020-06-04 14:39:08 +02:00
Martin Kojtal
e0c7f25c5d
Merge pull request #12985 from dustin-crossman/pr/update_cysbsyskit_01
...
Update CYSBSYSKIT_01
2020-06-04 14:35:31 +02:00
Martin Kojtal
41995a7427
nxp: fix vector redefinition from CMSIS
...
Since 5.7 CMSIS update to Mbed OS, __VECTOR_TABLE is defined in cmsis_gcc header
file. Many MCU in NXP uses this symbol as linker definition, therefore we should
check if already defined and undefined it.
Fixes #13062
2020-06-04 09:10:08 +01:00
Hugues Kamba
488f06b7e1
NRF: Migrate ARM Compiler 5 feature re-locate zero initialized variables
...
ARM Compiler 6 does not support placing a zero-initialized variable in a
zero-initialized section with a given name.
The migration path for this feature is what is as done in this commit.
The name of the section is what comes after `.bss.` (`nvictable` in this
case).
Also simplify pre-processor directive to test for Arm compiler.
2020-06-01 10:35:13 +01:00
Hugues Kamba
992133be50
NRF: fix implicit declarations
...
As a result removes warnings
2020-06-01 10:26:51 +01:00
Kyle Kearney
7ad94db586
CYESKIT_064B0S2_4343W: Remove parentheses from arduino pins
...
Avoid build failures when arduino pin names collide with C++ template
argument names.
Addresses issue #13027
2020-05-29 17:17:05 -07:00
Hugues Kamba
f6d6d44346
NRF serial: Use nrf_uarte_event_t enum to avoid implicit conversion
2020-05-29 20:20:12 +01:00
Jaeden Amero
aa7a02f0a9
musca: Mark Musca targets as experimental
...
TF-M and PSA have experimental APIs. Musca targets must initialize the
tfm_ns_lock, via the experimental API tfm_ns_lock_init(), as part of
their ordinary initialization procedure. Therefore, Musca targets must
have experimental APIs present in order to function. Add the
experimental API feature to Musca targets by default to ease usability
of the Musca targets, rather than requiring all users and CI to manually
enable experimental APIs when using these targets.
2020-05-29 13:19:11 +01:00
Jaeden Amero
295ff531a4
psa: Pick up code from MBED_PSA_SRV
...
Make single Armv7-M PSA targets pick up files under TARGET_MBED_PSA_SRV.
We'll be moving the Mbed implementation of PSA to TARGET_MBED_PSA_SRV
folders soon.
Targets (dual-core and Armv8-M) that expect to use TF-M for their PSA
implementation also have MBED_PSA_SRV labels added to them so that they
continue working with the Mbed PSA implementation for the time being.
2020-05-29 13:19:11 +01:00
jeromecoutant
76135d0820
STM32: add weak TargetBSP_Init function
2020-05-27 16:49:54 +02:00
jeromecoutant
876125ad49
DISCO_H747I_CM4 is supporting now hex format
...
- minimum STLink version: V3J7M2
2020-05-25 11:34:40 +02:00
rogeryou
de9b283abe
modify the div value when calling octo controller.
...
For ST OSPI controller driver(stm32l4xx_hal_ospi.c), the frequency it has be subtracted 1, so "div = div - 1;" should be removed.
2020-05-25 12:07:24 +08:00
George Beckstein
28e221da18
Update NUCLEO_G474RE target definition to inherit from renamed MCU_STM32
2020-05-20 07:30:18 -04:00
George Beckstein
658d89be8c
Apply linker fix as in #12690 to new NUCLEO_G474RE target
2020-05-20 06:39:17 -04:00
George Beckstein
6e2fa616c7
Added spi_api.c implementation
2020-05-20 06:39:17 -04:00
George Beckstein
eb8d128a24
Updated system clock settings to run at 170MHz (max for this target). Affects both HSI and HSE modes.
2020-05-20 06:39:17 -04:00
George Beckstein
f391718a6d
Updated detect code for NUCLEO_G474RE
2020-05-20 06:39:17 -04:00
George Beckstein
44ca862af3
Changed us_ticker configuration to use TIM5 instead of TIM2 to be consistent with the allowed PWM peripheral pins.
2020-05-20 06:39:17 -04:00
George Beckstein
2297e1b91e
Updated clock configuration settings for NUCLEO_G474RE
2020-05-20 06:39:17 -04:00
George Beckstein
c687ae312f
Added missing analogin_device.c file and configured for STM32G4xx series
2020-05-20 06:39:17 -04:00
George Beckstein
613af0f604
Added support for ANALOGOUT
2020-05-20 06:39:17 -04:00
George Beckstein
934d60e63d
Added support for FLASH API
2020-05-20 06:39:17 -04:00
George Beckstein
7f19c8ac6e
Added support for SPI API
2020-05-20 06:39:17 -04:00
George Beckstein
06d74aa37a
Added support for PWMOUT
2020-05-20 06:39:17 -04:00
George Beckstein
e38dfc78b6
Added support for PORT APIs
2020-05-20 06:39:17 -04:00
George Beckstein
f59ec66710
Added support for INTERRUPTIN
2020-05-20 06:39:17 -04:00
George Beckstein
4f41d2d66c
Added support for I2CSLAVE and I2C_ASYNCH
2020-05-20 06:39:17 -04:00
George Beckstein
5e25e004df
Added support for I2C
2020-05-20 06:39:17 -04:00
George Beckstein
cc86ec99d0
Added ANALOGIN support
2020-05-20 06:39:17 -04:00
George Beckstein
b11d160195
Added RTC support
2020-05-20 06:39:17 -04:00
George Beckstein
d68ec74852
Added USTICKER support
2020-05-20 06:39:17 -04:00
George Beckstein
118919b820
Added RESET_REASON support (untested).
2020-05-20 06:39:17 -04:00
George Beckstein
80c5d96420
Added support for WDT (untested). Checked datasheet for maximum LSI frequency
2020-05-20 06:39:17 -04:00
George Beckstein
143a54922d
Add support for SLEEP (untested)
2020-05-20 06:39:17 -04:00
George Beckstein
46ecb489b9
Add support for STDIO_MESSAGES
2020-05-20 06:39:17 -04:00