Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
291 commits
Select commit Hold shift + click to select a range
963aa8b
Merge pull request #15065 from jeromecoutant/PR_CAN
0xc0170 Sep 29, 2021
0fac696
Merge pull request #15077 from hazzlim/make_can_api_portable
0xc0170 Sep 29, 2021
611ec14
Merge pull request #15081 from jeromecoutant/PR_PERIPHSCRIPT
0xc0170 Sep 29, 2021
4851f6c
Merge pull request #15107 from DDC-NDRS/ndrs-pst
0xc0170 Sep 29, 2021
d5d6688
Merge pull request #15074 from jeromecoutant/PR_L432
0xc0170 Sep 29, 2021
0b9a774
Merge pull request #15099 from jeromecoutant/PR_H723
0xc0170 Sep 29, 2021
bc01a4e
Merge pull request #15082 from jeromecoutant/PR_STM32F1_AF
0xc0170 Sep 29, 2021
d125480
Updated 6LoWPAN/CMakeLists.txt
Sep 29, 2021
18f737e
STM32: create MCU_STM32H735xG for custom boards
jeromecoutant Sep 30, 2021
317079b
STM32: create MCU_STM32H7B3xIQ for custom boards
jeromecoutant Sep 30, 2021
9c029bf
Add MAX32660EVSYS
Sep 27, 2021
d56a14f
cmake : enable wifi in netsocket
jeromecoutant Sep 30, 2021
998f01a
STM32: new EMW3080B wifi driver
jeromecoutant Sep 29, 2021
817925b
STM32: enable wifi for B_U585I_IOT02A
jeromecoutant Sep 29, 2021
7f2b6d0
Merge pull request #15103 from artokin/nanostack_release_v15_0_0_master
0xc0170 Sep 30, 2021
d632370
.codecheckignore add STM mx_wifi files
jeromecoutant Sep 30, 2021
b57fe3f
Merge pull request #15120 from jeromecoutant/PR_H735
0xc0170 Oct 1, 2021
12f3d9d
pin_names-arduino_uno test : UART test case update
jeromecoutant Sep 8, 2021
4587080
Merge pull request #15116 from jeromecoutant/PR_USB_F3
0xc0170 Oct 1, 2021
f5fd336
Add mbed-create-distro
multiplemonomials Feb 12, 2021
22a7ebc
Whoops, add license header
multiplemonomials Feb 12, 2021
70c7192
Merge pull request #15124 from jeromecoutant/PR_NORDIC
0xc0170 Oct 4, 2021
6a9ccb3
Merge pull request #15123 from jeromecoutant/PR_MXCHIP
0xc0170 Oct 4, 2021
8961d73
Remove dead code, fix gcc warning
Oct 4, 2021
e9a763f
mergify: fix issue with labels when PR is closed
0xc0170 Oct 4, 2021
7663be1
Remove debug messages
multiplemonomials Oct 5, 2021
9dd6fb4
Merge pull request #15127 from 0xc0170/fix-mergify-closed-prs
0xc0170 Oct 5, 2021
66ee198
MAX32660 is not public
Oct 5, 2021
5ae8e0e
replace file(copy by cmake -E copy
JojoS62 Oct 5, 2021
503b9b8
One more debug message
multiplemonomials Oct 5, 2021
750247c
Revert "update cmake_minimum_required to 3.21.0"
JojoS62 Oct 5, 2021
bf677ae
Revert "Merge branch 'fix-memmap-diff'"
JojoS62 Oct 5, 2021
15a17dc
Revert "update README for new CMake version"
JojoS62 Oct 5, 2021
883fab4
update comment on custom command
JojoS62 Oct 5, 2021
de4d4ca
Remove unexisting file from CMakeList
Oct 5, 2021
10d4e2c
DISCO_F769NI: Disable ULPI alternate mode on unused pins
Jookia Oct 6, 2021
fad2361
targets: Use ULPI USB mode for DISCO_F769NI
Jookia Oct 6, 2021
abf8618
STM32H743: correct pack manager rom value
jeromecoutant Oct 5, 2021
671c57b
Merge pull request #15130 from jeromecoutant/PR_H743
0xc0170 Oct 7, 2021
4db4364
Remove device folder as subdir
Oct 7, 2021
76c3720
Merge pull request #15128 from Jookia/RFC_usbfix
0xc0170 Oct 7, 2021
b8bef04
Use lower case
Oct 7, 2021
1960082
Add missing file in CMakeList.txt
Oct 7, 2021
d5d93a4
STM32: fix USB_reenumerate() for STM32F3
douardda Oct 5, 2021
4c5093c
STM32WL: UART2 was missing
jeromecoutant Oct 1, 2021
46bbfbd
Merge pull request #15134 from jeromecoutant/PR_UART_WL
0xc0170 Oct 11, 2021
b7c2dd0
Merge pull request #15132 from douardda/fix-usb-stm32
0xc0170 Oct 11, 2021
4b956bb
STM32WL LORA driver: add debug print
jeromecoutant Oct 11, 2021
f42b3e4
STM32WL LORA radio: add a critical section in IRQ process
jeromecoutant Oct 12, 2021
035b787
STM32Wx: I2C issue
jeromecoutant Oct 8, 2021
5a1e864
STM32WL CMakeLists update
jeromecoutant Oct 12, 2021
bfa7800
STM32WL file alignment before cube update
jeromecoutant Oct 1, 2021
8ae3e19
STM32WL : STM32Cube_FW_WL_V1.1.0
jeromecoutant Oct 6, 2021
34bbc75
Merge pull request #15109 from MaximIntegrated/add-MAX32660
0xc0170 Oct 12, 2021
3167a1f
Merge pull request #15133 from jeromecoutant/PR_I2C
0xc0170 Oct 12, 2021
5e7a7f4
STM32WL remove non-UTF characters
jeromecoutant Oct 12, 2021
aab8038
STM32F0 remove non-UTF characters
jeromecoutant Oct 12, 2021
66fa2dd
STM32F1 remove non-UTF characters
jeromecoutant Oct 12, 2021
7f15a28
STM32F2 remove non-UTF characters
jeromecoutant Oct 12, 2021
f103713
STM32F3 remove non-UTF characters
jeromecoutant Oct 12, 2021
bb9952e
STM32F4 remove non-UTF characters
jeromecoutant Oct 12, 2021
39f8924
STM32F7 remove non-UTF characters
jeromecoutant Oct 12, 2021
c5b6347
STM32G0 remove non-UTF characters
jeromecoutant Oct 12, 2021
2f9ba5b
STM32G4 remove non-UTF characters
jeromecoutant Oct 12, 2021
9319d2a
STM32H7 remove non-UTF characters
jeromecoutant Oct 12, 2021
95640b9
STM32L0 remove non-UTF characters
jeromecoutant Oct 12, 2021
52f8760
STM32L1 remove non-UTF characters
jeromecoutant Oct 12, 2021
eb8d854
STM32L4 remove non-UTF characters
jeromecoutant Oct 12, 2021
2b8c37a
STM32L5 remove non-UTF characters
jeromecoutant Oct 12, 2021
0ef6dd5
STM32WB remove non-UTF characters
jeromecoutant Oct 12, 2021
7352660
remove comment
JojoS62 Oct 13, 2021
173e407
M2354: Fix stdin abnormal on NuMaker-IoT-M2354 with Mbed CLI
ccli8 Oct 13, 2021
64a0128
Merge pull request #15138 from jeromecoutant/PR_UTF
0xc0170 Oct 13, 2021
ea0538e
Merge pull request #15140 from OpenNuvoton/nuvoton_m2354_tfm_cli1-pos…
0xc0170 Oct 13, 2021
2b7b973
remove comment for renaming mapfile
JojoS62 Oct 13, 2021
8706a1a
Merge pull request #15136 from jeromecoutant/PR_WL_LORA
0xc0170 Oct 14, 2021
2cd6c70
Merge pull request #15117 from JojoS62/fix-memap-diff
0xc0170 Oct 14, 2021
e4111ea
Merge pull request #15068 from jeromecoutant/PR_INTERFACE
0xc0170 Oct 14, 2021
d4c27e0
mergify: fix needs work labels
0xc0170 Oct 14, 2021
06f234e
Merge pull request #15137 from jeromecoutant/PR_WL_1_1_0
0xc0170 Oct 15, 2021
f69af59
Merge pull request #15126 from multiplemonomials/create-distro-reborn
0xc0170 Oct 19, 2021
d95768b
QSPIF: Add missing mbed namespace prefix to header file
Uruloke Oct 19, 2021
aac66fc
Merge pull request #15145 from Uruloke/qspif-add-missing-mbed-namespa…
0xc0170 Oct 20, 2021
54a4879
Merge pull request #15141 from 0xc0170/mergify-fix-review-labels
0xc0170 Oct 20, 2021
7523588
NetworkStack: Remove stub implementations of socket_x_control
boraozgen Oct 21, 2021
0a3b168
InterruptIn: add note about enabling interrupts in rise/fall
0xc0170 Oct 21, 2021
a2e4652
Fix for PWM resume issue, SWINTEGRATION-57
billwatersiii Oct 12, 2021
d2b85a6
Update psutil to 5.6.7
maxgerhardt Oct 22, 2021
2b1834b
Update PyElfTools as well
maxgerhardt Oct 22, 2021
ca28a86
STM32WB55 HCI driver: version dependent rom size
Oct 22, 2021
555f6be
Merge pull request #15147 from boraozgen/bugfix/remove-socket-control…
0xc0170 Oct 25, 2021
d9b2b7d
Merge pull request #15149 from 0xc0170/fix-issue-8188
0xc0170 Oct 25, 2021
84e0d5d
Merge pull request #15139 from billwatersiii/pr/pwm_resume_fix
0xc0170 Oct 25, 2021
0d54dbc
Merge pull request #15151 from maxgerhardt/patch-1
0xc0170 Oct 26, 2021
2a99cf6
STM32WB55: update README.md for BLE version 1.12+
Oct 27, 2021
07e119b
Merge pull request #15154 from rardiol/STM32WB55-BLE-HCI_size
0xc0170 Oct 28, 2021
e330885
Allow STM32F7 targets without Ethernet
bakatrouble Oct 28, 2021
469d681
Support different STM32F7 flash configurations
bakatrouble Oct 28, 2021
0e64ff9
Support missing SPI6 on STM32F7
bakatrouble Oct 28, 2021
6c9ae1e
Add STM32F722ZE target
bakatrouble Oct 28, 2021
5992676
M2354: Adjust TF-M configuration to fit AWS IoT
ccli8 Sep 17, 2021
1c6fb3b
Added unit test for floating point formatting
sytsereitsma Oct 23, 2021
b99584d
Fixed floating point formatting
sytsereitsma Oct 21, 2021
43f0c14
Code style violation corrected
sytsereitsma Oct 29, 2021
c41145c
Merge pull request #15161 from OpenNuvoton/nuvoton_m2354_tfm_aws-iot
0xc0170 Nov 4, 2021
658e9ae
Power management stat : add verbosity level for MBED_SLEEP_TRACING_EN…
jeromecoutant Jun 7, 2021
8e26a05
STM32: readme update for MBED_SLEEP_TRACING_ENABLED
jeromecoutant Oct 1, 2021
41744c7
Merge pull request #15152 from sytsereitsma/minimal_printf_float_roun…
0xc0170 Nov 8, 2021
d4c6b37
Merge pull request #14610 from jeromecoutant/DEV_SLEEP_TRACE
0xc0170 Nov 8, 2021
9675b6c
STM32L1: add support of MCU_STM32L151xB
jeromecoutant Nov 8, 2021
05b5b40
Change google test git tag to main
LukasKarel Nov 16, 2021
ac0fa10
Merge pull request #15166 from world-direct/feature/googletestversion
0xc0170 Nov 16, 2021
e5dcd7e
Merge pull request #15164 from jeromecoutant/PR_L151CB
0xc0170 Nov 17, 2021
ae5c9ec
Merge pull request #15153 from bakatrouble/master
0xc0170 Nov 17, 2021
0db0445
Merge pull request #15111 from world-direct/feature/dtlserror
0xc0170 Nov 17, 2021
be6e9a1
B_U585I_IOT02A supports OSPI
jeromecoutant Nov 9, 2021
d0f7201
M2354: Fix potential issues in TF-M
ccli8 Nov 22, 2021
ae2bef4
Merge pull request #15169 from jeromecoutant/OSPI_U5
0xc0170 Nov 22, 2021
01ef431
Merge pull request #15174 from OpenNuvoton/nuvoton_m2354_tfm_sram-ban…
0xc0170 Nov 22, 2021
2eb06e7
Update Mbed version block
Nov 22, 2021
352e6fb
Fix overflow at extremely low RSSI
danluck Nov 24, 2021
784f17b
Add netbuf-recvinfo-enabled config to LWIP mbed_lib.json
ATmobica Nov 25, 2021
ccc34b9
Fix Low Power sleep, now 3uA
hallard Nov 29, 2021
dc30b7a
Fix initialisation sequence of RTC
mjh65 Nov 29, 2021
c08be76
Merge pull request #15178 from ATmobica/master
0xc0170 Nov 29, 2021
f609a52
Merge pull request #15177 from danluck/master
0xc0170 Nov 29, 2021
ed3ad1c
mstd::span rename index_type to size_type according to spec
Nov 24, 2021
0fb88f8
Deprecate instead of remove index_type
Nov 30, 2021
fb07b7a
STM32WL : add LORA robustness
jeromecoutant Nov 29, 2021
e49036d
STM32WL : update readme
jeromecoutant Dec 6, 2021
a82ee22
Merge pull request #15183 from jeromecoutant/STM32WL_UPDATE
0xc0170 Dec 7, 2021
b129f6e
Merge pull request #15184 from ihf-uk-team/master
0xc0170 Dec 7, 2021
00253cb
Squashed 'connectivity/nanostack/sal-stack-nanostack/' changes from 2…
artokin Dec 8, 2021
0dfb79e
Merge commit '00253cb11629fab6f753682d89faa2ce7b4a213a' into nanostac…
artokin Dec 8, 2021
233ec78
Squashed 'connectivity/drivers/802.15.4_RF/atmel-rf-driver/' changes …
artokin Dec 8, 2021
a947f48
Merge commit '233ec783c1b902af25f1376d6fcdc9f4b0bccf53' into nanostac…
artokin Dec 8, 2021
75c79ac
Squashed 'connectivity/drivers/802.15.4_RF/stm-s2lp-rf-driver/' chang…
artokin Dec 8, 2021
9daf430
Merge commit '75c79ac616fce0b36ca047e676069e12e1bb30c1' into nanostac…
artokin Dec 8, 2021
89eb48f
Squashed 'connectivity/drivers/802.15.4_RF/mcr20a-rf-driver/' changes…
artokin Dec 8, 2021
d64e8f6
Merge commit '89eb48fe1a3ba68057029c7e475f1ec78eb95abc' into nanostac…
artokin Dec 8, 2021
1d440bc
Squashed 'connectivity/nanostack/sal-stack-nanostack-eventloop/' chan…
artokin Dec 8, 2021
357dbec
Merge commit '1d440bc3adfe6afbd60ff8c39dd267aa925716c3' into nanostac…
artokin Dec 8, 2021
1c5813b
Merge pull request #15181 from hallard/LoRa_sx1276_LowPower_fix
0xc0170 Dec 8, 2021
810662b
Merge pull request #15176 from marcemmers/rename_mstd_span_size_type
0xc0170 Dec 9, 2021
78a7859
Add <"WHD" IN_LIST MBED_TARGET_LABELS> condition to Cypress boards an…
ATmobica Dec 10, 2021
b5e28ba
STM32 CAN : remove warning [-Wsign-compare]
jeromecoutant Dec 10, 2021
999d98a
STM32L4 : remove warning
jeromecoutant Dec 10, 2021
1bf801a
STM32G4 : remove warning
jeromecoutant Dec 10, 2021
4d63929
STM32L5 : remove warning
jeromecoutant Dec 10, 2021
3237bff
STM32F7 : remove warning
jeromecoutant Dec 10, 2021
de3f9ef
STM32H7 : remove warning
jeromecoutant Dec 10, 2021
ff061e8
Merge pull request #15187 from artokin/nanostack_release_v15_1_0
0xc0170 Dec 13, 2021
352beff
nRF52: GPIO: Assert that init succeeds
boraozgen Dec 14, 2021
35050f0
Merge pull request #15193 from jeromecoutant/PR_WARNING
0xc0170 Dec 15, 2021
fe5e648
Merge pull request #15192 from ATmobica/master
0xc0170 Dec 15, 2021
7a6262c
Merge pull request #15189 from boraozgen/nrf52-gpio-assert-init
0xc0170 Dec 15, 2021
9e1444f
Add <"CM0P_SLEEP" IN_LIST MBED_TARGET_LABELS> condition to Cypress bo…
ATmobica Dec 15, 2021
6a5cc40
Fix mbed-cy8cproto-062s3-4343w target
ATmobica Dec 15, 2021
149c5b1
Merge pull request #15195 from ATmobica/cypress_cm0p_sleep_disable
0xc0170 Dec 21, 2021
44249f0
Added M4KN Platform
Dec 11, 2021
cd4ee72
Added SPDX Header
Dec 17, 2021
5bc3aa1
Updated code to remove float symbols
Dec 23, 2021
926cda5
M487: Fix UART 6/7 base address encoding
ccli8 Jan 7, 2022
70fd0ce
Merge pull request #15200 from OpenNuvoton/nuvoton_m487_fix-uart67-base
0xc0170 Jan 10, 2022
6bb606f
Merge pull request #15194 from deepak-shreshti/master
0xc0170 Jan 10, 2022
5e5d2ab
STM32G0 FLASH : support MCU with dual bank
jeromecoutant Jan 13, 2022
6f73f5d
Add USBDEVICE to NUCLEO_F722ZE target
mikrodust-henrikp Jan 14, 2022
c02e10b
Merge pull request #15204 from jeromecoutant/PR_G0_DUALBANK
0xc0170 Jan 14, 2022
6263af9
Support for the NUCLEO_G0B1RE board
majcher Jan 6, 2022
756f6f5
Fix STM32 SPI 16-bit logic
vznncv Jan 11, 2022
0c9d5b0
Fix STM32 SPI async API for STM32H7 (SPI_IP_VERSION_V2)
vznncv Jan 11, 2022
6e09135
Add Nuvoton NuMaker-IoT-M263A CAN bus support
WallyTu Jan 17, 2022
de5b459
Merge pull request #15199 from majcher/feature/stm32g0b1
0xc0170 Jan 17, 2022
d234b35
Merge pull request #15205 from mikrodust-henrikp/add_usbdevice_to_nuc…
0xc0170 Jan 17, 2022
1443257
Merge pull request #15206 from vznncv/iss_stm32_spi_16_bit
0xc0170 Jan 17, 2022
b9d51b6
ST: correct LED pins for DISCO_L562QE
jeromecoutant Jan 21, 2022
94833a0
Update can_api.c
wally0258 Jan 25, 2022
4095c65
Merge pull request #15210 from jeromecoutant/PR_DISCO_L562
0xc0170 Jan 26, 2022
a580c41
HAL: Remove duplication in TARGET_NRF52 gpio_api
hazzlim Dec 9, 2021
f4e5359
GPIO: Use uintptr_t for gpio_irq_api context
hazzlim Dec 9, 2021
4a0df44
Resolve compiler warning and disable CAN0 IRQ
wally0258 Jan 27, 2022
f75ff22
Merge pull request #15207 from wally0258/master
0xc0170 Jan 28, 2022
568ffbf
Allow unit tests to be compiled with -fno-exception
ladislas Jan 28, 2022
4ecbf93
STM32L4 : add MCU_STM32L4P5xG support
jeromecoutant Dec 13, 2021
3c0c9c2
STM32: increase i2c slave rx limit.
Jan 27, 2022
12757de
STM32L4 : add MCU_STM32L412xB support
jeromecoutant Jan 28, 2022
9e2c949
Merge pull request #15214 from ladislas/ladislas/bugfix/mbed_assert_n…
0xc0170 Jan 31, 2022
26876c0
Merge pull request #15190 from hazzlim/make_gpio_irq_api_portable
0xc0170 Jan 31, 2022
6ff504c
Use MBED_FILENAME instead of __FILE__ in MBED_ASSERT
mikrodust-henrikp Feb 1, 2022
c4fd338
Merge pull request #15212 from mothacehe/master
0xc0170 Feb 1, 2022
9bdbe9c
Merge pull request #15219 from mikrodust-henrikp/filename_mbed_assert
0xc0170 Feb 2, 2022
d503495
Fix STM32 radio driver when bandwith is 0
LukaB Jan 30, 2022
8f9b115
Add ability to use multiple UARTs on STM32L0, STM32G0 when IRQ is shared
amcnicoll Feb 5, 2022
9e49cab
Fix strrchr() not declared for IAR
ccli8 Feb 7, 2022
835b274
Merge pull request #15217 from LukaB/fix-STM32WL-radio-driver
0xc0170 Feb 7, 2022
f515608
Merge pull request #15222 from OpenNuvoton/nuvoton_iar_strrchr
0xc0170 Feb 7, 2022
c6d814e
Merge pull request #15215 from jeromecoutant/PR_STM32L4_ADD
0xc0170 Feb 9, 2022
15579bd
CMake: Fix command line too long with Ninja/ARMClang on Windows
ccli8 Feb 11, 2022
1e92543
Fixed issue in unconfirmed_retransmission behavior
Feb 11, 2022
f004f09
Consistency fixes for multiple UART support commit
amcnicoll Feb 12, 2022
3b3b307
Merge pull request #15223 from OpenNuvoton/nuvoton_fix_cmake_ninja_ar…
0xc0170 Feb 14, 2022
c50f490
Merge pull request #15225 from zul00/fix/unconfirmed_retransmission/s…
0xc0170 Feb 14, 2022
61f8374
Fixed Join Request retransmission timing (Interop test)
zul00 Feb 13, 2022
03e51c1
STM32H7 : fix I2C5 build error
jeromecoutant Feb 14, 2022
0325269
Merge pull request #15229 from jeromecoutant/PR_H7_I2C55
0xc0170 Feb 15, 2022
071cffa
STM32G4 : STM32G471xx CMSIS file
jeromecoutant Feb 15, 2022
661c5c1
STM32G4: missing files for STM32G491xE and STM32G4A1xE
jeromecoutant Feb 15, 2022
c594d6e
STM32L1: build error with STM32L151xB MCU
jeromecoutant Feb 15, 2022
90cbc89
STM32H7: add MCU_STM32H753xI support
jeromecoutant Feb 15, 2022
41275f7
Refactor missing #defs for multiple UART support
amcnicoll Feb 16, 2022
bf05317
Merge pull request #15231 from jeromecoutant/PR_L1
0xc0170 Feb 16, 2022
2d59c75
Merge pull request #15227 from zul00/fix/lora_timing/join_req_retrans…
0xc0170 Feb 16, 2022
3b86e1f
Merge pull request #15230 from jeromecoutant/PR_G4
0xc0170 Feb 16, 2022
a58f8dd
Merge pull request #15232 from jeromecoutant/PR_H753
0xc0170 Feb 16, 2022
fe698ea
Missed matching #endif
amcnicoll Feb 20, 2022
48b1b8e
Merge pull request #15221 from amcnicoll/amcnicoll/shared_uart_isr
0xc0170 Feb 22, 2022
ae0fcef
Updated I2C pin names in PinNames.h header
Feb 28, 2022
dcb71e2
Merge pull request #15238 from deepak-shreshti/master
0xc0170 Mar 1, 2022
5c2f103
enable QSPI for STM32G4
pilotak Mar 2, 2022
c37cd51
Merge pull request #15239 from pilotak/master
0xc0170 Mar 3, 2022
bba6c17
REMOVE THIS - script for unit test dirs/files
hazzlim Aug 13, 2021
24547bf
Drivers: Fix inclusion of flash_api.h in FlashIAP.h
hazzlim Aug 15, 2021
31334b4
HAL: Include stddef.h in ospi_api to
hazzlim Dec 10, 2021
1bf07ff
HAL: Include stddef.h in qspi_api
hazzlim Dec 10, 2021
a1828b8
Unit tests: Add stubs for hal apis
hazzlim Aug 13, 2021
882df35
Unit tests: Add to drivers stubs
hazzlim Aug 14, 2021
a304d74
Unit tests: Add to platform stubs
hazzlim Aug 14, 2021
9c92a9d
Unit tests: Add boilerplate code for /drivers
hazzlim Aug 13, 2021
db158d9
Serial: Use uintptr_t for serial_api context
hazzlim Dec 10, 2021
e490afc
WIP: HAL: Use uintptr_t for ticker_api id
hazzlim Jan 26, 2022
5a9b90a
WIP: Change drivers stubs
hazzlim Jan 26, 2022
6ec4a26
Test codecov
hazzlim Aug 9, 2021
b30e4f4
Test codecov 2
hazzlim Aug 9, 2021
997788e
Test codecov 3
hazzlim Aug 9, 2021
2e053a1
Try to fix exclusions
hazzlim Aug 9, 2021
c939ea7
Try to fix exclusions
hazzlim Aug 9, 2021
96fb226
Fix coverage
hazzlim Aug 9, 2021
ddea2f2
Fix coverage again
hazzlim Aug 9, 2021
6b041a4
Add -e flags
hazzlim Aug 9, 2021
66332bc
Use -k and not file output
hazzlim Aug 9, 2021
a2ae44d
Use gcov 7 with uploader
hazzlim Aug 9, 2021
c3bb6ac
Use gcov 7 with uploader
hazzlim Aug 9, 2021
fd74433
Ignore **/tests
hazzlim Aug 9, 2021
7ffbe00
Use defaults
hazzlim Aug 9, 2021
42949f9
Status
hazzlim Aug 9, 2021
62bf5bf
Ignore /test/
hazzlim Aug 9, 2021
bfc684b
Use new codecov uploader
hazzlim Aug 10, 2021
4ef6fac
Test old uploader for coverage difference
hazzlim Aug 10, 2021
8c78853
Change back to new uploader to see difference, add unittests flag, us…
hazzlim Aug 10, 2021
3ed1c08
Change ignore blobs
hazzlim Aug 11, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .codecheckignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
^connectivity/drivers/emac
^connectivity/drivers/mbedtls
^connectivity/drivers/wifi/COMPONENT_WHD
^connectivity/drivers/wifi/TARGET_STM/COMPONENT_EMW3080B/mx_wifi
^connectivity/mbedtls
^features/frameworks
^connectivity/lwipstack/lwip
Expand Down
14 changes: 9 additions & 5 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,32 +47,36 @@ pull_request_rules:
- check-failure=cmake-checks
- check-failure=frozen-tools-check
- "label!=mergify skip"
- "label!='needs: work'"
actions:
label:
add: ['needs: work']
remove: ['needs: review', 'needs: CI']

# From needs: review to needs: work - CI failure
# From needs: CI to needs: work - CI failure in jenkins pipeline
- name: "label needs: work when Jenkins CI failed - pr head"
conditions:
# Jenkins CI failing
# Jenkins CI failing, only pr head
- check-failure~=continuous-integration/jenkins/pr-head
- "label!=mergify skip"
- "label=needs: CI"
- -closed
actions:
label:
add: ['needs: work']
remove: ['needs: review','needs: CI']
remove: ['needs: CI']

# From needs: review to needs: work - CI failure
# From needs: CI to needs: work - CI failure
- name: "label needs: work when Jenkins CI failed - any of the pipeline"
conditions:
# Jenkins CI failing - any of the pipeline
- check-failure~=^jenkins-ci
- "label=needs: CI"
- "label!=mergify skip"
actions:
label:
add: ['needs: work']
remove: ['needs: review', 'needs: CI']
remove: ['needs: CI']

# From needs: review or needs: work to needs: CI. One approval means we should be good to start CI
- name: "label needs: CI when at least one reviewers approval"
Expand Down
73 changes: 73 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Copyright (c) 2013-2019 Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the License); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an AS IS BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

