Commit Graph

32183 Commits (5bd272aabc73b1cc0a2cd9acccbb7c0cd14f827c)

Author SHA1 Message Date
mbedmain f2278567d0 Update Mbed version block 2020-11-18 11:27:24 +00:00
Martin Kojtal 907868d1de CMake: STM32F0 fix startup/linker prefixes 2020-11-18 11:19:57 +00:00
Martin Kojtal 134c39cb7e
Merge pull request #13905 from jeromecoutant/PR_L422
STM32L4: ADC compilation issue with L422
2020-11-18 10:59:06 +00:00
Martin Kojtal e1b8dd6e22
Merge pull request #13797 from JojoS62/PR_fix_LSE-drive-load-setting
STM32: add setting for LSE drive load level
2020-11-18 09:42:45 +00:00
Martin Kojtal fad7f344e7
Merge pull request #13870 from rajkan01/feature-cmake-review-comment
CMake: Address review comment from PR#13566
2020-11-18 09:42:09 +00:00
Martin Kojtal 96f3de6914
Merge pull request #13910 from marcemmers/nrf-ble-config
Update NRF ble configuration options
2020-11-18 09:41:42 +00:00
Martin Kojtal 7a7f6a5a5c
Merge pull request #13768 from jeromecoutant/PR_FPGA_PRINT
COMPONENT_FPGA_CI_TEST_SHIELD: better debug print
2020-11-18 09:39:28 +00:00
Martin Kojtal 450afa81fb
Merge pull request #13904 from 0xc0170/fix_disco_cmake
CMake STM32L475xG: fix linker/startup inclusion
2020-11-18 09:37:45 +00:00
Martin Kojtal c6094f7b36
Merge pull request #13869 from evedon/cleanup-usb-drivers
Create a USB drivers library
2020-11-18 09:37:09 +00:00
Martin Kojtal 1bd5ce6af2
Merge pull request #13671 from balajicyp/topic/setsockopt_ip_tos
Add an socket option to set type of service to set specific precedence for QoS
2020-11-18 09:36:06 +00:00
Martin Kojtal ac45aacd5d
Merge pull request #13832 from moshe-shahar/fix-gcc-non-contiguous
Fix GCC_ARM non-contiguous FW for `K64F` and `K66F`
2020-11-17 22:02:14 +00:00
Martin Kojtal b9daf3fb15
Merge pull request #13848 from LDong-Arm/qspif_program_size_fix
Q/OSPIFBlockDevice: fix misconception in minimum program size
2020-11-17 21:59:53 +00:00
Martin Kojtal c49d0b88aa CMake: STM32F1 Cube fix driver includes 2020-11-17 16:52:10 +00:00
Martin Kojtal 23eed7cda1 CMake: add STM32WB targets 2020-11-17 16:48:24 +00:00
Martin Kojtal 39cb929749 CMake: add STM32L5 targets 2020-11-17 16:48:11 +00:00
Martin Kojtal 4c115a5c8d CMake: fix STM32 cmsis include 2020-11-17 16:30:37 +00:00
Martin Kojtal 519ac980ab CMake: add STM32L4 targets 2020-11-17 16:22:16 +00:00
Martin Kojtal 93e35a07ab CMake: add STM32L1 targets 2020-11-17 15:45:52 +00:00
Martin Kojtal 959c194b02 CMake: add STM32L0 targets 2020-11-17 15:40:35 +00:00
Martin Kojtal 80161f59ca CMake: add STM32H7 targets 2020-11-17 15:32:24 +00:00
Martin Kojtal fea34ce976 CMake: add STM32G4 targets 2020-11-17 15:17:17 +00:00
Martin Kojtal 1f2bb47391 CMake: add STM32G0 targets 2020-11-17 15:03:02 +00:00
Martin Kojtal d4f1f2560e CMake: add STM32F7 targets 2020-11-17 14:27:23 +00:00
Martin Kojtal a918ba4cba CMake: add STM32F4 targets 2020-11-17 14:00:04 +00:00
Martin Kojtal 6582c0af2c CMake: add STM32F3 targets 2020-11-17 12:37:26 +00:00
Martin Kojtal 9933b7d808 CMake: add STM32F2 targets 2020-11-17 12:06:59 +00:00
Martin Kojtal 81b61b2090 CMake: add STM32F1 targets 2020-11-17 11:59:44 +00:00
Martin Kojtal f05db1b47a CMake: add STM32F0 targets 2020-11-17 11:43:09 +00:00
Marc Emmers 01e56f1f34 Fix missing newline 2020-11-16 17:03:23 +01:00
Marc Emmers afc42b8fb7 Update NRF ble configuration options 2020-11-16 16:43:43 +01:00
jeromecoutant b79b8f5126 STM32G0: creation of MCU_STM32G070xx for custom boards
NB: no LPTIM on this MCU, so default values applied
2020-11-16 08:35:30 +01:00
jeromecoutant 08a7fd6c15 STM32G0: no TIM2 for G070xx 2020-11-16 08:35:22 +01:00
Evelyne Donnaes 7f92ba0826 Fixed top-level CMakeLists.txt 2020-11-13 15:49:24 +00:00
petroborys 41975a27ea Workaround to fix RTC-reset issue on the EFM32GG11_STK3701 2020-11-13 16:33:57 +02:00
petroborys 236748234e Workaround to fix RTC-reset issue on the EFM32GG11_STK3701 2020-11-13 14:32:47 +02:00
jeromecoutant 4c2945128c STM32G0: USART3_4_LPUART1_IRQn compilation issue with G070xx 2020-11-13 12:05:01 +01:00
jeromecoutant 9b8492bb13 STM32G0: RTC IRQ name error 2020-11-13 12:03:26 +01:00
jeromecoutant c288034ff7 STM32L4: ADC compilation issue with L422 2020-11-13 10:13:46 +01:00
RyoheiHagimoto edbcb78bb4 Added Apache-2.0 license to the files in r_can directory. 2020-11-13 08:56:15 +09:00
Lingkai Dong 13c5b64e16 general_tests_phase_2: SecureStore's underlying TDBStore must be large enough
The test case set_add_data_set_key_value_five_Kbytes stores
5KB of value, and to allow for overheads, we allocate at least
8KB per area of TDBStore (so 16KB for two areas of a whole
TDBStore).
2020-11-12 16:46:03 +00:00
Evelyne Donnaes b7c6bd34f5 Updated CMakeLists.txt 2020-11-12 15:34:47 +00:00
Moshe Shahar ca39f9588a fix incorrect condition 2020-11-12 17:20:08 +02:00
Moshe Shahar 157788e6a0 fix #error condition and message to include interrupts and flash config 2020-11-12 17:14:23 +02:00
Moshe Shahar e70ee75a6e K64F, K66F - Remove flash_config area if MBED_APP_START isn't zero
This will also fix GCC_ARM non-contiguous FW:
Issue: https://github.com/ARMmbed/mbed-os/issues/13831
2020-11-12 17:14:22 +02:00
Evelyne Donnaes 30e9050f10 Moved USB greentea tests 2020-11-12 14:57:01 +00:00
Evelyne Donnaes 9964212f9e Moved USB drivers under drivers/usb 2020-11-12 14:57:00 +00:00
Lingkai Dong 76cf78d654 general_block_device: optimize test_contiguous_erase_write_read() buffer size for large-sector flashes 2020-11-12 14:36:55 +00:00
Lingkai Dong 4a47709cb0 Fix OSPIFBlockDevice program size
From the datasheet of the only OctaSPI flash we currently support
(http://www.mt-system.ru/sites/default/files/docs/Macronix/mx25lm51245g_3v_512mb_v0.01.pdf):

After program/erase command is issued, auto program/erase
algorithms which program/erase and verify the specified page
or sector/block locations will be executed. Program command is
executed on byte basis, or page (256 bytes) basis, or word basis.
Erase command is executed on sector (4K-byte), or block (64K-byte),
or whole chip basis.

So the minimum write size is one byte.
2020-11-12 14:36:55 +00:00
Lingkai Dong 9f3ada3131 Fix printing of contiguous_erase_size 2020-11-12 14:36:55 +00:00
Lingkai Dong c61445a787 QSPIFBlockDevice: fix misconception in minimum program size
Prior to this PR, the minimum program size (QSPI_MIN_PROG_SIZE) of
QSPIFBlockDevice was 256 by default and 512 for some targets.
Those values were in fact page sizes, not program sizes.

Here's an explanation:
* Most QSPI flashes can be programmed to a granularity of a
  single byte or a few bytes - no need to be a whole page.
  This should be the value of QSPI_MIN_PROG_SIZE. Applications
  need to align buffer sizes to this granularity when
  programming QSPI flashes.
* Each sending of the underlying QSPI program signal requires
  destination bytes to be located within the same page.
  If a QSPIFBlockDevice::program() call crosses page boundaries,
  this function breaks down the operation into multiple chunks,
  so it's not a concern for the application.

So this PR changes the default program size to 1 (byte), and
for targets with a 4-byte (1-word) read size it overrides the
program size.

Note: No config is needed for the page size, as it comes from
the SFDP table parsed during initialisation.
2020-11-12 14:36:55 +00:00