annotate targets/luna2.h @ 266:160a5b3a076c

new ABB_SLEEP_RESTRICTION definition in fc-target.h When we first introduced the mechanism to suppress ABB superdeep sleep on targets with LCDs powered from Iota VRIO, we made it conditional on CONFIG_TARGET_LUNA. This conditional is now being generalized: the feature in question is now conditionalized on the new ABB_SLEEP_RESTRICTION preprocessor symbol, to be defined in targets/*.h for those targets that need it. The new ABB_SLEEP_RESTRICTION definition is being added to targets/luna[12].h to keep the actual logic unchanged.
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 02 Jun 2021 02:12:14 +0000
parents 1d88c6370725
children 10b3a6876273
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18
1d88c6370725 targets/*.h: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 #define CONFIG_TARGET_LUNA 1
1d88c6370725 targets/*.h: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 #define CONFIG_TARGET_TANGO 1
1d88c6370725 targets/*.h: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 #define CONFIG_GPIO046_OUTPUTS 1
1d88c6370725 targets/*.h: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 #define CONFIG_GPIO1_HIGH 1
1d88c6370725 targets/*.h: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 #define GPIO1_SPEAKER_CTRL 0
1d88c6370725 targets/*.h: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 #define UARTFAX_CLASSIC_DTR_DCD 1
266
160a5b3a076c new ABB_SLEEP_RESTRICTION definition in fc-target.h
Mychaela Falconia <falcon@freecalypso.org>
parents: 18
diff changeset
7 #define ABB_SLEEP_RESTRICTION 1
18
1d88c6370725 targets/*.h: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 #define TARGET_HAS_PWL 1