language: sh
os: linux
dist: focal


env:
global:
- deps_url="https://mbed-os-ci-public.s3-eu-west-1.amazonaws.com/jenkins-ci/deps"
- deps_dir="${HOME}/.cache/deps"

cache:
pip: true
ccache: true
directories:
- ${HOME}/.cache/deps

before_install:
- source tools/test/travis-ci/functions.sh

addons:
apt:
sources:
- sourceline: 'deb https://apt.kitware.com/ubuntu/ focal main'
key_url: 'https://apt.kitware.com/keys/kitware-archive-latest.asc'
packages:
- cmake
- ninja-build
- gcovr
- libncursesw5
- g++-7

matrix:
include:

### Mbed OS unittest ###
- &cmake-build-run-unittest
stage: "CMake"
name: "CMake unittest build"
env: NAME=cmake_unittest
install:
# Hide Travis-preinstalled CMake
# The Travis-preinstalled CMake is unfortunately not installed via apt, so we
# can't replace it with an apt-supplied version very easily. Additionally, we
# can't permit the Travis-preinstalled copy to survive, as the Travis default
# path lists the Travis CMake install location ahead of any place where apt
# would install CMake to. Instead of apt removing or upgrading to a new CMake
# version, we must instead delete the Travis copy of CMake.
- sudo rm -rf /usr/local/cmake*
script:
- echo ctest --build-and-test . build --build-generator Ninja --build-options -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Debug -DCOVERAGE=ON -DCMAKE_CXX_COMPILER=g++-7 -DCMAKE_C_COMPILER=gcc-7 --test-command ctest
- ctest --build-and-test . build --build-generator Ninja --build-options -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Debug -DCOVERAGE=ON -DCMAKE_CXX_COMPILER=g++-7 -DCMAKE_C_COMPILER=gcc-7 --test-command ctest
- gcovr --gcov-executable gcov-7 -r . ./build -s -x coverage.xml -e ".*\.h" --exclude-directories=$TRAVIS_BUILD_DIR/build/UNITTESTS --exclude-directories=$TRAVIS_BUILD_DIR/build/_deps
- ccache -s
- curl -Os https://uploader.codecov.io/latest/linux/codecov
- chmod +x codecov
- ./codecov -F unittests -f "coverage.xml" -t 57166f89-22b3-4949-9488-ddd3c78123fb

4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,9 @@ endif()
if ("${CMAKE_GENERATOR}" MATCHES "Ninja")
# known issue ARMClang and Ninja with response files for windows
# https://gitlab.kitware.com/cmake/cmake/-/issues/21093
if((CMAKE_HOST_SYSTEM_NAME MATCHES "Windows" AND NOT CMAKE_CXX_COMPILER_ID MATCHES "ARMClang"))
# This gets fixed in newer cmake version
# https://gitlab.kitware.com/cmake/cmake/-/merge_requests/6484
if((CMAKE_HOST_SYSTEM_NAME MATCHES "Windows") AND ((${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.22.0") OR (NOT CMAKE_CXX_COMPILER_ID MATCHES "ARMClang")))
set(CMAKE_NINJA_FORCE_RESPONSE_FILE 1 CACHE INTERNAL "")
endif()
endif()
Expand Down
2 changes: 1 addition & 1 deletion UNITTESTS/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ include(FetchContent)
# Download and unpack googletest
FetchContent_Declare(googletest
GIT_REPOSITORY https://github.com/google/googletest.git
GIT_TAG master
GIT_TAG main
)
FetchContent_MakeAvailable(googletest)

Expand Down
38 changes: 38 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
codecov:
require_ci_to_pass: yes

coverage:
precision: 2
round: down
range: "0...100"
status:
project:
default:
# basic
target: auto
threshold: 2%
base: auto
# advanced
branches:
- master
if_not_found: success
if_ci_failed: error
informational: true
only_pulls: false

parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no

comment:
layout: "reach,diff,flags,files,footer"
behavior: default
require_changes: no

ignore:
- "**/tests/**"
- "**/test/**"
20 changes: 11 additions & 9 deletions connectivity/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,17 @@ add_library(mbed-nfc INTERFACE)
add_library(mbed-ppp INTERFACE)
add_library(mbed-wifi INTERFACE)

if(${CMAKE_CROSSCOMPILING})
if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_TESTING)
# Add these subdirectories for tests
add_subdirectory(cellular)
add_subdirectory(drivers)
add_subdirectory(FEATURE_BLE)
add_subdirectory(libraries)
add_subdirectory(lorawan)
add_subdirectory(mbedtls)
add_subdirectory(netsocket)
add_subdirectory(nfc)
else()
# The directories below contain optional target libraries
add_subdirectory(FEATURE_BLE EXCLUDE_FROM_ALL)
add_subdirectory(cellular EXCLUDE_FROM_ALL)
Expand All @@ -36,12 +46,4 @@ if(${CMAKE_CROSSCOMPILING})
add_subdirectory(nanostack EXCLUDE_FROM_ALL)
add_subdirectory(netsocket EXCLUDE_FROM_ALL)
add_subdirectory(nfc EXCLUDE_FROM_ALL)
else()
# Add these subdirectories for the Unit test
add_subdirectory(cellular)
add_subdirectory(lorawan)
add_subdirectory(netsocket)
add_subdirectory(mbedtls)
add_subdirectory(libraries)
add_subdirectory(FEATURE_BLE)
endif()
4 changes: 3 additions & 1 deletion connectivity/FEATURE_BLE/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
# SPDX-License-Identifier: Apache-2.0

if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_TESTING)
add_subdirectory(tests/UNITTESTS)
if(NOT BUILD_GREENTEA_TESTS)
add_subdirectory(tests/UNITTESTS)
endif()
endif()

add_subdirectory(libraries)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,21 +88,6 @@ class AT_CellularStack : public NetworkStack {

virtual void socket_attach(nsapi_socket_t handle, void (*callback)(void *), void *data);


nsapi_size_or_error_t socket_sendto_control(nsapi_socket_t handle, const SocketAddress &address,
const void *data, nsapi_size_t size,
nsapi_msghdr_t *control, nsapi_size_t control_size) override
{
return NSAPI_ERROR_UNSUPPORTED;
}

nsapi_size_or_error_t socket_recvfrom_control(nsapi_socket_t handle, SocketAddress *address,
void *data, nsapi_size_t size,
nsapi_msghdr_t *control, nsapi_size_t control_size) override
{
return NSAPI_ERROR_UNSUPPORTED;
}

protected:
class CellularSocket {
public:
Expand Down
19 changes: 17 additions & 2 deletions connectivity/drivers/802.15.4_RF/atmel-rf-driver/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#################################################################################
## Copyright 2020-2021 Pelion.
##
## SPDX-License-Identifier: Apache-2.0
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## limitations under the License.
#################################################################################

target_include_directories(mbed-802.15.4-rf
INTERFACE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -703,19 +703,20 @@ static void rf_handle_rx_done(void)
rf_state = RF_IDLE;
}
if (rf_read_bbc_register(BBC_PC, rf_module) & FCSOK) {
if (!rf_read_rx_buffer(cur_rx_packet_len, rf_module)) {
uint16_t rx_packet_len = rf_read_rx_frame_length(rf_module);
if (!rf_read_rx_buffer(rx_packet_len, rf_module)) {
uint8_t version = ((rx_buffer[1] & VERSION_FIELD_MASK) >> SHIFT_VERSION_FIELD);
if (((rx_buffer[0] & MAC_FRAME_TYPE_MASK) == MAC_TYPE_ACK) && (version < MAC_FRAME_VERSION_2)) {
rf_handle_ack(rx_buffer[2], rx_buffer[0] & MAC_DATA_PENDING);
} else {
int8_t rssi = (int8_t) rf_read_rf_register(RF_EDV, rf_module);
// Cut CRC bytes
if (mac_mode == IEEE_802_15_4_2011) {
cur_rx_packet_len -= 2;
rx_packet_len -= 2;
} else {
cur_rx_packet_len -= 4;
rx_packet_len -= 4;
}
device_driver.phy_rx_cb(rx_buffer, cur_rx_packet_len, 0xf0, rssi, rf_radio_driver_id);
device_driver.phy_rx_cb(rx_buffer, rx_packet_len, 0xf0, rssi, rf_radio_driver_id);
// If auto ack used, must wait until RF returns to RF_TXPREP state
if ((version != MAC_FRAME_VERSION_2) && (rx_buffer[0] & FC_AR)) {
wait_us(100);
Expand Down
19 changes: 17 additions & 2 deletions connectivity/drivers/802.15.4_RF/mcr20a-rf-driver/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#################################################################################
## Copyright 2020-2021 Pelion.
##
## SPDX-License-Identifier: Apache-2.0
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## limitations under the License.
#################################################################################

target_include_directories(mbed-802.15.4-rf
INTERFACE
Expand Down
19 changes: 17 additions & 2 deletions connectivity/drivers/802.15.4_RF/stm-s2lp-rf-driver/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#################################################################################
## Copyright 2020-2021 Pelion.
##
## SPDX-License-Identifier: Apache-2.0
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## limitations under the License.
#################################################################################

target_include_directories(mbed-802.15.4-rf
INTERFACE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ class TransportDriver : public CordioHCITransportDriver {
}
break;
case INFO_STACK_TYPE_BLE_HCI:
if (MBED_ROM_SIZE > 0xE0000) {
if (MBED_ROM_SIZE > (((p_wireless_info->VersionMajor > 1) || (p_wireless_info->VersionMinor >= 12)) ? 0xE1000 : 0xE0000)) {
error("Wrong MBED_ROM_SIZE with HCI FW\n");
}
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

#include "stm32f7xx_hal.h"

#if defined ETH

void _eth_config_mac(ETH_HandleTypeDef *heth)
{
ETH_MACInitTypeDef macconf = {
Expand Down Expand Up @@ -59,3 +61,5 @@ void _eth_config_mac(ETH_HandleTypeDef *heth)

(void) HAL_ETH_ConfigMAC(heth, &macconf);
}

#endif // defined ETH
1 change: 1 addition & 0 deletions connectivity/drivers/lora/COMPONENT_SX126X/mbed_lib.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "SX126X-lora-driver",
"requires": ["lora"],
"config": {
"spi-frequency": {
"help": "SPI frequency, Default: 16 MHz",
Expand Down
1 change: 1 addition & 0 deletions connectivity/drivers/lora/COMPONENT_SX1272/mbed_lib.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "sx1272-lora-driver",
"requires": ["lora"],
"config": {
"spi-frequency": {
"help": "SPI frequency, Default: 8 MHz",
Expand Down
Loading