Martin Kojtal
ffe9ddfb2d
Merge pull request #10268 from cy-vivekp/pr/serial_rts
...
PSoC6 serial driver: Setup RTS and TX lines on deepsleep entry/exit
2019-04-10 12:23:11 +02:00
Martin Kojtal
bb0baee381
Merge pull request #10347 from bridadan/allow_mbed_2_builds
...
Fix detection of supported targets for mbed 2 builds
2019-04-10 10:02:32 +02:00
Brian Daniels
11775ef111
Force SAMD21 and SAMR21 targets to ARMC5 due to incompatibility.
...
The hal code for this target uses "const volatile" types inside of
structs, which are non-trivially copyable in clang (used by ARMC6). This
causes the build to fail.
Here's the commit that changed this in clang:
a3d727ba77
It seems this was reverteed some time ago in clang, but ARMC6 may not
be up to date.
2019-04-09 14:52:15 -05:00
Cruz Monrreal
b419cfc3ed
Merge pull request #10328 from kjbracey-arm/stdio_serial_option
...
Add option to disable default UART console
2019-04-09 14:03:41 -05:00
Cruz Monrreal
73f1edd6db
Merge pull request #10004 from OpenNuvoton/nuvoton_m2351_fix-memory-partition
...
M2351: Support memory custom partition
2019-04-09 14:03:18 -05:00
Cruz Monrreal
67de89d119
Merge pull request #10346 from lrusinowicz/sequana_armc6_fixes
...
FUTURE_SEQUANA: Add suport for ARMC6
2019-04-09 11:06:05 -05:00
Martin Kojtal
d9463ee95a
Merge pull request #10318 from KariHaapalehto/emw3166
...
Crash with MTB_MXCHIP_EMW3166 has been corrected.
2019-04-09 11:04:20 +02:00
Martin Kojtal
f4fa6c9d2a
Merge pull request #10343 from VVESTM/issue_10049
...
TARGET_STM32F7: Reset QSPI in default mode on abort for all versions.
2019-04-09 10:27:56 +02:00
Martin Kojtal
3a4f591a76
Merge pull request #10124 from jamesbeyond/fm_sleep
...
Enable low-power ticker and Sleep for FastModels
2019-04-09 09:56:52 +02:00
Leszek Rusinowicz
e5d970d321
FUTURE SEQUANA: Fixed linker scripts for ARMC6
...
Also enabled ARMC6 compiler for FUTURE_SEQUANA family of targets.
2019-04-08 16:51:52 +02:00
Leszek Rusinowicz
48d12c39e5
FUTURE_SEQUANA: Fixed ARMC6 compiler errors and warnings
2019-04-08 16:50:20 +02:00
Leszek Rusinowicz
270f368bbd
FUTURE_SEQUANA: Flatten PDL library paths
...
This change moves all PDL drivers into common source and include
directories to alleviate issue with Windows version of GNU Make 4.x
maximum command line length limit.
2019-04-08 16:31:17 +02:00
Kevin Bracey
f6456d8c81
Add option to disable default UART console
...
New `target.console-uart` option added to indicate whether a target has
a console UART on STDIO_UART_TX/RX/RTS/CTS pins. (The existing option
`target.console-uart-flow-control` indicates whether RTS and or CTS is
available in addition to TX and RX).
The option defaults to true, and is currently true on all platforms. It
only applies if DEVICE_SERIAL is true, so no need to go through and mark
it false for non-SERIAL platforms.
An application can turn off target.console-uart to save ROM/power/etc if
they don't want to use the serial console. If this is turned off, the
console won't be activated for stdin/stdout, but the application is
still free to open `UARTSerial(STDIO_UART_TX, STDIO_UART_RX)`
themselves.
2019-04-08 15:56:44 +03:00
Qinghao Shi
916ec21197
FastModel: Add SPDX License Identifier
2019-04-08 11:50:22 +01:00
Vincent Veron
9856e86897
TARGET_STM32F7: Reset QSPI in default mode on abort for all versions.
...
This patch is missing in F7 HAL.
Fix #10049
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-04-08 11:47:15 +02:00
Martin Kojtal
c2ebb79723
Merge pull request #9814 from LMESTM/dev_NUCLEO_WB55RG
...
Adding NUCLEO_WB55RG support
2019-04-04 15:30:07 +02:00
Kari Haapalehto
e6cf021fb8
Crash with MTB_MXCHIP_EMW3166 has been corrected.
...
There was undined pin, which was causing EMW3166 to crash.
Correction has been done and new binaries genearated
2019-04-04 13:05:35 +03:00
Ganesh Ramachandran
0b84c30d7c
Fixed support for DigitalOut(NC) instantiation
2019-04-04 15:16:29 +05:30
Martin Kojtal
6081727cbf
Merge pull request #10115 from enebular/raven
...
Uhuru RAVEN: Adding platform HAL
2019-04-04 11:05:23 +02:00
Martin Kojtal
25371d47c5
Merge pull request #10288 from bridadan/allow_armc5_for_renesas_targets
...
Revert limiting Renesas targets to ARMC6
2019-04-04 10:30:46 +02:00
Qinghao Shi
229e30a5c9
FastModel: Enable low-power ticker and sleep
2019-04-03 16:51:39 +01:00
Qinghao Shi
0374309946
FastModel: refactor us_ticker code, make names intuitive
...
- reanme US_TICKER_TIMER1 to US_TICKER_COUNTER
- reanme US_TICKER_TIMER2 to US_TICKER_INTERRUPT
2019-04-03 16:37:08 +01:00
Qinghao Shi
8ebb363618
FastModel: add HAL sleep implementation
2019-04-03 16:37:08 +01:00
Qinghao Shi
5c06f99396
Fastmodel: add HAL low-power ticker implementation
2019-04-03 16:37:08 +01:00
Martin Kojtal
0066ba9b0d
Merge pull request #10267 from cy-vivekp/pr/psoc_32_bit_lp_ticker
...
PSOC6: Modify lp_ticker to 32 bit
2019-04-03 11:13:25 +02:00
Martin Kojtal
1d26dbb068
Merge pull request #10291 from lrusinowicz/sequana_psa_deepsleep
...
FUTURE_SEQUANA: Fixed LP ticker for M0 core
2019-04-03 08:59:20 +02:00
Cruz Monrreal
d8dc981fd1
Merge pull request #10289 from cydriftcloud/pr/wiced-lib-rebuild-03
...
PSOC6: Rebuild WICED libraries
2019-04-02 09:14:28 -05:00
Leszek Rusinowicz
f0e0e9f5cd
FUTURE_SEQUANA: Fixed LP ticker for M0 core
...
Fixed interrupt vector settings on M0 core. Wrong vector settings prevented
LP_TICKER from working, resulting in deep sleep tests failing on M0
or PSA variant.
2019-04-02 13:33:33 +02:00
Martin Kojtal
2a694cf1d9
Merge pull request #10143 from jeromecoutant/PR_ADC_RESETINTERNAL
...
STM32 ADC INTERNAL CHANNEL reset after read
2019-04-02 13:02:14 +02:00
Cruz Monrreal
4950178db5
Merge pull request #10246 from NXPmicro/Fix_LPC55S69_Flash_ClockSpeed
...
LPC55S69: Update Flash driver to set clock frequency
2019-04-01 21:53:18 -05:00
Lei Zhang
d6f70065bb
PSOC6: Rebuild WICED libraries
...
- Modify WICED to RTOS priority mapping
2019-04-01 15:46:50 -07:00
Cruz Monrreal
cdc2579b7b
Merge pull request #10248 from VVESTM/issue_9934
...
TARGET_STM32F7: Refresh cache when erasing or programming flash
2019-04-01 17:04:26 -05:00
Cruz Monrreal
4dd55d2db6
Merge pull request #10281 from ashok-rao/S2_LP
...
Adding support for S2_LP (WiSUN) as a new MTB target
2019-04-01 17:03:37 -05:00
Brian Daniels
57cfa0bfa2
Revert "Only enable ARMC6 for a few targets"
...
These targets appear to run fine with ARMC5.
This reverts commit 2b75dfda0f .
2019-04-01 15:20:29 -05:00
Mahesh Mahadevan
1b9531d1af
LPC55S69: Update Flash driver to set clock frequency
...
This is to ensure the flash access time is set correctly
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-04-01 12:10:24 -05:00
Ashok Rao
1f572f987e
SPDX license identifier changed to Apache-2.0
2019-04-01 15:17:06 +01:00
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