Commit Graph

31605 Commits (f07030255f57821eac0451b112460ba59b265d7b)

Author SHA1 Message Date
Arto Kinnunen f07030255f Update EMAC connect logic with MAC address change
Do not fail EMAC interface during connect if MAC address change is
not supported in the selected interface.
2020-11-24 11:23:36 +02:00
Arto Kinnunen 2f610340ba Review corrections
-Update method set_mac_address description
-Update EMAC test method return value
2020-11-23 10:11:03 +02:00
Arto Kinnunen d001b7a441 Update unittests 2020-11-20 10:06:57 +02:00
Arto Kinnunen 82964a3a0c Update set_mac_address signature
Use nsapi_size_t instread os size_t.
2020-11-20 10:05:35 +02:00
Arto Kinnunen af350de726 Allow method override
Remove final keyword to allow inheritance.
2020-11-19 15:50:04 +02:00
Arto Kinnunen c8b667a7ba Review correction: Remove unnecessary method
Remove unnecessary method: add_ethernet_interface_ns
2020-11-18 17:29:10 +02:00
Arto Kinnunen e1e0f89699 MAC address set/get support for EMAC interface
Add support to set and get MAC address from EMAC interface.
2020-11-18 17:26:04 +02:00
Arto Kinnunen a607be6623 Method for adding network interface MAC address
Add method set_mac_address to set network interface MAC address.
2020-11-18 17:17:54 +02:00
mbedmain f2278567d0 Update Mbed version block 2020-11-18 11:27:24 +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
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
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