view blobs/patches/tpudrv-leonardo.patch @ 701:35e7f9d0379f

targets: add TARGET_HAS_BUZZER to c11x, c139 and dsample This new target config preprocessor symbol was introduced in Tourmaline in connection with the new approach to playing buzzer melodies via PWT, properly omitting the responsible code on targets where BU output controls the vibrator instead. That code is not present in Magnetite and we have no plans to backport it here, but target header files should be kept consistent between the two trees, especially given that we plan to support FC Venus target in Magnetite.
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 26 Mar 2022 19:51:34 +0000
parents 62a5285e014a
children
line wrap: on
line source

# Our version of TCS211 binary libs has been compiled for a triband
# configuration that is a bastardized version of Leonardo quadband:
# while the same 3 TSPACT lines are used for antenna switch control,
# the correct line to be driven low for each band Rx & Tx operation
# is different in every case.
#
# This change in band Rx & Tx signal assignments was made in tpudrv12.h
# and got compiled into the tpudrv12 module in tpudrv.lib; the present
# patch restores the original quadband configuration.

[tpudrv12.obj]

# Tx high or low band select

.cinit 8A 12
.cinit 92 1C
.cinit 9A 1C
.cinit A2 12
.cinit AA 12

# Bring back GSM850 Rx switch instead of PCS Rx

.cinit 98 16
.cinit A0 06