mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-06-02 02:10:19 +08:00
feat(phy): relink ets_printf of libphy.a to phy_printf
"phy_printf" has no output.
This commit is contained in:
2
components/esp8266/lib/fix_printf.sh
Executable file
2
components/esp8266/lib/fix_printf.sh
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
xtensa-lx106-elf-objcopy --redefine-sym ets_printf=phy_printf libphy.a
|
Binary file not shown.
@ -361,4 +361,12 @@ void esp_wifi_set_max_tx_power_via_vdd33(uint16_t vdd33)
|
|||||||
{
|
{
|
||||||
extern void phy_vdd33_set_tpw(uint16_t vdd33);
|
extern void phy_vdd33_set_tpw(uint16_t vdd33);
|
||||||
phy_vdd33_set_tpw(vdd33);
|
phy_vdd33_set_tpw(vdd33);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Just for compiling
|
||||||
|
*/
|
||||||
|
int phy_printf(const char *fmt, ...)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user