Commit Graph

31639 Commits (9de73f89ef2bdee8a7bf37bbb8a5c20e217d0778)

Author SHA1 Message Date
Evelyne Donnaes 7f92ba0826 Fixed top-level CMakeLists.txt 2020-11-13 15:49:24 +00:00
jeromecoutant c288034ff7 STM32L4: ADC compilation issue with L422 2020-11-13 10:13:46 +01: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
Rajkumar Kanagaraj 438994ded4 Fix CI issue:
- Added absolute path as cmake failed to find linker file from relative path
- Added the missing MBED_CONF_CRYPTOCELL310_PRESENT
- Added the dependency library to BLE Cordio stack
2020-11-12 14:32:01 +00:00
Martin Kojtal 66c05ddbf8
Merge pull request #13887 from hugueskamba/hk_cmake_update_build_instructions
CMake: Specify mbedtools in the build instructions
2020-11-12 13:50:46 +00:00
Martin Kojtal 18b898d708 STM32L475xG: fix linker/startup inclusion
No function required.
2020-11-12 11:54:21 +00:00
Rajkumar Kanagaraj 4c05ce874a Remove add subdirectory of TARGET_MCU_NRF52840 as it contains only mbed_lib.json 2020-11-12 11:27:11 +00:00
Rajkumar Kanagaraj cc7ae38fed CMake: Simplify inclusion of cryptocell310 library files 2020-11-12 11:27:11 +00:00
Rajkumar Kanagaraj a044bfa9c1 CMake: Add more information to TODO comment 2020-11-12 11:27:11 +00:00
Rajkumar Kanagaraj 766a9a8219 CMake: Remove empty input source files 2020-11-12 11:27:11 +00:00
Rajkumar Kanagaraj a4d8559c08 CMake: Rename input source files from CMakelists.txt to CMakeLists.txt 2020-11-12 11:27:10 +00:00
Rajkumar Kanagaraj 991b02ca7e CMake: Replace mbed_set_language_standard with target_compile_features and remove MBED_TARGET_LABELS variable resetting 2020-11-12 11:27:10 +00:00
Martin Kojtal 76ff098e94
Merge pull request #13691 from jrobeson/drop-nordic-sdk11
Remove unused Nordic TARGET_SDK_11
2020-11-12 09:35:42 +00:00
Martin Kojtal d5b4f42fcd
Merge pull request #13894 from noonfom/fix_compilation_warnings
Fix compilation warnings
2020-11-12 08:50:25 +00:00
Martin Kojtal a937a43edb
Merge pull request #13891 from ARMmbed/examples
Remove nanostack border router from examples list
2020-11-12 08:49:58 +00:00
Martin Kojtal 32398685f8
Merge pull request #13880 from heuisam/master
S1SBP6A fix RTC range
2020-11-12 08:45:03 +00:00
Martin Kojtal 65097e1c07
Merge pull request #13878 from evedon/blockdevice-library
Add missing blockdevice mbed_lib.json
2020-11-12 08:44:48 +00:00
Martin Kojtal 74f9603c0a
Merge pull request #13861 from idea--list/ambiq-apollo3-dev-squash
Ambiq apollo3 fix of an SPI related SD bug
2020-11-12 08:43:58 +00:00
Martin Kojtal e725df7d07
Merge pull request #13833 from AGlass0fMilk/privacy-enabled-cb-patch
Add new Gap::EventHandler callbacks to ChainableGapEventHandler class
2020-11-12 08:43:35 +00:00
Martin Kojtal f333c3ead1
Merge pull request #13699 from boraozgen/bugfix/sfdp-find-addr-region
Fix sfdp_find_addr_region algorithm
2020-11-12 08:43:02 +00:00
Martin Kojtal 9c40d1fcd8
Merge pull request #13895 from hugueskamba/hk_cmake_fix_subsequent_runs
CMake: Fix error that prevented re-build
2020-11-12 08:19:45 +00:00
Martin Kojtal f5f638952b
Merge pull request #13849 from kalle16lab/add-apollo3-sleep
Add apollo3 sleep
2020-11-11 16:53:06 +00:00
Martin Kojtal f84cf8c293
Merge pull request #13800 from jeromecoutant/PR_OSPI_BARE
OSPI: enable feature in baremetal test configuration
2020-11-11 16:52:49 +00:00
Abbas Bracken Ziad 3e6cf78d6d Remove call to function-like macro with no effect 2020-11-11 14:23:42 +00:00
Martin Kojtal 3ec633cbe2
Merge pull request #13893 from teetak01/fix-rt1050-bootloader-support
MIMXRT1050_EVK return bootloader support
2020-11-11 13:00:19 +00:00
Martin Kojtal e49dcacdee
Merge pull request #13900 from 0xc0170/fix-mergify-travis
mergify: fix travis rename check
2020-11-11 12:17:44 +00:00
Martin Kojtal 5cbdbcb2d2
Merge pull request #13889 from artokin/nanostack_release_12_6_2
Nanostack release v12.6.2
2020-11-11 09:11:27 +00:00
Martin Kojtal f867a949a9
Merge pull request #13864 from LDong-Arm/cypress_baremetal_fixes
Fix bare metal builds on Cypress targets
2020-11-11 08:55:39 +00:00
Martin Kojtal 3555ada459
Merge pull request #13867 from marcemmers/fix-systimer-overflow
SysTimer: Prevent unacknowledged tick overflow when halted for a while
2020-11-11 08:55:24 +00:00
Martin Kojtal a0e8ab93a4
Merge pull request #13859 from jeromecoutant/PR_L4_LPUART_HSI
STM32L4: Use HSI for LPUART
2020-11-11 08:27:35 +00:00
Martin Kojtal e8a3282181
Merge pull request #13816 from pennam/patch-stm32-usbhs-pull
STM32: allow HS USB endpoints and increase USB OTG_HS endpoints number
2020-11-11 08:27:19 +00:00
Martin Kojtal f550ed3bd5
Merge pull request #13802 from jeromecoutant/PR_FLASH_F4
STM32F4 FLASH API update
2020-11-11 08:26:44 +00:00
Martin Kojtal 43ff4ae865
Merge pull request #13874 from jeromecoutant/PR_F3_11
STM32F3 update drivers version to CUBE V1.11.1
2020-11-11 08:26:25 +00:00
Martin Kojtal 0909f6fac6
Merge pull request #13882 from hugueskamba/hk_cmake_use_relative_paths
CMake: Use relative paths to list source files and directories
2020-11-11 08:25:55 +00:00
Martin Kojtal dc0ef45f9e mergify: fix travis rename check 2020-11-11 08:22:43 +00:00
Heuisam Kwag eb32b25c8a SIDK_S1SBP6A: fix to support rtc range from 0 to 0xEFFFFFFF
BP6A do not support from 0 to 0xEFFFFFFF in SOC.
This patch fixes it in s/w manner.

Signed-off-by: Heuisam Kwag <heuisam@samsung.com>
2020-11-11 13:54:32 +09:00
Hugues Kamba a70edcda0a CMake: Fix error that prevented re-build
Promote MBED_TOOLCHAIN_FILE_USED to cache variable so
its previous state can be recalled when re-building. This
is because CMAKE_TOOLCHAIN_FILE is also a cache variable and its
value is set on first run when it has not been set.
2020-11-10 19:54:47 +00:00
Hugues Kamba 97c7a38bec CMake: Specify mbedtools in the build instructions
mbedtools provides a more user friendly UX for
building application.
2020-11-10 18:54:30 +00:00
jeromecoutant f7a2247442 STM32 : enable OSPI for DISCO_L562QE 2020-11-10 18:38:21 +01:00
jeromecoutant 4cf3a7f0f2 OSPIF: dummy cycles update 2020-11-10 18:38:21 +01:00