Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
07590c27
Commit
07590c27
authored
Dec 28, 2013
by
Hagen Kaye
Browse files
changes to Makefile and main.c to add i2c.c
parent
6474598c
Changes
2
Hide whitespace changes
Inline
Side-by-side
stm/Makefile
View file @
07590c27
...
...
@@ -33,6 +33,7 @@ SRC_C = \
audio.c
\
sdio.c
\
pybwlan.c
\
i2c.c
\
SRC_S
=
\
startup_stm32f40xx.s
\
...
...
stm/main.c
View file @
07590c27
...
...
@@ -37,6 +37,7 @@
#include
"timer.h"
#include
"audio.h"
#include
"pybwlan.h"
#include
"i2c.h"
int
errno
;
...
...
@@ -877,6 +878,7 @@ soft_reset:
rt_store_attr
(
m
,
qstr_from_str_static
(
"rand"
),
rt_make_function_0
(
pyb_rng_get
));
rt_store_attr
(
m
,
qstr_from_str_static
(
"Led"
),
rt_make_function_1
(
pyb_Led
));
rt_store_attr
(
m
,
qstr_from_str_static
(
"Servo"
),
rt_make_function_1
(
pyb_Servo
));
rt_store_attr
(
m
,
qstr_from_str_static
(
"I2C"
),
rt_make_function_2
(
pyb_I2C
));
rt_store_name
(
qstr_from_str_static
(
"pyb"
),
m
);
rt_store_name
(
qstr_from_str_static
(
"open"
),
rt_make_function_2
(
pyb_io_open
));
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment