Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit242671d

Browse files
committed
Move the STM32 eeprom driver from core to library
Avoid to build it when EEPROM is not used.Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parente5d9368 commit242671d

File tree

4 files changed

+3
-1
lines changed

4 files changed

+3
-1
lines changed

‎cores/arduino/board.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#include"digital_io.h"
1313
#include"dwt.h"
1414
#include"hw_config.h"
15-
#include"stm32_eeprom.h"
1615
#include"timer.h"
1716
#include"uart.h"
1817

‎libraries/EEPROM/src/EEPROM.h‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
#defineEEPROM_h
2323

2424
#include"Arduino.h"
25+
extern"C" {
26+
#include"utility/stm32_eeprom.h"
27+
}
2528

2629
/***
2730
EERef class.
File renamed without changes.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp