-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cpu/atmega*: remove unnecessary code (already factored out)
cpu.c and startup.c were redundant in most platforms, except for atmega256rfr2. The common code is now in cpu/atmega_common/cpu.c and cpu/atmega_common/startup.c. cpu_conf.h is also removed as it's now in cpu/atmega_common/include thus shared by all atmega based platforms.
- Loading branch information
Showing
20 changed files
with
9 additions
and
857 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
# tell the build system that the CPU depends on the atmega common files | ||
USEMODULE += atmega_common | ||
|
||
# define path to atmega common module, which is needed for this CPU | ||
export ATMEGA_COMMON = $(RIOTCPU)/atmega_common/ | ||
|
||
# explicitly tell the linker to link the syscalls and startup code. | ||
# Without this the interrupt vectors will not be linked correctly! | ||
export UNDEF += $(BINDIR)/cpu/startup.o | ||
|
||
# CPU depends on the atmega common module, so include it | ||
include $(ATMEGA_COMMON)Makefile.include | ||
include $(RIOTCPU)/atmega_common/Makefile.include |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
# tell the build system that the CPU depends on the atmega common files | ||
USEMODULE += atmega_common | ||
|
||
# define path to atmega common module, which is needed for this CPU | ||
export ATMEGA_COMMON = $(RIOTCPU)/atmega_common/ | ||
|
||
# CPU depends on the atmega common module, so include it | ||
include $(ATMEGA_COMMON)Makefile.include | ||
include $(RIOTCPU)/atmega_common/Makefile.include | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
# tell the build system that the CPU depends on the atmega common files | ||
USEMODULE += atmega_common | ||
|
||
# define path to atmega common module, which is needed for this CPU | ||
export ATMEGA_COMMON = $(RIOTCPU)/atmega_common/ | ||
|
||
# explicitly tell the linker to link the syscalls and startup code. | ||
# Without this the interrupt vectors will not be linked correctly! | ||
export UNDEF += $(BINDIR)/cpu/startup.o | ||
|
||
# CPU depends on the atmega common module, so include it | ||
include $(ATMEGA_COMMON)Makefile.include | ||
include $(RIOTCPU)/atmega_common/Makefile.include |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.