Do not declare test_spiram when option is disabled
This commit is contained in:
parent
d5b5a6e234
commit
15950f6a66
1 changed files with 2 additions and 1 deletions
|
@ -187,6 +187,7 @@ file.
|
||||||
extern int _data_start, _heap_start, _init_start, _iram_text_end;
|
extern int _data_start, _heap_start, _init_start, _iram_text_end;
|
||||||
|
|
||||||
|
|
||||||
|
#if CONFIG_MEMMAP_SPIRAM_TEST
|
||||||
/*
|
/*
|
||||||
Simple RAM test. Writes a word every 32 bytes. Takes about a second to complete for 4MiB. Returns
|
Simple RAM test. Writes a word every 32 bytes. Takes about a second to complete for 4MiB. Returns
|
||||||
true when RAM seems OK, false when test fails.
|
true when RAM seems OK, false when test fails.
|
||||||
|
@ -214,7 +215,7 @@ static bool test_spiram(size_t s)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Initialize the heap allocator. We pass it a bunch of region descriptors, but we need to modify those first to accommodate for
|
Initialize the heap allocator. We pass it a bunch of region descriptors, but we need to modify those first to accommodate for
|
||||||
|
|
Loading…
Reference in a new issue