Ondrej Kosta
742205a1e7
Merge branch 'feature/examples_eth_init' into 'master'
...
Ethernet examples: new common init
Closes IDF-5521
See merge request espressif/esp-idf!19210
2022-08-27 22:16:36 +08:00
Ondrej Kosta
20e668259e
Ethernet examples: added new common init for Ethernet drivers
2022-08-26 15:43:16 +02:00
Ondrej Kosta
505d330cdc
eth_iperf_test: improved regex to properly evaluate IP address
2022-08-10 16:13:37 +02:00
Ivan Grokhotkov
e596c84d49
build system: re-add -Wno-format as private flag for some example components
2022-08-03 16:42:47 +04:00
Guillaume Souchere
6005cc9163
hal: Deprecate interrupt_controller_hal.h, cpu_hal.h and cpu_ll.h interfaces
...
This commit marks all functions in interrupt_controller_hal.h, cpu_ll.h and cpu_hal.h as deprecated.
Users should use functions from esp_cpu.h instead.
2022-07-22 00:06:06 +08:00
Chen Yudong
2f75733ad7
CI: Improve common test methods
...
also fix ota test cases
2022-07-15 14:21:34 +08:00
Chen Yudong
472ac26712
CI: update test cases to use different environment variables
...
change test environments
optimize asio udp server test
fix icmp echo test case
use ethernet_router env to run iperf test cases
2022-07-15 01:16:35 +08:00
Ondrej Kosta
c0312e3242
Merge branch 'feature/improve_spi_ethernet_init' into 'master'
...
esp_eth: SPI Ethernet modules initialization simplification
Closes IDF-3902
See merge request espressif/esp-idf!18663
2022-07-15 00:02:23 +08:00
Ondrej Kosta
bb6c6aff36
esp_eth: SPI Ethernet modules initialization simplification
2022-07-14 08:46:22 +02:00
Fu Hanxi
c0568611dd
docs: changes docs supported targets tables
2022-07-14 08:26:32 +08:00
Fu Hanxi
05d2357062
feat: use standalone project idf-build-apps for find/build apps utils
2022-07-14 08:26:31 +08:00
Ondrej Kosta
dfa33dc853
Ethernet basic example: removed sdkconfig_GW_issue which was configured by a mistake
2022-06-24 05:51:44 +00:00
Ondrej Kosta
43f3904304
esp_eth: IEEE 802.3 PHY MII Management Interface functionality grouped to one common file
2022-06-24 05:51:44 +00:00
Ondrej Kosta
b83de6acbc
example common_components: fixed GPIO max range for ESP32-C2
2022-06-14 15:29:44 +02:00
David Cermak
5e19b9c951
esp-netif: Make dependency on esp-eth optional
...
* esp-netif to optionally depend on esp-eth (only for l2tap config)
* esp_eth.h now includes the original ethernet header and the
ethernet-netif glue layer
* Updated examples and test to explicitely use esp-eth dependency if
needed
2022-06-09 07:55:40 +00:00
Michael (XIAO Xufeng)
f7be540222
ci: partially enable example build for esp32c2
2022-06-02 14:17:31 +08:00
Djordje Nedic
facab8c5a7
tools: Increase the minimal supported CMake version to 3.16
...
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
Ondrej Kosta
1a20b10fd3
Examples: common source for GPIO range in Kconfigs defined
2022-05-12 09:33:40 +02:00
Marius Vikhammer
d2872095f9
soc: moved kconfig options out of the target component.
...
Moved the following kconfig options out of the target component:
* CONFIG_ESP*_DEFAULT_CPU_FREQ* -> esp_system
* ESP*_REV_MIN -> esp_hw_support
* ESP*_TIME_SYSCALL -> newlib
* ESP*_RTC_* -> esp_hw_support
Where applicable these target specific konfig names were merged into
a single common config, e.g;
CONFIG_ESP*_DEFAULT_CPU_FREQ -> CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ
2022-04-21 12:09:43 +08:00
Matus Fabo
24268d47a2
change: renamed FATFS convenience mounting functions
...
change: renamed every instance of these functions
add: deprecation notice with old functions
change: CC0 licence to CC0-1.0 in fatfsgen_example_main.c
2022-04-11 08:44:40 +00:00
Ondrej Kosta
ab2bc59501
Eth iperf default sdkconfig: Enable lwIP IRAM optimization
2022-03-24 09:49:34 +01:00
Ondrej Kosta
97ddccafd3
Added bandwidth limitaion option to iperf test scripts
2022-03-22 07:17:40 +00:00
Ondrej Kosta
c8b08b9a4b
iperf: added Tx bandwidth limit option
2022-03-22 07:17:40 +00:00
David Cermak
795b7ed993
esp_netif: Remove tcpip_adapter compatibility layer
2022-03-10 08:19:43 +01:00
Sudeep Mohanty
a9fda54d39
esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
...
This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.
2022-03-07 11:18:08 +05:30
Omar Chebib
2571aaf3c9
G0: target component (components/esp32*) doesn't depend on driver anymore
2022-03-02 04:21:00 +00:00
David Cermak
8da2e4088c
esp_eth: Update esp32's EMAC API to decouple driver and vendor config
2022-02-14 16:17:29 +00:00
David Cermak
2553fb5845
esp_eth: Make EMAC DMA burst size configurable
...
Merges https://github.com/espressif/esp-idf/pull/7874
Closes https://github.com/espressif/esp-idf/issues/7380
2022-02-14 16:17:29 +00:00
Darian Leung
57fd78f5ba
freertos: Remove legacy data types
...
This commit removes the usage of all legacy FreeRTOS data types that
are exposed via configENABLE_BACKWARD_COMPATIBILITY. Legacy types can
still be used by enabling CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY.
2022-02-09 23:05:45 +08:00
AndriiFilippov
88604b0c60
CI: Remove supported targets from ethernet examples README.md
2022-01-25 15:11:19 +01:00
Fischerauer Christian
3fb83f2866
esp_eth: rework KSZ80xx implementation and add more KSZ80xx PHYs
...
* add support for KSZ8001, KSZ8021, KSZ8031, KSZ8051 and KSZ8061
* remove duplicate code
* simplify architecture to make the code base extensible (for future work)
2021-12-02 11:56:08 +01:00
Ondrej Kosta
6d4ff2c05e
Merge branch 'feature/eth_ioctl_speed_duplex' into 'master'
...
esp_eth: esp_eth_ioctl update
Closes IDF-1240 and IDF-4060
See merge request espressif/esp-idf!15607
2021-11-16 11:56:18 +00:00
Ondrej Kosta
d1f2a3dfcc
esp_eth: added ioctl options to set Ethernet speed and duplex mode
...
esp_eth_ioctl third argument always acts as untyped pointer to memory now
2021-11-16 08:34:07 +01:00
Roland Dobai
766aa57084
Build & config: Remove leftover files from the unsupported "make" build system
2021-11-11 15:32:36 +01:00
Andy Carle
3e9cdbdedf
enc28j60: allow multicast packets in default enc28j60 configuration
2021-11-09 01:34:15 -08:00
Fu Hanxi
04b36c1c2c
Merge branch 'ci/enable_s3_example_build' into 'master'
...
ci: enable esp32s3 example build
See merge request espressif/esp-idf!15213
2021-09-17 02:30:31 +00:00
Ondrej Kosta
d9d1fbb892
Merge branch 'eth_examples/esp32s3_support' into 'master'
...
Eth_examples: added support of ESP32-S3 chip
Closes IDF-3573
See merge request espressif/esp-idf!14805
2021-09-16 11:18:35 +00:00
Fu Hanxi
923e862ed2
ci: temporarily disable s3 build for a few examples
2021-09-16 12:20:11 +08:00
Ondrej Kosta
76326e8268
esp_eth: add PHY loopback control via esp_eth_ioctl
...
Fixed esp_eth_ioctl command's data argument non-standard handling
2021-09-14 09:13:54 +02:00
Ondrej Kosta
35454b2bf7
Eth_examples: added support of ESP32-S3 chip
...
Defined SPI modules default GPIO values for ESP32-S3
SPI bus needs to be initialized with SPI_DMA_CH_AUTO option
2021-09-08 13:11:39 +02:00
zhangwenxu
2be77287b3
openthread: add iperf example for ot-network test
2021-09-06 15:32:38 +08:00
laokaiyao
04970fe487
iperfUtility: add udp rx bandwidth scan
2021-09-01 19:11:28 +08:00
laokaiyao
8d18a9c614
emac: optimise iperf performane
2021-09-01 19:11:28 +08:00
Ondrej Kosta
ef30384902
esp_eth: add support for multiple Ethernets modules at a time
...
Ethernet driver events properly bounded with ESP NETIF actions to support multiple Ethernet modules used at a time.
Components using Ethernet updated to conform with new API.
Closes https://github.com/espressif/esp-idf/issues/7318
2021-08-24 17:10:36 +02:00
Ondrej Kosta
bf7b1689de
Merge branch 'feature/lan87xx_support' into 'master'
...
Feature/lan87xx support
Closes IDFGH-5345
See merge request espressif/esp-idf!14142
2021-07-28 16:27:58 +00:00
Yuan Jian Min
3d86a9fd2e
Merge branch 'bugfix/fix_eth2ap_example_crash' into 'master'
...
eth2ap: Fix eth2ap example crash issue
See merge request espressif/esp-idf!14495
2021-07-28 11:55:17 +00:00
Ondrej Kosta
4e77430107
examples: Update Ethernet examples to use new PHY LAN87xx init function
...
Ethernet examples device usage and Kconfig options synchronized
2021-07-28 19:34:05 +08:00
He Yin Ling
2849f3bf44
Merge branch 'test/add_ethernet_iperf_example_test_case' into 'master'
...
Test: add ethernet iperf example test case
Closes TCI-463
See merge request espressif/esp-idf!13696
2021-07-28 01:39:12 +00:00
Lu Ai Jun
d29335710d
test: add ethernet iperf example test case
2021-07-28 09:39:02 +08:00
yuanjm
c2bb7bf9a2
eth2ap: Fix eth2ap example crash issue
...
Closes https://github.com/espressif/esp-idf/issues/7260
2021-07-27 20:00:39 +08:00
Ondrej Kosta
ae2da1e235
enc28j60: fix stability of the ENC28J60 Ethernet driver example
...
Resolved possible race conditions when accessing registers in different banks.
Added Tx ready semaphore when requesting packet to transmit (ENC is slow => access to it needs to be controlled).
Added setting of CS hold time based on Data sheet.
Added option to set the ENC28J60 to Full Duplex mode.
Addressed several ENC28J60 Erratas.
Restructured ENC28J60 example folder structure so the driver could be easily linked from different projects.
Extended the README to guide users of how to properly use the ENC28J60 chip.
Extended iperf example to include ENC28J60.
Closes https://github.com/espressif/esp-idf/issues/4747
Closes https://github.com/espressif/esp-idf/issues/7117
Closes https://github.com/espressif/esp-idf/issues/7156
2021-07-26 09:57:18 +02:00
SalimTerryLi
1abf5c861d
examples: unify iperf component
2021-07-16 11:59:52 +08:00
Omar Chebib
0fd74a43c8
console: re-use the available REPL console API and improve linenoise
...
Console example doesn't duplicate code in `console` component.
Linenoise has been improved: it now has a parametrized command line
length. It is now possible to paste data efficiently to the console.
Note: this can only be done if the cursor is at the end of the line.
Closes https://github.com/espressif/esp-idf/issues/7057
2021-07-15 11:37:11 +08:00
morris
83f2d802ce
esp_eth: fix default PHY reset gpio
...
Closes https://github.com/espressif/esp-idf/issues/7034
2021-05-18 11:16:05 +08:00
David Cermak
7e6ff47363
Examples: Add basic ethernet example of using ksz8851
2021-04-22 13:55:51 +00:00
David Cermak
3db3e023af
Examples/eth: Extend configurable pins for SPI modules
...
Closes https://github.com/espressif/esp-idf/issues/6206
2021-04-20 16:11:06 +00:00
Patrick Wieder
98a4c70af9
Added support for Ethernet PHY KSZ8081
...
Merges https://github.com/espressif/esp-idf/pull/6578
2021-03-30 08:53:15 +00:00
Hao Ning
80da446be7
fix dead links directed to iot solution repo
...
resolve confilcts
modify a board name
rebase master
fix ota example link in readme
2021-03-26 15:19:10 +08:00
Marius Vikhammer
04df1f3a42
CI: enable example builds for C3
...
Enables building C3 examples in CI.
Fixes related warnings/errors and disables examples that cannot run.
2021-02-09 12:04:02 +08:00
morris
932c509280
ethernet: not using test MAC address for EMAC example
2021-02-01 14:14:54 +08:00
xiehang
dffbce9813
esp_wifi: Modify ESP_IF_WIFI_AP to WIFI_IF_AP
2021-01-19 11:58:04 +08:00
morris
8d0a0537cc
eth: hide spi configuration when using internal emac
2020-11-27 21:11:31 +08:00
morris
aea901f014
eth: support W5500 in network examples
2020-11-16 13:30:49 +08:00
Angus Gratton
66fb5a29bb
Whitespace: Automated whitespace fixes (large commit)
...
Apply the pre-commit hook whitespace fixes to all files in the repo.
(Line endings, blank lines at end of file, trailing whitespace)
2020-11-11 07:36:35 +00:00
morris
2917651478
esp_rom: extract common ets apis into esp_rom_sys.h
2020-07-27 15:27:01 +08:00
morris
648bcc7a87
ethernet: add ksz8041 in basic ethernet example
2020-07-09 21:49:07 +08:00
Ivan Grokhotkov
8cd1f99ace
Merge branch 'refactor/common_rom_gpio_apis' into 'master'
...
esp_rom: extract common GPIO apis into esp_rom_gpio.h
See merge request espressif/esp-idf!9248
2020-07-07 17:28:39 +08:00
morris
a4d0033c03
esp_rom: extract common GPIO apis into esp_rom_gpio.h
2020-07-07 11:40:19 +08:00
morris
29f8aecfc0
console_repl: change config structure to support different devices
2020-07-02 07:39:46 +00:00
morris
1184366387
ethernet: support pin emac task to core
2020-05-29 17:51:37 +08:00
morris
6020d6a5d4
ethernet: esp_eth_stop API should stop emac hardware
2020-05-13 15:58:42 +08:00
InfiniteYuan
1f43f025d8
example/eth2ap: fix station multi-connection problem and add channel config item.
...
Closes https://github.com/espressif/esp-idf/issues/5029
2020-04-01 19:20:30 +08:00
Ivan Grokhotkov
bfefee3205
examples: set correct CPU frequency in ethernet/iperf for ESP32-S2
2020-03-20 15:33:32 +01:00
morris
da6742b91f
resume iperf example on esp32s2
2020-02-24 11:59:25 +08:00
morris
9e59be1aab
ethernet: add enc28j60 example
2020-02-10 12:56:14 +08:00
Henry Gilbert
eda07acc81
Add ENC28J60 Ethernet Driver
...
Merges https://github.com/espressif/esp-idf/pull/4435
2020-02-10 12:56:14 +08:00
suda-morris
75cadc2e41
console: simplify examples
...
1. simplify console examples
2. add "quit" command
3. support console command overwrite
4. add API reference
2020-02-07 20:15:06 +08:00
David Cermak
31b2702387
esp_netif, examples: esp_netif_init() moved into ESP_ERROR_CHECK()
...
esp_netif_init() returns standard esp_err_t error code (unlike tcpip_adapter init), so shall be checked for the return value
Also to make the initialization code more consistent.
2019-12-17 09:07:49 +01:00
morris
c3ee156df0
ethernet: move netif glue && add ref counter
...
1. move netif glue into single file
2. add reference counter for Ethernet driver
2019-11-27 10:36:32 +08:00
houwenxiang
f27ae9b0e2
feature: Add uart hal support.
2019-11-26 20:01:50 +08:00
suda-morris
72ad9ab5eb
doc: move common Ethernet config explanation into a single file
2019-11-20 10:36:45 +08:00
suda-morris
05d71319de
ethernet: add gpio number into config structure
2019-11-20 10:36:45 +08:00
David Cermak
3f60837de2
esp_eth: make esp_eth_driver_start public API so application could start ethernet when used without esp-netif
2019-11-13 12:36:25 +01:00
David Cermak
3a19bf055d
esp_netif and examples: using wifi driver handle, update examples and tests to pass the CI
2019-11-13 12:36:25 +01:00
David Cermak
7f4c8a0b4f
ethernet_examples: use esp_netif instead of tcpip-adapter
2019-11-13 12:36:25 +01:00
Angus Gratton
496ede9bcd
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-15 14:59:27 +11:00
suda-morris
81e88764d5
console: fix wrong param passed to esp_err_to_name
2019-10-14 19:49:19 +08:00
Ivan Grokhotkov
5830f529d8
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-02 19:01:39 +02:00
suda-morris
546ac64a9e
ethernet: update spi-ethernet api
2019-09-19 09:41:21 +00:00
Angus Gratton
438d513a95
Merge branch 'master' into feature/esp32s2beta_merge
2019-09-16 16:18:48 +10:00
liu zhifu
003a9872b7
esp_wifi: wifi support new event mechanism
...
1. WiFi support new event mechanism
2. Update examples to use new event mechanism
2019-08-20 09:39:51 +00:00
Angus Gratton
04ae56806c
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 15:26:58 +10:00
Angus Gratton
24d26fccde
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 13:44:24 +10:00
Angus Gratton
b23718995a
Merge branch 'bugfix/strict_prototypes' into 'master'
...
Enable strict prototypes checks
Closes IDFGH-757
See merge request espressif/esp-idf!4546
2019-08-05 09:38:39 +08:00
Mahavir Jain
e7dba7d7bc
examples: change default build instructions in docs to CMake
2019-08-02 16:32:46 +05:30
Anton Maklakov
afbaf74007
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
2019-08-01 16:28:56 +07:00
Ivan Grokhotkov
b1bb90a596
Merge branch 'bugfix/partition_tables_update_note' into 'master'
...
global: update note in the partition tables
See merge request espressif/esp-idf!5636
2019-07-29 19:00:44 +08:00
Ivan Grokhotkov
3c63f49591
examples: remove non-existent options from sdkconfig.defaults
2019-07-29 04:57:38 +02:00
Ivan Grokhotkov
26800ed71e
global: update note in the partition tables
...
The build system automatically determines offsets of partitions from
the partition table, so no manual changes are needed. Instead, add a
note that partition offsets may need to be updated when increasing
the bootloader size.
2019-07-27 10:28:16 +02:00
Angus Gratton
058ef98c33
Merge branch 'feature/cmake_default_build_system' into 'master'
...
cmake: Make CMake the default build system
Closes IDF-198 and IDF-325
See merge request espressif/esp-idf!5328
2019-07-10 08:16:39 +08:00