Commit Graph

31229 Commits (eb382989de046fc80859bc8bcf899458cd36ed9a)

Author SHA1 Message Date
rogeryou 48524f25ae add opsi driver 2020-09-16 11:27:23 +08:00
Martin Kojtal 36bb124532 travis: license check for new files
Fail if new file does not contain SPDX identifier. We only checked for changed files,
and warn if any found. This is not sufficient because new files should follow our license guide.

This fixes the problem.
2020-09-15 12:34:00 +01:00
Andrea Gilardoni 303b3c28b6 making some cleaning 2020-09-15 11:25:47 +02:00
Andrea Gilardoni d5adca141b Edit on Toolchain linker files
Previous one were not working, using nucleol073RZ files
2020-09-15 11:13:03 +02:00
m-ecry 2a13fa199d STMG4-sys-clk: If can PLLQ=160MHz, else 170MHz
- with 170MHz as can-core-frequency, the accuracy for many baudrates is
too low. 160MHz is better for a broad range of frequencies
2020-09-14 18:15:41 +02:00
m-ecry d0c8ad75e1 STM-can-api: Support reading of remote_msg
- Previously a received msg was fixed of data_type
2020-09-14 18:10:48 +02:00
m-ecry 13b663397f STM-can-api: Added usage of prescaler
- This enables more frequencies, but without regard to the accuracy.
May still require manual clock setup, to remain in tolerance window
2020-09-14 16:29:12 +02:00
Martin Eckardt 35c9e7a5ad Use HAL function for FDCAN_CLK-calculation
- Thanks to @jeromecoutant for showing the HAL funtion
 - Added #ifdef guard to FDCAN2/3 handler functions
