mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
Replace ad-hoc print/raise patterns in reg_parse.py and reg2fw.py with esp_pylib.logger log.warn/log.die and install_exception_reporting(). Signed-off-by: Chen Yudong <chenyudong@espressif.com>
REGULATORY
Introduction
esp_wifi_regulatory.txt and esp_wifi_regulatory.c defines wireless communication regulations for different countries and regions to ensure that the device operates in compliance with local regulations.
esp_wifi_regulatory.c is generated from esp_wifi_regulatory.txt by using the reg2fw.py script.
- Generate
esp_wifi_regulatory.ccd ${IDF_PATH}/components/esp_wifi/regulatorypython reg2fw.py