view src/cs/services/dcfg/dcfg_pool_size.h @ 51:04aaa5622fa7

disable deep sleep when Iota LEDB is on TI's Iota chip docs say that CLK13M must be running in order for LEDB to work, and practical experience on Mot C139 which uses Iota LEDB for its keypad backlight concurs: if Calypso enters deep sleep while the keypad backlight is turned on, the light flickers visibly as the chipset goes into and out of deep sleep. TI's original L1 sleep manager code had logic to disable deep sleep when LT_Status() returns nonzero, but that function only works for B-Sample and C-Sample LT, always returns 0 on BOARD 41 - no check of Iota LEDB status anywhere. Change this code for our current hardware: disable deep sleep when Iota LEDB has been turned on through LLS.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 19 Oct 2020 05:11:29 +0000
parents 4e78acac3d88
children
line wrap: on
line source

/**
 * @file    dcfg_pool_size.h
 *
 * Declarations of:
 * - the memory bank sizes and their watermark
 * - the SWE stack size
 * - the pool size needed (generally the sum of memory bank and stack sizes)
 *
 * @author	Pascal Pompei
 * @version 0.1
 */

/*
 * History:
 *
 *  Date       	Author                  Modification
 *  -------------------------------------------------------------------
 *  09/09/2003  Pascal Pompei           Extracted from rvf_pool_size.h
 *
 * (C) Copyright 2003 by Texas Instruments Incorporated, All Rights Reserved
 */

#ifndef __DCFG_POOL_SIZE_H_
#define __DCFG_POOL_SIZE_H_


/*
 * Values used in dcfg_env.h
 */
#define DCFG_STACK_SIZE                          (1024)
#define DCFG_MB1_SIZE                            (24)
#define DCFG_POOL_SIZE                           (DCFG_STACK_SIZE + DCFG_MB1_SIZE)


#endif /*__DCFG_POOL_SIZE_H_*/