Commit Graph

34208 Commits (149c5b12fa8a6c84d340361975cb992f08367b43)

Author SHA1 Message Date
Martin Kojtal d4c6b37cad
Merge pull request #14610 from jeromecoutant/DEV_SLEEP_TRACE
Power management stat : add verbosity level for MBED_SLEEP_TRACING_ENABLED
2021-11-08 15:11:18 +00:00
Martin Kojtal 41744c7fee
Merge pull request #15152 from sytsereitsma/minimal_printf_float_rounding
Fix rounding bug when formatting floats with minimal_printf
2021-11-08 09:37:31 +00:00
Jerome Coutant 8e26a05f50 STM32: readme update for MBED_SLEEP_TRACING_ENABLED 2021-11-08 09:46:20 +01:00
jeromecoutant 658e9ae972 Power management stat : add verbosity level for MBED_SLEEP_TRACING_ENABLED
Full verbosity is adding a console line for each lock/unlock API call

- stats can be enabled with json config
- default configuration is full verbosity and add a console line for each lock/unlock command
- for STM32 targets, verbosity is reduced by default
2021-11-08 09:46:06 +01:00
Martin Kojtal c41145c6d8
Merge pull request #15161 from OpenNuvoton/nuvoton_m2354_tfm_aws-iot
M2354: Adjust TF-M configuration to fit AWS IoT application
2021-11-04 14:09:21 +00:00
sytse 43f0c14c9a Code style violation corrected 2021-10-29 13:45:32 +02:00
sytse b99584d16d Fixed floating point formatting
When decimal_prec is 0 and the value is negative and needs rounding subtract 1, instead of adding 1
When decimal_prec > 0 round before printing the integer part, instead of after
2021-10-29 13:40:29 +02:00
Sytse Reitsma 1c6fb3b4c5 Added unit test for floating point formatting
And added a bonus test for string padding
2021-10-29 13:32:46 +02:00
Chun-Chieh Li 5992676276 M2354: Adjust TF-M configuration to fit AWS IoT
1.  In TF-M, enlarge ITS max asset number/size
    NOTE: RSA key size is larger
2.  In TF-M, enlarge mbedtls dedicated heap
    NOTE: RSA algorithm needs more memory.
    NOTE: psa_aead_decrypt() (for mbedtls_ssl_read()) needs memory proportional to data size.
2021-10-29 10:38:27 +08:00
bakatrouble 6c9ae1e9fc Add STM32F722ZE target 2021-10-28 19:18:30 +03:00
bakatrouble 0e64ff9a90 Support missing SPI6 on STM32F7 2021-10-28 19:18:30 +03:00
bakatrouble 469d681bd9 Support different STM32F7 flash configurations 2021-10-28 19:18:30 +03:00
bakatrouble e33088583e Allow STM32F7 targets without Ethernet 2021-10-28 19:18:24 +03:00
Martin Kojtal 07e119b467
Merge pull request #15154 from rardiol/STM32WB55-BLE-HCI_size
STM32WB55 HCI driver: version dependent rom size
2021-10-28 10:09:49 +01:00
Ricardo Ardissone 2a99cf6d19 STM32WB55: update README.md for BLE version 1.12+ 2021-10-27 19:21:22 -03:00
Martin Kojtal 0d54dbc8f6
Merge pull request #15151 from maxgerhardt/patch-1
Update psutil to 5.6.7 and PyElfTools to 0.27
2021-10-26 13:47:37 +02:00
Martin Kojtal 84e0d5d785
Merge pull request #15139 from billwatersiii/pr/pwm_resume_fix
Fix for PWM resume issue, SWINTEGRATION-57
2021-10-25 14:43:26 +02:00
Martin Kojtal d9b2b7d7ce
Merge pull request #15149 from 0xc0170/fix-issue-8188
InterruptIn: add note about enabling interrupts in rise/fall
2021-10-25 11:45:45 +02:00
Martin Kojtal 555f6beceb
Merge pull request #15147 from boraozgen/bugfix/remove-socket-control-stubs
NetworkStack: Remove stub implementations of socket_x_control
2021-10-25 11:41:04 +02:00
Ricardo Ardissone ca28a86d1b STM32WB55 HCI driver: version dependent rom size
stm32wb5x_BLE_HCILayer_fw.bin install address increased from 0x080E0000
to 0x080E1000 in version 1.12.0. Assumes any future bump to major or
minor version will maintain the new install address.
See https://github.com/STMicroelectronics/STM32CubeWB/blob/master/Projects/STM32WB_Copro_Wireless_Binaries/STM32WB5x/Release_Notes.html
2021-10-22 18:20:33 -03:00
Maximilian Gerhardt 2b1834be75
Update PyElfTools as well
Fixes "ImportError: cannot import name 'MutableMapping' from 'collections'" for Python 3.10
2021-10-22 14:59:10 +02:00
Maximilian Gerhardt d2b85a64aa
Update psutil to 5.6.7 2021-10-22 13:11:34 +02:00
Bill Waters a2e46525ac Fix for PWM resume issue, SWINTEGRATION-57 2021-10-21 09:22:45 -07:00
Martin Kojtal 0a3b16868f InterruptIn: add note about enabling interrupts in rise/fall
Fixes #8188
Make it obvious, only calling rise/fall methods, IRQ are active. Nothing more needed.
2021-10-21 14:55:37 +01:00
Bora Özgen 7523588035 NetworkStack: Remove stub implementations of socket_x_control
As a default implementation is already provided by
NetworkStack, stub implementations in the child classes
are not required. Furthermore, they return unsupported for
all cases instead of redirecting to the non-control API,
which is plainly wrong.
2021-10-21 10:33:13 +02:00
Martin Kojtal 54a4879801
Merge pull request #15141 from 0xc0170/mergify-fix-review-labels
mergify: fix needs work labels if CI fails
2021-10-20 15:52:42 +02:00
Martin Kojtal aac66fc225
Merge pull request #15145 from Uruloke/qspif-add-missing-mbed-namespace-prefix
QSPIF: Add missing mbed namespace prefix to header file
2021-10-20 14:27:27 +02:00
Uruloke d95768b38c QSPIF: Add missing mbed namespace prefix to header file 2021-10-19 15:09:34 +02:00
Martin Kojtal f69af599d5
Merge pull request #15126 from multiplemonomials/create-distro-reborn
mbed_create_distro() reborn: a function to make adding multiple targets easy
2021-10-19 14:28:06 +02:00
Martin Kojtal 06f234e3af
Merge pull request #15137 from jeromecoutant/PR_WL_1_1_0
STM32WL update drivers version to CUBE V1.1.0
2021-10-15 10:07:02 +02:00
Martin Kojtal d4c27e006b mergify: fix needs work labels
We have clash with needs work and needs CI labels. If CI fails, we need to be in CI stage. Check for needs: CI label and apply work only if it was CI.

Otherwise we would be in the loop.
2021-10-14 15:01:16 +01:00
Martin Kojtal e4111eaa0d
Merge pull request #15068 from jeromecoutant/PR_INTERFACE
connectivity tests: avoid HardFault with null pointer
2021-10-14 15:43:07 +02:00
Martin Kojtal 2cd6c70c94
Merge pull request #15117 from JojoS62/fix-memap-diff
CLI2: copy mapfile for diff statistics
2021-10-14 14:44:45 +02:00
Martin Kojtal 8706a1ae61
Merge pull request #15136 from jeromecoutant/PR_WL_LORA
STM32WL LORA radio: add a critical section
2021-10-14 11:48:28 +02:00
Johannes Stratmann 2b7b97340d remove comment for renaming mapfile 2021-10-13 18:15:57 +02:00
Martin Kojtal ea0538e5c5
Merge pull request #15140 from OpenNuvoton/nuvoton_m2354_tfm_cli1-post-build_custom_board
M2354: Enable post-build for custom board partially with Mbed CLI
2021-10-13 16:12:35 +02:00
Martin Kojtal 64a0128dc8
Merge pull request #15138 from jeromecoutant/PR_UTF
STM32: Remove non-UTF characters
2021-10-13 13:56:38 +02:00
Chun-Chieh Li 173e407fed M2354: Fix stdin abnormal on NuMaker-IoT-M2354 with Mbed CLI
Due to post-build script not supporting custom board, both the below UART configurations are enabled on NuMaker-IoT-M2354 board:
-   UART0 PA7/PA6 enabled by bl2.bin
-   UART0 PB9/PB8 enabled by tfm_s.bin and later by mbed
Both PA7/PA6 and PB9/PB8 enabled on UART0, PB8 gets disturbed and stdin mis-behaves on NuMaker-IoT-M2354 board.

NuMaker-M2354       : UART TX/RX = UART0 PA7/PA6
NuMaker-IoT_M2354   : UART TX/RX = UART0 PB9/PB8

This bugfix tries to enable post-build for custom board to some degree (not completely), with Mbed CLI.
NOTE: For Mbed CLI, the build process still sees NuMaker-M2354's partition/ and applies its mcuboot build options. Custom board must align on these.
2021-10-13 17:57:56 +08:00
Johannes Stratmann 73526603dc remove comment 2021-10-13 11:48:38 +02:00
Jerome Coutant 0ef6dd5ad5 STM32WB remove non-UTF characters 2021-10-12 17:52:08 +02:00
Jerome Coutant 2b8c37ac8e STM32L5 remove non-UTF characters 2021-10-12 17:52:08 +02:00
Jerome Coutant eb8d8547ed STM32L4 remove non-UTF characters 2021-10-12 17:52:07 +02:00
Jerome Coutant 52f8760062 STM32L1 remove non-UTF characters 2021-10-12 17:52:07 +02:00
Jerome Coutant 95640b9ef1 STM32L0 remove non-UTF characters 2021-10-12 17:52:07 +02:00
Jerome Coutant 9319d2ace2 STM32H7 remove non-UTF characters 2021-10-12 17:52:06 +02:00
Jerome Coutant 2f9ba5b4da STM32G4 remove non-UTF characters 2021-10-12 17:52:06 +02:00
Jerome Coutant c5b6347ccb STM32G0 remove non-UTF characters 2021-10-12 17:52:06 +02:00
Jerome Coutant 39f8924f07 STM32F7 remove non-UTF characters 2021-10-12 17:52:06 +02:00
Jerome Coutant bb9952e0eb STM32F4 remove non-UTF characters 2021-10-12 17:52:06 +02:00
Jerome Coutant f103713a96 STM32F3 remove non-UTF characters 2021-10-12 17:52:05 +02:00