1 // Copyright (C) 2022 Beken Corporation 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 #pragma once 16 17 #ifdef __cplusplus 18 extern "C" { 19 #endif 20 21 /* This header mainly for configuring the HAL debug options. 22 * Normally the HAL debug option should be disabled to reduce the image size. 23 **/ 24 25 //TODO disable all of them 26 #define CFG_HAL_DEBUG_ICU 1 27 #define CFG_HAL_DEBUG_PWM 1 28 #define CFG_HAL_DEBUG_GPIO 1 29 #define CFG_HAL_DEBUG_TIMER 1 30 #define CFG_HAL_DEBUG_DMA 1 31 #define CFG_HAL_DEBUG_UART 1 32 #define CFG_HAL_DEBUG_WDT 1 33 #define CFG_HAL_DEBUG_TRNG 1 34 #define CFG_HAL_DEBUG_EFUSE 1 35 #define CFG_HAL_DEBUG_ADC 1 36 #define CFG_HAL_DEBUG_SPI 1 37 #define CFG_HAL_DEBUG_QSPI 1 38 #define CFG_HAL_DEBUG_AON_RTC 1 39 #define CFG_HAL_DEBUG_I2C 1 40 #define CFG_HAL_DEBUG_AUD 1 41 #define CFG_HAL_DEBUG_JPEG 1 42 #define CFG_HAL_DEBUG_FFT 1 43 #define CFG_HAL_DEBUG_LCD_DISP 1 44 #define CFG_HAL_DEBUG_I2S 1 45 #define CFG_HAL_DEBUG_CALENDAR 1 46 #define CFG_HAL_DEBUG_FLASH 1 47 #define CFG_HAL_DEBUG_SDIO_HOST 1 48 #define CFG_HAL_DEBUG_MPC 1 49 #define CFG_HAL_DEBUG_PRRO 1 50 #define CFG_HAL_DEBUG_AON_WDT 1 51 52 #ifdef __cplusplus 53 } 54 #endif 55