cpu/cortexm: Remove leftover _estack declarations
These are leftovers from before the Cortex-M common ISR vectors were split into vectors_cortexm.c
This commit is contained in:
parent
40e2a5a5f1
commit
e3d5a70e0c
@ -22,9 +22,6 @@
|
|||||||
#include "board.h"
|
#include "board.h"
|
||||||
#include "vectors_cortexm.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
|
/* define a local dummy handler as it needs to be in the same compilation unit
|
||||||
* as the alias definition */
|
* as the alias definition */
|
||||||
void dummy_handler(void) {
|
void dummy_handler(void) {
|
||||||
|
|||||||
@ -21,9 +21,6 @@
|
|||||||
#include "board.h"
|
#include "board.h"
|
||||||
#include "vectors_cortexm.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
|
/* define a local dummy handler as it needs to be in the same compilation unit
|
||||||
* as the alias definition */
|
* as the alias definition */
|
||||||
void dummy_handler(void) {
|
void dummy_handler(void) {
|
||||||
|
|||||||
@ -61,8 +61,6 @@ typedef struct {
|
|||||||
isr_t vectors[CPU_NONISR_EXCEPTIONS]; /**< shared Cortex-M vectors */
|
isr_t vectors[CPU_NONISR_EXCEPTIONS]; /**< shared Cortex-M vectors */
|
||||||
} cortexm_base_t;
|
} 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
|
* @brief This function is the default entry point after a system reset
|
||||||
*
|
*
|
||||||
|
|||||||
@ -21,9 +21,6 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "vectors_cortexm.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
|
/* define a local dummy handler as it needs to be in the same compilation unit
|
||||||
* as the alias definition */
|
* as the alias definition */
|
||||||
void dummy_handler(void) {
|
void dummy_handler(void) {
|
||||||
|
|||||||
@ -28,11 +28,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief memory markers as defined in the linker script
|
|
||||||
*/
|
|
||||||
extern uint32_t _estack;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Dummy handler
|
* @brief Dummy handler
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -19,9 +19,6 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "vectors_cortexm.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
|
/* define a local dummy handler as it needs to be in the same compilation unit
|
||||||
* as the alias definition */
|
* as the alias definition */
|
||||||
void dummy_handler(void) {
|
void dummy_handler(void) {
|
||||||
|
|||||||
@ -21,9 +21,6 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "vectors_cortexm.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
|
/* define a local dummy handler as it needs to be in the same compilation unit
|
||||||
* as the alias definition */
|
* as the alias definition */
|
||||||
void dummy_handler(void) {
|
void dummy_handler(void) {
|
||||||
|
|||||||
@ -22,9 +22,6 @@
|
|||||||
#include "cpu.h"
|
#include "cpu.h"
|
||||||
#include "vectors_cortexm.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
|
/* define a local dummy handler as it needs to be in the same compilation unit
|
||||||
* as the alias definition */
|
* as the alias definition */
|
||||||
void dummy_handler(void) {
|
void dummy_handler(void) {
|
||||||
|
|||||||
@ -24,9 +24,6 @@
|
|||||||
#include "cpu.h"
|
#include "cpu.h"
|
||||||
#include "vectors_cortexm.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
|
/* define a local dummy handler as it needs to be in the same compilation unit
|
||||||
* as the alias definition */
|
* as the alias definition */
|
||||||
void dummy_handler(void) {
|
void dummy_handler(void) {
|
||||||
|
|||||||
@ -21,9 +21,6 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "vectors_cortexm.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
|
/* define a local dummy handler as it needs to be in the same compilation unit
|
||||||
* as the alias definition */
|
* as the alias definition */
|
||||||
void dummy_handler(void) {
|
void dummy_handler(void) {
|
||||||
|
|||||||
@ -22,9 +22,6 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "vectors_cortexm.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
|
/* define a local dummy handler as it needs to be in the same compilation unit
|
||||||
* as the alias definition */
|
* as the alias definition */
|
||||||
void dummy_handler(void) {
|
void dummy_handler(void) {
|
||||||
|
|||||||
@ -25,9 +25,6 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "vectors_cortexm.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
|
/* define a local dummy handler as it needs to be in the same compilation unit
|
||||||
* as the alias definition */
|
* as the alias definition */
|
||||||
void dummy_handler(void) {
|
void dummy_handler(void) {
|
||||||
|
|||||||
@ -21,9 +21,6 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "vectors_cortexm.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
|
/* define a local dummy handler as it needs to be in the same compilation unit
|
||||||
* as the alias definition */
|
* as the alias definition */
|
||||||
void dummy_handler(void) {
|
void dummy_handler(void) {
|
||||||
|
|||||||
@ -22,9 +22,6 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "vectors_cortexm.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
|
/* define a local dummy handler as it needs to be in the same compilation unit
|
||||||
* as the alias definition */
|
* as the alias definition */
|
||||||
void dummy_handler(void) {
|
void dummy_handler(void) {
|
||||||
|
|||||||
@ -21,9 +21,6 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "vectors_cortexm.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
|
/* define a local dummy handler as it needs to be in the same compilation unit
|
||||||
* as the alias definition */
|
* as the alias definition */
|
||||||
void dummy_handler(void) {
|
void dummy_handler(void) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user