Commit df23ac3f authored by Daniel Leung's avatar Daniel Leung Committed by Anas Nashif
Browse files

tests: wdt_basic_api: rename noinit section



The linker section where data is not being initialized is
.noinit.*.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 67e238e6
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -86,17 +86,17 @@ static struct wdt_timeout_cfg m_cfg_wdt1;
/* m_state indicates state of particular test. Used to check whether testcase
 * should go to reset state or check other values after reset.
 */
volatile uint32_t m_state __attribute__((section("app_noinit")));
volatile uint32_t m_state __attribute__((section(".noinit.test_wdt")));

/* m_testcase_index is incremented after each test to make test possible
 * switch to next testcase.
 */
volatile uint32_t m_testcase_index __attribute__((section("app_noinit")));
volatile uint32_t m_testcase_index __attribute__((section(".noinit.test_wdt")));

/* m_testvalue contains value set in interrupt callback to point whether
 * first or second interrupt was fired.
 */
volatile uint32_t m_testvalue __attribute__((section("app_noinit")));
volatile uint32_t m_testvalue __attribute__((section(".noinit.test_wdt")));

static void wdt_int_cb0(struct device *wdt_dev, int channel_id)
{