mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 20:20:14 +01:00
renesas-ra: Consolidate hal_entry.c code and remove hal_entry() func.
The hal_entry.c code is duplicated across all boards, so consolidate it to a common ra_hal.c file. And remove the hal_entry() function because it simply calls main(). Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -297,6 +297,7 @@ DRIVERS_SRC_C += $(addprefix drivers/,\
|
||||
SRC_C += \
|
||||
boardctrl.c \
|
||||
main.c \
|
||||
ra_hal.c \
|
||||
ra_it.c \
|
||||
mphalport.c \
|
||||
mpthreadport.c \
|
||||
@@ -325,13 +326,11 @@ SRC_C += \
|
||||
flashbdev.c \
|
||||
storage.c \
|
||||
fatfs_port.c \
|
||||
$(BOARD_DIR)/src/hal_entry.c \
|
||||
$(wildcard $(BOARD_DIR)/*.c)
|
||||
|
||||
SRC_C += $(addprefix $(BOARD_DIR)/ra_gen/,\
|
||||
common_data.c \
|
||||
hal_data.c \
|
||||
main.c \
|
||||
pin_data.c \
|
||||
vector_data.c \
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user