Skip to content
Snippets Groups Projects
Commit 21bea290 authored by schneider's avatar schneider
Browse files

fix(harmonic-test): invalidate external fs

parent 311d5a0f
No related branches found
No related tags found
No related merge requests found
...@@ -17,6 +17,8 @@ ...@@ -17,6 +17,8 @@
#include "tmr_utils.h" #include "tmr_utils.h"
#include "adc.h" #include "adc.h"
#include "flc.h" #include "flc.h"
#include "mx25.h"
#include "mx25lba.h"
#include "gfx.h" #include "gfx.h"
#include "display.h" #include "display.h"
...@@ -204,6 +206,9 @@ int main(void) ...@@ -204,6 +206,9 @@ int main(void)
Color yellow = gfx_color(&display_screen, YELLOW); Color yellow = gfx_color(&display_screen, YELLOW);
mx25_init();
MX25_Erase(0, MX25_Erase_4K);
sprintf(buf, "<-Press\n"); sprintf(buf, "<-Press\n");
printf(buf); printf(buf);
gfx_puts(&Font24, &display_screen, 0, 0, buf, yellow, black); gfx_puts(&Font24, &display_screen, 0, 0, buf, yellow, black);
......
...@@ -3,7 +3,7 @@ name = 'fundamentaltest' ...@@ -3,7 +3,7 @@ name = 'fundamentaltest'
elf = executable( elf = executable(
name + '.elf', name + '.elf',
'main.c', 'main.c',
dependencies: [libcard10, max32665_startup], dependencies: [libcard10, max32665_startup, mx25lba],
link_whole: [max32665_startup_lib, board_card10_lib], link_whole: [max32665_startup_lib, board_card10_lib],
link_args: [ link_args: [
'-Wl,-Map=' + meson.current_build_dir() + '/' + name + '.map', '-Wl,-Map=' + meson.current_build_dir() + '/' + name + '.map',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment