Commit Graph

33195 Commits (2852fe41aeaf1ce05bb81e1a99ff9ba9797238f8)

Author SHA1 Message Date
jeromecoutant 68b620bdc2 STM32H7: standard pin names 2021-04-14 10:30:03 +02:00
jeromecoutant ede1741e55 STM32G4: standard pin names 2021-04-14 10:30:03 +02:00
jeromecoutant bd43397f12 STM32G0: standard pin names 2021-04-14 10:29:56 +02:00
jeromecoutant fc54542cf0 STM32F7: standard pin names 2021-04-14 10:23:29 +02:00
jeromecoutant 2323d227fe STM32F4: standard pin names 2021-04-14 10:23:29 +02:00
jeromecoutant 25e85f9fcf STM32F3: standard pin names 2021-04-14 10:23:29 +02:00
jeromecoutant 63ce075fa8 STM32F2: standard pin names 2021-04-14 10:23:29 +02:00
jeromecoutant 69a7e3eeff STM32F1: standard pin names 2021-04-14 10:23:28 +02:00
jeromecoutant d21ff75e39 STM32F0: standard pin names 2021-04-14 10:23:28 +02:00
jeromecoutant 2351460ef7 STM32: replace "ARDUINO" by "ARDUINO_UNO" 2021-04-14 10:23:28 +02:00
jeromecoutant 3a772baab2 STM32: STM32_gen_PeripheralPins.py v1.20
- standard pin compatible
2021-04-14 10:23:28 +02:00
Martin Kojtal c5f28e6037
Merge pull request #14481 from jeromecoutant/PR_LORA_ERROR
STM32WL: update "lora.max-sys-rx-error"
2021-04-14 09:54:53 +02:00
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