mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-02 14:22:55 +03:00
Move .C to .CPP in the code (#5696)
Use g++ to compile core files to get additional C++ checks on the code. Also move libb64 constants to PROGMEM, saving ~128 bytes of heap when used.
This commit is contained in:
committed by
Develo
parent
24fa59df4b
commit
f706c83b66
18
cores/esp8266/esp8266_undocumented.h
Normal file
18
cores/esp8266/esp8266_undocumented.h
Normal file
@ -0,0 +1,18 @@
|
||||
// ROM and blob calls without official headers available
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// ROM
|
||||
|
||||
extern void rom_i2c_writeReg_Mask(int, int, int, int, int, int);
|
||||
extern int rom_i2c_readReg_Mask(int, int, int, int, int);
|
||||
|
||||
extern int uart_baudrate_detect(int, int);
|
||||
|
||||
extern void ets_delay_us(uint32_t us);
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
#endif
|
Reference in New Issue
Block a user