Add cpu.h/cpp, avr subdir
The idea is to have a separate implementation of the HAL interface for each CPU. So far we only have the AVR.pull/1/head
parent
d189d9c4cf
commit
2c8f4cb13c
|
|
@ -0,0 +1,10 @@
|
|||
#include "../cpu.h"
|
||||
|
||||
namespace hal {
|
||||
namespace CPU {
|
||||
|
||||
void Init() {
|
||||
}
|
||||
|
||||
} // namespace CPU
|
||||
} // namespace hal
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
#pragma once
|
||||
|
||||
/// Hardware Abstraction Layer for the CPU
|
||||
|
||||
namespace hal {
|
||||
namespace CPU {
|
||||
|
||||
/// CPU init routines (not really necessary for the AVR)
|
||||
void Init();
|
||||
|
||||
} // namespace CPU
|
||||
} // namespace hal
|
||||
Loading…
Reference in New Issue