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
5a11086d
Commit
5a11086d
authored
Apr 18, 2015
by
Damien George
Browse files
stmhal: Allow extint.c to compile without USB HS support.
parent
d15fe5a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
stmhal/extint.c
View file @
5a11086d
...
...
@@ -102,7 +102,10 @@ typedef struct {
STATIC
uint32_t
pyb_extint_mode
[
EXTI_NUM_VECTORS
];
#if !defined(ETH)
#define ETH_WKUP_IRQn 62 // The 405 doesn't have ETH, but we want a value to put in our table
#define ETH_WKUP_IRQn 62 // Some MCUs don't have ETH, but we want a value to put in our table
#endif
#if !defined(OTG_HS_WKUP_IRQn)
#define OTG_HS_WKUP_IRQn 76 // Some MCUs don't have HS, but we want a value to put in our table
#endif
STATIC
const
uint8_t
nvic_irq_channel
[
EXTI_NUM_VECTORS
]
=
{
...
...
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