no more clearing of IO devices - done by std crt0.S

This commit is contained in:
stnolting 2020-08-19 21:18:14 +02:00
parent 5fef7c3567
commit 498e7799d1

View file

@ -168,19 +168,9 @@ int main(void) {
// ------------------------------------------------
// Processor hardware initialization
// - all IO devices are reset and disbaled by the crt0 code
// ------------------------------------------------
// reset system time
MTIME_LO = 0;
MTIME_HI = 0;
// deactivate unused IO devices
neorv32_wdt_disable();
neorv32_pwm_disable();
neorv32_spi_disable();
neorv32_trng_disable();
neorv32_twi_disable();
// get clock speed (in Hz)
uint32_t clock_speed = SYSINFO_CLK;