Shu Chen
6fce2930d0
esp32h2: enable more components to support esp32h2
...
Involved components:
* app_trace
* esp-tls
* esp_adc_cal
* esp_pm
* esp_serial_slave_link
* esp_timer
* freertos
* idf_test
* log
* mbedtls
* newlib
* perfmon
* spi_flash
* spiffs
* ulp
* unity
* vfs
2021-07-01 19:53:11 +08:00
0xFEEDC0DE64
fc85f8a47d
esp_log: Implemented esp_log_level_get(TAG)
...
Closes https://github.com/espressif/esp-idf/pull/6573
2021-06-08 16:53:23 +10:00
Jakob Hasse
0ea20caa71
[log]: Normal log works on Linux now
...
* also removed strlcpy dependency from log
* added Kconfig option for linux target
Closes IDF-3245
2021-05-28 11:05:22 +08:00
Angus Gratton
88829d68fc
log: Document that normally logging APIs don't work in critical sections
...
Closes https://github.com/espressif/esp-idf/issues/6600
2021-04-23 18:27:20 +10:00
Angus Gratton
29348270e7
log: Cause ESP_EARLY_LOGx in the app to use the default runtime log level
...
Tag filtering still doesn't work for this log type, but it will use the
default '*' log level instead of only the runtime level.
* Closes https://github.com/espressif/esp-idf/issues/2285
* Related to https://github.com/espressif/esp-idf/issues/5542
2021-04-23 18:25:41 +10:00
Angus Gratton
6bd9580137
log: Allow setting maximum log level higher than default
...
Main change is possibility the log cache locking functions will
be called before the scheduler has started.
This change doesn't change the behaviour of ESP_EARLY_LOGx, this is
done in the following commit.
Closes https://github.com/espressif/esp-idf/issues/5542
2021-04-23 18:25:41 +10:00
Jan Brudný
1e896e5def
log: update copyright year
2021-04-18 23:53:48 +02:00
Mahavir Jain
a46dfd316e
log: correct timestamp formatting to unsigned integer type
...
Closes https://github.com/espressif/esp-idf/issues/6226
Closes IDFGH-4393
2020-12-14 15:03:55 +05:30
Angus Gratton
5228d9f9ce
esp32c3: Apply one-liner/small changes for ESP32-C3
2020-12-01 10:58:50 +11: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
61f89b97c6
bringup esp32-s3 on FPGA
2020-09-22 15:15:03 +08:00
morris
2917651478
esp_rom: extract common ets apis into esp_rom_sys.h
2020-07-27 15:27:01 +08:00
Michael (XIAO Xufeng)
188240d5c7
log: new macros to log when the cache is disabled
2020-04-02 15:35:13 +08:00
xiehang
7569e34e89
esp_wifi: Reduce Bin size
...
1. Disable WiFi API parameter checking log
2. Optimize wifi log
2020-03-10 17:45:06 +08:00
morris
e30cd361a8
global: rename esp32s2beta to esp32s2
2020-01-22 12:14:38 +08:00
Angus Gratton
ae21d669b9
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-17 18:22:08 +11:00
GOPTIONS\pfrost
23e9224be6
log: Add menuconfig option to log system time rather than RTOS time
...
Merges https://github.com/espressif/esp-idf/pull/3958
2019-10-08 12:03:45 +11:00
suda-morris
84b2f9f14d
build and link hello-world for esp32s2beta
2019-06-11 13:07:37 +08:00
Roland Dobai
1ad2283641
Rename Kconfig options (components/bootloader)
2019-05-21 09:32:55 +02:00
morris
c159984264
separate rom from esp32 component to esp_rom
...
1. separate rom include files and linkscript to esp_rom
2. modefiy "include rom/xxx.h" to "include esp32/rom/xxx.h"
3. Forward compatible
4. update mqtt
2019-03-21 18:51:45 +08:00
Ivan Grokhotkov
12f707932f
log: clean up docs, clarify esp_log_level_set usage
...
Closes https://github.com/espressif/esp-idf/issues/1713
2018-05-11 13:55:16 +08:00
Angus Gratton
2f318d16fa
log: Make ESP_LOGx macros into single statements
...
Requires a semicolon after any use (previously this was optional due to trailing } after expansion)
Closes https://github.com/espressif/esp-idf/issues/1757
2018-04-26 09:08:07 +10:00
island
4ee6f73a2e
component/bt: Fix BLE printf missing problem
2018-02-06 14:35:39 +08:00
Ivan Grokhotkov
527be440f8
log: fix preprocessor comparison against an enum value
...
Fix `#if (LOG_LOCAL_LEVEL >= ESP_LOG_INFO)` which is always false and
produces a warning with -Wundef.
Use same pattern to compare LOG_LOCAL_LEVEL with ESP_LOG_INFO as is used
in definition of `ESP_LOG_BUFFER_HEX_LEVEL` and
`ESP_LOG_BUFFER_CHAR_LEVEL`.
Also reformat existing definitions for better readability.
Closes https://github.com/espressif/esp-idf/issues/1526
2018-01-28 19:45:25 +08:00
Ivan Grokhotkov
3a6962b8ec
log: fix typos in header files
2018-01-05 16:10:58 +08:00
Ivan Grokhotkov
6a5c105753
log: define LOG_LOCAL_LEVEL before using it, don't use type cast
...
LOG_LOCAL_LEVEL is now used in a construct like:
#if (LOG_LOCAL_LEVEL >= ESP_LOG_INFO)
Make sure that LOG_LOCAL_LEVEL is defined, and don't use a type cast in
its definition, because preprocessor can not parse that.
2018-01-05 16:10:58 +08:00
Andrew Dikarev
08ba79cc2b
return old handler from esp_log_set_vprintf()
...
Merges #1286
2017-11-22 11:01:43 +08:00
michael
8244fa95fe
feat(log): add new function to log buffer with level and hex dump.
2017-09-18 11:44:54 +08:00
michael
28c4ba1288
doc(log): document the log macros.
2017-08-28 16:25:39 +08:00
Jiang Jiang Jian
ff6c0a6cc8
Merge branch 'bugfix/spi_flash_large_writes' into 'master'
...
spi_flash: Fix large writes, unaligned writes, and writes from flash
See merge request !843
2017-06-16 15:04:01 +08:00
island
c5debed621
component/bt: Fix bug while writing slave's service change characteristic
...
- Fix slave initiate service discovery procedure
- Fix master re-discovery every time connection established
- Optimize service discovery char ccc write procedure
- Optimize esp_log_buffer function
- Modify default supervision timeout from 20s to 2s
2017-06-14 13:12:38 +08:00
Angus Gratton
edd2459934
esp_log_buffer_hex: Make buffer argument a void pointer
2017-06-09 17:16:58 +10:00
jack
fc130fba86
fix bug that files missing commit in MR 773
2017-05-31 19:37:39 +08:00
Alexey Gerenkov
ad66fbe5ad
esp32: Fixes issues discussed during code review of MR!341
...
The following issues mentioned during MR!341 review were fixed:
1) Core dump test application description
2) Usage of CONFIG_ESP32_ENABLE_COREDUMP_TO_FLASH and CONFIG_ESP32_ENABLE_COREDUMP_TO_UART
3) FLASH_GUARD_START macro usage is fixed in flash API
4) Core dump module logging facility
5) cache util functions doc updated
6) interactive delay before print core dump to uart
7) core dump partion support in build system
2017-01-12 19:38:19 +03:00
Ivan Grokhotkov
46a39b1e0f
catch log output from WiFi libs
2016-11-22 21:14:36 +08:00
Angus Gratton
aceb6517c0
Refactor existing bootloader common functionality into bootloader_support component
2016-11-02 17:58:41 +11:00
Krzysztof
079f5faad8
Fixed confused Sphinx
...
Sphinx failed to phrase esp_log_timestamp
reorderdering esp_log_write and esp_log_timestamp fixed this issue
2016-11-01 01:21:18 +08:00
Krzysztof
f6118c67b0
Fixed desription of logging library
2016-11-01 01:21:18 +08:00
Ivan Grokhotkov
14e003fcf2
components/log: regroup macros for better readability
2016-09-19 08:53:09 +08:00
Ivan Grokhotkov
3cdefd9923
components/log: fix error when using ESP_LOGx from C++ code
2016-09-18 20:51:57 +08:00
Ivan Grokhotkov
69278b28bf
components/log: fix bugs, add options to override log level for files, components, and bootloader
2016-09-18 20:24:31 +08:00
Ivan Grokhotkov
716cec5ded
components/log: add implementation, update a few components to use it
...
This also removes logging implementation from bootloader and replaces it
with the one provided by the log component. Some occurrences of printf
and ets_printf have been changed to ESP_LOGx APIs.
2016-09-15 00:53:33 +08:00
Ivan Grokhotkov
7268f0a60a
components/log: add API header for logging library
...
TW6703
2016-09-08 20:02:26 +08:00