Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
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
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Show more breadcrumbs
Alberto Ruiz Garcia
Firmware
Commits
71f809a2
Commit
71f809a2
authored
6 years ago
by
David Sidrane
Committed by
Daniel Agar
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
px4_micro_hal:Add STM32 stm32_gpiosetevent
parent
44f650fd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/platforms/px4_micro_hal.h
+9
-3
9 additions, 3 deletions
src/platforms/px4_micro_hal.h
with
9 additions
and
3 deletions
src/platforms/px4_micro_hal.h
+
9
−
3
View file @
71f809a2
...
...
@@ -142,7 +142,7 @@ __BEGIN_DECLS
# define px4_arch_unconfiggpio(pinset) stm32_unconfiggpio(pinset)
# define px4_arch_gpioread(pinset) stm32_gpioread(pinset)
# define px4_arch_gpiowrite(pinset, value) stm32_gpiowrite(pinset, value)
# define px4_arch_gpiosetevent(pinset,r,f,e,fp) stm32_gpiosetevent(pinset,r,f,
e,fp)
# define px4_arch_gpiosetevent(pinset,r,f,e,fp
,a
) stm32_gpiosetevent(pinset,r,f,e,fp
,a
)
#endif // defined(CONFIG_ARCH_CHIP_STM32) || defined(CONFIG_ARCH_CHIP_STM32F7)
#if defined(CONFIG_ARCH_CHIP_KINETIS)
...
...
@@ -213,7 +213,10 @@ __BEGIN_DECLS
# define px4_arch_unconfiggpio(pinset)
# define px4_arch_gpioread(pinset) kinetis_gpioread(pinset)
# define px4_arch_gpiowrite(pinset, value) kinetis_gpiowrite(pinset, value)
# define px4_arch_gpiosetevent(pinset,r,f,e,fp) kinetis_gpiosetevent(pinset,r,f, e,fp)
/* kinetis_gpiosetevent is not implemented and will need to be added */
# define px4_arch_gpiosetevent(pinset,r,f,e,fp,a) kinetis_gpiosetevent(pinset,r,f,e,fp,a)
# endif
# if defined(CONFIG_ARCH_CHIP_SAMV7)
...
...
@@ -275,7 +278,10 @@ __BEGIN_DECLS
# define px4_arch_unconfiggpio(pinset) sam_unconfiggpio(pinset)
# define px4_arch_gpioread(pinset) sam_gpioread(pinset)
# define px4_arch_gpiowrite(pinset, value) sam_gpiowrite(pinset, value)
# define px4_arch_gpiosetevent(pinset,r,f,e,fp) sam_gpiosetevent(pinset,r,f, e,fp)
/* sam_gpiosetevent is not implemented and will need to be added */
# define px4_arch_gpiosetevent(pinset,r,f,e,fp,a) sam_gpiosetevent(pinset,r,f,e,a)
# endif
#include
<arch/board/board.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