mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-20 21:24:22 -05:00
509bda2472
* remove commented out code
255 lines
9.4 KiB
Plaintext
255 lines
9.4 KiB
Plaintext
/*
|
|
Copyright (C) 2023 Bernd Herzog
|
|
Copyright (C) 2024 Mark Thompson
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
MEMORY
|
|
{
|
|
/*
|
|
* External apps: regions can't overlap so addresses are corrected after build.
|
|
* Picking uncommon address values for search & replace in binaries (no false positives) - 0xADB00000-0xADEF0000 seems to be good.
|
|
* Also need to consider processor memory map - reading 0xADxxxxxx generates a fault which may be better than unexpected behavior.
|
|
* External app address ranges below must match those in python file "external_app_info.py".
|
|
*/
|
|
ram_external_app_afsk_rx (rwx) : org = 0xADB10000, len = 32k
|
|
ram_external_app_calculator (rwx) : org = 0xADB20000, len = 32k
|
|
ram_external_app_font_viewer(rwx) : org = 0xADB30000, len = 32k
|
|
ram_external_app_blespam(rwx) : org = 0xADB40000, len = 32k
|
|
ram_external_app_analogtv(rwx) : org = 0xADB50000, len = 32k
|
|
ram_external_app_nrf_rx(rwx) : org = 0xADB60000, len = 32k
|
|
ram_external_app_coasterp(rwx) : org = 0xADB70000, len = 32k
|
|
ram_external_app_lge(rwx) : org = 0xADB80000, len = 32k
|
|
ram_external_app_lcr(rwx) : org = 0xADB90000, len = 32k
|
|
ram_external_app_jammer(rwx) : org = 0xADBA0000, len = 32k
|
|
ram_external_app_gpssim(rwx) : org = 0xADBB0000, len = 32k
|
|
ram_external_app_spainter(rwx) : org = 0xADBC0000, len = 32k
|
|
ram_external_app_keyfob(rwx) : org = 0xADBD0000, len = 32k
|
|
ram_external_app_tetris(rwx) : org = 0xADBE0000, len = 32k
|
|
ram_external_app_extsensors(rwx) : org = 0xADBF0000, len = 32k
|
|
ram_external_app_foxhunt_rx(rwx) : org = 0xADC00000, len = 32k
|
|
ram_external_app_audio_test(rwx) : org = 0xADC10000, len = 32k
|
|
ram_external_app_wardrivemap(rwx) : org = 0xADC20000, len = 32k
|
|
ram_external_app_tpmsrx(rwx) : org = 0xADC30000, len = 32k
|
|
ram_external_app_protoview(rwx) : org = 0xADC40000, len = 32k
|
|
ram_external_app_adsbtx(rwx) : org = 0xADC50000, len = 32k
|
|
ram_external_app_morse_tx(rwx) : org = 0xADC60000, len = 32k
|
|
ram_external_app_sstvtx(rwx) : org = 0xADC70000, len = 32k
|
|
ram_external_app_random_password(rwx) : org = 0xADC80000, len = 32k
|
|
ram_external_app_acars_rx(rwx) : org = 0xADC90000, len = 32k
|
|
ram_external_app_shoppingcart_lock(rwx) : org = 0xADCA0000, len = 32k
|
|
ram_external_app_cvs_spam(rwx) : org = 0xADCB0000, len = 32k
|
|
ram_external_app_ookbrute(rwx) : org = 0xADCC0000, len = 32k
|
|
ram_external_app_flippertx(rwx) : org = 0xADCD0000, len = 32k
|
|
ram_external_app_ook_editor(rwx) : org = 0xADCE0000, len = 32k
|
|
ram_external_app_remote(rwx) : org = 0xADCF0000, len = 32k
|
|
ram_external_app_mcu_temperature(rwx) : org = 0xADD00000, len = 32k
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
.external_app_afsk_rx : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_afsk_rx.application_information));
|
|
*(*ui*external_app*afsk_rx*);
|
|
} > ram_external_app_afsk_rx
|
|
|
|
.external_app_calculator : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_calculator.application_information));
|
|
*(*ui*external_app*calculator*);
|
|
} > ram_external_app_calculator
|
|
|
|
.external_app_font_viewer : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_font_viewer.application_information));
|
|
*(*ui*external_app*font_viewer*);
|
|
} > ram_external_app_font_viewer
|
|
|
|
.external_app_blespam : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_blespam.application_information));
|
|
*(*ui*external_app*blespam*);
|
|
} > ram_external_app_blespam
|
|
|
|
.external_app_analogtv : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_analogtv.application_information));
|
|
*(*ui*external_app*analogtv*);
|
|
} > ram_external_app_analogtv
|
|
|
|
.external_app_nrf_rx : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_nrf_rx.application_information));
|
|
*(*ui*external_app*nrf_rx*);
|
|
} > ram_external_app_nrf_rx
|
|
|
|
.external_app_coasterp : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_coasterp.application_information));
|
|
*(*ui*external_app*coasterp*);
|
|
} > ram_external_app_coasterp
|
|
|
|
.external_app_lge : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_lge.application_information));
|
|
*(*ui*external_app*lge*);
|
|
} > ram_external_app_lge
|
|
|
|
.external_app_lcr : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_lcr.application_information));
|
|
*(*ui*external_app*lcr*);
|
|
} > ram_external_app_lcr
|
|
|
|
.external_app_jammer : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_jammer.application_information));
|
|
*(*ui*external_app*jammer*);
|
|
} > ram_external_app_jammer
|
|
|
|
.external_app_gpssim : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_gpssim.application_information));
|
|
*(*ui*external_app*gpssim*);
|
|
} > ram_external_app_gpssim
|
|
|
|
.external_app_spainter : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_spainter.application_information));
|
|
*(*ui*external_app*spainter*);
|
|
} > ram_external_app_spainter
|
|
|
|
.external_app_keyfob : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_keyfob.application_information));
|
|
*(*ui*external_app*keyfob*);
|
|
} > ram_external_app_keyfob
|
|
|
|
.external_app_tetris : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_tetris.application_information));
|
|
*(*ui*external_app*tetris*);
|
|
} > ram_external_app_tetris
|
|
|
|
.external_app_extsensors : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_extsensors.application_information));
|
|
*(*ui*external_app*extsensors*);
|
|
} > ram_external_app_extsensors
|
|
|
|
.external_app_foxhunt_rx : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_foxhunt_rx.application_information));
|
|
*(*ui*external_app*foxhunt_rx*);
|
|
} > ram_external_app_foxhunt_rx
|
|
|
|
.external_app_audio_test : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_audio_test.application_information));
|
|
*(*ui*external_app*audio_test*);
|
|
} > ram_external_app_audio_test
|
|
|
|
.external_app_wardrivemap : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_wardrivemap.application_information));
|
|
*(*ui*external_app*wardrivemap*);
|
|
} > ram_external_app_wardrivemap
|
|
|
|
.external_app_tpmsrx : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_tpmsrx.application_information));
|
|
*(*ui*external_app*tpmsrx*);
|
|
} > ram_external_app_tpmsrx
|
|
|
|
.external_app_protoview : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_protoview.application_information));
|
|
*(*ui*external_app*protoview*);
|
|
} > ram_external_app_protoview
|
|
|
|
.external_app_adsbtx : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_adsbtx.application_information));
|
|
*(*ui*external_app*adsbtx*);
|
|
} > ram_external_app_adsbtx
|
|
|
|
|
|
.external_app_morse_tx : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_morse_tx.application_information));
|
|
*(*ui*external_app*morse_tx*);
|
|
} > ram_external_app_morse_tx
|
|
|
|
.external_app_sstvtx : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_sstvtx.application_information));
|
|
*(*ui*external_app*sstvtx*);
|
|
} > ram_external_app_sstvtx
|
|
|
|
.external_app_random_password : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_random_password.application_information));
|
|
*(*ui*external_app*random_password*);
|
|
} > ram_external_app_random_password
|
|
|
|
.external_app_acars_rx : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_acars_rx.application_information));
|
|
*(*ui*external_app*acars_rx*);
|
|
} > ram_external_app_acars_rx
|
|
|
|
.external_app_shoppingcart_lock : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_shoppingcart_lock.application_information));
|
|
*(*ui*external_app*shoppingcart_lock*);
|
|
} > ram_external_app_shoppingcart_lock
|
|
|
|
.external_app_cvs_spam : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_cvs_spam.application_information));
|
|
*(*ui*external_app*cvs_spam*);
|
|
} > ram_external_app_cvs_spam
|
|
|
|
.external_app_ookbrute : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_ookbrute.application_information));
|
|
*(*ui*external_app*ookbrute*);
|
|
} > ram_external_app_ookbrute
|
|
|
|
.external_app_ook_editor : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_ook_editor.application_information));
|
|
*(*ui*external_app*ook_editor*);
|
|
} > ram_external_app_ook_editor
|
|
|
|
.external_app_flippertx : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_flippertx.application_information));
|
|
*(*ui*external_app*flippertx*);
|
|
} > ram_external_app_flippertx
|
|
|
|
.external_app_remote : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_remote.application_information));
|
|
*(*ui*external_app*remote*);
|
|
} > ram_external_app_remote
|
|
|
|
.external_app_mcu_temperature : ALIGN(4) SUBALIGN(4)
|
|
{
|
|
KEEP(*(.external_app.app_mcu_temperature.application_information));
|
|
*(*ui*external_app*mcu_temperature*);
|
|
} > ram_external_app_mcu_temperature
|
|
}
|