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
Martin Kojtal
39733cbc0b
Merge pull request #11306 from AnttiKauppila/ATHandler_improvements
...
At handler improvements
2019-09-02 12:08:44 +02:00
Martin Kojtal
8add87aeba
ST pinmap: remove endif mistype
2019-09-02 10:33:20 +01:00
Martin Kojtal
b44fbfe714
ST pinmap: Fix the style
2019-09-02 10:32:32 +01:00
dolphin\gena
58ca13006d
formatting
2019-09-02 12:08:07 +03:00
int_szyk
a95450bdc0
AStyle
2019-09-02 10:48:41 +02:00
int_szyk
16c5121705
Fix problem with low level lp_ticker STM wrapper
2019-09-02 10:48:40 +02:00
dolphin\gena
9043330af4
fix mistypes
2019-09-02 10:21:38 +03:00
dolphin\gena
05fc0f5263
formatting issue
2019-09-02 10:17:54 +03:00
dolphin\gena
75c17cea90
mistype fix
2019-09-02 10:08:36 +03:00
Martin Kojtal
bdd6cb8dee
Merge pull request #11342 from maciejbocianski/event_queue_static_alloc
...
add queue static allocation support
2019-08-30 20:14:02 +02:00
Martin Kojtal
979e1f0131
Merge pull request #11018 from romanjoe/cy8c064-sb
...
PSOC6_SB: initial integration of Cypress Secure Boot target CY8CPROTO_064_SB
2019-08-30 20:13:06 +02:00
Lei Zhang
5a3562a76b
Bringdown interface when stopping softap
...
The interface should be brought down when stopping softap.
2019-08-30 08:59:36 -07:00
Ryan Morse
b140b7011a
Update PDL to latest 1.3 build
...
Updates to documentation and personalities. No functional code changes.
2019-08-30 08:35:39 -07:00
Martin Kojtal
c74d67ed52
Merge pull request #10711 from geky/add-i2cee-driver
...
Add i2cee-driver to components
2019-08-30 17:04:01 +02:00
Maciej Bocianski
b637da37c5
fix astyle
2019-08-30 15:16:18 +02:00
Roman Okhrimenko
9780c9018e
Disabled QSPI for now
2019-08-30 16:00:09 +03:00
Roman Okhrimenko
c249bf97c2
Updated target files structure to align with the following BSP PR.
2019-08-30 15:10:19 +03:00
Roman Okhrimenko
bfe1d04ba2
Removed import of version specific python modules, improved imports organization in PSOC6.py, fixed per PR comments
2019-08-30 15:10:19 +03:00
Roman Okhrimenko
d289b967f7
Added check for python version before calling post build action. Fixed compilation for Python 2.7.
2019-08-30 15:10:19 +03:00
Roman Okhrimenko
515555e7ba
Removed scripts for provisiongs from repository, made fixes per PR comments, adjusted Readme.md
2019-08-30 15:10:19 +03:00