Skip to content

Commit d066514

Browse files
committed
Removendo flag desnecessaria do Makefile
1 parent 428cf18 commit d066514

File tree

2 files changed

+25
-5
lines changed

2 files changed

+25
-5
lines changed

firmware/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ HEXDUMP = hexdump
1212
# Configuração de arquitetura
1313
MARCH = rv32im_zicsr
1414
MABI = ilp32
15-
BUILD_FLAGS = -nostartfiles -nostdinc -nostdlib -mstrict-align -static -O2
15+
BUILD_FLAGS = -nostartfiles -nostdinc -nostdlib -static -O2
1616
INCLUDES = -Ilib
1717

1818
# Diretórios

firmware/main.c

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ int main() {
3636

3737
uart_write_string("\n\n", 2);
3838

39-
char msg2[] = "RISC-V: Instruction Sets Want to be Free!!!\n\n";
39+
char msg_[] = "RISC-V: Instruction Sets Want to be Free!!!\n\n";
4040

41-
uart_write_string(msg2, 46);
41+
uart_write_string(msg_, 46);
4242

4343
delay_ms(100);
4444

@@ -47,9 +47,29 @@ int main() {
4747

4848
delay_ms(100);
4949

50-
char msg3[] = "To my dear platonic passion: Even though you probably never know this, since I met you, your beautiful smile and all your perfection have encouraged me to be a better person every day.\n\n";
50+
//char msg3[] = "To my dear platonic passion: Even though you probably never know this, since I met you, your beautiful smile and all your perfection have encouraged me to be a better person every day.\n\n";
51+
52+
//uart_write_string(msg3, 187);
53+
54+
55+
char msg1[] = "To my dear platonic passion: Even ";
56+
uart_write_string(msg1, 35);
57+
58+
char msg2[] = "though you probably never know ";
59+
uart_write_string(msg2, 32);
60+
61+
char msg3[] = "this, since I met you, your ";
62+
uart_write_string(msg3, 29);
63+
64+
char msg4[] = "beautiful smile and all your ";
65+
uart_write_string(msg4, 30);
66+
67+
char msg5[] = "perfection have encouraged me to ";
68+
uart_write_string(msg5, 34);
69+
70+
char msg6[] = "be a better person every day.\n\n";
71+
uart_write_string(msg6, 32);
5172

52-
uart_write_string(msg3, 187);
5373

5474
led_shift();
5575

0 commit comments

Comments
 (0)