Fix example-fsm-55 and documentation.

This commit is contained in:
NIIBE Yutaka
2017-11-15 10:46:49 +09:00
parent f161928b0b
commit bbe09de209
5 changed files with 27 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ OBJCOPY = $(CROSS)objcopy
MCU = cortex-m0 # -save-temps
CWARN = -Wall -Wextra -Wstrict-prototypes
DEFS = -DMAKE_ENTRY_PUBLIC \
-DFREE_STANDING -DMHZ=48 -DUSE_WFI_FOR_IDLE
-DFREE_STANDING -DMHZ=48
OPT = -O3 -Os -g
LIBS =

View File

@@ -366,6 +366,8 @@ main (int argc, const char *argv[])
(void)argc;
(void)argv;
chopstx_conf_idle (1);
chopstx_mutex_init (&mtx);
chopstx_cond_init (&cnd0);
chopstx_cond_init (&cnd1);