Commit Graph

31571 Commits (c6094f7b36dc0e90a6a7271870333fbba475286c)

Author SHA1 Message Date
Hugues Kamba 71c48e0e8a CMake: remove version number from ARM toolchain
The version number was required previously when ARM Compiler 5
and ARM Compiler 6 were both supported. There was a significant
underlying change between the two that justified having distinct
build options settinfgs. It is very unlikely that such a major change will happen
between ARM Compiler 6 and future versions. It is therefore also very unlikely
that distinct option settings for future versions will be needed.
We should therefore avoid appending version number the same way we do not
append it to GCC toolchain configuration settings.
2020-11-06 17:25:16 +00:00
Hugues Kamba b78ef7ac08 CMake: Fix CI error due to dir restruct of rtos and storage dirs 2020-11-06 17:25:16 +00:00
Hugues Kamba 554a5d3597 CMake: Fix failure due to restructure of rtos and ppp directories 2020-11-06 17:25:16 +00:00
Hugues Kamba 5709dd2752 CMake: Add Travis script to run a basic CI check for PRs 2020-11-06 17:25:15 +00:00
Hugues Kamba 53d712849a CMake: Add support for WIO_3G target 2020-11-06 17:25:15 +00:00
Hugues Kamba 30e88863f4 CMake: Add support for DISCO_L475VG_IOT01A target 2020-11-06 17:25:15 +00:00
Hugues Kamba 8a74bf1d04 CMake: Add support for NRF52840_DK target 2020-11-06 17:25:15 +00:00
Hugues Kamba 70d92298b8 CMake: Add support for K64F target 2020-11-06 17:25:15 +00:00
Hugues Kamba a08be8c8a0 CMake: Add support for storage dir 2020-11-06 17:25:15 +00:00
Hugues Kamba 5c453e5d46 CMake: Add support for rtos dir 2020-11-06 17:25:15 +00:00
Hugues Kamba 929adbe936 CMake: Add support for platform dir 2020-11-06 17:25:15 +00:00
Hugues Kamba 8f9bf40323 CMake: Add support for hal dir 2020-11-06 17:25:15 +00:00
Hugues Kamba 1d6f86f553 CMake: Add support for features dir 2020-11-06 17:25:15 +00:00
Hugues Kamba a63fa605e4 CMake: Add support for events dir 2020-11-06 17:25:15 +00:00
Hugues Kamba 840828947d CMake: Add support for drivers dir 2020-11-06 17:25:15 +00:00
Hugues Kamba 59a7d77abf CMake: Add support for connectivity dir 2020-11-06 17:25:15 +00:00
Hugues Kamba 311b2ca0c5 CMake: Add support for components dir 2020-11-06 17:25:15 +00:00
Hugues Kamba d83648937f CMake: Add support for cmsis dir 2020-11-06 17:25:15 +00:00
Hugues Kamba 6dc5f5a582 CMake: Add CMake scripts 2020-11-06 17:25:14 +00:00
Hugues Kamba f4e4012f81 CMake: Intentionally untrack CMake generated files 2020-11-06 17:25:14 +00:00
Hugues Kamba 52dd933491 CMake: Add design document 2020-11-06 17:25:14 +00:00
Harrison Mutai e93a3e2beb Refactor workaround for scancode evaluation of PBL
Add function "has_binary_license" to check if a file has a
non-permissive license contains one. PBL is not recognized by scancode,
causing it to be flagged as a non-permissive license. CI doesn't allow
any non-permissive licenses, although, files flageed as SPDX are
allowed. Workaround causes all files with a valid PBL to be flagged as
missing an SPDX.

Add condition in "has_spdx_text_in_scancode_output" to ignore any spdx
identifier with "unknown" in the name. Scancode erroneously matches PBL
to matched_rule.identifer "spdx-license-identifier: unknown-spdx". This
prevents the workaround from working.
2020-11-06 16:23:57 +00:00
Martin Kojtal c29a2e2338
Merge pull request #13811 from pan-/ble-conditional-compilation
Ble conditional compilation
2020-11-06 16:11:10 +00:00
Lingkai Dong 810884b448 Add mbed_lib.json for PSOC6 SCL to exclude it from build metal build
SCL is for the Cypress Ethernet driver which is not currently
compatible with bare metal.
2020-11-06 10:08:24 +00:00
Lingkai Dong 7641f1cb3c CYTFM_064B0S2_4343W: use cytfm_flash only if TFM and PSA are present
This fixes bare metal builds
2020-11-06 10:08:12 +00:00
jeromecoutant 56a7afdf66 STM32F3: update to match mbed 2020-11-06 10:29:54 +01:00
jeromecoutant 5cd353306b STM32F4 FLASH update
Add critical section in
- flash_erase_sector and
- flash_program_page
to make FLASH erase procedure interrupt safe
(can occur with Ethernet)
2020-11-05 17:46:18 +01:00
jeromecoutant 084b873173 STM32F3: CUBE V1.11.1 2020-11-05 16:59:06 +01:00
Martin Kojtal 77638f9b72
Merge pull request #13698 from boraozgen/bugfix/spif-read-dummy-bytes
Fix SPIF read dummy cycles not being reset
2020-11-05 15:44:00 +00:00
Martin Kojtal c87736574f
Merge pull request #13862 from jeromecoutant/PR_RTS_FREE
STM32 SERIAL: free RTS/CTS pins
2020-11-05 15:43:29 +00:00
Martin Kojtal 61bed01ee8
Merge pull request #13846 from 0xc0170/fix-stm32-usb-header
STM32 usb: fixing missing header file
2020-11-05 14:48:07 +00:00
jeromecoutant 7f57005082 STM32F3: alignment with current CUBE V1.9.0 2020-11-05 15:34:54 +01:00
Marc Emmers 8b7e7ee8f6 Make _unacknowledged_ticks uint32_t to prevent overflow 2020-11-05 15:26:44 +01:00
Martin Kojtal 50fc0c5906
Merge pull request #13853 from heuisam/master
Samsung: fix baremetal #13851
2020-11-05 14:21:32 +00:00
jeromecoutant 29e7e5ad4d STM32F3: directory restructuration 2020-11-05 13:32:09 +01:00
jeromecoutant 73d1c63741 STM32 SERIAL: free RTS/CTS pins 2020-11-04 15:47:14 +01:00
jeromecoutant 39b724cd9d STM32L4: Use HSI for LPUART
Impact all STM32L4x5 and STM32L4x6 targets
2020-11-04 12:41:56 +01:00
Harrison Mutai d085e9f1ed Add workaround for files with permissive binary licenses
Add function "has_binary_license" to check if a file has a non-permissive license contains one. PBL is not recognized by scancode,
causing it to be flagged as a non-permissive license. CI doesn't allow
any non-permissive licenses, although, files flageed as SPDX are
allowed. Workaround causes all files with a valid PBL to be flagged as
missing an SPDX.

Add condition in "has_spdx_text_in_scancode_output" to ignore any spdx
identifier with "unknown" in the name. Scancode erroneously matches PBL to matched_rule.identifer "spdx-license-identifier: unknown-spdx". This prevents the workaround from working.
2020-11-04 11:26:23 +00:00
Heuisam Kwag f661c2389c fix compile error
Including unused header file, "cmsis-os.h",  causes compile errors.
This commit fixes it.

Signed-off-by: Heuisam Kwag <heuisam@samsung.com>
2020-11-04 18:20:01 +09:00
kalle16lab 6bf039d44c
Update sleep.c
copyright date change
2020-11-04 11:09:37 +02:00
Martin Kojtal 097adb57a2 STM32 usb: fixing missing header file
Fixes #13838
2020-11-04 08:49:04 +00:00
Kalle-Gustav Kruus 3c848063f3 also added tickless option 2020-11-03 18:59:26 +02:00
Kalle-Gustav Kruus 851eca4ddb added naieve way of sleeping seems to work at first glance 2020-11-03 18:05:21 +02:00
Martin Kojtal cdc2d45e05
Merge pull request #13839 from 0xc0170/fix-cmsis-math
cmsis: remove math header file
2020-11-03 14:01:57 +00:00
Martin Kojtal c5bae34e9c
Merge pull request #13843 from marcelbrucker/fix_linking_issue
Fix linking issue #13793 when using -O0 compiler optimization in ARMC…
2020-11-03 14:01:25 +00:00
Bora Özgen 7f0716ad60 Fix sfdp_find_addr_region algorithm
sfdp_find_addr_region() was causing issues with SPI
flashes with sector table parsed from SFDP (in
particular SST26VF016B).

In particular, it was returning -1 when address 0 is
passed (probably also if the address in the first
region). I do not know why the search algorithm is
written to search from the higher to lower regions,
but it was obvious that it would fail for the first
region. Also it was harder to read due to the index
manipulation.
2020-11-03 14:23:02 +01:00
filics df0538923c Fix linking issue #13793 when using -O0 compiler optimization in ARMC6 toolchain 2020-11-02 20:04:15 +01:00
Evelyne Donnaes f4b7f44d93 Added missing blockdevice mbed_lib.json 2020-11-02 16:35:26 +00:00
Martin Kojtal 798c3c5f4f
Merge pull request #13817 from facchinm/patch_lse_bypass
STM32: define RCC_LSE_BYPASS to allow using PC_15 as gpio
2020-11-02 14:17:53 +00:00
Martin Kojtal eb6b53ac92
Merge pull request #13753 from AGlass0fMilk/rm-nordic-bsp
Remove Unneeded nordic-bsp Folder from Cordio
2020-11-02 14:14:33 +00:00