-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b05ebc2
commit e6721ba
Showing
14 changed files
with
11,373 additions
and
9,580 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
menu "actuator" | ||
orsource "*/Kconfig" | ||
endmenu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
menu "battery" | ||
orsource "*/Kconfig" | ||
endmenu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
menu "notification" | ||
orsource "*/Kconfig" | ||
endmenu |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,18 @@ | ||
menuconfig DRIVERS_SAFETY_BUTTON | ||
menuconfig DRV_USING_SAFETY_BUTTON | ||
bool "safety_button" | ||
select PKG_USING_BUTTON_PUBLISHER | ||
default n | ||
---help--- | ||
Enable support for safety_button | ||
Enable support for safety_button | ||
|
||
if DRV_USING_SAFETY_BUTTON | ||
comment "fast get pin number: (x - A) * 16 + n" | ||
config GPIO_SAFETY_SWITCH_IN | ||
int "safety button in pin (PE10=74)" | ||
default 74 | ||
|
||
config GPIO_SAFETY_SWITCH_LED | ||
int "safety led out pin (PE12=76)" | ||
default 76 | ||
|
||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import os | ||
import sys | ||
import subprocess | ||
from building import * | ||
|
||
cwd = GetCurrentDir() | ||
|
||
inc = [] | ||
src = Glob("*.cpp") | ||
|
||
objs = DefineGroup("drv/safty_button", src, depend=["DRV_USING_SAFETY_BUTTON"]) | ||
|
||
Return("objs") |
Oops, something went wrong.