Skip to content

Commit

Permalink
f0 loader
Browse files Browse the repository at this point in the history
  • Loading branch information
mck1117 committed Aug 9, 2023
1 parent 5e1bf36 commit 49734de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions firmware/boards/f0_module/bootloader/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ ifeq ($(USE_OPT),)
USE_OPT = -Os -ggdb -fomit-frame-pointer -falign-functions=16 -fsingle-precision-constant
endif

USE_OPT += -DWB_PROD=1

# C specific options here (added to USE_OPT).
ifeq ($(USE_COPT),)
USE_COPT =
Expand Down
2 changes: 2 additions & 0 deletions firmware/boards/f0_module/bootloader/bootloader.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#include "ch.h"
#include "hal.h"

#include "port_shared.h"
#include "flash.h"
Expand Down

0 comments on commit 49734de

Please sign in to comment.