RFulchiero
9593a53e25
Updates to PWM for IOTDEV-1573
...
- Missed some NRFX defines that needed to changed
- Set PWM base clock to 125kHz (needs to be reverted back to 1 MHz)
- Updated sdk_config.h for nRF52_DK builds
- Brought in updates from PR7779 (fix for nRF52 PWM issues)
2019-05-23 11:31:18 +08:00
RFulchiero
cc54611f02
Ported analogin and pwm_out for IOTDEV-1573.
...
Also addressed:
- removed dependency on legacy config (excluded apply_old_config.h)
- removed legacy pwm and saadc headers
- Arm Compiler 5 linking issue (a band-aid for now... needs to
be properly addressed for peripheral sharing)
- added missing header in SoftDevice file
2019-05-23 11:31:17 +08:00
RFulchiero
9ac7fe7ac9
First porting effort covered by JIRA IOTDEV-1572:
...
- top level files ported from TARGET_NORDIC/TARGET_NRF5x/
Also addressed:
- fixed linking issue for gcc
- added support for nRF52-DK builds, but reverted to using nRF52840 sdk_config.h (must be updated)
- introduced "RTC" to targets.json (might need to be removed eventually)
2019-05-23 11:31:17 +08:00
RFulchiero
cd5b451320
Bringing in Softdevice but excluding BLE feature and improvements in feature defines
2019-05-23 11:31:13 +08:00
RFulchiero
511f8ebbd7
Mods for baseline 15.0 support
2019-05-23 11:31:13 +08:00
RFulchiero
6bd89e7939
Baseline legacy build using 14.2 drivers.
2019-05-23 11:31:12 +08:00
Oren Cohen
63487533aa
Update secure binaries
2019-05-22 17:31:49 +03:00
Martin Kojtal
fee07dcdf2
ARM_SSG: mbed_rtx remove empty line
2019-05-22 17:17:27 +03:00
Martin Kojtal
a115c9333f
gpio: indent fix
2019-05-22 17:17:27 +03:00
Gabor Kertesz
40627a5220
Fix last issues
...
Imports working McuBoot for reset.
Updates microsec ticker driver.
Default baudrate is set to 115200 to see TF-M boot messages.
Stack top is set to scatter file dependent and not hard-coded.
2019-05-22 17:17:26 +03:00
Michael Schwarcz
bde2557629
Update secure binaries for ARM_MUSCA_A1_S
2019-05-22 17:17:26 +03:00
Michael Schwarcz
0fc629ce45
MUSCA_A1_NS: Add IAR support
2019-05-22 17:17:25 +03:00
Michael Schwarcz
ef9c2721a0
Fix PinMap_UART_XX
2019-05-22 17:17:25 +03:00
Michael Schwarcz
1a182df19f
Add serial_tx_pinmap() and serial_rx_pinmap() to serial_api.c
2019-05-22 17:17:25 +03:00
Michael Schwarcz
c83ef8a444
Add license files
2019-05-22 17:17:24 +03:00
Michael Schwarcz
84bde31ea0
Increase Secure RAM by 4K
...
- 68KB Secure
- 60KB Non-secure
2019-05-22 17:17:24 +03:00
Michael Schwarcz
71683cbaa7
Fix secure linker script
2019-05-22 17:17:24 +03:00
Michael Schwarcz
cebf30a701
Increase secure heap size to 0x4000
2019-05-22 17:17:24 +03:00
Michael Schwarcz
0701fb1c58
Move us_ticker.c to NS side
2019-05-22 17:17:23 +03:00
Michael Schwarcz
96268d91ef
Updates after rebase
...
- postbuild: Use find_secure_image and update prebuilt binaries
- Add CMSIS driver headers
- Align with 2-region memory model
2019-05-22 17:17:23 +03:00
Michael Schwarcz
a5fd9176bb
Update target license headers
...
- Add SPDX identifiers and update dates
2019-05-22 17:17:22 +03:00
Michael Schwarcz
ff1c769c7e
Add ARM_MUSCA_A1 as a new target platform
...
Musca-A1 is a Cortex-M33 based target with security extension enabled.
- ARM_MUSCA_A1 is the non-secure target running mbed-os.
- ARM_MUSCA_A1_S is the secure target running TF-M.
- TF-M sources were imported and patched in previous commits.
- TF-M secure bootloader (McuBoot) for MUSCA_A1 is submitted by a pre-built binary.
- A post-build hook concatenates The secure and non-secure binaries,
signs it and then concatenates the bootloader with the signed binary.
2019-05-22 17:17:20 +03:00
Bilal Qamar
defc244db2
+UPSND sent to poll activation status
2019-05-22 16:52:03 +05:00
Martin Kojtal
4cf96b8d80
Merge pull request #10482 from SiliconLabs/fix/allow_nc_pins
...
Allow NC pins to be instantiated on Silicon Labs platforms
2019-05-22 08:36:06 +01:00
panyz0725@thundersoft.com
6aeb048e62
Fixing bug error 0x8001011F
2019-05-22 14:18:28 +08:00
Martin Kojtal
d5b84a5d57
SDP_K1: Fix year change in the system clock
2019-05-21 07:44:49 -07:00
Martin Kojtal
3e1a24b3fe
Merge pull request #10587 from d-kato/ca9_armc6
...
GR_LYCHEE,RZ_A1H,VK_RZ_A1H: Fix greentea test failure with ARMC6
2019-05-21 15:07:59 +01:00
Martin Kojtal
c4b32cde87
Merge pull request #10617 from Wiznet/wiznet_develop
...
Change W7500 GPIO Driver
2019-05-21 15:07:10 +01:00
Devaraj Ranganna
7765d39283
The targets FUTURE_SEQUANA_M0_PSA and FUTURE_SEQUANA_PSA are removed
...
due to partial implementation. Having FUTURE_SEQUANA_M0 and
FUTURE_SEQUANA PSA targets is misleading.
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2019-05-21 15:00:31 +01:00
Martin Kojtal
f859289634
Merge pull request #10489 from kjbracey-arm/gpio_api_nc
...
gpio_api.h: Clarify desired behaviour for NC
2019-05-21 14:36:49 +01:00
Martin Kojtal
e4c64226f6
Merge pull request #10605 from sabharad/master
...
K66F: Update SAI and SAI EDMA driver to SDK 2.5
2019-05-21 10:51:28 +01:00
Steven Cooreman
365f3643bb
Allow NC pins to be instantiated
...
Keep asserting on trying to use an NC-instantiated object for anything else, though.
2019-05-20 15:23:34 +02:00
Martin Kojtal
d4122b0b3a
Merge pull request #10454 from u-blox/ublox_odin_driver_os_5_v3.7.0_rc1
...
Enterprise_mode_+_wifi_configuraiton_api: update ODIN drivers to v3.7.0 RC1
2019-05-20 10:54:45 +01:00
TeddyWiz
2a69c6d2cc
change W7500x_gpio.c GPIO_WriteBit
2019-05-20 16:56:48 +09:00
TeddyWiz
45f43b61fc
change text W7500x_gpio.c GPIO_Mode_OUT, HAL_GPIO_SetBits, HAL_GPIO_ResetBits
2019-05-20 16:52:54 +09:00
Anna Bridge
9fb4429379
Merge pull request #10520 from kjbracey-arm/build_tz_heuristic
...
Permit non-TrustZone ARMv8 build
2019-05-17 11:06:55 +01:00
Anna Bridge
d99756324a
Merge pull request #10483 from vmedcy/pr/cy-system-psoc6
...
PSOC6: move mbed_sdk_init to mbed_overrides.c
2019-05-16 11:00:29 +01:00
Anna Bridge
6a6dd02172
Merge pull request #10578 from ThunderSoft123/master
...
Modify PinName file to keep correspondence with spec
2019-05-16 10:59:25 +01:00
ccli8
7d44697268
[M2351] Fix serial sync error in SPDMC test
...
In M2351 SPDMC (SMCC) test, it boots from secure code to non-secure bootloader, and finally
to non-secure test code itself. The boot sequence will takes longer than usual. In test
initiation, host will send sync signal 1s after reset device. But due to the longer boot
sequence, test code in device can miss the signal. We enlarge the reset idle time to fix
the issue.
2019-05-16 16:27:49 +08:00
DESKTOP-UBVDC3M\Sachin
0897f6c196
K66F: Update to SDK 2.5
2019-05-15 21:54:48 -07:00
d-kato
874c087494
Change FPU enable timing in "SystemInit()"
2019-05-16 13:40:33 +09:00
Malavika Sajikumar
cf8f3725f9
Removing stale definition.
2019-05-14 12:33:57 -07:00
Malavika Sajikumar
82a6f157b3
Adding omitted definition for LED4. This is used as a STATUS LED.
2019-05-14 12:32:44 -07:00
panyz0725@thundersoft.com
a6c52d3865
Modify PinName file to keep correspondence with spec
2019-05-14 20:04:25 +08:00
Martin Kojtal
a2cde2e24e
Merge pull request #10570 from jeromecoutant/PR_ASTYLE
...
STM32 astyle updates
2019-05-14 09:22:18 +01:00
Martin Kojtal
3ea1c56124
Merge pull request #10147 from kjbracey-arm/atomic_bitwise
...
Assembler atomics
2019-05-13 14:18:05 +01:00
Martin Kojtal
22d78b40de
Merge pull request #10534 from OpenNuvoton/nuvoton_nano130_fix-vectab-virtual
...
NANO130: Fix optimization error with NVIC_SetVector/NVIC_GetVector on ARMC6
2019-05-13 14:14:48 +01:00
Martin Kojtal
548a40ee62
Merge pull request #10541 from guialonsoalb/master
...
Adding QSPI support to target RHOMBIO_L476DMW1K
2019-05-13 13:59:40 +01:00
Martin Kojtal
2956a35b17
Merge pull request #10538 from masoudr/master
...
Enabled crash reporting for DISCO_F407VG target
2019-05-13 13:29:17 +01:00
Martin Kojtal
773729fcf6
Merge pull request #10479 from LMESTM/more_flash_for_stm32wb_app
...
STM32WB: Update Flash size
2019-05-12 20:08:49 +01:00
Martin Kojtal
f8cedf3fc7
Merge pull request #10527 from OpenNuvoton/nuvoton_flashiap_component
...
Nuvoton: Add COMPONENT_FLASHIAP support
2019-05-12 20:02:47 +01:00
Anna Bridge
97e1c9cbaf
Merge pull request #10287 from linlingao/pr10177
...
Enable MTS_DRAGONFLY_F411RE to register with Pelion
2019-05-10 16:21:46 +01:00
jeromecoutant
0352bbbd5b
STM32 astyle updates
2019-05-10 15:32:05 +02:00
Martin Kojtal
872ad22770
Merge pull request #10529 from u-blox/cellular_target_instance
...
Cellular: Target name change for ublox cellular instance
2019-05-10 11:10:25 +01:00
Martin Kojtal
7a29e02fe0
Merge pull request #10530 from wajahat-ublox/c027_modem_flag
...
C027 Fix for modemOn flag
2019-05-10 11:10:03 +01:00
Laurent Meunier
e3a72eac9e
Typo fix for MBED_APP_SIZE
2019-05-09 10:28:20 +02:00
aqin
43759c0c4b
Enterprise mode + wifi configuraiton api
2019-05-08 17:52:04 +05:00
ccli8
fcab482357
[NANO130] Fix optimization error with NVIC_SetVector/NVIC_GetVector on ARMC6
...
On ARMC6 with optimization level "-Os", the two functions NVIC_SetVector/NVIC_GetVector
will be translated to illegal instruction for trapping due to NVIC_FLASH_VECTOR_ADDRESS
defined as direct 0. Fixed by defining NVIC_FLASH_VECTOR_ADDRESS as a symbol instead to
avoid such optimization error.
2019-05-08 10:25:36 +08:00
M. Rahimi
06ed3c44c2
Enabled crash reporting for DISCO_F407VG on all other toolchains
2019-05-07 21:43:37 +04:30
Guillermo Alonso
a1d785ccbe
error in tabulation fixed
2019-05-07 17:43:00 +02:00
Anna Bridge
bab78c6cc5
Merge pull request #10468 from petroborys/master
...
Add support for CAN to SiLabs targets
2019-05-07 15:57:58 +01:00
M. Rahimi
d30bdbe08b
Enabled crash reporting for DISCO_F407VG target
2019-05-07 19:25:46 +04:30
Guillermo Alonso
70bc390410
added QSPI support to target RHOMBIO_L476DMW1K
2019-05-07 15:44:09 +02:00
Laurent Meunier
fcc375f5c9
Update FLASH_SIZE backup value
...
By default, FLASH_SIZE should be read from HW.
In case this is not the case, we define it here, as the size of FLASH
that is available to the application running on M4.
2019-05-06 11:31:37 +02:00
Laurent Meunier
89eef1b490
STM32WB: Update Flash size
...
the flash is shared and split between cortex-M4 that
runs (mbed-os) application and the cortex-M0+ that
runs the BLE firmware.
The 512K allocated to the application was a
conservative that can now be updated.
With recent up-to-date BLE firmware flashed @ 0x080CB000,
there should be 812K available to application.
But there are boards out there that don't have an up-to-date
firmware, so we're keeping an intermediate, safer,
application size of 768K.
2019-05-06 11:31:37 +02:00
Volodymyr Medvid
737c98ff8f
PSOC6: simplify the mbed_sdk_init sequence
2019-05-03 16:54:23 +03:00
Kevin Bracey
65e0887ef3
Permit non-TrustZone ARMv8 build
...
Change the heuristic for selection of CMSE in the tools python, so that
a non-TrustZone ARMv8 build can happen.
Ideally we would have more direct flagging in the targets, but this
refines the heuristic so the necessary behaviour can be easily
achieved.
* DOMAIN_NS=1 is based purely on the `-NS` suffix on the core name.
* Enabling CMSE in the compiler and outputting a secure import library
is now enabled when the core doesn't have an `-NS` suffix by either
the target label `TFM` being present or the flag `trustzone` being set.
This covers the existing ARMv8-M behaviour - TF-M builds have the TFM
label, as per its documentation; M2351 secure builds have no explicit
flagging, so we ensure that the M2351_NS target has the trustzone flag
set, and the out-of-tree secure target inherits that.
2019-05-03 13:36:38 +03:00
Wajahat Abbas
fd0a2c7e29
C027 Fix for modemOn flag
2019-05-03 14:34:28 +05:00
Martin Kojtal
b21c278274
Merge pull request #10509 from NXPmicro/LPC55S69_Add_UART_Flowcontrol
...
LPC55S69: Add support for UART hardware flow control
2019-05-03 10:07:54 +01:00
mudassar-ublox
5f55eedfae
cellular target name change for ublox cellular instance
2019-05-03 11:21:38 +05:00
Martin Kojtal
bb3fdac760
Merge pull request #10449 from fredlee12001/UNO_91H_PDMC
...
Configure UNO_91H to support PDMC compile
2019-05-02 19:04:27 +01:00
Martin Kojtal
87711a9111
Merge pull request #10471 from malavikasajikumar/master
...
SDP-K1: Updates to target code
2019-05-02 19:03:22 +01:00
Lin Gao
2c22f549e9
Add option to keep post_binary_hook and make it default. It can be disabled by setting it to null
2019-05-02 11:25:20 -05:00
Lin Gao
438a52f15a
Fix handoff issue from the bootloader to the application on MTS_DRAGONFLY_F411RE
2019-05-02 11:25:19 -05:00
Martin Kojtal
40f8cb95a8
Merge pull request #10435 from morser499/pr/cy-smif
...
Add support for QSPI to Cypress Boards
2019-05-02 13:41:56 +01:00
Martin Kojtal
d41962a8c8
SDP_K1: Fix year change in the system clock
2019-05-02 11:35:40 +01:00
Kevin Bracey
e502eb5e34
HI2110: Cope correctly with NC GPIO
2019-05-02 12:16:34 +03:00
Kevin Bracey
1eff7ecb02
Wiznet: Cope correctly with NC GPIO
2019-05-02 12:16:34 +03:00
Kevin Bracey
e6e3614bd8
TT: Cope correctly with NC GPIO
2019-05-02 12:16:34 +03:00
Kevin Bracey
0fb64eee4e
RTL8195A: Cope correctly with NC GPIO
2019-05-02 12:16:34 +03:00
Kevin Bracey
bd69ede5dc
Atmel: Cope correctly with NC GPIO
2019-05-02 12:16:34 +03:00
Kevin Bracey
fd68691ce3
ARM SSG/FM: Cope correctly with NC GPIO
2019-05-02 12:16:34 +03:00
Martin Kojtal
58a5f954ec
Merge pull request #10493 from LMESTM/STM32F303RE_flashiap
...
STM32F303RE: Activate FLASHIAP
2019-05-02 09:25:54 +01:00
ccli8
92e0b2a17f
Nuvoton: Add COMPONENT_FLASHIAP support
...
Some Nuvoton targets support DEVICE_FLASH but their corresponding COMPONENT_FLASHIAP
supports are not enabled. Enable them:
NUMAKER_PFM_M453
NUMAKER_PFM_M2351
2019-05-02 14:36:54 +08:00
Ryan Morse
a8570ffe6c
Added support for QSPI to Cypress Boards
2019-05-01 07:09:58 -07:00
petroborys
b635c024a4
Add can_api.c for efm32:review build-IAR
2019-05-01 00:12:38 +00:00
petroborys
f29dffa7d7
Add can_api.c for efm32: wrap in presence of the base peripheral
2019-05-01 00:12:37 +00:00
petroborys
0a82591470
Add can_api.c for efm32
2019-05-01 00:12:14 +00:00
Martin Kojtal
b895bf6349
Merge pull request #10401 from OpenNuvoton/nuvoton_nuc472_fix_crash_capture
...
NUC472: Support crash capture for no-XRAM configuration
2019-04-30 14:54:05 +01:00
Martin Kojtal
a5862df1ef
Merge pull request #10506 from JarekParal/fix-k66-missing-adc-pins-mapping
...
Add missing ADC pins mapping for FRMD-K66F (#10498 )
2019-04-30 13:58:45 +01:00
Martin Kojtal
1de0712272
Merge pull request #9944 from deepikabhavnani/stm32_splitheap
...
GCC - Add support to split heap across 2-RAM banks
2019-04-30 11:02:51 +01:00
Martin Kojtal
d04bfa2262
Merge pull request #10492 from SiliconLabs/fix/remove_sleep_lock_from_hal
...
Remove sleep lock/unlock from Silicon Labs HAL implementation
2019-04-30 09:31:41 +01:00
fred.li
749302fc0b
Fix Syntax Error for IAR & ARMCC
2019-04-30 11:53:26 +08:00
Mahesh Mahadevan
39975b818d
LPC55S69: Add support for UART hardware flow control
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-04-29 14:18:35 -05:00
Malavika Sajikumar
e0faeb2b65
Fixing alignment.
2019-04-29 09:52:01 -07:00
JarekParal
bd59a4cdf5
Fix code alignment
2019-04-29 17:33:28 +02:00
Martin Kojtal
2cd7aa1148
Merge pull request #10303 from juhoeskeli/mem_changes
...
STM32L4xx: IAR memory maps updated
2019-04-29 13:46:46 +01:00
JarekParal
484c8a59b9
Add missing ADC pins mapping for FRMD-K66F
2019-04-29 10:54:39 +02:00
Laurent Meunier
1922937292
STM32F303RE: Activate FLASHIAP
2019-04-26 15:13:08 +02:00
Anna Bridge
4020c6d19d
Merge pull request #10436 from OpenNuvoton/nuvoton_nuc472_fix_power-down
...
NUC472: Workaround for unknown error with power-down
2019-04-26 13:34:12 +01:00