initial commit
This commit is contained in:
7
hal/hal_mcu/config.mk
Executable file
7
hal/hal_mcu/config.mk
Executable file
@@ -0,0 +1,7 @@
|
||||
SRC += $(wildcard $(HAL_DIR)/hal_mcu/*.c)
|
||||
CFLAGS += -I$(HAL_DIR)/hal_mcu
|
||||
ifdef MOD_MCU
|
||||
SRC += $(wildcard $(HAL_DIR)/hal_mcu/$(MOD_MCU)/*.c)
|
||||
else
|
||||
$(warning warning you sure no hal_mcu?)
|
||||
endif
|
||||
6
hal/hal_mcu/hal_interface_mcu.h
Executable file
6
hal/hal_mcu/hal_interface_mcu.h
Executable file
@@ -0,0 +1,6 @@
|
||||
#ifndef __MCU_H__
|
||||
#define __MCU_H__
|
||||
int32_t hal_mcu_init();
|
||||
int32_t hal_mcu_deinit();
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user