Commit Graph

5725 Commits (ba7b4799f9a74797f0380226748bb1d985b358ec)

Author SHA1 Message Date
Martin Kojtal fff888b118
Merge pull request #11562 from VVESTM/vve_h7_memmap
STM32H7: memory relocation
2019-09-26 14:01:23 +02:00
Martin Kojtal 698e75f336
Merge pull request #11529 from vmedcy/pr/psoc6pdl-1.3.1
PSOC6: update to PDL 1.3.1
2019-09-26 12:24:06 +02:00
Volodymyr Medvid d199fa6bb4 PSOC6: update to PDL 1.3.1.1499 2019-09-24 17:43:23 +03:00
Martin Kojtal 65d5c72cbd
Merge pull request #11404 from lrusinowicz/interrupt_in_fix
FUTURE_SEQUANA: InterruptIn implementation bug fix
2019-09-24 13:20:39 +02:00
Martin Kojtal f513bce4a3
Merge pull request #11480 from gpsimenos/gp-enable-tickless-stage2
Enable tickless mode in additional tested targets
2019-09-23 11:42:58 +02:00
Martin Kojtal 1f5a124820
Merge pull request #11117 from Terstegge/target_msp432_support
Target msp432 support
2019-09-20 15:02:35 +02:00
Martin Kojtal bb1338d07d
Merge pull request #11525 from jeromecoutant/PR_LSI
STM32WB/STM32H7 : LSI selection when LSE is not available
2019-09-20 14:19:58 +02:00
Martin Kojtal c225f8f1e7
Merge pull request #11516 from kyle-cypress/pr/hal-update
Update to latest psoc6csp
2019-09-20 14:18:13 +02:00
Martin Kojtal 77dd6f02a0
Merge pull request #11463 from gpsimenos/gp-enable-tickless-stage1
Enable tickless mode in MAX32630FTHR
2019-09-20 14:13:32 +02:00
Martin Kojtal 6790e64bd8
Merge pull request #11347 from woodsking2/master
Fix NRF52832 softdevice memory map
2019-09-20 14:09:42 +02:00
James Wang 876b643a9d remove NRF52840, NRF52832 static_memory_defines set
static_memory_defines controls the macro MBED_RAM_START AND MBED_RAM_SIZE
when nrf52840 to use softdevice, it need MBED_RAM_START to set the true application ram start

default static_memory_defines is true, so just remove NRF52840 and NRF52832's set
2019-09-20 11:34:35 +08:00
George Psimenos f1a8b04769 Enable tickless mode on tested targets ARCH_PRO, NUCLEO_F401RE, NUCLEO_F411RE, UBLOX_EVK_ODIN_W2 2019-09-19 13:25:05 +01:00
jeromecoutant 8c1f94f7cb STM32WB : LSI clock selection when LSE is not available 2019-09-19 13:07:54 +02:00
jeromecoutant 5cfee65881 STM32H7: LSI clock selection when LSE is not available 2019-09-19 13:07:54 +02:00
Volodymyr Medvid 2af2105aeb PSOC6: update to PDL 1.3.1.1474 2019-09-19 10:40:44 +01:00
Kyle Kearney 8aa449c662 Improve psoc6csp doxygen comments 2019-09-18 12:13:34 -07:00
Kyle Kearney a0b657295f Reorganize resource and rtos abstraction files
- Move resource and rtos abstractions into their own folders
- Remove files for abstractions that are not implemented
2019-09-18 12:10:07 -07:00
Kyle Kearney e8dc5f111c Update to latest HAL
- Add const and static qualifiers in places where they are
  applicable but missing
- Remove headers for drivers that aren't implemented yet
- Misc minor bugfixes
2019-09-18 12:07:08 -07:00
Kyle Kearney 1713e79ccf Fix incorrect integer division in analogout_read
Replace with multiplication by the floating point reciprocal, to
 produce a floating point result while being more efficient than
 floating point division.
Addresses the issue raised by kjbracey-arm in
https://github.com/ARMmbed/mbed-os/pull/11324#pullrequestreview-282433989
2019-09-18 12:06:33 -07:00
Martin Kojtal 83fca603f0
Merge pull request #11454 from Tharazi97/LSI_VALUE_STM
ST: Change the LSI_VALUE according to documentation
2019-09-18 13:49:38 +02:00
Vincent Veron 82e89add61 STM32H7 : use RAM instead of DTCMRAM (GCC_ARM toolchain) 2019-09-18 10:57:21 +02:00
Vincent Veron ac30a70092 STM32H7 : use RAM instead of DTCMRAM (ARM toolchain) 2019-09-18 10:57:20 +02:00
Vincent Veron d241eef5d4 STM32H7 : use RAM instead of DTCMRAM (IAR toolchain)
Keep vector table and crash data ram in 0x20000000 for
tests-mbed_platform-crash_reporting test.
Move the rest in RAM (0x24000000). This is needed for ethernet and allows
user to use more RAM (512k).

Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-09-18 10:57:19 +02:00
George Psimenos 43e5532c50 Remove trailing whitespace 2019-09-17 14:49:38 +01:00
George Psimenos 9673a45c93 Enable tickless in MAX32630FTHR 2019-09-17 14:49:38 +01:00
Martin Kojtal ffbd92c5a9
Merge pull request #11288 from OpenNuvoton/nuvoton_m2351_comb-sec-nonsec
M2351: Enhance secure/non-secure image build flow for non-PSA target
2019-09-17 12:18:16 +02:00
int_szyk 48040cf687 Change the LSI_VALUE according to documentation 2019-09-17 12:01:32 +02:00
mahanthgouda 1780a08d54 Add OKDO platform (#11407)
Add OKDO platform
2019-09-16 16:58:54 +02:00
Martin Kojtal f51bbe01c8
Merge pull request #11471 from jeromecoutant/PR_WB_ADC
STM32WB ADC : consecutive VBAT reading
2019-09-16 13:19:09 +02:00
Chun-Chieh Li 85bb65cd56 M2351: Add pre-built secure image for non-PSA 2019-09-16 11:01:34 +08:00
Chun-Chieh Li b98360ed20 M2351: Enable USB UART for non-PSA secure target for Greentea
NOTE1:  USB UART is partitioned for non-secure world. Secure world still can share
        it with limit that its interrupt cannot use in secure world.
NOTE2:  In secure world, USB UART is only for Greentea and STDIO. Developers shouldn't
        use it for other purposes.
2019-09-16 10:38:52 +08:00
Chun-Chieh Li e9e85f5307 M2351: Support non-PSA secure/non-secure combined build
Support secure/non-secure combined build for non-PSA target:
1.  In secure post-build, deliver built secure image to TARGET_NU_PREBUILD_SECURE
    directory which is to combine later.
2.  In non-secure post-build, merge non-secure image with secure image saved in
    TARGET_NU_PREBUILD_SECURE directory.
3.  In non-secure post-build, user can also drop pre-built secure image saved in
    TARGET_NU_PREBUILD_SECURE directory and provide its own by adding the line below
    in mbed_app.json:
    "target.extra_labels_remove": ["NU_PREBUILD_SECURE"]
2019-09-16 10:37:08 +08:00
Chun-Chieh Li c025e33fec M2351: Rename non-PSA target name to NU_PFM_M2351_NPSA_S/NS
1.  Create a private target name NU_PFM_M2351_CM which stands for the
    NuMaker-PFM-M2351 board and is to be extended.
2.  NU_PFM_M2351_NPSA_S/NS target names for non-PSA secure/non-secure targets
    respectively.
3.  The original target name NUMAKER_PFM_M2351 is recycled and cannot be used.
    Use NU_PFM_M2351_S/NS for non-PSA secure/non-secure targets instead.

NOTE:   Target name doesn't follow the rule below because online database has
        limit of max 20 chars:

        NUMAKER_PFM_M2351_PSA/NOPSA_S/NS

        Instead, it has the rule:

        NU_PFM_M2351_[NPSA_]S/NS

        NU_PFM_M2351_S/NS for PSA targets. This is to be consistent with current
        PSA target naming. So the resolved target names are:

        NU_PFM_M2351_S          : PSA secure target
        NU_PFM_M2351_NS         : PSA non-secure target
        NU_PFM_M2351_NPSA_S     : Non-PSA secure target
        NU_PFM_M2351_NPSA_NS    : Non-PSA non-secure target
2019-09-16 10:22:23 +08:00
Chun-Chieh Li 2471c9ea10 M2351: Remove pre-built non-PSA secure image temporarily
This will add back immediately after target renaming is done.
2019-09-16 10:20:30 +08:00
jeromecoutant ee8489f4e9 STM32WB ADC : Consecutive VBAT values reading was not possible
Add Stop after read
2019-09-12 12:55:41 +02:00
Kostiantyn Tkachov 9fc299a1cc Updated mbedTLS CRYPTO target to be more flexibly configured for supported boards 2019-09-12 01:30:54 +02:00
Martin Kojtal c897e041c8
Merge pull request #11384 from jeromecoutant/PR_H747_CM7
ST DISCO-H747I introduction
2019-09-10 19:43:57 +02:00
Martin Kojtal 4ea7768514
Merge pull request #11443 from michalpasztamobica/k66f_enable_dma
Enable asynchronous serial with DMA for K66F
2019-09-10 19:27:40 +02:00
jeromecoutant db7efabfd5 STM license file update
Some code have been copied from ST Cube deliveries.
ST copyright is then needed.
2019-09-10 14:24:48 +02:00
jeromecoutant 535dbe87af STM32H747 license update 2019-09-10 11:46:52 +02:00
jeromecoutant fb3f0f904e Remove "STM32H747ZI" device_name, as not supported yet by MBED 2019-09-10 11:46:50 +02:00
jeromecoutant c28d5f17e5 DISCO_H747I single core M7 introduction 2019-09-10 11:46:50 +02:00
jeromecoutant 73a00e953d STM32H747xI introduction 2019-09-10 11:46:47 +02:00
jeromecoutant 117ddbadee STM32H743 files move 2019-09-10 11:46:35 +02:00
Michal Paszta 551bc8a1f5 Enable async serial for K66F
Added DMA definitions and usage for UART, based on K64F's code.
2019-09-09 18:43:43 +03:00
Martin Kojtal 458523219a
Merge pull request #11006 from linlingao/pr10692
Introduce an Mbed config to enable XIP
2019-09-09 11:09:21 +02:00
Martin Kojtal f35e16ebea
Merge pull request #11412 from NXPmicro/Kinetis_Update_To_Fix_Tickless
Kinetis update to fix tickless
2019-09-09 10:35:44 +02:00
Martin Kojtal 021c67e3eb
Merge pull request #11418 from 0xc0170/fix_nrf52
NRF52: fix config
2019-09-06 10:42:29 +02:00
Mahesh Mahadevan 31da8ff09f MCUXpresso: Update the MXRT Serial driver for MBED_TICKLESS
We should not block in case the UART is busy transmitting. The
API has been updated to check the status of all UART's and return
1 in case any of them is busy transmitting.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-09-05 14:16:10 -05:00
Mahesh Mahadevan b30e294ba1 MCUXpresso: Change the MXRT deep sleep implementation
The code checks if any of the UART's is still transmitting.
If so then prevent from entering deepsleep

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-09-05 14:16:09 -05:00