Skip to content

Commit

Permalink
cpu/*: define arch implementing legacy irq api
Browse files Browse the repository at this point in the history
  • Loading branch information
fjmolinas committed May 4, 2020
1 parent c40d83c commit 3ea0b4f
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cpu/atmega32u4/include/cpu_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ extern "C" {
#endif
/** @} */

/**
* @brief This arch uses the non-inlined legacy irq API.
*/
#define LEGACY_IRQ_API (1)

#ifdef __cplusplus
}
#endif
Expand Down
5 changes: 5 additions & 0 deletions cpu/atmega_common/include/cpu_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ extern "C" {
*/
#define HAVE_HEAP_STATS

/**
* @brief This arch uses the non-inlined legacy irq API.
*/
#define LEGACY_IRQ_API (1)

#ifdef __cplusplus
}
#endif
Expand Down
5 changes: 5 additions & 0 deletions cpu/esp_common/include/cpu_conf_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@
*/
#define BACKUP_RAM_DATA __attribute__((section(".rtc.data")))

/**
* @brief This arch uses the non-inlined legacy irq API.
*/
#define LEGACY_IRQ_API (1)

#ifdef __cplusplus
extern "C" {
#endif
Expand Down
5 changes: 5 additions & 0 deletions cpu/fe310/include/cpu_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
*/
#define HAVE_HEAP_STATS

/**
* @brief This arch uses the non-inlined legacy irq API.
*/
#define LEGACY_IRQ_API (1)

#ifdef __cplusplus
extern "C" {
#endif
Expand Down
5 changes: 5 additions & 0 deletions cpu/lpc2387/include/cpu_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,11 @@ extern "C" {
*/
#define BACKUP_RAM_DATA __attribute__((section(".backup.data")))

/**
* @brief This arch uses the non-inlined legacy irq API.
*/
#define LEGACY_IRQ_API (1)

#ifdef __cplusplus
}
#endif
Expand Down
5 changes: 5 additions & 0 deletions cpu/mips_pic32mx/include/cpu_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ extern "C" {
#endif
/** @} */

/**
* @brief This arch uses the non-inlined legacy irq API.
*/
#define LEGACY_IRQ_API (1)

#ifdef __cplusplus
}
#endif
Expand Down
5 changes: 5 additions & 0 deletions cpu/mips_pic32mz/include/cpu_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ extern "C" {
#endif
/** @} */

/**
* @brief This arch uses the non-inlined legacy irq API.
*/
#define LEGACY_IRQ_API (1)

#ifdef __cplusplus
}
#endif
Expand Down
5 changes: 5 additions & 0 deletions cpu/msp430_common/include/cpu_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ extern "C" {
*/
#define HAVE_HEAP_STATS

/**
* @brief This arch uses the non-inlined legacy irq API.
*/
#define LEGACY_IRQ_API (1)

#ifdef __cplusplus
}
#endif
Expand Down
5 changes: 5 additions & 0 deletions cpu/native/include/cpu_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ extern "C" {
# define GNRC_PKTBUF_SIZE (2048)
#endif

/**
* @brief This arch uses the non-inlined legacy irq API.
*/
#define LEGACY_IRQ_API (1)

#ifdef __cplusplus
}
#endif
Expand Down

0 comments on commit 3ea0b4f

Please sign in to comment.