sdkconfig.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. /*
  2. * Copyright : (C) 2022 Phytium Information Technology, Inc.
  3. * All Rights Reserved.
  4. *
  5. * This program is OPEN SOURCE software: you can redistribute it and/or modify it
  6. * under the terms of the Phytium Public License as published by the Phytium Technology Co.,Ltd,
  7. * either version 1.0 of the License, or (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY;
  10. * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. * See the Phytium Public License for more details.
  12. *
  13. *
  14. * FilePath: sdkconfig.h
  15. * Date: 2022-10-13 15:53:46
  16. * LastEditTime: 2022-10-13 15:53:46
  17. * Description: This file is for
  18. *
  19. * Modify History:
  20. * Ver Who Date Changes
  21. * ----- ------ -------- --------------------------------------
  22. */
  23. #ifndef SDK_CONFIG_H__
  24. #define SDK_CONFIG_H__
  25. #include "rtconfig.h"
  26. /* arch */
  27. #if defined(TARGET_ARMV8_AARCH32)
  28. #define CONFIG_TARGET_ARMV8_AARCH32
  29. #endif
  30. #if defined(USE_AARCH64_L1_TO_AARCH32)
  31. #define CONFIG_USE_AARCH64_L1_TO_AARCH32
  32. #endif
  33. /* board */
  34. /* E2000 */
  35. #if defined(TARGET_E2000)
  36. #define CONFIG_TARGET_E2000
  37. #endif
  38. /* debug */
  39. #ifdef LOG_VERBOS
  40. #define CONFIG_LOG_VERBOS
  41. #endif
  42. #ifdef LOG_ERROR
  43. #define CONFIG_LOG_ERROR
  44. #endif
  45. #ifdef LOG_WARN
  46. #define CONFIG_LOG_WARN
  47. #endif
  48. #ifdef LOG_INFO
  49. #define CONFIG_LOG_INFO
  50. #endif
  51. #ifdef LOG_DEBUG
  52. #define CONFIG_LOG_DEBUG
  53. #endif
  54. #ifdef BOOTUP_DEBUG_PRINTS
  55. #define CONFIG_BOOTUP_DEBUG_PRINTS
  56. #endif
  57. #endif