Skip to content

Commit

Permalink
Merge pull request #7908 from gebart/pr/cortexm-rm-estack
Browse files Browse the repository at this point in the history
cpu/cortex-m variants: Remove _estack declarations
  • Loading branch information
kYc0o committed Nov 11, 2017
2 parents 05c9267 + e3d5a70 commit 0e3006a
Show file tree
Hide file tree
Showing 15 changed files with 0 additions and 46 deletions.
3 changes: 0 additions & 3 deletions cpu/cc2538/vectors.c
Expand Up @@ -22,9 +22,6 @@
#include "board.h"
#include "vectors_cortexm.h"

/* get the start of the ISR stack as defined in the linkerscript */
extern uint32_t _estack;

/* define a local dummy handler as it needs to be in the same compilation unit
* as the alias definition */
void dummy_handler(void) {
Expand Down
3 changes: 0 additions & 3 deletions cpu/cc26x0/vectors.c
Expand Up @@ -21,9 +21,6 @@
#include "board.h"
#include "vectors_cortexm.h"

/* get the start of the ISR stack as defined in the linkerscript */
extern uint32_t _estack;

/* define a local dummy handler as it needs to be in the same compilation unit
* as the alias definition */
void dummy_handler(void) {
Expand Down
2 changes: 0 additions & 2 deletions cpu/cortexm_common/include/vectors_cortexm.h
Expand Up @@ -61,8 +61,6 @@ typedef struct {
isr_t vectors[CPU_NONISR_EXCEPTIONS]; /**< shared Cortex-M vectors */
} cortexm_base_t;

/* get the start of the ISR stack as defined in the linkerscript */
extern uint32_t _estack;
/**
* @brief This function is the default entry point after a system reset
*
Expand Down
3 changes: 0 additions & 3 deletions cpu/ezr32wg/vectors.c
Expand Up @@ -21,9 +21,6 @@
#include <stdint.h>
#include "vectors_cortexm.h"

/* get the start of the ISR stack as defined in the linkerscript */
extern uint32_t _estack;

/* define a local dummy handler as it needs to be in the same compilation unit
* as the alias definition */
void dummy_handler(void) {
Expand Down
5 changes: 0 additions & 5 deletions cpu/kinetis/include/vectors_kinetis.h
Expand Up @@ -28,11 +28,6 @@
extern "C" {
#endif

/**
* @brief memory markers as defined in the linker script
*/
extern uint32_t _estack;

/**
* @brief Dummy handler
*/
Expand Down
3 changes: 0 additions & 3 deletions cpu/lm4f120/vectors.c
Expand Up @@ -19,9 +19,6 @@
#include <stdint.h>
#include "vectors_cortexm.h"

/* get the start of the ISR stack as defined in the linkerscript */
extern uint32_t _estack;

/* define a local dummy handler as it needs to be in the same compilation unit
* as the alias definition */
void dummy_handler(void) {
Expand Down
3 changes: 0 additions & 3 deletions cpu/lpc1768/vectors.c
Expand Up @@ -21,9 +21,6 @@
#include <stdint.h>
#include "vectors_cortexm.h"

/* get the start of the ISR stack as defined in the linkerscript */
extern uint32_t _estack;

/* define a local dummy handler as it needs to be in the same compilation unit
* as the alias definition */
void dummy_handler(void) {
Expand Down
3 changes: 0 additions & 3 deletions cpu/nrf51/vectors.c
Expand Up @@ -22,9 +22,6 @@
#include "cpu.h"
#include "vectors_cortexm.h"

/* get the start of the ISR stack as defined in the linkerscript */
extern uint32_t _estack;

/* define a local dummy handler as it needs to be in the same compilation unit
* as the alias definition */
void dummy_handler(void) {
Expand Down
3 changes: 0 additions & 3 deletions cpu/nrf52/vectors.c
Expand Up @@ -24,9 +24,6 @@
#include "cpu.h"
#include "vectors_cortexm.h"

/* get the start of the ISR stack as defined in the linkerscript */
extern uint32_t _estack;

/* define a local dummy handler as it needs to be in the same compilation unit
* as the alias definition */
void dummy_handler(void) {
Expand Down
3 changes: 0 additions & 3 deletions cpu/sam3/vectors.c
Expand Up @@ -21,9 +21,6 @@
#include <stdint.h>
#include "vectors_cortexm.h"

/* get the start of the ISR stack as defined in the linkerscript */
extern uint32_t _estack;

/* define a local dummy handler as it needs to be in the same compilation unit
* as the alias definition */
void dummy_handler(void) {
Expand Down
3 changes: 0 additions & 3 deletions cpu/samd21/vectors.c
Expand Up @@ -22,9 +22,6 @@
#include <stdint.h>
#include "vectors_cortexm.h"

/* get the start of the ISR stack as defined in the linkerscript */
extern uint32_t _estack;

/* define a local dummy handler as it needs to be in the same compilation unit
* as the alias definition */
void dummy_handler(void) {
Expand Down
3 changes: 0 additions & 3 deletions cpu/saml21/vectors.c
Expand Up @@ -25,9 +25,6 @@
#include <stdint.h>
#include "vectors_cortexm.h"

/* get the start of the ISR stack as defined in the linkerscript */
extern uint32_t _estack;

/* define a local dummy handler as it needs to be in the same compilation unit
* as the alias definition */
void dummy_handler(void) {
Expand Down
3 changes: 0 additions & 3 deletions cpu/stm32f3/vectors.c
Expand Up @@ -21,9 +21,6 @@
#include <stdint.h>
#include "vectors_cortexm.h"

/* get the start of the ISR stack as defined in the linkerscript */
extern uint32_t _estack;

/* define a local dummy handler as it needs to be in the same compilation unit
* as the alias definition */
void dummy_handler(void) {
Expand Down
3 changes: 0 additions & 3 deletions cpu/stm32l1/vectors.c
Expand Up @@ -22,9 +22,6 @@
#include <stdint.h>
#include "vectors_cortexm.h"

/* get the start of the ISR stack as defined in the linkerscript */
extern uint32_t _estack;

/* define a local dummy handler as it needs to be in the same compilation unit
* as the alias definition */
void dummy_handler(void) {
Expand Down
3 changes: 0 additions & 3 deletions cpu/stm32l4/vectors.c
Expand Up @@ -21,9 +21,6 @@
#include <stdint.h>
#include "vectors_cortexm.h"

/* get the start of the ISR stack as defined in the linkerscript */
extern uint32_t _estack;

/* define a local dummy handler as it needs to be in the same compilation unit
* as the alias definition */
void dummy_handler(void) {
Expand Down

0 comments on commit 0e3006a

Please sign in to comment.