Skip to content

Commit

Permalink
Move the STM32 eeprom driver from core to library
Browse files Browse the repository at this point in the history
Avoid to build it when EEPROM is not used.

Signed-off-by: Frederic Pillon <[email protected]>
  • Loading branch information
fpistm committed Aug 24, 2020
1 parent e5d9368 commit 242671d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion cores/arduino/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include "digital_io.h"
#include "dwt.h"
#include "hw_config.h"
#include "stm32_eeprom.h"
#include "timer.h"
#include "uart.h"

Expand Down
3 changes: 3 additions & 0 deletions libraries/EEPROM/src/EEPROM.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
#define EEPROM_h

#include "Arduino.h"
extern "C" {
#include "utility/stm32_eeprom.h"
}

/***
EERef class.
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 242671d

Please sign in to comment.