mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
desolve machine_init.c similar to what we did for machine.c
This commit is contained in:
1 parent
c9e8403c6e
commit
7673ef8322
20 files changed
+128
-109
No files matched your search
@@ -0,0 +1,8 @@
|
||||
#include "machine_init_defs.h"
|
||||
|
||||
void machine_custom_init(void) __banked
|
||||
{
|
||||
// For this device, the reset value of RTL837X_PIN_MUX_0 is 0x30000000,
|
||||
// which would disables all LEDS, enable them manually:
|
||||
REG_SET(RTL837X_PIN_MUX_0, 0x30db68bf);
|
||||
}
|
||||
Reference in new issue
Block a user