Commit Graph

46 Commits (fix_lp1114_flash_overflow_issue)

Author SHA1 Message Date
Martin Kojtal 43a060fe7c
Merge pull request #14926 from katherrafi/hal_callback_override
Eth: STM32: Overriding HAL callbacks in stm32xx
2021-08-26 09:51:48 +01:00
Kather Rafi Ibrahim a9f51e31fd Eth: STM32: Overriding HAL callbacks in stm32xx
This commit enables the Overriding of HAL callbacks and IRQHandler
in stm32xx_emac.cpp. Hence the user can have their own
implementations of callbacks and IRQHandler functions.

Signed-off-by: Kather Rafi Ibrahim <katherrafi.i@hcl.com>
2021-08-25 14:30:47 +05:30
Mika Leppänen 096ce41094 Disabled interrupts on smt32f7 and stm32h7 before calling disable data cache
Interrupts are disabled before calling disable data cache on Ethernet initialization.
2021-08-16 13:29:25 +03:00
Kather Rafi Ibrahim a9e9564ced Eth: STM32: Upating documentation on mbed_otp_mac_address()
This commit updates the documentation on how to use
mbed_otp_mac_address() to modify the default MAC address to custom
Mac address.

Signed-off-by: Kather Rafi Ibrahim <katherrafi.i@hcl.com>
2021-07-01 17:07:01 +05:30
Martin Kojtal da13755a9f
Merge pull request #14699 from jeromecoutant/PR_ASTYLE
STM32 astyle format
2021-06-01 10:02:34 +02:00
jeromecoutant cfd86882d3 STM32H7 astyle 2021-05-25 14:45:52 +02:00
Martino Facchin 9686fb6ac2 Patch add #include "cy_utlis.h" 2021-05-06 14:45:26 +02:00
Martino Facchin ebbbcabb05 Patch add rtos namespace 2021-05-06 14:45:15 +02:00
pennam 7cdf97492a CMake remove COMPONENT_WHD from emac/TARGET_Cypress 2021-05-06 14:44:58 +02:00
pennam 0db6218dc6 CMake add COMPONENT_WHD in emac 2021-05-06 14:44:41 +02:00
Martino Facchin ead29d6b83 WHD EMAC moved out of TARGET_Cypress 2021-05-06 14:44:23 +02:00
Bora Özgen f365860f3e CMake: STM32: Add missing emac init files 2021-04-20 16:31:02 +02:00
Martin Kojtal 1cb25da7ae
Merge pull request #14419 from jeromecoutant/PR_MBEDH
STM32: remove mbed.h include in connectivity
2021-03-12 10:55:32 +00:00
jeromecoutant d28b875727 STM32 EMAC: remove mbed.h 2021-03-11 17:38:56 +01:00
Hugues Kamba 4367305830 CMake: Fix Renesas build error on Linux
The CMake input source file needs to be named
exactly CMakeLists.txt to be detected and used
for the build configuration.
2021-03-11 11:43:37 +00:00
Arto Kinnunen e4e2f79cc8 Update stm32xx_emac traces
- Make packet trace optional, can be enabled by enabling macro
  STM32xx_DEEP_TRACE
- Shorten traces during driver initialisation to avoid problems with
  driver startup when soft reset is used.
2021-02-24 13:46:58 +02:00
Martin Kojtal 85c2d7a25c CMake: remove IAR references as they are not supported 2021-02-17 09:19:03 +00:00
Hugues Kamba ea6955bd1c CMake: Refactor Cypress targets
Refactor all Cypress targets to be CMake buildsystem targets. This removes
the need for checking MBED_TARGET_LABELS repeatedly and allows us to be
more flexible in the way we include MBED_TARGET source in the build.

