2. 因为无法找到重定向printf的代码,请问如何改进,使得printf时非独占CPU至打印完成?
3. 另外发句牢骚,技术解答的效率太低了,本人在使用Nordic公司的蓝牙4.0芯片,同样是国外的公司,也是基于论坛提问的方法解答问题,人家相关的技术人员会非常详细及时的解决提问,贵公司的效率太低了。其实当今芯片公司拼的是技术服务,如何帮助客户快速构建产品,而不是客户猜测芯片怎么用。

期待技术支持解答,谢谢!
Postby dearwind153 » Fri Jun 03, 2016 12:02 am
Postby tobewinner » Mon Jun 13, 2016 6:51 pm
Code: Select all
uart_tx_one_char(uint8 uart, uint8 TxChar)
{
while (true) {
uint32 fifo_cnt = READ_PERI_REG(UART_STATUS(uart)) & (UART_TXFIFO_CNT << UART_TXFIFO_CNT_S);
if ((fifo_cnt >> UART_TXFIFO_CNT_S & UART_TXFIFO_CNT) < 126) {
break;
}
}
WRITE_PERI_REG(UART_FIFO(uart) , TxChar);
return OK;
}
Postby dearwind153 » Tue Jun 14, 2016 12:05 am
Users browsing this forum: No registered users and 13 guests
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.