view src/cs/system/bootloader/inc/optboot.h @ 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 945cf7f506b2
children
line wrap: on
line source

/*******************************************************************************
 *
 * OPTBOOT.H
 *
 * This module contains functions which build a confirmation for each option:
 *  - get the chip id,
 *  - get the monitor id,
 *  - get the board_id.
 *
 * (C) Texas Instruments 1999
 *
 ******************************************************************************/

#ifndef __OPTBOOT_H__
#define __OPTBOOT_H__

#include "command.h"


extern void opt_get_monitor_id (t_com_request *request,
                                t_com_confirmation *confirmation);

extern void
opt_load_application (t_com_request *request, t_com_confirmation *confirmation, SYS_UWORD8 device_id);

extern unsigned long
opt_get_running_address (t_com_request *request, t_com_confirmation *confirmation);


#endif /* __OPTBOOT_H__ */