mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
add pikascriptinit for stm32f103rc
This commit is contained in:
parent
a73845e6a6
commit
9d7cb2d1ac
@ -1,6 +1,6 @@
|
|||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include "pikaScript.h"
|
||||||
UART_HandleTypeDef huart1;
|
UART_HandleTypeDef huart1;
|
||||||
void SystemClock_Config(void);
|
void SystemClock_Config(void);
|
||||||
static void MX_GPIO_Init(void);
|
static void MX_GPIO_Init(void);
|
||||||
@ -13,6 +13,7 @@ int main(void){
|
|||||||
MX_USART1_UART_Init();
|
MX_USART1_UART_Init();
|
||||||
|
|
||||||
printf("[info]: stm32f103rct6 init ok. \r\n");
|
printf("[info]: stm32f103rct6 init ok. \r\n");
|
||||||
|
PikaObj* pikaMain = pikaScriptInit();
|
||||||
while (1){
|
while (1){
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user