A side effect of this is it will allow us to support custom targets
without breaking the build for 'standard' targets, as we use CMake's
standard mechanism for adding build rules to the build system, rather
than implementing our own layer of logic to exclude files not needed for
the target being built. Using this approach, if an MBED_TARGET is not
linked to using target_link_libraries its source files will not be
added to the build. This means custom target source can be added to the
user's application CMakeLists.txt without polluting the build system
when trying to compile for a standard MBED_TARGET.
2021-02-15 17:20:23 +00:00
Martin Kojtal 8effecdf29
Merge pull request #14063 from dustin-crossman/pr/wifi_reserved_region
Support arbitrary storage alongside WiFi firmware in external storage on Cypress targets
2021-01-20 08:34:23 +00:00
jeromecoutant 61059d45e4 STM32F439 : correct cmake compilation 2021-01-11 18:07:58 +01:00
Martin Kojtal d0cd5fa5f1
Merge pull request #13826 from arduino/portenta-mainline
Add Arduino Portenta H7 as target
2021-01-05 15:49:44 +00:00
Martino Facchin 62b6cc9a05 cmake: STM32H7: enable PORTENTA* target 2021-01-05 14:49:37 +01:00
Martino Facchin a723b4ce23 cmake: STM32H7: fix mbed-emac target 2021-01-04 17:31:54 +01:00
Matthew Macovsky fc702737ce Create canonical CyReservedRegionBlockDevice for working with/around Cypress WiFi firmware in external memory
This change allows external memory to be used for other purposes while
the WiFi firmware is stored in it by interacting with it via the
reserved region block device.
2020-12-16 15:31:00 -08:00
Harrison Mutai b947ee339a CMake: Fix dirs and sources visibility for mbed-emac CMake target
The mbed-emac CMake target is an interface library and as such its
include dirs and sources have to be have the INTERFACE visibility.
2020-12-11 16:52:18 +00:00
Martino Facchin 84790a038a Add SPDX-License 2020-12-11 10:11:54 +01:00
pennam f665f1d391 Portenta: enable ETH power supply 2020-12-11 10:11:53 +01:00
Martino Facchin 7e2acee49a PortentaH7: add Ethernet support 2020-12-11 10:11:53 +01:00
Martino Facchin c96fbebd55 STM32: EMAC: allow compiling on MCUs without DCACHE 2020-12-11 10:11:52 +01:00
Hugues Kamba 794e32df74 CMake: Use relative paths to list source files and directories
The absolute path is still required for listing linker
files as they are referenced from a function in the top
level CMake input source file.
2020-11-09 12:32:30 +00:00
Hugues Kamba bf84a5b329 CMake: Rename CMake targets
* mbed-os renamed mbed-core
* mbed-os-<COMPONENT> renamed mbed-<COMPONENT>
2020-11-06 17:25:22 +00:00
Hugues Kamba fa98689639 CMake: Componentize Mbed OS into multiple CMake targets (#13732)
Aside from the core mbed-os CMake target, a number of targets have been created so they can optionally be included by application executables that require them using `target_link_libraries()`.

Co-authored-by: Martin Kojtal <martin.kojtal@arm.com>
Co-authored-by: Rajkumar Kanagaraj <rajkumar.kanagaraj@arm.com>
2020-11-06 17:25:21 +00:00
Hugues Kamba 8b21238e08 CMake: Fix failure due to events and netsocket dirs changes 2020-11-06 17:25:17 +00:00
Harrison Mutai 6bfe651aad Remove erroneous character from SPDX identifer
Erroneous '/' was appended to start of comment. This was causing CMake
warning during complition. Removes character from affected files.
2020-10-23 15:08:58 +01:00
Harrison Mutai 4fad1112e5 Add SPDX license identifier to Arm files
Add license identifier to files which Arm owns the copyright to,
and contain either BSD-3 or Apache-2.0 licenses. This is to address
license errors raised by scancode analysis.
2020-10-15 10:47:27 +01:00
Balaji Subramanyam 7d0e1806d4 WEP Security fix for Cypress Target Kits 2020-09-11 11:21:11 -07:00
Martin Kojtal 31ff368d17
Merge pull request #13493 from balajicyp/topic/cypress_target_ssid_fix
Fix SSID bug on Cypress Targets
2020-08-31 10:48:00 +01:00
Martin Kojtal 555c7dbe1a
Merge pull request #13416 from dustin-crossman/pr/cysbsyskit_update_6.2.0
Update CYSBSYSKIT_01
2020-08-26 07:14:46 +01:00
Balaji Subramanyam 3387c86f0b Fix SSID bug on Cypress Targets 2020-08-25 17:22:15 -07:00
RyoheiHagimoto 4a1049d508 Moved some files to connectivity/drivers/emac from features/netsocket/emac-drivers 2020-08-18 16:25:01 +09:00
RyoheiHagimoto db3cec4398 Added GR-MANGO to be a target.
Passed GreenTea CI.
Added RZ_A2XX and GR_MANGO to targets.json.
Added RZ_A2XX to mbedlib.json in lwipstack and netsocket/ppp.
Added TARGET_RZ_A2XX directory to targets/TARGET_RENESAS.
Added TARGET_RENESAS_EMAC directory to features/netsocket/emac-drivers.
Moved TARGET_RZ_A1_EMAC directory into the TARGET_RENESAS_EMAC directory below and renamed to TARGET_RZ_A1XX.
Added TARGET_RZ_A2XX directory to features/netsocket/emac-drivers/TARGET_RENESAS_EMAC.
2020-08-18 10:48:48 +09:00
Dustin Crossman 6ba8885ad3 Update COMPONENT_SCL. 2020-08-10 17:02:35 -07:00
Rajkumar Kanagaraj 49924b8a0b Add mbed_lib.json config to avoid emac drivers source includes by default 2020-07-30 10:24:58 -07:00
George Psimenos 76f37fb2bc Restructure events directory & move tests 2020-07-28 09:17:19 +01:00
Rajkumar Kanagaraj 2add7064ec Update astyleignore and source code comment 2020-07-27 10:04:01 -07:00
Rajkumar Kanagaraj 522f100262 Move features/netsocket/emac-drivers to connectivity/drivers/emac 2020-07-27 09:53:31 -07:00