Liu Zhi Fu
2242bf9b37
lwip/esp32/examples: wifi throughput optimizations
...
1. Put some lwip udp rx/tx relating functions to IRAM
2. Put some wifi rx/tx relating functions to IRAMa
3. Reduce wifi dynamic malloc from 4 to 1 for each ebuf
4. Update iperf example accordingly
5. Update libphy.a to v383
2018-01-30 16:27:49 +08:00
XiaXiaotian
1bc87e972b
Added two functions in PHY API for disable interrupts and add rfcal data checking to PHY
2018-01-25 17:58:14 +08:00
Jiang Jiang Jian
c73ea7a804
Merge branch 'bugfix/wifi_fix_sniffer_rx_misc_data_assert' into 'master'
...
Fix the bug that in sniffer mode it asserts when receive misc data at first
See merge request !1837
2018-01-25 14:09:46 +08:00
XiaXiaotian
cdd7a87674
Fix the bug that in sniffer mode it asserts when receive misc data at first
...
close github issue#1037 WiFi Promiscuous filter breaks w/
WIFI_PROMIS_FILTER_MASK_ALL and issue#1404
esp_wifi_set_promiscuous_filter set WIFI_PROMIS_FILTER_MASK_ALL error
2018-01-24 16:06:53 +08:00
michael
fcfcab7678
feat(attr): add new macro DMA_ATTR
and WORD_ALIGNED_ATTR
to help dma buffer declaration.
2018-01-24 11:28:14 +08:00
Jack
624828ce83
Dump the frame of the other core when interrupt watchdog happens
2018-01-18 23:10:29 +00:00
Angus Gratton
f620a3c4f3
Merge branch 'bugfix/int_wdt_in_ocd_mode' into 'master'
...
panic: prevent INT WDT from re-triggering in OCD mode
See merge request !1764
2018-01-16 15:07:26 +08:00
Ivan Grokhotkov
2ddee72996
Merge branch 'feature/toolchain-80-g6c4433a' into 'master'
...
Toolchain: Update to version 1.22.0-80-g6c4433a
See merge request !1771
2018-01-11 21:44:42 +08:00
Angus Gratton
38e15e6241
build: Remove explict -lstdc++-psram-workaround
...
This is now handled internally to the toolchain.
2018-01-11 10:32:02 +11:00
Jiang Jiang Jian
16391c2748
Merge branch 'bugfix/full_calibration_will_not_use_init_data' into 'master'
...
Fix bug that when we do full calibration init data bin is not used
See merge request !1746
2018-01-10 17:01:53 +08:00
Jack
11c0daef62
Fix bug that when we do full calibration init data bin is not used
2018-01-09 15:31:34 +08:00
Ivan Grokhotkov
8e8cb1a139
panic: prevent INT WDT from re-triggering in OCD mode
...
When INT WDT fires, panicHandler is invoked. In OCD mode, panicHandler
sets a breakpoint on the PC from the exception frame and returns.
However in case of INT WDT, interrupt flag is still set in TIMERG1
peripheral, which causes INT WDT to trigger again. This causes an
endless stream of "Core 0 panic'ed (Interrupt wdt timeout on CPU1)"
messages. OpenOCD also gets terribly confused at this point.
Disable watchdogs when exiting panic handler in OCD mode.
Clear TIMERG1 WDT interrupt flag to prevent re-entry into panic handler.
2018-01-09 01:46:24 +08:00
Jiang Jiang Jian
4d4c055a1a
Merge branch 'bugfix/recompile_with_new_psram_toolchain' into 'master'
...
recompile wifi lib with new toolchain 1.22.0-78-g4b87650
See merge request !1730
2018-01-05 16:40:30 +08:00
Angus Gratton
eb659e401d
Merge branch 'feature/esp_intr_set_in_iram' into 'master'
...
Add esp_intr_set_in_iram (Github PR)
See merge request !1629
2018-01-04 06:04:05 +08:00
XiaXiaotian
3fd421ab01
recompile wifi lib with new toolchain 1.22.0-78-g4b87650
2018-01-02 14:23:37 +08:00
Ivan Grokhotkov
98dff491c8
Merge branch 'bugfix/static_mem_workaround' into 'master'
...
esp32: Change 192KB runtime static limit workaround to a 176KB link time workaround
See merge request !1704
2017-12-28 18:52:47 +08:00
Jiang Jiang Jian
8051ac469a
Merge branch 'cherry-pick-4837f939-2' into 'master'
...
esp_timer:fix three bugs about timer get and timer alarm where overflow is not correct
See merge request !1695
2017-12-27 11:43:52 +08:00
Angus Gratton
f8580ea98f
esp32: Change 192KB runtime static limit workaround to a 176KB link time workaround
...
Turns out some app memory around 0x3ffdc000 is also used by APP CPU.
This is a workaround until code to remove the 176KB limit is committed.
2017-12-27 11:59:54 +11:00
Ivan Grokhotkov
6c2562ceb4
Merge branch 'bugfix/spiram_fails_after_esp_restart' into 'master'
...
Make psram function after an esp_restart as well.
See merge request !1694
2017-12-21 13:40:10 +08:00
Jack
0a1f81dc01
esp_timer:fix three bugs about timer get and timer alarm where overflow is not correct
2017-12-19 20:05:55 +08:00
Jeroen Domburg
569bfad2e3
Fix the clock subsystem so it doesn't undo the weird condition spiram_psram.c jams the enable/reset bits of SPI3 in when 80MHz mode is selected anymore
2017-12-19 19:12:58 +08:00
Jiang Jiang Jian
956133387d
Merge branch 'bugfix/fix_some_wifi_bug' into 'master'
...
Fix some wifi bugs
See merge request !1680
2017-12-19 17:31:44 +08:00
Ivan Grokhotkov
f8bda324ec
Merge branch 'bugfix/bootloader_v10_backwards_compat' into 'master'
...
esp32: Fix backwards compatibility for pre-v2.1 bootloaders
See merge request !1673
2017-12-18 17:20:08 +08:00
Angus Gratton
c69af42b96
esp32: Fix backwards compatibility for pre-v2.1 bootloaders
...
Older bootloaders don't set RTC_XTAL_FREQ_REG or call rtc_clk_init(),
app needs to pick this up.
Reported at
https://esp32.com/viewtopic.php?f=2&t=3939&p=17836
2017-12-18 13:45:57 +11:00
XiaXiaotian
1e1db75aaa
Fix some wifi bugs
...
1. change first scanning channel to adjust different country code.
2. fix a bug that system crashes when station disconnects from AP.
2017-12-15 18:17:17 +08:00
Angus Gratton
ea2afa83a8
log: Remove non-static TAG variables
2017-12-15 10:59:48 +11:00
Ivan Grokhotkov
1b619c0ec8
Merge branch 'bugfix/uart1_console' into 'master'
...
Fixes for console output on UART1
See merge request !1649
2017-12-14 13:36:34 +08:00
Ivan Grokhotkov
bee1afaf6d
time: rename time source option from FRC to "high-resolution timer"
...
libc time function now rely on esp_timer_get_time as the source of
high-resolution time, rather than FRC1 timer. Internally, on the ESP32
esp_timer implementation uses FRC2 timer.
- Change help text and labels in Kconfig to use "high-resolution timer"
instead of FRC1. Keep existing Kconfig option name to be backwards
compatible.
- Change references to "FRC1" in the source code to "FRC".
2017-12-11 12:37:08 +08:00
Ivan Grokhotkov
a705221492
esp32: fix incorrect clock enable bit name for UART0
...
Closes https://github.com/espressif/esp-idf/issues/1301
2017-12-08 13:14:36 +08:00
Deomid Ryabkov
e3282a0cac
Add esp_intr_set_in_iram
...
A function to change "in IRAM" status for an existing interrupt handle, without going through free/allocate of the interrupt.
mOS HW timer implementation requires this to make HW timers safe to re-set from an IRAM ISR.
2017-12-08 05:46:34 +03:00
Mahavir Jain
2efef48e3e
docs: fix i2s code snippet for interrupt flags setting
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2017-12-06 12:05:11 +05:30
Ivan Grokhotkov
f58c5b21ec
watchdog: increase default INT WDT interval if SPIRAM is used
...
Running heap_caps_check_integrity for 4MB of PSRAM can take longer than
the default WDT interval, 300ms.
2017-12-01 20:10:26 +08:00
Ivan Grokhotkov
15b6b64c99
watchdog: enable INT WDT unit test
2017-12-01 20:10:26 +08:00
Ivan Grokhotkov
bd1d631134
watchdogs: make sure timer group peripherals are enabled
2017-12-01 20:10:26 +08:00
Jiang Jiang Jian
96cd6f8626
Merge branch 'bugfix/update_libstdcxx_psram' into 'master'
...
libstdc++: update the library built with PSRAM workaround
See merge request !1588
2017-12-01 19:34:29 +08:00
XiaXiaotian
aaa17b8740
Fix some wifi lib bugs
...
1. Add a hide API for station to receive and process probe request
frame.
2. Fix an issue that wifi/bt coexistence crashes in PSRAM version.
3. Fix an issue that the API for clearing vendor ie can not work.
4. Fix an issue that wifi stop and reboot leads watchdog.
2017-12-01 15:00:49 +08:00
Ivan Grokhotkov
f0547d58e4
esp_timer: add documentation, expose profiling option in Kconfig
2017-11-29 11:44:46 +08:00
Ivan Grokhotkov
6e7eb3c776
esp_timer: fix for the case when timer is deleted in callback
...
Timer callback can delete the timer. If CONFIG_ESP_TIMER_PROFILING was
enabled, this caused an access to invalid (freed) memory.
This fix adds a pointer to track the timer while executing the callback.
This is needed so that we can check if callback deletes the timer,
in which case we won't try updating profiling counters for this timer
after the callback is done.
2017-11-29 11:44:46 +08:00
zhangyanjiao
768bbcd8aa
fix buffer overflow in ipc.c
2017-11-27 18:47:40 +08:00
Darian Leung
4c13b2f391
docs/ipc documentation
...
This commit updates doxygen comments in the IPC header files and adds an rst
docs page.
2017-11-24 15:31:28 +08:00
Jiang Jiang Jian
082f5716c6
Merge branch 'feature/enable_disable_ampdu_rx_tx_independently' into 'master'
...
Feature/enable disable ampdu rx tx independently
See merge request !1560
2017-11-23 22:22:43 +08:00
Ivan Grokhotkov
983ec73413
libstdc++: update the library built with PSRAM workaround
2017-11-23 15:34:23 +08:00
Ivan Grokhotkov
b669b415e6
Merge branch 'feature/cxx_exceptions_emg_pool' into 'master'
...
esp32: Adds C++ exceptions emergency pool size menuconfig option
See merge request !1561
2017-11-23 13:02:49 +08:00
Alexey Gerenkov
7df96718a2
esp32: Adds C++ exceptions emergency pool size menuconfig option
2017-11-23 06:14:11 +03:00
Liu Zhi Fu
3f6a8f1430
esp32: add options to disable/enable TX/RX AMPDU independently
...
Make menuconfig can disable/enable TX/RX AMPDU independently
2017-11-23 09:42:31 +08:00
Ivan Grokhotkov
6e1453e864
Merge branch 'feature/bot' into 'master'
...
CI: support customize test with @bot
See merge request !1502
2017-11-21 18:43:56 +08:00
Angus Gratton
93c75b4978
Merge branch 'bugfix/update_BOD_voltages' into 'master'
...
esp32/Update brownout voltages
See merge request !1520
2017-11-21 05:37:55 +08:00
Angus Gratton
4395f7c94e
Merge branch 'feature/spi_flash_lock_recursive' into 'master'
...
spi_flash: Expose recursive op_lock for atomic multi-part flash operations
See merge request !1556
2017-11-20 13:24:41 +08:00
Angus Gratton
7a924bd85a
spi_flash: Expose an accessor the current SPI flash guard functions
...
Change places which uses g_flash_guard_default_ops to use this. Probably exact same data, but a bit
cleaner.
2017-11-20 15:54:31 +11:00
Darian Leung
91ccf588d1
esp32/Update brownout voltages
...
This commit updates the voltages of each brownout level in Kconfig.
Note that there is some variation of brownout voltage between each chip.
2017-11-20 12:26:13 +08:00