Skip to content

Commit 060cc54

Browse files
committed
added variable with the amount of mcu cores
1 parent 8a14153 commit 060cc54

18 files changed

Lines changed: 54 additions & 0 deletions

File tree

targets/chip/atsam3x8e/atsam3x8e.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ namespace klib::atsam3x8e {
99
// irq for the atsam3x8e
1010
using irq = klib::irq::KLIB_IRQ<0, 16 + 28>;
1111

12+
// amount of cpu cores
13+
constexpr static uint32_t cpu_cores = 1;
14+
1215
/**
1316
* @brief Get the current cpu id
1417
*

targets/chip/atsam4s2b/atsam4s2b.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ namespace klib::atsam4s2b {
99
// irq for the atsam4s2b
1010
using irq = klib::irq::KLIB_IRQ<0, 16 + 35>;
1111

12+
// amount of cpu cores
13+
constexpr static uint32_t cpu_cores = 1;
14+
1215
/**
1316
* @brief Get the current cpu id
1417
*

targets/chip/lpc1752/lpc1752.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ namespace klib::lpc1752 {
99
// irq for the lpc1752
1010
using irq = klib::irq::KLIB_IRQ<0, 16 + 34>;
1111

12+
// amount of cpu cores
13+
constexpr static uint32_t cpu_cores = 1;
14+
1215
/**
1316
* @brief Get the current cpu id
1417
*

targets/chip/lpc1754/lpc1754.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ namespace klib::lpc1754 {
99
// irq for the lpc1754
1010
using irq = klib::irq::KLIB_IRQ<0, 16 + 34>;
1111

12+
// amount of cpu cores
13+
constexpr static uint32_t cpu_cores = 1;
14+
1215
/**
1316
* @brief Get the current cpu id
1417
*

targets/chip/lpc1756/lpc1756.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ namespace klib::lpc1756 {
99
// irq for the lpc1756
1010
using irq = klib::irq::KLIB_IRQ<0, 16 + 34>;
1111

12+
// amount of cpu cores
13+
constexpr static uint32_t cpu_cores = 1;
14+
1215
/**
1316
* @brief Get the current cpu id
1417
*

targets/chip/lpc1759/lpc1759.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ namespace klib::lpc1759 {
99
// irq for the lpc1759
1010
using irq = klib::irq::KLIB_IRQ<0, 16 + 34>;
1111

12+
// amount of cpu cores
13+
constexpr static uint32_t cpu_cores = 1;
14+
1215
/**
1316
* @brief Get the current cpu id
1417
*

targets/chip/lpc1788/lpc1788.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ namespace klib::lpc1788 {
99
// irq for the lpc1788
1010
using irq = klib::irq::KLIB_IRQ<0, 16 + 40>;
1111

12+
// amount of cpu cores
13+
constexpr static uint32_t cpu_cores = 1;
14+
1215
/**
1316
* @brief Get the current cpu id
1417
*

targets/chip/lpc55s66/lpc55s66.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ namespace klib::lpc55s66 {
1010
using irq0 = klib::irq::KLIB_IRQ<0, 16 + 40>;
1111
using irq1 = klib::irq::KLIB_IRQ<1, 16 + 40>;
1212

13+
// amount of cpu cores
14+
constexpr static uint32_t cpu_cores = 2;
15+
1316
/**
1417
* @brief Get the current cpu id
1518
*

targets/chip/lpc802/lpc802.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ namespace klib::lpc802 {
99
// irq for the lpc802
1010
using irq = klib::irq::KLIB_IRQ<0, 16 + 28>;
1111

12+
// amount of cpu cores
13+
constexpr static uint32_t cpu_cores = 1;
14+
1215
/**
1316
* @brief Get the current cpu id
1417
*

targets/chip/max32625/max32625.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ namespace klib::max32625 {
99
// irq for the max32625
1010
using irq = klib::irq::KLIB_IRQ<0, 16 + 49>;
1111

12+
// amount of cpu cores
13+
constexpr static uint32_t cpu_cores = 1;
14+
1215
/**
1316
* @brief Get the current cpu id
1417
*

0 commit comments

Comments
 (0)