make: check if git is available before calculate version
[pyfrprog.git] / pkernel / uart.c
index ec6f97ddb55cdf51b4ba8cbf3ba6c29945e3596f..53106a6107ed9c8af522bf06d16687bbeec88c6c 100644 (file)
@@ -1,11 +1,9 @@
 #include "mb91465k.h"
 
-#pragma section CODE=IRAM,attr=CODE
-
 void InitUart4(void)
 {
        // Initialize UART asynchronous mode
-       BGR04 = 416; // 38400 Baud @ 16MHz
+       BGR04 = 138; // 115200 Baud @ 16MHz
        SCR04 = 0x17; // 8N1
        SMR04 = 0x0d; // enable SOT3, Reset, normal mode
        SSR04 = 0x00; // LSB first