Commit Graph

31871 Commits (d6784c3ee6ada8e886801d0197904d3ab94c891c)

Author SHA1 Message Date
Arto Kinnunen 913ac8c2b2 Follow Mbed OS coding style 2020-11-24 11:46:20 +02:00
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
Rajkumar Kanagaraj d328af9edb CMake: Add nanostack dependency
- Added netsocket libraries to nanostack CMake with target_link_libraries as nanostack has dependency
2020-11-23 20:18:48 +00:00
Hugues Kamba 6a6864b6df Freescale: Remove KL27Z files
Mbed OS 6 does not support the KL27Z target
2020-11-23 17:02:03 +00:00
reme 41ed9239be LPUART CLOCK SOURCE SELECTION LEFT TO SERIAL DRIVER.
The clock source selection of LPUART depends on System clocks but also on
the serial baudrate. There is a specific computation done in serial driver
targets/target_STM/serial_api.c

At first start-up the LPUART1 clock selected in SetSysClock was anyway
overridden by the serial driver, so this was of no effect. But in case
of deep sleep SetSysClock is called again, while the driver isn't, so
SetSyClock was corrupting the serial clock configuration.

So let's remove these few lines of code which are causing trouble.

For targets L496 and L5.

Taking into account device TRNG in L5 configuration
2020-11-23 17:10:49 +01:00
Rajkumar Kanagaraj a964453edf CMake: target_link_library the BLE with CORDIO stack
- Security manager uses some feature from wsf which is part of the mbed-ble-cordio library so added target_link_library to link the BLE library to cordio stack lib.
2020-11-23 16:06:53 +00:00
Lingkai Dong 7525134532 [Q/O/]SPIFBlockDevice: remove logic for unaligned erase, as alignment is checked
[Q/O/SPIFBlockDevice::erase() begin with an alignment check,
after which unaligned erases should not happen or be allowed.

If the erase address is not aligned to the value returned by
sfdp_iterate_next_largest_erase_type(), it indicates an
internal error in erase table parsing which should not be
hidden.
2020-11-23 15:55:24 +00:00
Lingkai Dong 52627dbc59 sfdp_iterate_next_largest_erase_type: fix size check and add alignment check 2020-11-23 15:45:43 +00:00
Hugues Kamba 942f62c148 Freescale: Remove K20XX files
Mbed OS 6 does not support K20XX targets
2020-11-23 14:34:27 +00:00
Paul Szczeanek e71f452e9d fix missing return 2020-11-23 09:06:42 +00:00
Paul Szczeanek 63887d19a8 update the peer address when LTK has been found in old entry 2020-11-23 09:06:30 +00:00
Paul Szczeanek 187ed98d82 update the connected status of db entry 2020-11-23 09:06:05 +00:00
Paul Szczeanek 6f844e1a71 fix indexing in ble security db 2020-11-23 09:02:56 +00: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
jeromecoutant 29af76fcca STM32: LSE DRIVE feature update 2020-11-20 17:31:26 +01:00
Martin Kojtal 6574054d26 CMake: remove M2351 cmakelists, not supported yet 2020-11-20 13:46:15 +00:00
Martin Kojtal 58bf0ed9f2 CMake: fix NUC472 ARM path 2020-11-20 13:42:32 +00:00
Martin Kojtal 033c48dee7 CMake: fix NUMAKER_IOT_M263A name 2020-11-20 13:41:34 +00: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
reme 16e63dc108 STM32 FLASH API : add critical sections
See PR #13802 (for F4 board)

Concerned boards are

STM32F0
STM32F1
STM32F2
STM32F3
STM32F4
STM32F7
STM32G0
STM32G4
STM32H7
STM32L0
STM32L1
STM32L4
STM32L5

Adding test of return code of HAL_FLASH_Lock() function
Adding board STM32F4
Running AStyle
2020-11-20 08:03:24 +00:00
Leon 01b60c20a1 Update Dragonfly Nano(MTQN) power on/off so soft_power_on() performs a reset 2020-11-19 18:09:06 -06:00
George Beckstein 7571982606 Fix MBED_ERROR call in init_os_timer 2020-11-19 12:35:34 -05:00
Lingkai Dong 8f50b03a38 Reduce ST QSPI/OSPI trace verbosity to debug 2020-11-19 16:22:12 +00:00
Lingkai Dong 9bf6affc74 CMake: pass predefined macros to ARM toolchain linker 2020-11-19 15:26:49 +00:00
Lingkai Dong 80a0a5b440 CMake: make linker option generator function toolchain-agnostic 2020-11-19 15:23:23 +00:00
Arto Kinnunen af350de726 Allow method override
Remove final keyword to allow inheritance.
2020-11-19 15:50:04 +02:00
Hugues Kamba 62be4efb6c CMake: Clean remnant of experiment with ARM toolchain
The removed code was testing that compiler flags could be added
to the assembler using generator expression. It was not to be
committed.
2020-11-19 12:50:27 +00:00
jeromecoutant b01940200c STM32 I2C: use correct HAL API 2020-11-19 12:03:48 +01:00
Hugues Kamba 9d32a473b6 Cypress: Remove CY8CKIT_064S2_4343W files
Mbed OS 6 does not support this target.
2020-11-19 11:00:43 +00: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
Martin Kojtal 02c35fdd48 CMake: add nuvoton targets 2020-11-18 15:18:18 +00: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
Hugues Kamba 07b6db2f0d TARGET_NXP: Remove support for LPC55S69
Mbed OS 6 dropped support for all LPC55S69 targets.
This commit removes all source files for those targets.
2020-11-18 15:01:20 +00:00
Martin Kojtal 46673daabf CMake: update readme - all STM32 targets supported 2020-11-18 12:16:36 +00:00
Martin Kojtal 468b66944d CMake: STM32 TARGET_ prefix removal fix 2020-11-18 12:13:46 +00:00
Hugues Kamba 8972cde3ab TARGET_NXP: Remove support for LPC11U6X
Mbed OS no longer supports any LPC11U6X targets.
This commit removes all source files for those targets.
2020-11-18 11:39:56 +00:00
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