Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
c7acfc90
Commit
c7acfc90
authored
Apr 07, 2015
by
Daniel Campora
Browse files
cc3200: Enable pull-ups for the STDIO UART pins.
parent
c9aa1883
Changes
1
Hide whitespace changes
Inline
Side-by-side
cc3200/mptask.c
View file @
c7acfc90
...
...
@@ -137,8 +137,8 @@ soft_reset:
// configure the stdio uart pins with the correct alternate functions
// param 3 ("mode") is DON'T CARE" for AFs others than GPIO
pin_config
((
pin_obj_t
*
)
&
pin_GPIO1
,
PIN_MODE_3
,
0
,
PIN_TYPE_STD
,
PIN_STRENGTH_2MA
);
pin_config
((
pin_obj_t
*
)
&
pin_GPIO2
,
PIN_MODE_3
,
0
,
PIN_TYPE_STD
,
PIN_STRENGTH_2MA
);
pin_config
((
pin_obj_t
*
)
&
pin_GPIO1
,
PIN_MODE_3
,
0
,
PIN_TYPE_STD
_PU
,
PIN_STRENGTH_2MA
);
pin_config
((
pin_obj_t
*
)
&
pin_GPIO2
,
PIN_MODE_3
,
0
,
PIN_TYPE_STD
_PU
,
PIN_STRENGTH_2MA
);
// instantiate the stdio uart
mp_obj_t
args
[
2
]
=
{
mp_obj_new_int
(
MICROPY_STDIO_UART
),
...
...
Write
Preview
Supports
Markdown
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