diff --git a/numworks_port/build/Laplace/clock.o b/numworks_port/build/Laplace/clock.o index bcff223..182dca0 100644 Binary files a/numworks_port/build/Laplace/clock.o and b/numworks_port/build/Laplace/clock.o differ diff --git a/numworks_port/build/Laplace/gpio_helper.o b/numworks_port/build/Laplace/gpio_helper.o index d291bcf..1b90e95 100644 Binary files a/numworks_port/build/Laplace/gpio_helper.o and b/numworks_port/build/Laplace/gpio_helper.o differ diff --git a/numworks_port/build/Laplace/keyboard.o b/numworks_port/build/Laplace/keyboard.o index b8cdc07..b517e59 100644 Binary files a/numworks_port/build/Laplace/keyboard.o and b/numworks_port/build/Laplace/keyboard.o differ diff --git a/numworks_port/build/Laplace/laplace.o b/numworks_port/build/Laplace/laplace.o index 489fd84..b93b56a 100644 Binary files a/numworks_port/build/Laplace/laplace.o and b/numworks_port/build/Laplace/laplace.o differ diff --git a/numworks_port/build/Laplace/led.o b/numworks_port/build/Laplace/led.o index 0fcbf30..fb9c2e2 100644 Binary files a/numworks_port/build/Laplace/led.o and b/numworks_port/build/Laplace/led.o differ diff --git a/numworks_port/build/Laplace/time.o b/numworks_port/build/Laplace/time.o index ccb66eb..5d25b1e 100644 Binary files a/numworks_port/build/Laplace/time.o and b/numworks_port/build/Laplace/time.o differ diff --git a/numworks_port/build/info_headers.o b/numworks_port/build/info_headers.o index e6000dc..f52abfd 100644 Binary files a/numworks_port/build/info_headers.o and b/numworks_port/build/info_headers.o differ diff --git a/numworks_port/build/main.bin b/numworks_port/build/main.bin index a09e114..e40322c 100755 Binary files a/numworks_port/build/main.bin and b/numworks_port/build/main.bin differ diff --git a/numworks_port/build/main.elf b/numworks_port/build/main.elf index be4345c..444eedc 100755 Binary files a/numworks_port/build/main.elf and b/numworks_port/build/main.elf differ diff --git a/numworks_port/build/main.o b/numworks_port/build/main.o index b825c01..b560166 100644 Binary files a/numworks_port/build/main.o and b/numworks_port/build/main.o differ diff --git a/numworks_port/build/start_handler.o b/numworks_port/build/start_handler.o index 37f6436..7dbb809 100644 Binary files a/numworks_port/build/start_handler.o and b/numworks_port/build/start_handler.o differ diff --git a/numworks_port/build/vector_table.o b/numworks_port/build/vector_table.o index 2568546..e543fb5 100644 Binary files a/numworks_port/build/vector_table.o and b/numworks_port/build/vector_table.o differ diff --git a/numworks_port/src/Laplace/clock.c b/numworks_port/src/Laplace/clock.c index 733768b..7803302 100644 --- a/numworks_port/src/Laplace/clock.c +++ b/numworks_port/src/Laplace/clock.c @@ -79,7 +79,15 @@ void init_clock(){ // Set normal speed RCC->CFGR &= ~(RCC_CFGR_HPRE_Msk); - set_led_green(true); + // UNSAFE CODE + // 23999<=>0b0101 1101 1011 1111 + SysTick->LOAD &= ~(0b00000000111111111111111111111111); + SysTick->LOAD |= 0b00000000000000000101110110111111; + // set current + SysTick->VAL &= ~(0b00000000111111111111111111111111); + //set some things in CSR + SysTick->CTRL &= ~(0b00000000000000000000000000000111); + SysTick->CTRL |= 0b00000000000000000000000000000011; } /* OLD