Commit Graph

33083 Commits (4767b7e1ac9b03fdd4212fb19fb3b3d31facb33f)

Author SHA1 Message Date
Martin Kojtal 033094f84d
Merge pull request #14467 from LDong-Arm/b1_fix
Musca targets: align and clean up configurations
2021-04-14 09:54:46 +02:00
Martin Kojtal 8b8f4e52a0
Merge pull request #14521 from AnishKumarHCL/pwm_gpiopull_fix
Updated TARGET_STM32 board  pinMap_PWM table with GPIO_NOPULL
2021-04-14 09:54:22 +02:00
reme a1055f5add README update STM32F3 to CUBE V1.11.2 2021-04-14 08:19:40 +01:00
reme 285e3e2bb7 STM32F3 update drivers version to CUBE V1.11.2 2021-04-14 08:19:39 +01:00
Chandran Praveen Babu (CYSC CSS ICW SW PSW) af44532ca4 Fix Unbuffered serial enable/disable issue on Cypress kits 2021-04-13 15:33:25 -07:00
Lingkai Dong b5893bebbb Increase baud rate of mbed-os-example-crash-reporting to 115200
At 9600 baud, a large part of the serial output of the crash reporting
example is missing on CI boards, causing the example test to fail. At
a higher serial speed (115200 baud), the entire output is intact.

This is in alignment with ARMmbed/mbed-os-example-crash-reporting#65.

Fixes #14535
2021-04-13 16:10:39 +01:00
Martin Kojtal 06a33d37f8
Merge pull request #14436 from paul-szczepanek-arm/remove-services
BLE: replace obsolete services with the new services repo
2021-04-13 16:00:58 +02:00
Martin Kojtal b1e26c6f35
Merge pull request #14435 from LDong-Arm/CRYPTOCELL310_linking
Fix missing linkage of mbed-mbedtls-cryptocell310 to mbed-mbedtls
2021-04-13 16:00:43 +02:00
reme 283bf81d9f Readme update STM32G0 to CUBE V1.4.1 2021-04-13 13:46:51 +02:00
Kevin Bracey 537bee9f4c Better document MemoryPool behaviour
Make explicit that `MemoryPool` is a raw allocator, and users need to
take care of object construction and destruction.
2021-04-13 14:37:47 +03:00
Martin Kojtal bfdd9163e0
Merge pull request #14532 from kjbracey-arm/ticker_log1
Make ticker computation use shift-by-0
2021-04-13 12:07:16 +02:00
Martin Kojtal 291beda749
Merge pull request #14359 from harmut01/baremetal_nxp
Add bare metal support to NXP targets
2021-04-13 10:58:46 +02:00
s-bruce13 96349d7445 Removed unnecessary commented lines in PinNames.h 2021-04-12 09:49:18 -05:00
s-bruce13 d12fa879ac Revert "Removed unnecessary commented lines from PinNames.h"
This reverts commit 0adc3fd570.
2021-04-12 09:48:40 -05:00
s-bruce13 0adc3fd570 Removed unnecessary commented lines from PinNames.h 2021-04-12 09:47:46 -05:00
Martin Kojtal 38796d0a88
Merge pull request #14424 from 0xc0170/fix-wio-bg96-cellular
WIO_BG96: fix macro exclusion - use cellular
2021-04-12 16:17:54 +02:00
Martin Kojtal 1aa38b49ba
Merge pull request #14524 from OpenNuvoton/nuvoton_m487_adjust-wdt-reset-reglock
M487: Adjust placement of SYS_UnlockReg in WDT reset code
2021-04-12 14:54:35 +02:00
Martin Kojtal f2b2f42616
Merge pull request #14527 from LDong-Arm/nfc_example_target
Tests: use only NUCLEO_F401RE for the NFC examples
2021-04-12 14:54:23 +02:00
jeromecoutant 57ce710119 [CMAKE] COMPONENT_BlueNRG_MS: fix mbed-ble 2021-04-12 11:33:57 +02:00
Kevin Bracey 904d4e4d2b Make ticker computation use shift-by-0
Runtime code that analysed clock frequency to determine numerator and
denominator for conversion to standard 1MHz failed to handle the case
of either being 1 correctly.

Although it would spot other values that could be performed as shifts,
it failed to spot that 1 is "shift by 0", so would end up doing runtime
multiply and/or divide by 1. The runtime divide by 1 could be slow on a
Cortex-M0 device, increasing interrupt latency.

UART character loss on STM32F0 devices has been traced to this incorrect
code.

Correct the `exact_log2` routine so that `exact_log2(1)` returns 0 to
fix this.

Original code had a single special no-multiply-or-divide case for
hardware clock frequency being exactly 1MHz, as USTICKER is on STM32F0 -
this code lacks that but has a more general special case that covers all
shift-convertible frequencies like 500kHz or 8MHz, which should be
similar speed as shifts are cheap.
2021-04-12 09:46:42 +03:00
Lingkai Dong e6610bd111 Use only NUCLEO_F401RE for the NFC examples
The repository mbed-os-example-nfc contains two examples: NFC_EEPROM
and NFC_SmartPoster. According to their respective `mbed_app.json`,
only NUCLEO_F401RE supports both examples, so we limit the compilation
test to this target only.

Compilation with an unsupported target fails (as expected) with Mbed
CLI 2 which enforces a check on a target's availability of the
required NFC controller. Mbed CLI 1 lacks such check and always
compiles.

Fixes ARMmbed/mbed-os-example-nfc#106
2021-04-09 10:38:01 +01:00
Martin Kojtal 35b8e558e9
Merge pull request #14491 from ARMmbed/docs-fpga
Update FPGA documentation
2021-04-09 10:09:34 +02:00
reme 428cd9c217 STM32G0 update drivers version to CUBE V1.4.1 2021-04-09 08:53:49 +02:00
harmut01 9c73e09b06 Add bare metal support to ARCH_PRO 2021-04-08 17:24:09 +01:00
Anish Kumar 780d7c4a00 Updated TARGET_STM32 PeripheralPins.c and PeripheralPinMaps.h Replaced GPIO_PULLUP with GPIO_NOPULL in PinMap_PWM table 2021-04-08 18:42:01 +05:30
Anish Kumar 44be594792 Modified STM32_gen_PeripheralPins.py replaced GPIO_PULLUP with GPIO_NOPULL in print_pwm function 2021-04-08 18:13:50 +05:30
Anish Kumar d8d19b186d removed pin_mode api call from pwmout_init_direct api 2021-04-08 18:13:10 +05:30
Martin Kojtal 1413c42410 CMake: use project name for Mbed OS
This enables multiple variables we can use. One of them is source dir for a project.

It will replace MBED_PATH in the tree.
2021-04-08 13:25:02 +01:00
Chun-Chieh Li df4f1a3387 M487: Adjust placement of SYS_UnlockReg in WDT reset from PD patch
This adjustment has two purposes:
1.  Avoid misleading placement of SYS_UnlockReg for WDT clock setting
2.  Safer for power-down
2021-04-08 17:18:38 +08:00
Paul Szczepanek d594aa2d4b add MBED_DEPRECATED comment for maintainers to find it 2021-04-08 09:53:23 +01:00
Martin Kojtal 9bbc8c914c
Merge pull request #14506 from noonfom/value-handle
Add GattUpdatesEnabledCallbackParams struct
2021-04-08 09:53:04 +02:00
Martin Kojtal 622e2b3c88
Merge pull request #14511 from paul-szczepanek-arm/scan-start-check
BLE: Fix start scan command not returning error if parameters haven't been set
2021-04-08 09:21:41 +02:00
Martin Kojtal 160b32ae0e
Merge pull request #14259 from rotu/G431RB
Support STM Nucleo-G431RB
2021-04-08 09:21:23 +02:00
Abbas Bracken Ziad 52483f3e30 Wrap call to value handle getter in MBED_ASSERT 2021-04-07 18:05:01 +01:00
Paul Szczepanek cc478b3896 add deprecation warning 2021-04-07 17:15:09 +01:00
Paul Szczepanek f34d31f350 remember if BLE scan paremeters are set 2021-04-07 16:40:46 +01:00
harmut01 1c671c43ff Refactor definition of heap load region start 2021-04-07 14:27:34 +01:00
Abbas Bracken Ziad aaf9435f87 Use general name for POD 2021-04-07 12:34:25 +01:00
Mika Leppänen 989c8e85eb Added new start methods to Wi-SUN BR with WisunInterface parameter and deprecated the old ones
Previously WisunBorderRouter start() used NetworkInterface type for mesh interface, although only
WisunInterface type is possible for the call. Added a new overloads of the start with the
WisunInterface as mesh interface type and deprecated the old ones. This makes the calls stricter
about the interface type and safer. It also allows to remove the reinterpret_cast that causes
compiler warning on ARM compiler.
2021-04-07 11:34:33 +03:00
Martin Kojtal 84e5f1e03e
Merge pull request #14479 from chrJost/USB_STM32L1
STM32L1: enable USBDEVICE
2021-04-07 10:23:06 +02:00
Martin Kojtal 0075eeab6b
Merge pull request #14482 from jeromecoutant/PR_L4_SYSCLOCK
STM32L4: align all system_clock files
2021-04-07 10:22:50 +02:00
Martin Kojtal 7328e588f1
Merge pull request #14485 from boraozgen/feature/stm32-rtc-hse-review
STM32: RTC HSE support review changes
2021-04-07 09:38:44 +02:00
Martin Kojtal dce643be92
Merge pull request #14478 from jeromecoutant/PR_L1_ADC_DEEP
STM32L1 : enable ADC after deepsleep
2021-04-07 09:38:30 +02:00
Martin Kojtal 9d0bd3abd9
Merge pull request #14496 from jeromecoutant/PR_DEVICENAME
STM32: cleanup around devicename information from CMSIS pack
2021-04-07 09:05:02 +02:00
Martin Kojtal c2dae8b7eb
Merge pull request #14499 from JeanMarcR/CUBE_UPDATE
STM32F1 update drivers version to CUBE V1.8.3
2021-04-07 09:04:43 +02:00
s-bruce13 e2c2b2ba6f Fixed CMake Error
Jenkins CI cmake error
2021-04-06 14:24:38 -05:00
Lingkai Dong c4178b4ce8 TF-M targets: Clean up RTOS configuration
On Armv8 targets, the PSA interface on the non-secure side only
requires mutexes, thus we remove other RTOS overrides to reduce
memory usage in general use cases.

TF-M and PSA test applications require more RTOS resources, and
they have their own configurations defined in
mbed-os-tf-m-regression-tests.

This commit also adds missing configuration for ARM_MUSCA_B1.
2021-04-06 18:16:46 +01:00
Lingkai Dong bd92ca06fa ARM_MUSCA_B1: default baud rate to 115200
The TF-M secure binary has a fixed baud rate of 115200. Having a
different baud rate on the non-secure side results in broken serial
outputs.
2021-04-06 18:11:46 +01:00
Abbas Bracken Ziad d42c0a7269 Add value handle field to callback params 2021-04-06 17:39:10 +01:00
Abbas Bracken Ziad 8b07e97e50 Add value handle getter to Gatt Server 2021-04-06 17:24:08 +01:00