Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
micropython
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
card10
micropython
Commits
2ec70dc8
Commit
2ec70dc8
authored
8 years ago
by
Paul Sokolovsky
Browse files
Options
Downloads
Patches
Plain Diff
esp8266/etshal.h: Add prototypes for SPIRead/SPIWrite/SPIEraseSector.
parent
ffb04a58
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
esp8266/esp_init_data.c
+0
-3
0 additions, 3 deletions
esp8266/esp_init_data.c
esp8266/etshal.h
+4
-0
4 additions, 0 deletions
esp8266/etshal.h
with
4 additions
and
3 deletions
esp8266/esp_init_data.c
+
0
−
3
View file @
2ec70dc8
...
@@ -31,9 +31,6 @@
...
@@ -31,9 +31,6 @@
#include
"user_interface.h"
#include
"user_interface.h"
#include
"extmod/misc.h"
#include
"extmod/misc.h"
uint32_t
SPIRead
(
uint32_t
offset
,
void
*
buf
,
uint32_t
len
);
uint32_t
SPIWrite
(
uint32_t
offset
,
const
void
*
buf
,
uint32_t
len
);
uint32_t
SPIEraseSector
(
int
sector
);
NORETURN
void
call_user_start
(
void
);
NORETURN
void
call_user_start
(
void
);
void
ets_printf
(
const
char
*
fmt
,
...);
void
ets_printf
(
const
char
*
fmt
,
...);
extern
char
flashchip
;
extern
char
flashchip
;
...
...
This diff is collapsed.
Click to expand it.
esp8266/etshal.h
+
4
−
0
View file @
2ec70dc8
...
@@ -36,4 +36,8 @@ void *pvPortZalloc(unsigned sz, const char *fname, int line);
...
@@ -36,4 +36,8 @@ void *pvPortZalloc(unsigned sz, const char *fname, int line);
void
*
pvPortRealloc
(
void
*
p
,
unsigned
sz
,
const
char
*
fname
,
int
line
);
void
*
pvPortRealloc
(
void
*
p
,
unsigned
sz
,
const
char
*
fname
,
int
line
);
void
vPortFree
(
void
*
p
,
const
char
*
fname
,
int
line
);
void
vPortFree
(
void
*
p
,
const
char
*
fname
,
int
line
);
uint32_t
SPIRead
(
uint32_t
offset
,
void
*
buf
,
uint32_t
len
);
uint32_t
SPIWrite
(
uint32_t
offset
,
const
void
*
buf
,
uint32_t
len
);
uint32_t
SPIEraseSector
(
int
sector
);
#endif // _INCLUDED_ETSHAL_H_
#endif // _INCLUDED_ETSHAL_H_
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment