Commit Graph

26729 Commits (bfcfb6cf4a0b912bcbf8831155f0331581703870)

Author SHA1 Message Date
Martin Kojtal 5a6bf446d2
Merge pull request #11383 from Tharazi97/f303_watchdog_reset
Change LSI_VALUE in STM implementation.
2019-09-04 11:55:27 +02:00
Martin Kojtal 9e0e00d6cd
Merge pull request #11381 from OpenNuvoton/nuvoton_m263_wakeup-latency
M263: Enlarge required deep sleep latency
2019-09-04 11:55:06 +02:00
Martin Kojtal 208d703b7e
Merge pull request #11338 from cydriftcloud/pr/psoc6-softap-bringdown
Bring down interface when stopping softap
2019-09-04 11:54:23 +02:00
Martin Kojtal 9a1ffdd9d2
Merge pull request #11330 from tung7970/fix-ameba
RTL8195AM - resuscitate AMEBA GCC/ARMCC support
2019-09-04 11:53:56 +02:00
Martin Kojtal a924c02a9a
Merge pull request #11314 from hugueskamba/hk-iotcore-1279-executable_analysis_tools
Add executable analaysis tool for floating point checks.
2019-09-04 11:53:23 +02:00
Martin Kojtal aba0760652
Merge pull request #10684 from jarvte/fix_athandler_destr
Cellular: fix ATHandler destructor possible crash on delete
2019-09-04 11:52:59 +02:00
Kostiantyn Tkachov d4746dd9f9 Removed mbedTLS hardware support from FUTURE_SEQUANA targets 2019-09-04 12:28:20 +03:00
Martin Kojtal 34109f0f25
Merge pull request #11402 from jeromecoutant/PR_USB_L4
STM32L4 USB device
2019-09-04 09:12:26 +02:00
Lin Gao 67c6bdbf2d removed xip unrelated changes 2019-09-03 16:14:38 -05:00
Lin Gao f1813e5bcc Remove keep keyword for .heap section 2019-09-03 13:22:47 -05:00
Lin Gao b9f8e2ac53 Remove QSPI for Future targets 2019-09-03 13:22:43 -05:00
Lin Gao 2a78a9ba13 Refactored code to not use macro. Created config xip-enable 2019-09-03 11:54:14 -05:00
Lin Gao ea032bebc4 Add XIP capability, enable QSPI. XIP can be enable by adding macro XIP_ENABLE in mbed_app.json. It's disabled by default. 2019-09-03 11:54:11 -05:00
Anna Bridge c7c48193d4
Merge pull request #11400 from anttiylitokola/dns_cleanup_fix
nsapi_dns: cleanup dns queue when running out or memory
2019-09-03 16:03:07 +01:00
jeromecoutant 55d60f3c25 Add USB support for DISCO_L4R9I 2019-09-03 16:43:05 +02:00
Hugues Kamba 9f44c2c4d2 Sync with TF upstream code as much as possible to remove warning 2019-09-03 13:47:06 +01:00
jeromecoutant fb8b503b1c STM32 targets: USBDEVICE support 2019-09-03 14:24:34 +02:00
jeromecoutant 425d63856c STM32L4 USB: remove EndpointAbort support 2019-09-03 14:23:05 +02:00
Leszek Rusinowicz 7d540cd61a FUTURE_SEQUANA: InterruptIn implementation bug fix
Fixed HAL API implementation for InterruptIn:
 - Interrupt was not enabled by default after configuration as it should be.
 - Interrupt-to-object linking was not handled properly.
2019-09-03 13:48:53 +02:00
Antti Yli-Tokola 1708ec2a3f nsapi_dns: cleanup dns queue when running out or memory 2019-09-03 13:56:21 +03:00
Hugues Kamba a306ad758d Avoid non-trivial copy when initializing lorastack struct
Using memset generates a warning about the non-trivial operation.
Use member-initializer-list instead to initialise the structs members.
2019-09-03 11:08:04 +01:00
Hugues Kamba a562841992 Cast void pointer before deallocating with delete[]
The stack memory is a `void*` which creates a warning when using
the `delete[]` operator because it is unable to call the destructor of
of an unknown object type.
2019-09-03 10:52:31 +01:00
Anna Bridge 525d3cc2d1
Merge pull request #11391 from maciejbocianski/user_event_fix
EvenQueue: fix template functions passing UserAllocatedEvent<...> as argument.
2019-09-03 10:48:13 +01:00
Andreas Terstegge e16394cf09 Final source code cleanup. Smaller changes in system_msp432p401r.c 2019-09-03 11:19:32 +02:00
Andreas Terstegge 8853453ce3 First version of MSP432 support for mbed OS
Removed private TODO file.

Fixed cmsis.h so that renaming of CS and DIR_H is not necessary any more.

Leave pinmap.h unchanged although it should include stdint.h
Moved stdint.h to PinNames.h instead, where it is also used.

Reworked system startup (clock configuration) to be more flexible
(different clock sources for MCLK and SMCLK, configurable clock dividers).

Fixed Copyright headers

Changed default clock settings for MSP432 Launchpad to
MCLK 48 MHz (HFXT) and SMCLK 24 MHz (HFXT)

Remove mbed_rtx.h

Added common mbed_rtx.h file (merge with lastest master)

Added support for IAR toolchain

Fixed some astyle problems.

Added support for ARM C5/C6 toolchains

Small changes to us_ticker implementation after port testing.

Changed default clock configuration to DCO (MCLK 48MHz, SMCLK 24MHz).
De-configured the LFXT crysal, because this made the system_reset() test to time out.

Removed MPU from device_has list. Changed clock source to HFXT.

Reworked startup_msp432p401r.c -> now only one startup file for all compilers.
Changed all linker scripts to delete VECTORS stuff (not needed).

Moved position of MSP432 in targets.json so TI stuff is in one block.
2019-09-03 11:19:31 +02:00
dolphin\gena afc79cf9b7 formatting 2019-09-03 12:03:04 +03:00
Hugues Kamba 9715587042 Remove extraneous parentheses. 2019-09-03 09:58:08 +01:00
dolphin\gena 2a13490e6d bad formatting correction 2019-09-03 11:47:52 +03:00
dolphin\gena a684f43b7f indents correction 2019-09-03 11:45:35 +03:00
Hugues Kamba 8c22bbbbc8 Use PRIu32 to print uint32_t variable
As the variable underlying type size is different depending on the
toolchain used
2019-09-03 09:29:06 +01:00
Martin Kojtal e001216b55
Merge pull request #11315 from Patater/psa-crypto-api-1.0b3
Update Mbed OS for PSA Crypto API 1.0b3
2019-09-03 09:20:15 +02:00
Teppo Järvelin 753ba8ceb6 Cellular: fix ATHandler destructor possible crash on delete
In some multithread cases there is possibility that process_oob function
was called after ATHandler was deleted. Fix is to wait if oob processing
is ongoing.
2019-09-03 09:09:05 +03:00
Kostiantyn Tkachov 235949b1f4 Changed order of config file checking in include defines 2019-09-02 22:17:25 +03:00
Jaeden Amero a848cd6987 psa: Update LPC55S69 and MUSCA_A1 TF-M binaries
Rebuild the TF-M binaries for the LPC55S69 and MUSCA_A1 using the latest
service updates. This allows the boards to use the PSA Crypto API 1.0b3.
2019-09-02 17:11:00 +01:00
Jaeden Amero 95d448b63d attestation: Erase storage before test
Be robust when keys can't be opened for deletion by erasing storage and
thereby all keys.
2019-09-02 17:10:59 +01:00
Jaeden Amero 43af68d630 attestation: Don't create attestation key twice
If psa_attestation_inject_key() is called twice, exit with a non-fatal
error status without attempting to create another attestation key. The
key already exists and doesn't need to be added again.
2019-09-02 17:10:59 +01:00
Jaeden Amero 5c81d19bc1 psa: Document a test partition creation gotcha
The release script must be run from mbed-os root, otherwise the test
partition binaries will not be created. Add a note in the tool's README
to make this clear and hopefully help save someone some debugging time
in the future.
2019-09-02 17:10:59 +01:00
Jaeden Amero 3d1b8363db Use PSA Crypto API 1.0b3
The PSA Crypto API has moved on from 1.0b2 to 1.0b3, bringing along with
it some breaking changes. Update Mbed OS to use the 1.0b3 API.
2019-09-02 17:10:59 +01:00
George Psimenos 93cebc189c Avoid potential overflow 2019-09-02 15:48:30 +01:00
Hugues Kamba 97acdc59a3 Replace wait_ms calls with rtos::ThisThread::sleep_for
`wait_ms` is deprecated and its use generates a warning.
2019-09-02 15:24:10 +01:00
Hugues Kamba e65a0c0a99 Remove minor build warnings 2019-09-02 15:04:58 +01:00
Kostiantyn Tkachov 08fd15796a Removed TABs from the ALT source files 2019-09-02 17:00:13 +03:00
Maciej Bocianski 6124343755 fix EventQueue template functions definition
Fix template functions passing UserAllocatedEvent<...> as argument.
2019-09-02 15:57:59 +02:00
George Psimenos 4df70449fe Replace difftime and float literals 2019-09-02 14:56:56 +01:00
Kostiantyn Tkachov cdbf30dd0f Removed obsoleted typedef for mbedtls_be128[] in aes_alt.c 2019-09-02 16:29:00 +03:00
Kostiantyn Tkachov f702d15855 Fixed SHA ctx and ilen parameters checking 2019-09-02 15:20:11 +03:00
Kostiantyn Tkachov 50a8592104 Fixed SHA ctx and ilen parameters checking 2019-09-02 15:20:11 +03:00
Kostiantyn Tkachov 7cbfa84625 Initial commit to add mbedTLS hardware acceleration for Cypress chips to mbed-os sources 2019-09-02 15:20:11 +03:00
dolphin\gena 1379009f5e rename macro 2019-09-02 14:02:29 +03:00
Martin Kojtal 940d3fdf60
Merge pull request #11291 from LMESTM/STM32_OSPI_QSPI_fallback_support
Stm32 ospi qspi fallback support
2019-09-02 12:26:55 +02:00