Skip to content
Snippets Groups Projects
Commit a213bfc0 authored by Israel Barreto Sant'Anna's avatar Israel Barreto Sant'Anna
Browse files

Trying to write first character directly on UART to generate first interruption

parent 1fa0396c
Branches
No related tags found
No related merge requests found
...@@ -76,8 +76,11 @@ int main(){ ...@@ -76,8 +76,11 @@ int main(){
uart->cs.ctl = ctrl; uart->cs.ctl = ctrl;
char c; char c;
while((c=getc())!='\0') uart->d.tx = 'a';
while((c=getc())!='\0'){
to_stdout(c);
Putc(c); Putc(c);
}
return 0; return 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment