Commit d9156e69 by Enrico Pozzobon

pushed the baudrate a little bit higher on the maixduino template

parent 10877bed
...@@ -51,7 +51,7 @@ void my_assert(bool b) { ...@@ -51,7 +51,7 @@ void my_assert(bool b) {
} }
void setup() { void setup() {
SerialOut.begin(115200); SerialOut.begin(1500000);
pinMode(CRYPTO_BUSY, OUTPUT); pinMode(CRYPTO_BUSY, OUTPUT);
digitalWrite(CRYPTO_BUSY, HIGH); digitalWrite(CRYPTO_BUSY, HIGH);
delay(100); delay(100);
......
...@@ -132,7 +132,7 @@ def main(argv): ...@@ -132,7 +132,7 @@ def main(argv):
flash(dev) flash(dev)
eprint("Flashed") eprint("Flashed")
time.sleep(0.1) time.sleep(0.1)
ser = serial.Serial(dev, baudrate=115200, timeout=5) ser = serial.Serial(dev, baudrate=1500000, timeout=5)
uartp = UARTP(ser) uartp = UARTP(ser)
ser.setRTS(True) ser.setRTS(True)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment