allow bus overclock
This commit is contained in:
parent
47402e1c71
commit
509f18b7cc
3 changed files with 87 additions and 18 deletions
|
@ -144,6 +144,12 @@ void setup()
|
|||
#endif
|
||||
Serial.println("ESPMega R3 Initializing");
|
||||
ESPMega_begin();
|
||||
#ifdef OVERCLOCK_FM2
|
||||
Wire.setClock(1000000);
|
||||
#endif
|
||||
#ifdef OVERCLOCK_FM
|
||||
Wire.setClock(400000);
|
||||
#endif
|
||||
io_begin();
|
||||
eeprom_retrieve_init();
|
||||
user_pre_init();
|
||||
|
|
|
@ -6,6 +6,12 @@
|
|||
#include "espmega_iot_timer.hpp"
|
||||
#include "espmega_iot_external_lcd.hpp"
|
||||
|
||||
// Bus Overclocking Configuration
|
||||
// Do not enable if you are using external I/O cards as it will cause signal integrity issues.
|
||||
// Choose only one mode
|
||||
//#define OVERCLOCK_FM
|
||||
//#define OVERCLOCK_FM2
|
||||
|
||||
// Enable Software Module(s)
|
||||
#define ENABLE_INTERNAL_LCD
|
||||
#define ENABLE_IR_MODULE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue