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
05dda0ee
Commit
05dda0ee
authored
9 years ago
by
Damien George
Committed by
Paul Sokolovsky
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
esp8266: Enable modlwip.
parent
88b04909
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
esp8266/Makefile
+1
-0
1 addition, 0 deletions
esp8266/Makefile
esp8266/esp8266.ld
+1
-0
1 addition, 0 deletions
esp8266/esp8266.ld
esp8266/mpconfigport.h
+4
-0
4 additions, 0 deletions
esp8266/mpconfigport.h
with
6 additions
and
0 deletions
esp8266/Makefile
+
1
−
0
View file @
05dda0ee
...
...
@@ -66,6 +66,7 @@ SRC_C = \
modmachine.c
\
utils.c
\
$(
BUILD
)
/frozen.c
\
../extmod/modlwip.o
\
STM_SRC_C
=
$(
addprefix stmhal/,
\
pybstdio.c
\
...
...
This diff is collapsed.
Click to expand it.
esp8266/esp8266.ld
+
1
−
0
View file @
05dda0ee
...
...
@@ -94,6 +94,7 @@ SECTIONS
*modnetwork.o(.literal* .text*)
*moduos.o(.literal* .text*)
*modutime.o(.literal* .text*)
*modlwip.o(.literal* .text*)
/* we put as much rodata as possible in this section */
/* note that only rodata accessed as a machine word is allowed here */
...
...
This diff is collapsed.
Click to expand it.
esp8266/mpconfigport.h
+
4
−
0
View file @
05dda0ee
...
...
@@ -43,6 +43,7 @@
#define MICROPY_PY_UHASHLIB (1)
#define MICROPY_PY_UHASHLIB_SHA1 (1)
#define MICROPY_PY_UJSON (1)
#define MICROPY_PY_LWIP (1)
#define MICROPY_PY_MACHINE (1)
#define MICROPY_PY_MICROPYTHON_MEM_INFO (1)
#define MICROPY_CPYTHON_COMPAT (1)
...
...
@@ -67,6 +68,7 @@ typedef uint32_t mp_uint_t; // must be pointer size
typedef
void
*
machine_ptr_t
;
// must be of pointer size
typedef
const
void
*
machine_const_ptr_t
;
// must be of pointer size
typedef
long
mp_off_t
;
typedef
uint32_t
sys_prot_t
;
// for modlwip
#define MP_PLAT_PRINT_STRN(str, len) mp_hal_stdout_tx_strn_cooked(str, len)
...
...
@@ -81,11 +83,13 @@ extern const struct _mp_obj_module_t esp_module;
extern
const
struct
_mp_obj_module_t
network_module
;
extern
const
struct
_mp_obj_module_t
utime_module
;
extern
const
struct
_mp_obj_module_t
uos_module
;
extern
const
struct
_mp_obj_module_t
mp_module_lwip
;
extern
const
struct
_mp_obj_module_t
mp_module_machine
;
#define MICROPY_PORT_BUILTIN_MODULES \
{ MP_OBJ_NEW_QSTR(MP_QSTR_pyb), (mp_obj_t)&pyb_module }, \
{ MP_OBJ_NEW_QSTR(MP_QSTR_esp), (mp_obj_t)&esp_module }, \
{ MP_OBJ_NEW_QSTR(MP_QSTR_lwip), (mp_obj_t)&mp_module_lwip }, \
{ MP_OBJ_NEW_QSTR(MP_QSTR_network), (mp_obj_t)&network_module }, \
{ MP_OBJ_NEW_QSTR(MP_QSTR_utime), (mp_obj_t)&utime_module }, \
{ MP_OBJ_NEW_QSTR(MP_QSTR_uos), (mp_obj_t)&uos_module }, \
...
...
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