Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
422 commits
Select commit Hold shift + click to select a range
86c00f6
cmake: Improve indentation of mbed_greentea_add_test doc
LDong-Arm Jul 8, 2021
4917e01
CMake: tests: Support skipping a test with a reason
LDong-Arm Jul 9, 2021
d7ef8f8
CMake: greentea: Add skip reason to ticker test
LDong-Arm Jul 23, 2021
6776069
CMake: greentea: Port PSA Attestation test to CTest
LDong-Arm Jul 9, 2021
4125fd0
Merge pull request #14972 from OpenNuvoton/nuvoton_m2354_tfm_psa_fwu
Patater Aug 11, 2021
e588f80
Merge pull request #14902 from LDong-Arm/greentea_skip
Patater Aug 11, 2021
68667df
Merge pull request #14995 from saheerb/master
0xc0170 Aug 12, 2021
3904e7c
python: Upgrade pywin32
Patater Aug 12, 2021
881b7eb
Merge pull request #14997 from Patater/update-pywin32
0xc0170 Aug 12, 2021
4dd08c4
Merge pull request #14990 from ikmdani/stm32l1_usb_enable_pullups
0xc0170 Aug 12, 2021
1aa67dd
Add bluetooth support files to Cypress BSPs.
dustin-crossman Aug 12, 2021
cbc0ee6
Fix Extended Message Filter count in STM CAN API
SamuA-AP Aug 13, 2021
9bcc486
Merge pull request #14976 from world-direct/feature/target_stm32f1
0xc0170 Aug 13, 2021
df00ed4
Merge pull request #14982 from npal-cy/pr/swintegration-481
0xc0170 Aug 13, 2021
c2f7a95
Update of BT power up sequences to remove redundant delay (500ms) in …
Aug 5, 2021
b245445
Addressed code review comments: 1. remove bt_power member from HCIDri…
Aug 11, 2021
e1de484
Add missing include for PinNames.h
ladislas Aug 13, 2021
79d403a
STM32_gen_PeripheralPins script update
jeromecoutant Jul 21, 2021
ca5126e
Merge pull request #15003 from dustin-crossman/pr/add_missing_bt_support
0xc0170 Aug 16, 2021
6440546
Style: Remove drivers unit test directory from codeignore
hazzlim Aug 16, 2021
9491403
Unit tests: Add stubs for analogin_api.c functions
hazzlim Aug 10, 2021
c6312a3
Unit tests: Add boilerplate code for AnalogIn.cpp
hazzlim Aug 10, 2021
096ce41
Disabled interrupts on smt32f7 and stm32h7 before calling disable dat…
Aug 16, 2021
432cf28
docker: Upgrade GCC to 10.3-2021.07
Patater Aug 16, 2021
6649e95
TESTS: Reduce allocate memory size
Aug 17, 2021
4d8b8ba
Merge pull request #15002 from ladislas/ladislas/bugfix/interface-dig…
0xc0170 Aug 17, 2021
acbf352
Merge pull request #14993 from hazzlim/unit_test_support
0xc0170 Aug 17, 2021
2ceb3bf
Merge pull request #14935 from jeromecoutant/PR_IAR
0xc0170 Aug 17, 2021
cf37de4
Merge pull request #15006 from mikaleppanen/irq_disable_eth_init
0xc0170 Aug 17, 2021
4e0e21f
Merge pull request #15000 from SamuA-AP/fix-can-api-filters
0xc0170 Aug 17, 2021
47630e5
Merge pull request #15008 from jamesbeyond/malloc_fix
Patater Aug 17, 2021
09eee58
Merge pull request #14988 from npal-cy/pr/swintegration-501
0xc0170 Aug 17, 2021
886b2e5
prevent spam of console
LukasKarel Aug 17, 2021
5d82bd5
Merge pull request #14956 from jeromecoutant/PR_SCRIPT_UPDATE
0xc0170 Aug 17, 2021
3377f08
Update Mbed version block
Aug 18, 2021
4b27aef
Add platform MTS_DRAGONFLY_L496VG
Jun 8, 2021
77f8a30
cmsis: fix iar asm build error with including header
0xc0170 Aug 20, 2021
19f2138
cmsis importer: add IAR fix for .S files
0xc0170 Aug 20, 2021
8d16ab3
hal-tests-tests-mbed_hal-flash compilation warning
jeromecoutant Aug 20, 2021
40253b2
CMake: Refactor platform greentea test CMake
rajkan01 Aug 23, 2021
16c9058
CMake: greentea: Add skip reason to platform test
rajkan01 Aug 23, 2021
6cc3d6d
Update platform CMake to include greentea test dir
rajkan01 Aug 23, 2021
174e016
CMake: Refactor rtos greentea test CMake
rajkan01 Jul 22, 2021
5d31b71
CMake: greentea: Add skip reason to rtos test
rajkan01 Aug 23, 2021
b943992
Update rtos CMake to include greentea test dir
rajkan01 Jul 22, 2021
513f581
Merge pull request #15012 from felser/MTS_DRAGONFLY_L496VG
0xc0170 Aug 24, 2021
faf8737
Merge pull request #15018 from jeromecoutant/PR_FLASHTEST
0xc0170 Aug 24, 2021
f6e165f
Merge pull request #15016 from 0xc0170/fix-iar-cmsis-update
0xc0170 Aug 24, 2021
a33dc4e
M480 CAN API support mask feature
cyliangtw Aug 24, 2021
f28181c
M451 CAN API support mask feature
cyliangtw Aug 24, 2021
6d07477
added optimal settings for RFO_HP only
hallard Aug 19, 2021
a9f51e3
Eth: STM32: Overriding HAL callbacks in stm32xx
katherrafi Jul 10, 2021
259ee6b
M2354: Enhance TF-M SDH stability
ccli8 Aug 24, 2021
1ac928e
Merge pull request #15020 from OpenNuvoton/nvt_can_mask
0xc0170 Aug 26, 2021
43a060f
Merge pull request #14926 from katherrafi/hal_callback_override
0xc0170 Aug 26, 2021
d2a88f4
Merge pull request #15024 from OpenNuvoton/nuvoton_m2354_tfm_sdh
0xc0170 Aug 26, 2021
539d1c7
Merge pull request #15017 from hallard/STM32WL_HP_optimal
0xc0170 Aug 30, 2021
bdfd98e
New feature: send/recv message implementation added to network stack
tymoteuszblochmobica Jun 30, 2021
1f20f1c
FIX: update click version to fix scancode
Sep 1, 2021
be31d50
Merge pull request #15043 from jamesbeyond/click_fix
0xc0170 Sep 1, 2021
e4f0281
add RTC from HSE to target STM32F1
LukasKarel Aug 31, 2021
aca2d63
CMake: Set TARGET_NAME macro
LDong-Arm Sep 1, 2021
d4ee3bd
CMake: Fix escaping of quotes in response file
LDong-Arm Aug 31, 2021
79bc5ac
Merge pull request #15032 from LDong-Arm/response_file_escape
0xc0170 Sep 1, 2021
ae16be8
Merge pull request #15041 from LDong-Arm/target_name
0xc0170 Sep 1, 2021
ff0e682
Merge pull request #15034 from world-direct/feature/stm32f1_rtcHSE
0xc0170 Sep 1, 2021
50c1352
Merge pull request #15019 from ARMmbed/refactor_platform_greentea_cmake
0xc0170 Sep 1, 2021
8d32b66
Workaround for a bug in malloc() from newlib-nano 4.1.0
LDong-Arm Aug 31, 2021
8e41298
Revert "TESTS: Reduce allocate memory size"
LDong-Arm Sep 1, 2021
179bba9
Move common STM32 SPI operations to separate functions
vznncv Aug 14, 2021
f1c4a7f
Fix STM32 SPI 3-wire (synchronous API)
vznncv Aug 14, 2021
c60f0cc
Fix STM32 spi_abort_asynch function
vznncv Aug 15, 2021
7bc773b
Improve STM32 SPI asynchronous API stability
vznncv Aug 15, 2021
fc080f7
M2354: Fix incorrect peripheral base with security
ccli8 Aug 31, 2021
6447b3d
M2354: Fix LCDCP missing in TF-M CLK pass list
ccli8 Aug 31, 2021
dcd30e0
M2354: Change MCUboot image versioning for unique version
ccli8 Aug 27, 2021
9a14430
Incorporate the review comments
rajkan01 Sep 2, 2021
d87183a
Merge pull request #14981 from vznncv/fix-stm32-spi-3wire
0xc0170 Sep 2, 2021
887bcf7
Merge pull request #15030 from OpenNuvoton/nuvoton_m2354_tfm_missing_…
0xc0170 Sep 2, 2021
fbdf2ff
Merge pull request #14951 from ARMmbed/refactor_rtos_greentea_cmake
0xc0170 Sep 2, 2021
ec3f437
Code improvements for the unresolved comments
mat-kalinowski Aug 31, 2021
c14396a
Merge pull request #15045 from LDong-Arm/malloc_newlib_nano
0xc0170 Sep 3, 2021
1ad23b8
Allow more target prescaler for LPTIM
hallard Sep 3, 2021
81876a0
added disclaimers
hallard Sep 6, 2021
64cff51
Fix mbed-os-env docker digest retrieval
saheerb Sep 6, 2021
fc088f0
Tag docker images generated by master branch as latest.
saheerb Sep 6, 2021
c3d16f7
Adding documentation and minor code changes
mat-kalinowski Sep 6, 2021
575f489
Fixing documentation errors
mat-kalinowski Sep 6, 2021
63583b0
Merge pull request #15052 from saheerb/master
0xc0170 Sep 6, 2021
d1f02f3
Merge pull request #15007 from Patater/upgrade-toolchains
0xc0170 Sep 7, 2021
d3b03de
STM32 SPI : STM32H7 IP is SPI_IP_VERSION_V2
jeromecoutant Aug 31, 2021
8bd27ca
STM32 SPI : Add SPI reset in init
jeromecoutant Aug 31, 2021
066c07b
STM32 SPI : Pull Down for output line
jeromecoutant Aug 31, 2021
f8db068
Removing FIXME comment and adding empty line in the test file
mat-kalinowski Sep 7, 2021
4341840
set locale in mbed-os-env docker image
saheerb Sep 8, 2021
48cf1c9
rtos: Thread: Make stack allocation failure runtime catchable
LDong-Arm Sep 8, 2021
0b868d5
General block device test: Fix thread stack allocation
LDong-Arm Sep 7, 2021
3eae29b
Merge pull request #15028 from jeromecoutant/PR_SPI_V2
0xc0170 Sep 8, 2021
3031898
Merge pull request #15027 from OpenNuvoton/nuvoton_m2354_tfm_fw_version
0xc0170 Sep 8, 2021
ad0eb0e
Moving alignment information in the nsapi_msghdr_t
mat-kalinowski Sep 8, 2021
988d165
Merge pull request #15059 from LDong-Arm/bd_greentea_fixes
Patater Sep 8, 2021
4f57648
Merge pull request #15060 from saheerb/master
0xc0170 Sep 9, 2021
9eed427
Merge pull request #15029 from OpenNuvoton/nuvoton_m2354_tfm_import_m…
0xc0170 Sep 9, 2021
3305dc1
Merge pull request #15010 from world-direct/feature/reduceTLSspam
0xc0170 Sep 9, 2021
f89655f
Merge pull request #15040 from mat-kalinowski/sendrecv_message
0xc0170 Sep 9, 2021
787605c
connectivity-netsocket-tests-tests-network-wifi update
jeromecoutant Sep 2, 2021
bce33b0
connectivity-netsocket-tests-tests-network-wifi update2
jeromecoutant Sep 2, 2021
82036c8
Merge pull request #15031 from jeromecoutant/PR_WIFI_TEST
0xc0170 Sep 9, 2021
7a8ff5f
drivers: Add missing OSPI.cpp to CMakeLists.txt
LDong-Arm Aug 17, 2021
2581254
SFDP: Fix sector map table allocation check
LDong-Arm Sep 8, 2021
b5e7dd9
SFDP: Add more parameters to the reader callback
LDong-Arm Aug 6, 2021
50183d2
SFDP: unit tests: Move unshared test data into case
LDong-Arm Aug 9, 2021
0cb62c4
SFDP: unit tests: Fix Configuration ID in fake test data
LDong-Arm Aug 9, 2021
e04a16f
QSPI: Move destructor into source file
LDong-Arm Aug 13, 2021
5a3f3f7
Merge pull request #15051 from hallard/STM32_LPTIM_Prescaler
0xc0170 Sep 10, 2021
8dfad16
QSPIFBlockDevice: Use fully-qualified include path
LDong-Arm Aug 11, 2021
234d5ff
ARM PACK MANAGER: add STM32U575ZI and STM32U585
jeromecoutant Jul 23, 2021
59affad
STM32U5: STM32Cube_FW_U5_V1.0.0
jeromecoutant Jul 21, 2021
8bdd782
STM32U5 / CMSIS : USB_OTG patch
jeromecoutant Jul 21, 2021
16a40c3
STM32U5 ST_HAL_SPI workaround
jeromecoutant Aug 27, 2021
3a1eb19
STM32U5 / GPIO HAL : GPIO_AF3_TIM1 is missing
jeromecoutant Jul 21, 2021
69c7cb4
STM32U5 CMSIS update
jeromecoutant Jul 21, 2021
e2ca71d
STM32U5: generic STM32 driver files update
jeromecoutant Jul 21, 2021
f45b189
STM32U5 specific driver files
jeromecoutant Jul 21, 2021
724c378
STM32U5 : STM32U5xxxxx sub-families
jeromecoutant Jul 21, 2021
8114954
STM32U5 : NUCLEO_U575ZI_Q introduction
jeromecoutant Aug 25, 2021
8495925
STM32U5 : B_U585I_IOT02A introduction
jeromecoutant Aug 25, 2021
90510bb
STM32U5: targets.json
jeromecoutant Aug 23, 2021
4ef3b6c
STM32U5: README update
jeromecoutant Aug 25, 2021
6032671
QSPIFBlockDevice: Add quirk for inconsistent CR3NV register value
LDong-Arm Sep 7, 2021
23a79ef
QSPIFBlockDevice: Add quirk to ignore overlaying sectors on S25FS512S
LDong-Arm Aug 10, 2021
f88bf82
QSPIFBlockDevice: Add unit test for the S25FS512S quirk
LDong-Arm Aug 11, 2021
6bb2381
SFDP: Add support for multiple configurations and sector maps
LDong-Arm Aug 9, 2021
9ade440
CYW9P62S1_43012EVB_01: Enable QSPI and QSPIF
LDong-Arm Aug 10, 2021
f96b930
Merge pull request #15022 from jeromecoutant/PR_STM32U5
0xc0170 Sep 10, 2021
db4b02c
Fix replacement of event queue background.
pan- Sep 9, 2021
756830e
Merge pull request #14989 from LDong-Arm/sfdp_sector_maps_multi
Patater Sep 13, 2021
ad18cc8
CMake: Fix platform wait_ns greentea test Cmake
rajkan01 Sep 13, 2021
6fd39f4
Merge pull request #15066 from ARMmbed/fix_platform_wait_ns_test_cmake
Patater Sep 14, 2021
77960d3
Greentea: Fix flash overflown issue in callback_big test
rajkan01 Sep 13, 2021
eff8fda
Merge pull request #15067 from ARMmbed/fix_flash_overflow_callback_bi…
Patater Sep 14, 2021
c48361b
"Update directory platform/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGE…
rwalton-arm Sep 2, 2021
f28a6ea
"Update secure binaries for [('ARM_MUSCA_B1', 'ARMCLANG')]"
rwalton-arm Sep 2, 2021
d11bac0
"Update secure binaries for [('ARM_MUSCA_S1', 'ARMCLANG')]"
rwalton-arm Sep 2, 2021
3d17e16
"Update secure binaries for [('NU_M2354', 'GNUARM')]"
rwalton-arm Sep 2, 2021
6850192
tools: tfm: Update bin_utils
rwalton-arm Sep 2, 2021
56ffd54
tfm: Move tfm_ns_interface.c
rwalton-arm Sep 3, 2021
aeee260
targets: ARM_MUSCA: Update tfm_target_names
rwalton-arm Sep 9, 2021
78b17b6
tfm: Add mbedtls_ecc_group_to_psa.h to crypto_extra.h
Patater Apr 30, 2021
c7df122
psa: Include mbedtls_svc_key_id.h for TF-M
LDong-Arm May 14, 2021
98e3730
PSA: Reinstate deprecated macro
rwalton-arm Sep 14, 2021
33e57ee
TFM: Remove BL2 macro workaround for mbed-cli1/ARMClang
rwalton-arm Sep 14, 2021
a43103f
TFM: MUSCA: Import partition maps from upstream
rwalton-arm Sep 14, 2021
64a3419
Merge pull request #15050 from rwalton-arm/TF-Mv1.4.0
Patater Sep 15, 2021
fca7323
CMake: QSPIFBlockDevice: Guard unit test directory
rwalton-arm Sep 15, 2021
8698a55
Merge pull request #15073 from rwalton-arm/fix_greentea_ctest
Patater Sep 15, 2021
7feef59
Merge pull request #15061 from pan-/fix-event-queue-background-fn-change
adbridge Sep 16, 2021
810adf9
Update Mbed version block
Sep 16, 2021
bbc5ad9
M2354: Fix TF-M 1.4
ccli8 Sep 16, 2021
4cfbea4
Merge pull request #15078 from OpenNuvoton/nuvoton_m2354_tfm_1.4_fix
Patater Sep 17, 2021
742276e
PACKAGING: remove gdb exta information to slim library
facchinm Mar 11, 2021
a88aea6
Portenta: enable certificates in filesystem
facchinm Oct 28, 2020
164ca0b
I2CSlave.read(buf, count) returns the number of bytes actually read
facchinm Apr 1, 2020
b02f201
Add AnalogIn configure function
polldo May 13, 2020
b2c29cd
HACK: avoid #10862 by not firing the assert
facchinm Jul 31, 2019
666ab47
portentaH7: Change BLE public address
polldo Oct 29, 2020
2e73780
TLSSocketWrapper: add method to retrieve certificates from filesystem
facchinm Nov 9, 2020
e03035b
TLSSocketWrapper: Add unit test for set_root_ca_cert_path
facchinm Nov 9, 2020
e9ca06b
TLSSocketWrapper: add test for certificates stored in filesystem
facchinm Nov 9, 2020
5286fe5
SleepTracing: don't spam logs if no lock is held
facchinm Nov 27, 2020
4bc02f0
Initial: support Portenta Beta
facchinm Dec 10, 2020
9b50051
STM32: USB: allow dynamic USB speed configuration based on bootloader…
facchinm Mar 11, 2021
e100e74
Increase Cordio memory pool for nRF52832
facchinm Dec 10, 2020
32dbf8f
Cordio Add sendCmplt Callback for updating NumCmplPckts on disconnection
polldo Aug 26, 2020
cc3a817
Add support for Arduino Edge Control
manchoz Jan 8, 2020
757901d
RASPBERRYPI: import pico-sdk
facchinm May 3, 2021
eaf74ba
RP2040: add NANO_RP2040_CONNECT target
facchinm May 3, 2021
6f679cf
RP2040: add placeholder files for includes like pico/*.h
facchinm Feb 12, 2021
67b7cb3
RP2040: implement serial api
facchinm Feb 12, 2021
edfa732
RP2040: add pinmap for i2c, spi, pwm
facchinm Feb 12, 2021
d8668b1
RP2040: Mark .init section as KEEP
facchinm Feb 15, 2021
a303b26
RP2040: implement mbed api analogin.
aentinger Feb 15, 2021
f20fa02
RP2040: add SPI support
aentinger Feb 15, 2021
5bbc090
RP2040: prefix pico-sdk's i2c_init function with a '_'
aentinger Feb 16, 2021
34a8fcf
RP2040: add I2C peripheral support
aentinger Feb 16, 2021
f347fb7
RP2040: implement USBDevice
facchinm Feb 23, 2021
43d53d5
RP2040: avoid float.h first level inclusion
facchinm Feb 23, 2021
87957f9
RP2040: don't initalize contructors during runtime_init()
facchinm Feb 23, 2021
04c78f2
RP2040: add pwm driver
facchinm Feb 23, 2021
8346384
RP2040: add flow control to SERIAL object
facchinm Feb 23, 2021
00947a9
RP2040: add lp and us timer
facchinm Feb 23, 2021
2a760ee
RP2040: implement gpio_is_connected()
facchinm Feb 26, 2021
f3eaf45
RP2040: adapt linker script to mbed
facchinm Mar 5, 2021
40c7485
RP2040: Start adding Flash support
giulcioffi Feb 25, 2021
88ac010
RP2040: Protect flash operations in critical sections + fix addresses
giulcioffi Mar 3, 2021
4fbda5f
RP2040: Check alignment + avoid passing const buf to flash_range_prog…
giulcioffi Mar 4, 2021
fce1c5e
RP2040: Rename pico-sdk's gpio_irq_handler with a '_' to avoid clashe…
giulcioffi Mar 5, 2021
b121864
RP2040: Add gpio interrupt support
giulcioffi Mar 5, 2021
2d03a00
RP2040: usb: fix USB_DEVICE_ENUMERATION_FIX linking
facchinm Mar 8, 2021
d796c56
RP2040: usb: make all unhandled conditions a no-op
facchinm Mar 8, 2021
add90a1
RP2040: i2c: fix addressing mismatch
facchinm Mar 8, 2021
b9d9029
RP2040: SPI: check SS correctness only if declared
facchinm Mar 8, 2021
127041a
RP2040: Add I2C slave
giulcioffi Feb 25, 2021
157347a
RP2040: PWM: fix asserts
facchinm Mar 15, 2021
b44d1c4
RP2040: restore GPIO15 functionality after USB_DEVICE_ENUMERATION_FIX
facchinm Mar 15, 2021
13135d4
RP2040: nano connect: fix pinmap
facchinm Mar 15, 2021
24be084
RP2040: add Raspberry Pico target
facchinm Mar 15, 2021
f721ae8
RP2040: fix analogin_read_u16 to report full range
facchinm Mar 15, 2021
c7e509c
RP2040: fix PwmOut enable command
facchinm Mar 16, 2021
187e257
RP2040: Implement watchdog
giulcioffi Mar 15, 2021
9a5d5b7
RP2040: Implement reset reasons
giulcioffi Mar 15, 2021
f5ff8c3
RP2040: fix spi.h spurious inclusion in case insensitive filesystems
facchinm Mar 16, 2021
dbf8f05
RP2040: UART: baud can't be changed at runtime
facchinm Mar 24, 2021
1f5849b
RP2040: i2c: remove debug prints
facchinm Mar 16, 2021
3b4f9af
RP2040 PICO: Add CONSOLE_*X defines
facchinm Apr 13, 2021
80b766e
RP2040: FLASH: fix multipage write
facchinm Apr 13, 2021
6fda0c3
RP2040: fix include paths
facchinm May 3, 2021
f1cb89b
RP2040: silence nasty warning
facchinm May 3, 2021
0ee7f75
RP2040: start fixing CMake files for mbed cli 2
facchinm May 3, 2021
f3c5937
RP2040: fix and update Raspberry Pi Pico target
facchinm May 3, 2021
c97b695
RP2040: USBPhy: implement stall() and unstall()
facchinm May 7, 2021
61b91b2
RP2040: include multicore library in build
facchinm May 11, 2021
6f69fab
RP2040: USB: retry handling irqs if some went missing
facchinm May 12, 2021
69262b2
Nano RP2040 Connect: force flash size to 16MB
facchinm May 24, 2021
7415c53
Save watchdog timeout in a static variable accessible from Arduino APIs
giulcioffi Jun 4, 2021
82cb0d5
RP2040: us_ticker: fix missing interrupts after 32bit wrap
giulcioffi Jun 30, 2021
9d59baa
Nano RP2040 connect: use standard W25Q080 2nd stage
facchinm Jun 18, 2021
6cc7d3d
RP2040: optimize flash/ram occupation
facchinm Aug 2, 2021
e0df9bc
RP2040: Add weak aliases for ISR handlers
facchinm Aug 2, 2021
bbdc9ef
RP2040: enable led indication on mbed_die()
facchinm Aug 10, 2021
83709c0
[RP2040] check MISO correctness only if it is declared
jcomas Jul 31, 2021
31707aa
rp2040: Fix I2CSlave synchronization issue by adding a timeout for th…
giulcioffi Oct 7, 2021
9b44abd
STM32: PWM: add export HRTIM capable pins to PeripheralPins
Rocketct Jun 28, 2021
e88d4b4
STM32H7: add HRTIM capable pins
Rocketct Jun 28, 2021
ef0d3f7
STM32: PWM: implement HRTIM based PWM APIs
Rocketct Jun 28, 2021
040dd31
STM32: HRTIM: greatly simplify corner cases
facchinm Jun 28, 2021
1c0920f
Portenta: PWM: force PA8 to use HRTIM
facchinm Jun 29, 2021
9d82225
STM32H7: CM4: avoid vtor relocation via define
facchinm Aug 16, 2021
55189f5
STM32: analogin: use critical section to protect PLL configuration
facchinm Aug 11, 2021
dbe8640
PortentaH7: implement and use get_default_instance for QSPIBD
pennam Jul 22, 2021
c8e9f5c
PortentaH7: Disable WHD WPRINT_MACRO
pennam Jul 23, 2021
645be68
Add NICLA target
facchinm Nov 27, 2020
f8bee9c
NICLA: use nfc pins as GPIOs
facchinm Aug 26, 2021
039577e
Fix cast error in WHD
giulcioffi Sep 17, 2021
9022ada
mbed-client-cli: ns_cmdline: make cmd_class_t cmd private
facchinm Sep 22, 2021
3b7863d
BlockDevice: add mbed namespace to function signatures
facchinm Sep 23, 2021
2b867bc
Use ADC clock synchronous with AHB
giulcioffi Oct 13, 2021
c3f5caf
rename rtc_init to _rtc_init
pennam Jul 30, 2021
5b87949
Add RTC APIs
pennam Jul 30, 2021
8327bf7
Enable RTC
pennam Jul 30, 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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .codecheckignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
^platform/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_TFM
^platform/mbed-trace
^platform/randlib
^platform/source/newlib_nano_malloc_workaround.c
^platform/tests/UNITTESTS
^events/tests/UNITTESTS
^rtos/source/TARGET_CORTEX/rtx4
Expand All @@ -35,4 +36,3 @@
^UNITTESTS
^storage/blockdevice/tests/UNITTESTS
^storage/kvstore/tests/UNITTESTS
^drivers/tests/UNITTESTS
269 changes: 269 additions & 0 deletions .github/workflows/basic_checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,269 @@
# This workflow performs the checks like license check,
# doxygen, unit tests etc.
name: Basic Checks

on:
pull_request:
workflow_dispatch:
push:
branches:
- master

jobs:
license-check:
runs-on: ubuntu-latest
container:
image: ghcr.io/armmbed/mbed-os-env:master-latest

steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
fetch-depth: 0

-
name: install dependencies
shell: bash
run: |
pip install -U scancode-toolkit click

-
name: license check
run: |
set -x
mkdir -p SCANCODE

git diff --name-only --diff-filter=d origin/${GITHUB_BASE_REF} \
| ( grep '.\(c\|cpp\|h\|hpp\|py\)$' || true )
echo $?
git diff --name-only --diff-filter=d origin/${GITHUB_BASE_REF} \
| ( grep '.\(c\|cpp\|h\|hpp\|py\)$' || true ) \
| ( grep -v '^tools/test/toolchains/api_test.py' || true ) \
| while read file; do cp --parents "${file}" SCANCODE; done
ls SCANCODE
scancode -l --json-pp scancode.json SCANCODE
python ./tools/test/ci/scancode-evaluate.py scancode.json || true
cat scancode-evaluate.log
COUNT=$(cat scancode-evaluate.log | grep 'File:' | grep -v 'SPDX' | wc -l) || true
if [ $COUNT = 0 ]; then
echo "License check OK";
true;
else
echo "License check failed, please review license issues found in files";
false;
fi

include-check:
runs-on: ubuntu-latest
container:
image: ghcr.io/armmbed/mbed-os-env:master-latest

steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
fetch-depth: 0

-
name: include check
run: |
# checks mbed.h is not included in MbedOS files except in tests
! git grep '^#include\s["'"']mbed.h['"'"]$' -- '*.c' '*.h' '*.cpp' '*.hpp' \
':!*platform_mbed.h' ':!*TESTS/*' ':!TEST_APPS/' ':!UNITTESTS/' \
':!*tests/*' ':!*targets/*' ':!*TARGET_*' ':!*unsupported/*' \
':!*events/tests/*' ':!*drivers/tests/*'

style-check:
runs-on: ubuntu-latest
container:
image: ghcr.io/armmbed/mbed-os-env:master-latest

steps:

- name: Checkout repo
uses: actions/checkout@v2
with:
fetch-depth: 0

-
name: UTF-8 Check
run: |
# Make sure we're not introducing any text which is not UTF-8 encoded
git diff origin/${GITHUB_BASE_REF} -U0 | ( grep -a '^+' || true ) | ( ! grep -axv '.*' )


-
name: astyle checks
run: |
set -x
git diff --name-only --diff-filter=d origin/${GITHUB_BASE_REF} \
| ( grep '.*\.\(c\|cpp\|h\|hpp\)$' || true ) \
| ( grep -v -f .codecheckignore || true ) \
| while read file; do astyle -n --options=.astylerc "${file}"; done
git diff --exit-code --diff-filter=d --color


docs-check:
runs-on: ubuntu-latest
container:
image: ghcr.io/armmbed/mbed-os-env:master-latest

steps:

- name: Checkout repo
uses: actions/checkout@v2
with:
fetch-depth: 0

-
name: spell checks
run: |
set -x
./tools/test/ci/doxy-spellchecker/spell.sh drivers .codecheckignore
./tools/test/ci/doxy-spellchecker/spell.sh platform .codecheckignore
./tools/test/ci/doxy-spellchecker/spell.sh events .codecheckignore
./tools/test/ci/doxy-spellchecker/spell.sh rtos .codecheckignore
./tools/test/ci/doxy-spellchecker/spell.sh connectivity/netsocket .codecheckignore

-
name: doxygen
run: |
set -x
ccache -s
mkdir BUILD
# Assert that the Doxygen build produced no warnings.
# The strange command below asserts that the Doxygen command had an
# output of zero length
doxygen doxyfile_options 2>&1
# Once Mbed OS has been fixed, enable the full test by replacing the top line with this:
# - ( ! doxygen doxyfile_options 2>&1 | grep . )
# Assert that all binary libraries are named correctly
# The strange command below asserts that there are exactly 0 libraries
# that do not start with lib
find "(" -name "*.a" -or -name "*.ar" ")" -and -not -name "lib*" |
tee BUILD/badlibs |
sed -e "s/^/Bad library name found: /" && [ ! -s BUILD/badlibs ]
# Assert that all assembler files are named correctly
# The strange command below asserts that there are exactly 0 libraries
# that do end with .s
find -name "*.s" | tee BUILD/badasm |
sed -e "s/^/Bad Assembler file name found: /" && [ ! -s BUILD/badasm ]

python-tests:
# these tests run in 3.7, hence running in vm not in pre-built docker
runs-on: ubuntu-latest
steps:
-
name: Checkout repo
uses: actions/checkout@v2


- uses: actions/setup-python@v2
with:
python-version: '3.7'

-
name: install dependencies
run: |
pip install -r requirements.txt
pip install mock==2.0.0 attrs==19.1.0 pytest==3.3.0 'pylint>=1.9,<2' 'hypothesis>=3,<4' 'coverage>=4.5,<5'

-
name: pytest
run: |
set -x
coverage run -a -m pytest tools/test
python tools/test/pylint.py
coverage run -a tools/project.py -S | sed -n '/^Total/p'
coverage html

pin-validation:
runs-on: ubuntu-latest
container:
image: ghcr.io/armmbed/mbed-os-env:master-latest
steps:
-
name: Checkout repo
uses: actions/checkout@v2
with:
fetch-depth: 0

-
name: validate pins
run: |
set -x
git diff --name-only --diff-filter=d origin/${GITHUB_BASE_REF} \
| ( grep '.*[\\|\/]PinNames.h$' || true ) \
| while read file; do python ./hal/tests/pinvalidate/pinvalidate.py -vvvfp "${file}"; done
git diff --exit-code --diff-filter=d --color

cmake-checks:
env:
NAME: mbed-test-mode-check
ROOT: tools/cmake/tests/mbed_test_mode/
TOOLCHAIN: GCC_ARM
TARGET_NAME: K64F
PROFILE: develop
runs-on: ubuntu-latest
container:
image: ghcr.io/armmbed/mbed-os-env:master-latest
steps:
-
name: Checkout repo
uses: actions/checkout@v2

-
name: cmake build
run: |
set -x
mbedtools configure -p ${{ env.ROOT}} -t ${{ env.TOOLCHAIN }} -m ${{ env.TARGET_NAME }} --mbed-os-path .
cmake -S ${{env.ROOT}} -B ${{ env.ROOT }}/cmake_build/${{env.TARGET_NAME}}/${{ env.PROFILE }}/${{ env.TOOLCHAIN }}/ -GNinja -DCMAKE_BUILD_TYPE=${{ env.PROFILE }}
cmake --build ${{ env.ROOT }}/cmake_build/${{ env.TARGET_NAME }}/${{ env.PROFILE }}/${{ env.TOOLCHAIN }}/

-
name: cmake unittest
run: |
set -x
ctest --build-and-test . build --build-generator Ninja --build-options -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Debug -DCOVERAGE=ON --test-command ctest
gcovr --gcov-executable gcov -r . ./build -s -e ".*\.h" --exclude-directories=${GITHUB_WORKSPACE}/build/UNITTESTS --exclude-directories=${GITHUB_WORKSPACE}/build/_deps
ccache -s

# Reject any changes to tools that would require a re-release of the
# tools for the online compiler.
frozen-tools-check:
runs-on: ubuntu-latest
container:
image: ghcr.io/armmbed/mbed-os-env:master-latest
steps:
-
name: Checkout repo
uses: actions/checkout@v2
with:
fetch-depth: 0

-
name: frozen tool check
run: |
set -x
git diff --name-only origin/${GITHUB_BASE_REF} \
| egrep \
-e "^tools/build_api*" \
-e "^tools/config*" \
-e "^tools/export*" \
-e "^tools/notifier*" \
-e "^tools/paths*" \
-e "^tools/resources*" \
-e "^tools/targets*" \
-e "^tools/toolchains*" \
-e "^tools/utils*" \
-e "^$" > output.log | true
frozen_files=`cat output.log`

if [ -z "$frozen_files" ]; then
echo "Success!";
else
echo -e "Failure: Frozen files were modified\n$frozen_files";
echo -e "Please see https://os.mbed.com/blog/entry/Introducing-the-new-Mbed-Tools/" \
"\nfor why we've frozen the legacy tools.";
false;
fi
Loading