Ashok Rao
5cb1c64d59
Adding SPDX identifier
2019-04-01 11:21:45 +01:00
Ashok Rao
479bcfdbfe
Incorporating review comments
...
Removing USBDEVICE since USB pins are NOT brought out on the MTB/MCB.
2019-04-01 11:16:16 +01:00
Ashok Rao
d2af702ed9
Incorporating review comments
2019-04-01 10:06:30 +01:00
Ashok Rao
83ad921196
Resolving merge conflicts from my remote
2019-04-01 07:49:37 +01:00
Ashok Rao
d4c83fc056
Adding STM32_F429 + S2_LP (WiSUN) as a new MTB target
2019-04-01 07:31:01 +01:00
Laurent Meunier
b0f4815261
STM32WB: ADC INTERNAL CHANNEL reset after read
...
Internal channels use is enabling ADC "internal path" which needs
to be disabled after measurement.
Same applied here for WB family as was done for others in #10143 .
2019-03-29 16:21:46 +01:00
Laurent Meunier
c6277988c6
STM32WB: Only configure default peripherals in SetSysClock
...
Typically the RTC clock is configured by RTC driver itself.
RNG on the other hand is shared with M0+ core and it is expected that
M4 turns it on at boot time.
2019-03-29 16:21:46 +01:00
Laurent Meunier
a744343931
STM32WB: disable debug lines when not needed
...
When doing so, do not disbale GPIO clocks as they may be used by other
drivers !
As a result, debug will be disabled by default, but can be enabled by
either modifying code or selecting MBED debug profile.
2019-03-29 16:21:46 +01:00
Laurent Meunier
718b16545c
STM32WB: update deep sleep sequence
...
Review HSE clock initialization to match with latest CUBE firmware.
Also there is no need to set the full clock tree again after deep sleep exit.
With this change we get a stable deep sleep mode (when allowed by CORDIO stack).
2019-03-29 16:21:45 +01:00
Laurent Meunier
b21110d6b8
STM32WB: Add FLASH HW Semaphore
...
Because FLASH is a shared resource between the 2 STM32WB cores, SW needs
to acquire HW Semaphore before using the resource.
2019-03-29 16:21:45 +01:00
Laurent Meunier
14ee4a1c7b
STM32WB: Add TRNG HW Semaphore
...
Because TRNG is a shared resource between the 2 STM32WB cores, SW needs
to acquire HW Semaphore before using the resource.
2019-03-29 16:21:45 +01:00
Laurent Meunier
71c396cab1
STM32WB: update GCC linker script to match with master
2019-03-29 16:21:45 +01:00
Laurent Meunier
6caa4d487f
STM32WB: Add SPDX identifier to new files
...
also update the copyright year when needed
2019-03-29 16:21:44 +01:00
Laurent Meunier
c53021b77f
STM32WB: Update headers
2019-03-29 16:21:43 +01:00
Laurent Meunier
536c37f58b
STM32WB55RG: temporarily remove device_name property in targets.json
...
Until the CMSIS pack device name is officially deployed.
then we'll the name as can be found in Keil CMSIS pack
<!-- ************************* Device 'STM32WB55RG' ***************************** -->
<device Dname="STM32WB55RGVx">
<memory id="IROM1" start="0x08000000" size="0x001000000" startup="1" default="1" />
<memory id="IRAM1" start="0x20000000" size="0x000040000" init="0" default="1" />
<algorithm name="CMSIS/Flash/STM32WB_M4.FLM" start="0x08000000" size="0x001000000" default="1" />
<feature type="QFP" n="68"/>
</device>
2019-03-29 16:21:42 +01:00
Laurent Meunier
002f40dd3a
STM32WB: ARM linker script update
...
There is no need to add FIRST attribute to MAPPING_TABLE as the default
ordering is alphabetical order.
With this change, we don't have any warning with MBED2 and the sections
are properly ordered anyway in BLE cases.
2019-03-29 16:21:42 +01:00
Laurent Meunier
f2580c1c4a
STM32WB: Fix ARM link error in mbed2
...
In case of mbed2, BLE feature is not built.
As there is a MAPPING_TABLE in BLE feature which is not compiled in case
of mbed2, the linker reported the below error
[ERROR] "C:/Data/Workspace/mbed/BUILD/test/NUCLEO_WB55RG/ARM/MBED_2/
.link_script.sct", line 65 (column 6): Error: L6236E:
No section matches selector - no section to be FIRST/LAST.
Solution is to check whether BLE is enabled.
2019-03-29 16:21:41 +01:00
Laurent Meunier
f9b4f11507
STM32WB: Adapt I2C timings
...
for now based on L4+ cubeMX inputs
2019-03-29 16:21:41 +01:00
Laurent Meunier
bb2aea41f8
fixup! NUCLEO_WB55RG: add SDK files
2019-03-29 16:21:41 +01:00
Laurent Meunier
e2cdb19e7f
STM32WB: Add missing analogin_pinmap
...
This is required since PR #9449
commit
"Add HAL API for analog in pinmap"
2019-03-29 16:21:41 +01:00
Laurent Meunier
d9c17addd7
Add WB support and CUBE FW version in readme.md
2019-03-29 16:21:40 +01:00
Laurent Meunier
5aa609b4db
STM: fix minor warnings
2019-03-29 16:21:40 +01:00
Laurent Meunier
22f9ac6624
STM32WB: FIX LL RTC warning
2019-03-29 16:21:40 +01:00
Laurent Meunier
5871a712dc
STM32WB: Move STM32WB utilies from FEATURE_BLE to targets folder
...
These files are not BLE specific, but also needed for some clock setting
for instance.
In order to compile an MBED2 application, we need to move the files.
2019-03-29 16:21:40 +01:00
Laurent Meunier
27e7e4d9df
NUCLEO_WB55RG: Rework Clock and sleep support
...
- move hw_conf.h file to targets/TARGET_STM/TARGET_STM32WB directory as
this is used also out of BLE feature.
- create a dedicated hal_deepsleep function as the behavior in WB is a lot
different from other existing STM32 targets
- update clock tree configuration to directly clock the entire tree @ 32MHz
out of HSE. This is needed as we want to let the M0 core running without
any change on M0-side of clocks when M4 enters /exits deep sleep.
2019-03-29 16:21:40 +01:00
bcostm
96ecd48a40
NUCLEO_WB55RG: update targets.json
2019-03-29 16:21:39 +01:00
jeromecoutant
ea86e8ef34
NUCLEO_WB55RG: HAL API updates to get SLEEP, RTC and LPTICKER OK
...
- astyle OK
- file alignment with other families
- HSE, MSI, HSI clock support
- LPTICKER with RTC and LPTIM tested
2019-03-29 16:21:38 +01:00
bcostm
beab69704a
NUCLEO_WB55RG: update STM common files
...
- Include RTC ll file from hal as in other families
- STM32WB: update Flash API driver
2019-03-29 16:21:38 +01:00
Laurent Meunier
baf7a121bb
NUCLEO_WB55RG: IAR, ARM and GCC linker files alignment
...
Align all scatter BLE shared memory declarations.
2019-03-29 16:21:38 +01:00
bcostm
4547fa34f7
NUCLEO_WB55RG: update mbed_rtx.h
2019-03-29 16:21:38 +01:00
bcostm
81f985433f
NUCLEO_WB55RG: add SDK files
...
- Contains files from STM32Cube_FW_WB_V1.0.0
2019-03-29 16:21:37 +01:00
jeromecoutant
ec00ea5655
STM32 ADC INTERNAL CHANNEL reset after read
...
Internal channels use is enabling ADC "internal path"
which needs to be disabled after measurement
2019-03-29 14:30:49 +01:00
Vivek Pallantla
96b6f99bee
PSoC uart: Setup RTS and TX lines in deepsleep
...
When PSoC enters deepsleep, in uart driver
- deassert RTS, set RTS to output high
- set TX to output high
2019-03-28 18:01:00 -07:00
Vivek Pallantla
7799be6dad
PSOC: Modify lp_ticker to 32 bit
...
Needed for PSoC to deep-sleep for more than 2 seconds
Max sleep with 16 bit lp_ticker (before this change) : 2sec
Max sleep with 32 bit lp_ticker (after this change) : 36hours
2019-03-28 16:21:59 -07:00
Cruz Monrreal
6443e4360a
Merge pull request #10212 from ecoromka/master
...
Fix tempsensor cal1 constant in stm32f3xx_ll_adc.h
2019-03-28 17:07:46 -05:00
David Saada
732dd36c90
Remove FEATURE_STORAGE and all underlying deprecated features
2019-03-28 23:10:05 +02:00
Vincent Veron
5765c4d0e0
TARGET_STM32F7: Refresh cache when erasing or programming flash
...
The cache must be refreshed when we erase or program flash memory.
It fix 2 issues :
Fix #9934
Fix #6380
This solution was initially proposed in #6380 .
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-03-28 14:48:12 +01:00
jk
e44aa056c0
added SPDX identifier and
...
added the description of uhuru_raven_init function
2019-03-27 17:02:56 +09:00
jk
23cb826314
Add definition of RAVEN
2019-03-27 17:02:55 +09:00
Cruz Monrreal
54e1ec6ea5
Merge pull request #10213 from d-kato/rza1xx_wait_ns
...
GR_LYCHEE,RZ_A1H,VK_RZ_A1H: Fix greentea ticker test case failures
2019-03-27 00:35:33 -05:00
Cruz Monrreal
be38d95383
Merge pull request #10209 from OpenNuvoton/nuvoton_add-button-name
...
Nuvoton: Add button names BUTTON1/BUTTON2
2019-03-27 00:35:03 -05:00
Cruz Monrreal
61b0d8ecdc
Merge pull request #10206 from kfnta/lpc55s69_program_cycle
...
Define program_cycle_s for LPC55S69 & CY8CKIT_062_WIFI_BT
2019-03-27 00:25:02 -05:00
Cruz Monrreal
fcf4999098
Merge pull request #10155 from kfnta/us_ticker
...
Remove dependency on us_ticker HAL apis for non USTICKER targets
2019-03-27 00:22:49 -05:00
Cruz Monrreal
0395150bfb
Merge pull request #10074 from morser499/cy-mbed-os-5.12.0-pwm-free
...
Fixed issue with PWM not being freed when the object is destroyed
2019-03-27 00:21:54 -05:00
Cruz Monrreal
b872d08181
Merge pull request #10000 from malavikasajikumar/master
...
Adding support for SDP-K1.
2019-03-27 00:21:13 -05:00
ecoromka
757b9e250d
Fix tempsensor cal1 constant in stm32f3xx_ll_adc.h
...
Fix TEMPSENSOR_CAL1_TEMP according to datasheet.
2019-03-26 10:42:38 -05:00
d-kato
e96c6334f7
Refactoring system clock driver
2019-03-26 19:02:46 +09:00
d-kato
2509ea82fd
Removed clock mode decision of "SystemCoreClockUpdate()"
...
Since GPIO.PPR0 can not check clock mode, I changed it to set a fixed value for each board.
2019-03-26 19:02:46 +09:00
d-kato
cb31d11319
Fix the value of SystemCoreClock
...
The OS timer of RZ/A1 uses P0 clock, so until now it has been set the value of P0 clock in SystemCoreClock.
Changed the system clock value to set to SystemCoreClock.
Changed to refer to P0 clock macro instead of SystemCoreClock in OS timer processing.
2019-03-26 19:02:46 +09:00
ccli8
be96ade527
[Nuvoton] Add button names BUTTON1/BUTTON2
2019-03-26 17:05:43 +08:00
Michael Schwarcz
a91f17e824
LPC targets: Compile us_ticker.c only if USTICKER defined
2019-03-26 09:52:18 +02:00
Michael Schwarcz
0e73a83bb2
Add USTICKER to more targets
...
- LPC4088
- LPC4088_DM
- MAX32600MBED
- NCS36510
- WIZWIKI_W7500
- WIZWIKI_W7500ECO
- WIZWIKI_W7500P
2019-03-26 09:52:17 +02:00
Michael Schwarcz
3ea2161755
Add USTICKER to ARCH_PRO target
2019-03-26 09:52:17 +02:00
Oren Cohen
b7b0c254b7
Define program_cycle_s for CY8CKIT_062_WIFI_BT
2019-03-24 19:21:27 +02:00
Oren Cohen
85d4527b61
Define program_cycle_s for NXP LPC55S69
2019-03-24 17:52:10 +02:00
Brian Daniels
2b75dfda0f
Only enable ARMC6 for a few targets
...
The affected targets are Renesas targets, USI_WM_BN_BM_22 based
targets, and the MTB_MXCHIP_EMW3166.
2019-03-23 18:24:57 -05:00
Martin Kojtal
f76436c955
Merge pull request #10181 from jeromecoutant/PR_STMOD
...
DISCO_L496AG: Add PMOD and STMOD+ connector
2019-03-22 11:17:12 +01:00
Martin Kojtal
d6908ce97f
Merge pull request #10178 from OpenNuvoton/nuvoton_fix_stor_cmpt
...
Nuvoton: Remove SD component from targets.json
2019-03-22 06:33:46 +01:00
Oren Cohen
6f7f30fb24
Add missing sector data
2019-03-21 17:47:32 +02:00
Ryan Morse
51a47139f3
Fixed issue with PWM not being freed when the object is destroyed
2019-03-21 07:48:42 -07:00
Oren Cohen
d568e8734e
Remove device_name from targets.json
2019-03-21 16:01:04 +02:00
Martin Kojtal
d850d3bbca
Merge pull request #10156 from juhoeskeli/MTB_STM_L475_uart_clock_fix
...
MTB_STM_L475: fix UART clock
2019-03-21 10:43:35 +01:00
jeromecoutant
9ac9288229
DISCO_L496AG: Add PMOD and STMOD+ connector
2019-03-21 10:35:11 +01:00
ccli8
ab85146b20
[Nuvoton] Remove SD component from targets.json
...
Nuvoton targets below don't provide SPI-bus SD on-board, identified by 'SD' in
target component list. Instead, these targets provide SD-bus SD on-board, identified
by unofficial 'NUSD', driver of which is provided outside mbed-os tree. So 'SD' must
be removed to reflect the truth.
- NUMAKER_PFM_NUC472
- NUMAKER_PFM_M487
- NUMAKER_IOT_M487
- NUMAKER_PFM_M2351
2019-03-21 13:13:41 +08:00
Juho Eskeli
a3beb1081e
MTB_STM_L475: fix UART clock
2019-03-20 16:52:28 +02:00
Martin Kojtal
7d853b46c3
Merge pull request #10133 from ashok-rao/MTB_STM_F439
...
Adding STM32_F439 as a new MTB target
2019-03-20 13:52:46 +01:00
Martin Kojtal
9f2b23d009
Merge pull request #10149 from jeromecoutant/PR_H7ADCINTERNAL
...
STM32H7 ADC internal channels
2019-03-20 13:25:23 +01:00
Ashok Rao
3661957401
Changing SPI flash's CS ine, Errata on SCH
2019-03-19 09:47:38 +00:00
Ashok Rao
fd241ddeaf
Pin map changes
...
Based on v1.1.0 of S2_LP MCB using STM32F429ZIT6.
2019-03-19 09:47:38 +00:00
Ashok Rao
496308e4aa
Removing all content related to EMAC
2019-03-19 09:47:38 +00:00
Ashok Rao
04270f75ba
Adding MTB aliases to PinNames
2019-03-19 09:47:38 +00:00
Ashok Rao
01f2b0426d
Adding STM S2_LP as a new target
2019-03-19 09:47:38 +00:00
Malavika Sajikumar
00863c2664
Renaming SDP-K1 to SDP_K1.
2019-03-18 15:50:14 -07:00
jeromecoutant
75a771c583
STM32H7 ADC internal channels
2019-03-18 16:55:37 +01:00
Ashok Rao
339f806c71
Removing redundant code.
...
MCO pins are not brought out on MTB / MCB design.
2019-03-18 12:37:27 +00:00
Ashok Rao
e4f8b400f8
Adding STM32_F439 as a new MTB target
2019-03-17 19:20:43 +00:00
Cruz Monrreal
a637551613
Merge pull request #9952 from d-kato/rza1xx_pwm
...
Fix PWM driver of RZ/A1
2019-03-16 22:55:08 -05:00
David Saada
eb5cef84fd
Add bootloader support for the LPC55S69 board
...
bla
2019-03-16 00:13:40 +02:00
Martin Kojtal
4b358d63f9
Merge branch 'patch-10' of https://github.com/janjongboom/mbed-os into rollup
2019-03-15 08:44:24 +00:00
Martin Kojtal
cde7d0be58
Merge pull request #10068 from NXPmicro/Add_LPC55S96_Exporter_Support
...
LPC55S69: Add IAR and uvision exporter support
2019-03-15 09:32:40 +01:00
Martin Kojtal
0e37fc206c
Merge pull request #10097 from 0xc0170/rollup
...
Rollup PRs: simple fixes
2019-03-15 08:04:29 +01:00
Cruz Monrreal
d53ff0b3c4
Merge pull request #10101 from kfnta/nxp_reduce_its
...
LPC55S69_S: reduce ITS size to 32KB
2019-03-14 13:22:47 -05:00
Oren Cohen
2ea13e6149
"Update secure binaries for LPC55S69_S"
2019-03-14 17:03:06 +02:00
Michael Schwarcz
dca3ebe9f6
LPC55S69_S: reduce ITS size to 32KB
...
- Reduce LPC55S69 secure side ITS from 64KB to 32KB
2019-03-14 15:49:44 +02:00
Yossi Levy
b401e99bda
Updating Cypress CY8CKIT_062_WIFI_BT_PSA and CY8CKIT_062_BLE device name
2019-03-14 14:26:23 +02:00
Yossi Levy
0a5b355d9c
Adding documentation for MBED_APP_START and MBED_APP_SIZE in TARGET_CY8C62XX and TARGET_CY8CKIT_062_BLE linker scripts
2019-03-14 14:26:23 +02:00
Yossi Levy
dd27a3400b
mbed-os to support bootlader for Cypress CY8CKIT_062_WIFI_BT_PSA and CY8CKIT_062_BLE
2019-03-14 14:26:23 +02:00
Martin Kojtal
b80c961dae
Merge pull request #10034 from evgenibo/flash_protected_region_config
...
PSA: PSoc 6 configurable secure memory size
2019-03-14 13:23:58 +01:00
Mahesh Mahadevan
83eed9eb78
LPC55S69: Add IAR and uvision exporter support
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-14 07:19:15 -05:00
Martin Kojtal
9b1b54df39
Merge branch 'cy-mbed-os-5.12.0-ARM-compiler' of https://github.com/morser499/mbed-os into rollup
2019-03-14 11:38:54 +00:00
Martin Kojtal
58e8916b32
Merge branch 'master' of https://github.com/ganesh-ramachandran/mbed-os into rollup
2019-03-14 11:37:45 +00:00
Martin Kojtal
2218efc20c
Merge branch 'gigabus_can' of https://github.com/janjongboom/mbed-os into rollup
2019-03-14 11:37:35 +00:00
Martin Kojtal
d6e81f5249
Merge branch 'PR_H743_A5' of https://github.com/jeromecoutant/mbed into rollup
2019-03-14 11:36:50 +00:00
Martin Kojtal
760ded6d76
Merge branch 'patch-5' of https://github.com/janjongboom/mbed-os into rollup
2019-03-14 11:36:41 +00:00
Oren Cohen
5d1dae40cd
"Update secure binaries for CY8CKIT_062_WIFI_BT_M0_PSA"
2019-03-14 11:53:08 +02:00
Martin Kojtal
1bbf7d69d1
Merge pull request #9902 from wajahat-ublox/r412m_reset
...
Remove assertion of MDMRST in case of SARA-R4
2019-03-14 09:40:44 +01:00
Martin Kojtal
897d15a9bc
Merge pull request #9895 from mrcoulter45/issue-9890-fix
...
Fix for i2c_t object not being initialized to 0 causing timeout
2019-03-14 09:39:10 +01:00
Martin Kojtal
b21211dd9f
Merge pull request #9884 from jeromecoutant/PR_F429_uARM
...
STM32F429 ARM MICRO startup file update
2019-03-14 09:38:33 +01:00
Martin Kojtal
76fe7267e7
Merge pull request #9637 from u-blox/C030_N211_Cellular_Driver
...
Cellular: UBLOX_C030_N211 Cellular API's
2019-03-14 09:11:06 +01:00
Oren Cohen
4c9fe7def4
Finish memory protection and add static assert
2019-03-13 21:08:12 +02:00
Michael Schwarcz
546e33df7b
Update NS IAR icf file
2019-03-13 18:21:37 +02:00
Michael Schwarcz
f6ab217892
Reduce 32KB from LPC55S69_S binary size
2019-03-13 18:21:37 +02:00
Oleg Kapshii
2af3a82cd8
Removed PSoC6 SystemInit Workaround for ARM compiler
2019-03-12 17:00:13 -07:00
Ganesh Ramachandran
c5ad72b781
Error check for reallocation memory fail
2019-03-12 15:04:57 +05:30
Evgeni
c87d5d48c4
"Update secure binaries for CY8CKIT_062_WIFI_BT_M0_PSA"
2019-03-12 11:13:45 +02:00
Evgeni Bolotin
04c5803131
make protected secure flash region configurable and change secure and non secure default region sizes
2019-03-12 11:13:18 +02:00
ccli8
8ca16c4c85
[M2351] Add license header
2019-03-12 09:34:07 +08:00
Cruz Monrreal
76c2192028
Merge pull request #10033 from artokin/port_SPI_peripheral_names
...
Port spi_get_peripheral_name fix to some Freescale boards
2019-03-11 19:21:37 -05:00
Malavika Sajikumar
aef1cb6c54
Disabling LPTICKER for now.
...
Fixing a few more alignment issues.
2019-03-11 11:22:02 -07:00
Arto Kinnunen
647ac06f04
Use Mbed OS coding style
...
Run astyle 3.0 for the changed c-files.
2019-03-11 16:59:54 +02:00
Martin Kojtal
525d46378e
Merge pull request #9997 from kfnta/alzix/platform_rename
...
platform reset API rename
2019-03-11 13:31:49 +01:00
Arto Kinnunen
e1deb88471
Add spi_get_peripheral_name to MCUEpresso spi_api
...
Fix issue https://github.com/ARMmbed/mbed-os/issues/9149 .
Port changes from https://github.com/ARMmbed/mbed-os/pull/9845 also
to targets: K64F, K66F, KW24D and KW41Z
2019-03-11 14:18:41 +02:00
Alexander Zilberkant
661613c998
Rename psa_system_reset to mbed_psa_system_reset
...
add noreturn attributes
update lifecycle service to use psa/error.h
fix doxygen
2019-03-11 10:43:19 +02:00
d-kato
d67af43202
Fix condition statement of write function
2019-03-11 10:42:54 +09:00
Oren Cohen
d6863d89e7
PSoC 6 Correct TRNG behaviour
...
* Remove NVSEED from M0_PSA
* Disable TRNG support for PSA M4
2019-03-10 16:16:53 +02:00
Malavika Sajikumar
27abeb993a
Updating SPDX-License-Identifier.
2019-03-08 14:30:59 -08:00
Martin Kojtal
0e532ba297
Merge pull request #9910 from NXPmicro/Add_LPC55S69_TFM_mbed_master
...
Add support for LPC55S59
2019-03-08 20:24:15 +01:00
Malavika Sajikumar
481c19e30d
Adding support for SDP connector pins.
2019-03-08 10:28:04 -08:00
Malavika Sajikumar
d4cc30c8f9
Fixing for Travis CI test fail. 5e9e140
.
2019-03-08 10:11:26 -08:00
Malavika Sajikumar
b8d4ad29da
Adding SPDX identifier (year 2019) to the license.
2019-03-08 09:35:26 -08:00
Malavika Sajikumar
5e9e1404c8
Removing commented out lines. Added SDP connector pins.
2019-03-08 09:22:47 -08:00
Malavika Sajikumar
a8fc16e6de
Fixing alignment on the lines for SDP-K1 description.
2019-03-08 08:48:08 -08:00
Martin Kojtal
c609d63445
Merge pull request #10011 from lrusinowicz/cymetedata_remove
...
Removed cymetadata section from FUTURE_SEQUANA targets
2019-03-08 17:11:55 +01:00
Mahesh Mahadevan
862961ced5
Updated the binaries
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-08 07:33:49 -06:00
Mahesh Mahadevan
4a2dbba7a1
Reduce the number of flash operation related veneer table entries
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-08 07:33:48 -06:00
Michael Schwarcz
401580f364
LPC55S69: Change post-build hook to create HEX
2019-03-08 07:33:48 -06:00
Michael Schwarcz
ebd9dc83f7
LPC55S69: Use find_secure_image in post-build and add prebuilt secure images
2019-03-08 07:33:48 -06:00
Mahesh Mahadevan
2e9bb17596
MCUXpresso: Update Analogin support
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-08 07:28:59 -06:00
Mahesh Mahadevan
616fa49890
LPC55S69: Add a ctimer for usticker to be used in the secure domain
...
CTIMER 0 is used for the secure domain and CTIMER 1 is used for
the non-secure domain
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-08 07:28:59 -06:00
Mahesh Mahadevan
66eb3deca8
LPC55S69: Fix the I2C SDK driver
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-08 07:28:59 -06:00
Mahesh Mahadevan
3d82af0afe
LPC55S69: Remove FPU_PRESENT and DSP_PRESENT defines
...
These are defined by mbed during compile
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-08 07:28:58 -06:00
Mahesh Mahadevan
98c8aa1ddd
MCUXpresso: Update the sleep implementation for LPC55S69 differences
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-08 07:28:58 -06:00
Mahesh Mahadevan
b4aaad0f14
Add support for LPC55S69
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-08 07:28:58 -06:00
Mahesh Mahadevan
bb2a155ae5
MCUXpresso: Update LPC HAL flash driver
...
The flash driver for the LPC55S69 is different from
prior LPC family. Move the Flash HAL driver to SoC
specific folder
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-08 07:28:57 -06:00
Mahesh Mahadevan
5853af76ee
MCUXpresso: Update LPC TRNG driver
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-08 07:28:57 -06:00
Mahesh Mahadevan
dd21e6dc5a
MCUXpresso: Update SPI driver
...
Move the clock setup and peripheral reset to the init function
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-08 07:28:57 -06:00
Mahesh Mahadevan
783c02d0a2
MCUXpresso: Update LPC I2C, SPI, UART HAL drivers
...
Use the individual IP count and not the FlexComm count
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-08 07:28:57 -06:00
Mahesh Mahadevan
a934ba0b5a
MCUXpresso: In pin_function() use mask macro instead of a hard-coded value
...
The mask size can vary based on the platform
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-08 07:28:57 -06:00
Mahesh Mahadevan
a64b192081
MCUXpresso: Update the LPC GPIO drivers
...
Update to the latest SDK GPIO driver
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-08 07:28:57 -06:00
Mahesh Mahadevan
c05a893111
MCUXpresso: Update usticker driver
...
Move clock frequency to a target specific function
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-08 07:28:56 -06:00
Leszek Rusinowicz
17ed003bb8
Removed cymetadata section from FUTURE_SEQUANA targets
...
This data, placed at physically not existing addresses (0x9xxxxxxx) was used
only by PSoC Programmer and KitProg2 and is no longer needed, but was causing
issues with standard hex file processing tools like srecord (srec_cat).
2019-03-08 12:57:34 +01:00
Martin Kojtal
7d9c63310d
Merge pull request #9977 from jeromecoutant/PR_L073_IAR
...
NUCLEO_L073RZ: IAR linker script issue
2019-03-08 12:21:39 +01:00
ccli8
c4bda553c8
[M2351] Override CMSIS ROM/RAM spec in targets.json
...
Old M2351 CMSIS pack reports single secure ROM/RAM spec. It is updated in new
version which reports secure/non-secure ROM/RAM spec. Override this memory spec
in targets.json regardless of CMSIS.
2019-03-08 09:53:55 +08:00
ccli8
14775cb123
[M2351] Refactor for memory partittion support
...
Add partition_M2351_mem.h/partition_M2351_mem.icf to centralize memory partition
2019-03-08 09:48:49 +08:00
Malavika Sajikumar
2ffa39ffc0
Adding support for SDP-K1.
2019-03-07 13:43:54 -08:00
Kyle Kearney
4c1ff13e30
Rebuild PSoC6 secure binaries
2019-03-07 09:21:54 -08:00
Neil Tuttle
084a83717f
Rename PSoC 6 assembler files from .s to .S
2019-03-07 08:40:20 -08:00
Neil Tuttle
ac6a6b8d00
TARGET_PSOC6: Fix incorrect serial clock divider
...
If the board-specific initialization code configures the serial port to
use an 8-bit divider, the serial_init_clock function would configure the
16-bit divider with the same index instead of the intended 8-bit
divider.
2019-03-07 08:40:20 -08:00
Shuopeng Deng
6d3ec4ca95
adding flash iap component to cypress psoc6 m4
2019-03-07 08:40:20 -08:00
Vivek Pallantla
0cce5d53b8
PSOC6 deep-sleep changes
...
- Enable add MBED_TICKLESS in targets/targets.json
- BLE : deep-sleep aware HCI transport driver
- WIFI: deep-sleep aware driver
- Rebuild WICED libraries with Low Power changes
2019-03-07 08:40:20 -08:00
Sergii Vozniak
69c5404662
Fixed type of STDIO UART initialization variable.
2019-03-07 08:40:20 -08:00
Oleg Kapshii
aedec74b9a
Added support for PSA target to WIFI_BT board
...
Added WiFi_Bt CM4 PSA target in mbedos json
Added SPE-NSPE mailbox initialization for CM4 SystemInit
Made similar to FUTURE_SEQUANA configurations
Copied FUTURE_SEQUANA CM0 SPM part for WiFi_Bt smoke test
Added CY8CKIT_062_WIFI_BT_M0 and CY8CKIT_062_WIFI_BT_M0_PSA targets
Sorted files for new CY8CKIT_062_WIFI_BT_M0 and CY8CKIT_062_WIFI_BT_M0_PSA targets
Copied files for CY8CKIT_062_WIFI_BT_M0_PSA from FUTURE_SEQUANA
Copied and updated cm0p start files
Corrected according to FUTURE_SEQUANA
Changes to M0 startup files to have SPM started
Fixed implicit declaration warning
Commented interrupts enabling according to FUTURE_SEQUANA flow
Updated prebuild spm_smore CM0 hex for CM4 target
Turned on greentea environment
Used special memory region for common CM0/CM4 data
Updated prebuild CM0 SPM hex
Placed shared memory region for flash operations into SPM shared memory region
Updated cyprotection code and configuration
Start address of protected regions is set by a defined number from target.json
Added masters pcMask configuration
Added support for PSA target to WIFI_BT board
Enabled resources protection for SPM
Aligned RAM usage according to Cypress FlashBoot and CyBootloader
alligned protection config
Added CYW943012P6EVB_01_M0 target
Enlarged heap size, remobed nv_seed
Added heap reservation in linker script from mbed-os
Removed heap size definition
turned on nv_seed config
Removed nv_seed macros
Enabled protection for PSoC6 CM0
Added PSoC6 CM0 PSA readme
Enabled mbed_hal-spm test
Enabled nv_seed and removed unneeded ipc config define
Added SPDX string to feature_ble cypress target files
Removed unneeded supported_toolchains lines for Cypress targets
Disabled protection settings
Corrected flash initialization for PSoC6 CM0 PSA
Changed PSoC6 IPC6 protection for flash
Enabled special flash initialization and enabled protection settings
Updated and added new prebuild PSoC6 CM0 PSA hex files
Disabled HW TRNG and CRC for PSoC6 CM4 PSA target
Added missing const to allow types to match
Updated PSoC6 WIFI_BT_PSA prebuilt directory
Moved PSoC6 shared section usage area definition to begin of ld
Added initial ARM_STD linker and startup files for PSoC6 CM0
Added initial IAR linker and startup files for PSoC6 CM0
Added defines to disable some SPM protection settings for PSoC64
Moved Flash function variables into separate memory region
Added defines for new Public area definition
Updated PSoC6 CM0_PSA hex-files
2019-03-07 08:40:20 -08:00
Jan Jongboom
f3614abc30
OdinWifiInterface is calling memcpy with a null pointer
2019-03-07 16:47:56 +01:00
Jan Jongboom
49e970560d
GigaDevice targets can return ninitialized variable in CAN driver
2019-03-07 16:41:42 +01:00
Sarah Marsh
c668472f01
NUCLEO_L073RZ: IAR linker script issue
2019-03-07 13:55:55 +01:00
ccli8
894f71e855
[M2351] Fix preprocessor command line in ARMC6 .sct file
2019-03-07 16:28:38 +08:00
ccli8
c0bba7475f
[M2351] Rename TOOLCHAIN_ARM_STD TOOLCHAIN_ARMC6
...
This is to express ARMC6 toolchain support more explicitly.
2019-03-07 16:28:36 +08:00
ccli8
26ff0677dc
[M2351] Remove unnecessary toolchain directory TOOLCHAIN_ARM_MICRO
2019-03-07 16:28:33 +08:00
d-kato
c5b01bf429
Add PWM pin for GR-LYCHEE
2019-03-07 12:26:53 +09:00
d-kato
9c8d263b4e
Remove noise when duty is 0% and 100%
2019-03-07 12:13:06 +09:00
d-kato
09df3eb696
Changed PWM period setting register for RZ/A1
2019-03-07 12:07:24 +09:00
d-kato
70217338cb
Refactoring PWM driver for RZ/A1
2019-03-07 12:00:57 +09:00
Cruz Monrreal
63242cfbb4
Merge pull request #9939 from kfnta/fix_for_secure_partition
...
Fix for secure partition
2019-03-06 20:00:38 -06:00
Cruz Monrreal
f3ecc0b485
Merge pull request #9940 from davidsaada/david_psoc6_reduce_prog_size
...
Reduce flash page size from 512 to 32 bytes in PSOC6 based boards
2019-03-06 13:44:39 -06:00
David Saada
9cacd029ef
Reduce flash page size from 512 to 32 bytes in PSOC6 based boards
...
Page size in all PSOC6 boards is 512 bytes. This is very problematic in
all storage applications. This change reduces the page size (in flash_api's
flash_program_page API) to 32 by reading the original page, modifying it
with programmed data and programming it back. The number 32 for page size
conforms to the number of times (16) this action can be done.
2019-03-06 13:45:27 +02:00
Michael Coulter
c59c1cb29d
Fix for i2c_t object not being initialized to 0 causing timeout
...
For issue #9890
2019-03-05 11:35:18 -06:00
Netanel Gonen
094f2a6b6e
Update PSoC 6 pre-build secure partition
2019-03-05 15:12:09 +02:00
jeromecoutant
5839a8e7c5
NUCLEO_H743ZI: Arduino A5 is mapped on ADC3_IN6
2019-03-04 17:18:56 +01:00
Martin Kojtal
e75794ec6e
Merge pull request #9888 from ARMmbed/feature-armc6
...
ARM Toolchain update to ARM Compiler 6.11(ARMC6)
2019-03-04 12:23:38 +01:00
Jan Jongboom
67b706a3c9
SAML21J18A: #endif without #if in analogout_api.c
...
This PR: 3bd3aca6db (diff-995cd6fe18f4fabfb549266dde0a3784)
broke the SAML21J18A target, as there was no `#if DEVICE_ANALOGOUT` call, and this PR added an `#endif` there that's not matched now.
2019-03-04 11:16:14 +01:00
Oren Cohen
cfb60ec955
Fixes
...
* Add #include <stddef.h> to psa/client.h
* Add Attestation service to TFM
* Update FUTURE_SEQUANA_PSA secure binaries
* Remove MBED_SPM from K64F
* Refactor psa_manifest/sid.h
* Increase stackl size in spm-client tests
* Add handling of errors from psa_get in partitions
2019-03-03 13:30:58 +02:00
Michael Schwarcz
6341d44591
Update FUTURE_SEQUANA_M0_PSA default binaries
2019-03-03 10:55:47 +02:00
Senthil Ramakrishnan
45c727ee6f
Workaround(recommended by compiler team) for FVP_MPS2 targets to use ARM Compiler 6
2019-03-01 13:40:42 -06:00
Martin Kojtal
7c9a71846e
Merge pull request #9469 from kjbracey-arm/spi_muxing
...
SPI upgrade - per-peripheral mutex and GPIO-based SSEL
2019-03-01 18:38:27 +01:00
Martin Kojtal
f559d03ae2
Merge pull request #9766 from deepikabhavnani/uarm_fixes
...
Update Toolchain Arm Micro scatter files
2019-03-01 16:54:27 +01:00
Kevin Bracey
b12be6bb80
Rename SPI_COUNT to DEVICE_SPI_COUNT
...
Avoid collision with some HALs that already define SPI_COUNT.
2019-03-01 14:37:04 +02:00
Martin Kojtal
857cd9fba1
Merge pull request #9845 from jarlamsa/stm_spi_peripheral_name
...
Add spi_get_peripheral_name() to stm_spi
2019-03-01 12:15:04 +01:00
Wajahat Abbas
b7b083e6a2
do not assert MDMRST in case of SARA-R4
2019-03-01 15:33:26 +05:00
Martin Kojtal
b5d713d6d7
Merge pull request #9866 from j3hill/QSPI_Align
...
QSPI write alignment fix for nRF52x
2019-03-01 10:54:58 +01:00
Deepika
122549910e
Add Crash report section to all uARM files
2019-02-28 19:54:38 -06:00
Deepika
6ab48b1863
Update linker scripts for LPC824 and Wiznet
2019-02-28 19:54:38 -06:00
deepikabhavnani
944483b0f7
Add missing SHEBANG = #! armcc -E
2019-02-28 19:54:38 -06:00
deepikabhavnani
75040535ed
Addressed review comments to correct size values
2019-02-28 19:54:38 -06:00
deepikabhavnani
0ff2d42143
Heap and stack size picked from linker files,export symbols not needed
2019-02-28 19:54:38 -06:00
deepikabhavnani
0dc5561991
Guard RAM start and size defines
2019-02-28 19:54:38 -06:00
deepikabhavnani
adae2e9f32
Target_Atmel: Add ARM_LIB_STACK and ARM_LIB_HEAP section
...
Instead of user defined symbols in assembly files or C files,
use linker scripts to add heap and stack - this is inconsistent
with ARM std linker scripts
2019-02-28 19:54:38 -06:00
deepikabhavnani
4b95b51e1b
Target_Freescale: Add ARM_LIB_STACK and ARM_LIB_HEAP section
...
Instead of user defined symbols in assembly files or C files,
use linker scripts to add heap and stack - this is inconsistent
with ARM std linker scripts
2019-02-28 19:54:38 -06:00
deepikabhavnani
e731a1589f
Target_GigaDevice: Add ARM_LIB_STACK and ARM_LIB_HEAP section
...
Instead of user defined symbols in assembly files or C files,
use linker scripts to add heap and stack - this is inconsistent
with ARM std linker scripts
2019-02-28 19:54:38 -06:00
deepikabhavnani
2a192509c3
Target_NUVOTON: Add ARM_LIB_STACK and ARM_LIB_HEAP section
...
Instead of user defined symbols in assembly files or C files,
use linker scripts to add heap and stack - this is inconsistent
with ARM std linker scripts
2019-02-28 19:54:38 -06:00
deepikabhavnani
c91d35ccc8
Target_NXP: Add ARM_LIB_STACK and ARM_LIB_HEAP section
...
Instead of user defined symbols in assembly files or C files,
use linker scripts to add heap and stack - this is inconsistent
with ARM std linker scripts
2019-02-28 19:54:38 -06:00
deepikabhavnani
6b98bc2771
Target_SiLabs: Add ARM_LIB_STACK and ARM_LIB_HEAP section
...
Instead of user defined symbols in assembly files or C files,
use linker scripts to add heap and stack - this is inconsistent
with ARM std linker scripts
2019-02-28 19:54:38 -06:00
deepikabhavnani
b598dc1f46
Target_STM: Add ARM_LIB_STACK and ARM_LIB_HEAP section
...
Instead of user defined symbols in assembly files or C files,
use linker scripts to add heap and stack - this is inconsistent
with ARM std linker scripts
2019-02-28 19:54:28 -06:00
deepikabhavnani
a9ce4b3d9a
Target_WIZWIKI: Add ARM_LIB_STACK and ARM_LIB_HEAP section
...
Instead of user defined symbols in assembly files or C files,
use linker scripts to add heap and stack - this is inconsistent
with ARM std linker scripts
2019-02-28 19:52:06 -06:00
deepikabhavnani
7f6b4e51a3
Microlib only supports the two region memory model
...
Update arm_std.c and linker scripts to use ARM_LIB_STACK
and ARM_LIB_HEAP section from scatter files, instead of user
defined symbols
2019-02-28 19:52:06 -06:00
Cruz Monrreal
befed111f5
Merge pull request #9668 from moranpeker/psa-init-attestation
...
PSA Initial Attestation service
2019-02-28 18:25:16 -06:00
Cruz Monrreal
e393c2dc0b
Merge pull request #9785 from c1728p9/default_to_us_ticker
...
Use us ticker for tickless on devs with wrapper
2019-02-28 18:25:01 -06:00
Cruz Monrreal
e6caa122cb
Merge pull request #9812 from kjbracey-arm/wait_ns
...
Add wait_ns API
2019-02-28 18:21:46 -06:00
Cruz Monrreal
4b9d07a1da
Merge pull request #9792 from sarahmarshy/nucleo-gcc-bootloader
...
NUCLEO_L073RZ Bootloader support
2019-02-28 18:21:14 -06:00
Senthil Ramakrishnan
99674833c7
Use ARMC5 for Cypress targets and fixes targets.json line duplication
2019-02-28 12:48:37 -06:00
Senthil Ramakrishnan
4d175544aa
Use ARMC5 for FVP targets
2019-02-28 12:03:15 -06:00