2020-09-14 15:24:14 +02:00
mbedmain 0db72d0cf2 Update Mbed version block 2020-09-14 12:09:56 +01:00
Teemu Takaluoma cbd3685575 Update Mbed CoAP to v5.1.7 2020-09-14 12:29:44 +03:00
Balaji Subramanyam 7d0e1806d4 WEP Security fix for Cypress Target Kits 2020-09-11 11:21:11 -07:00
Anna Bridge ad973f2f14
Merge pull request #13594 from moshe-shahar/psa-gen-rot
PSA - Generate root of trust before accessing kvstore
2020-09-11 15:46:35 +01:00
Rajkumar Kanagaraj 2bc7bb7a52 - Remove components reference from travis
- update readme
2020-09-11 14:33:18 +01:00
Rajkumar Kanagaraj 326fdf966c Refactor COMPONENT_FPGA_CI_TEST_SHIELD as per new directory proposal 2020-09-11 13:17:33 +01:00
Anna Bridge 2691b4e700
Merge pull request #13592 from rajkan01/update_examples_azure_google_cloud
Add test examples.json config for Azure and Google Cloud
2020-09-11 12:20:43 +01:00
Lingkai Dong 8910ec6db2 kvstore general_tests_phase_1/2 tests: Skip TDBStore if FlashIAP sector size is non-uniform
By default TDBStore requires blocks to have the same size.
2020-09-11 10:12:58 +01:00
Lingkai Dong 577d450c7b PlatformStorage: skip LittleFileSystem on internal flash with non-uniform sectors 2020-09-11 09:58:22 +01:00
Lingkai Dong 84f3444691 Add config target.internal-flash-uniform-sectors and set it to false for STM32L2/4/7
Some internal flashes have non-uniform sectors, and for those
ones we want to skip the initialization of default LittleFileSystem
on FlashIAPBlockDevice (unless the user specifies an address
range that's uniform).

This commit adds a config to indicate if sectors are uniform.
2020-09-11 09:49:53 +01:00
Moshe Shahar eaf9601bc9 remove redundant call to generate_root_of_trust from its test 2020-09-10 19:44:52 +03:00
Moshe Shahar 5954267859 PSA - Generate root of trust before accessing kvstore 2020-09-10 19:25:59 +03:00
Martin Kojtal 6bfd89e656
Merge pull request #13196 from gbrtth/musca_s1_support_mbed6
Add ARM_MUSCA_S1 as a new target platform
2020-09-10 16:53:14 +01:00
Bora Özgen 8483d59879 Fix #13490 Cellular disconnect does not deactivate context
(for some cases)
2020-09-10 16:19:31 +02:00
Martin Kojtal fc6fbd9f6a
Merge pull request #13580 from jamesbeyond/cmake_exp
TEST: Update example scripts for cmake feature
2020-09-10 15:05:12 +01:00
Martin Kojtal f7d5dfbe3b
Merge pull request #13587 from jeromecoutant/PR_G031
MCU_STM32G031xx : decrease boot-stack-size
2020-09-10 15:04:47 +01:00
Paul Szczeanek 3d827e8e86 unit tests for circular buffer 2020-09-10 15:00:20 +01:00
Paul Szczeanek d4eaa48591 allow popping and pushing of multiple items in circular buffer 2020-09-10 15:00:01 +01:00
Martin Kojtal 98beadde45
Merge pull request #13579 from paul-szczepanek-arm/ifbug
double negation fixed and ifs normalised
2020-09-10 14:48:02 +01:00
Rajkumar Kanagaraj 74536e7fb3 Add test examples.json config for Azure and Google Cloud 2020-09-10 14:31:49 +01:00
Martin Kojtal 47e943af2d
Merge pull request #13558 from jeromecoutant/PR_L4PLUS_SRAM3
STM32L4+ : SRAM3 is powered off in deepsleep
2020-09-10 14:03:32 +01:00
Mark Horvath 37f26692b1 Workaround to fix clang build
Change-Id: Ib0d207d4ca22ae239f6b40b95618b66eb329a29c
Signed-off-by: Mark Horvath <mark.horvath@arm.com>
2020-09-10 13:59:32 +01:00
Gabor Toth bdf2306f16 Add platform support to Musca S1
Change-Id: Iebdd4bc402446caba6b7bd894eddb0a85ed884d8
Signed-off-by: Mark Horvath <mark.horvath@arm.com>
Signed-off-by: Gabor Toth <gabor.toth@arm.com>
2020-09-10 14:53:41 +02:00
jeromecoutant 2441e150a4 MCU_STM32G031xx : decrease boot-stack-size
As a small RAM target,
default boot-stack-size is decreased
for baremetal full support
2020-09-10 14:38:09 +02:00
Qinghao Shi d86a97b21c TEST: update example script update function 2020-09-10 13:06:39 +01:00
Martin Kojtal 468372e759
Merge pull request #13492 from talorion/fix-PwmOut-resets-after-suspend
Fix pwm out resets after suspend
2020-09-10 12:40:18 +01:00
Martin Kojtal a17a481c54
Merge pull request #13583 from jeromecoutant/PR_ARDUINO_PIN
STM32: correct few Arduino pins value
2020-09-10 12:38:02 +01:00
Martin Kojtal e2077197d9
Merge pull request #13452 from Patater/conf-boot-stack-size
Use boot stack size from config system
2020-09-10 12:32:05 +01:00
Martin Kojtal 8a22d3500a
Merge pull request #13584 from ARMmbed/revert-13011-alzix/both-artifacts
Revert "Always build both .hex and .bin files"
2020-09-10 12:25:02 +01:00
Martin Kojtal 267a5ac5bf
Merge pull request #13538 from sparkfun/ambiq-apollo3-dev-squash
Ambiq AMA3B1KK and SparkFun Artemis Boards Target Update
2020-09-10 11:53:04 +01:00
Martin Kojtal 5d245ad553
Revert "Always build both .hex and .bin files" 2020-09-10 10:19:04 +01:00
Jaeden Amero 612b148fd4 stack: armc: Workaround config passing bug
Workaround a bug where the boot stack size configuration option is not
passed on to armlink, the Arm Compiler's linker. Prefer
MBED_CONF_TARGET_BOOT_STACK_SIZE if present, as this is what the
configuration system should provide. Fall back to MBED_BOOT_STACK_SIZE
if MBED_CONF_TARGET_BOOT_STACK_SIZE is not defined, as in the case of
buggy tools. If both MBED_CONF_TARGET_BOOT_STACK_SIZE and
MBED_BOOT_STACK_SIZE are not defined, then we fall back to a hard-coded
value provided by the linkerscript. See
https://github.com/ARMmbed/mbed-os/issues/13474 for more information.
2020-09-10 10:08:38 +01:00
Hugues Kamba 2ed7403e3e NRF52: Fix failure if boot stack size is not provided
The same default value is provided in the GCC_ARM linker file.
2020-09-10 10:08:38 +01:00
Jaeden Amero 39e69d328d Use boot stack size from config system
To allow overriding of the boot stack size from the Mbed configuration
system, consistently use MBED_CONF_TARGET_BOOT_STACK_SIZE rather than
MBED_BOOT_STACK_SIZE.

Fixes #10319
2020-09-10 10:08:38 +01:00
Martin Kojtal 5940b1670c
Merge pull request #13400 from gbrtth/boot_sequence_fix
Call mbed_tfm_init before mbed_toolchain_init
2020-09-10 09:23:43 +01:00
jeromecoutant 668412ccde NUCLEO_L433RC_P: wrong D0 and D1 pins 2020-09-10 10:05:41 +02:00
jeromecoutant 5bcb02a013 DISCO_L072CZ_LRWAN1: wrong A1/A3/A4/A5 pin values 2020-09-10 10:05:41 +02:00
jeromecoutant e695db9944 NUCLEO_F207ZG: change default SPI_MOSI pin to match Arduino standard 2020-09-10 10:05:40 +02:00
jeromecoutant 3e653223d2 NUCLEO_F303ZE: wrong D1 pins 2020-09-10 10:05:40 +02:00
jeromecoutant d20385e396 STM32G4: remove ADC support
Waiting for implementation and test
2020-09-10 10:05:40 +02:00
jeromecoutant 88fcd669d4 NUCLEO_L552ZE_Q: wrong D0 and D1 pins 2020-09-10 10:05:40 +02:00
Wenn0101 c2bddbbc57 Apollo3 and artemis, remove dead code and include relevant header 2020-09-09 16:43:59 -06:00