Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
multipass
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
derf
multipass
Commits
0248c635
Commit
0248c635
authored
4 years ago
by
Daniel Friesel
Browse files
Options
Downloads
Patches
Plain Diff
external pull-ups are only implemented on MSP430FR at the moment
parent
667887a6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/driver/Kconfig
+2
-0
2 additions, 0 deletions
src/driver/Kconfig
src/driver/soft_i2c.cc
+1
-1
1 addition, 1 deletion
src/driver/soft_i2c.cc
with
3 additions
and
1 deletion
src/driver/Kconfig
+
2
−
0
View file @
0248c635
...
@@ -95,11 +95,13 @@ help
...
@@ -95,11 +95,13 @@ help
config driver_softi2c_pullup_dynamic_external
config driver_softi2c_pullup_dynamic_external
bool "GPIO Dynamic Pull-Up"
bool "GPIO Dynamic Pull-Up"
depends on arch_msp430fr5969lp || arch_msp430fr5994lp
help
help
Pull-Up resistors connected to GPIO, disabled when transmitting LOW
Pull-Up resistors connected to GPIO, disabled when transmitting LOW
config driver_softi2c_pullup_external
config driver_softi2c_pullup_external
bool "GPIO Static Pull-Up"
bool "GPIO Static Pull-Up"
depends on arch_msp430fr5969lp || arch_msp430fr5994lp
help
help
Pull-Up resistors connected to GPIO, always on
Pull-Up resistors connected to GPIO, always on
...
...
This diff is collapsed.
Click to expand it.
src/driver/soft_i2c.cc
+
1
−
1
View file @
0248c635
...
@@ -227,7 +227,7 @@ ON_TIMER_INTERRUPT_tail
...
@@ -227,7 +227,7 @@ ON_TIMER_INTERRUPT_tail
#if SOFTI2C_PULLUP_EXTERNAL
#if SOFTI2C_PULLUP_EXTERNAL
#ifdef MULTIPASS_ARCH_msp430fr5969lp
#ifdef MULTIPASS_ARCH_msp430fr5969lp
SoftI2C
i2c
(
GPIO
::
p1_6
,
GPIO
::
p1_7
,
GPIO
::
p1_4
,
GPIO
::
p1_5
);
SoftI2C
i2c
(
GPIO
::
p1_6
,
GPIO
::
p1_7
,
GPIO
::
p1_4
,
GPIO
::
p1_5
);
#elif MULTIPASS_ARCH_msp430fr59
6
9lp
#elif MULTIPASS_ARCH_msp430fr599
4
lp
SoftI2C
i2c
(
GPIO
::
p5_0
,
GPIO
::
p5_1
,
GPIO
::
p8_2
,
GPIO
::
p8_3
);
SoftI2C
i2c
(
GPIO
::
p5_0
,
GPIO
::
p5_1
,
GPIO
::
p8_2
,
GPIO
::
p8_3
);
#else
#else
#error "softi2c_pullup = external not supported on this architecture"
#error "softi2c_pullup = external not supported on this architecture"
...
...
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