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
RyoheiHagimoto
6795607f32
Added CAN function to RZ/A2M.
2020-11-11 13:25:55 +09:00
RyoheiHagimoto
ec6e74ab1e
Updated periperal definition files for Renesas RZ/A2M
2020-11-11 13:23:07 +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
jeromecoutant
4d8127223c
OSPI test: dummy cycle update
2020-11-10 18:38:21 +01:00
jeromecoutant
3697167b73
STM32: add OSPI capability
...
PeripheralPins.c and PinNames.h files
generated by STM32_gen_PeripheralPins.py v1.17
2020-11-10 18:37:51 +01:00
Martin Kojtal
afb37068ea
Merge pull request #13847 from harmut01/pbl_scancode_fix
...
Add workaround for files with permissive binary licenses
2020-11-10 16:38:38 +00:00
Martin Kojtal
f9737a2dd4
Merge pull request #13886 from Patater/too-old-requirements
...
Don't require too old mbed tools
2020-11-10 16:36:50 +00:00
Martino Facchin
f1ea281613
STM32: USB: allow more endpoints for OTG_HS ports
2020-11-10 17:22:29 +01:00
Martino Facchin
db7954bc9b
STM32: allow high speed USB endpoints
2020-11-10 17:22:28 +01:00
Teemu Takaluoma
f74b1293c2
MIMXRT1050_EVK return bootloader support
2020-11-10 15:29:24 +02:00
adbridge
3cdc0f4b3d
Remove nanostack border router from examples list
...
nanostack border router is now owned by ISG and has been moved
out of ARMmbed and into their organisation. ISG will be
responsible for updating and testing this example going forward.
2020-11-10 11:52:47 +00:00