Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
8e11e895
Commit
8e11e895
authored
Apr 28, 2016
by
devsaurus
Browse files
move SPIRead to rom.h
parent
8bc2e8aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/include/rom.h
View file @
8e11e895
...
@@ -149,4 +149,7 @@ void srand(unsigned int);
...
@@ -149,4 +149,7 @@ void srand(unsigned int);
void
uart_div_modify
(
int
no
,
unsigned
int
freq
);
void
uart_div_modify
(
int
no
,
unsigned
int
freq
);
/* Returns 0 on success, 1 on failure */
uint8_t
SPIRead
(
uint32_t
src_addr
,
uint32_t
*
des_addr
,
uint32_t
size
);
#endif
#endif
app/platform/flash_api.h
View file @
8e11e895
...
@@ -86,8 +86,6 @@ typedef struct
...
@@ -86,8 +86,6 @@ typedef struct
uint32_t
segment_size
;
uint32_t
segment_size
;
}
ICACHE_STORE_TYPEDEF_ATTR
SPIFlashInfo
;
}
ICACHE_STORE_TYPEDEF_ATTR
SPIFlashInfo
;
SpiFlashOpResult
SPIRead
(
uint32_t
src_addr
,
uint32_t
*
des_addr
,
uint32_t
size
);
uint32_t
flash_detect_size_byte
(
void
);
uint32_t
flash_detect_size_byte
(
void
);
uint32_t
flash_safe_get_size_byte
(
void
);
uint32_t
flash_safe_get_size_byte
(
void
);
uint16_t
flash_safe_get_sec_num
(
void
);
uint16_t
flash_safe_get_sec_num
(
void
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment