]> granicus.if.org Git - esp-idf/commit
Merge branch 'bugfix/driver_cleanup_log' into 'master'
authorIvan Grokhotkov <ivan@espressif.com>
Mon, 12 Dec 2016 02:15:25 +0000 (10:15 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Mon, 12 Dec 2016 02:15:25 +0000 (10:15 +0800)
commit1c60a0450e39495d7d34b77dc3a71ace1248c421
treec590f3be65588811cb6cd85cfc0653913a46b0c3
parentbab1d49f1fad2204224583c90f52a763507fd5f7
parent0dff9ed79db6f2fe234566b4b32afc4a987b41e7
Merge branch 'bugfix/driver_cleanup_log' into 'master'

drivers: remove file paths from log statements

Function name and error string are usually sufficient to find the place which has triggered an error.

`__FILE__` macro generates a string which has absolute file name (with our build system), which add many long strings to the program binary.

Also change log tags to lower case to match style used elsewhere.

Fixes https://github.com/espressif/esp-idf/issues/126

See merge request !282
components/driver/gpio.c
components/driver/ledc.c
components/driver/pcnt.c
components/driver/rmt.c
components/driver/timer.c
components/driver/uart.c