sdkconfig.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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-09 15:04:36
  16. * LastEditTime: 2022-10-09 15:04:37
  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. /* board */
  27. /* E2000 */
  28. #if defined(TARGET_E2000)
  29. #define CONFIG_TARGET_E2000
  30. #endif
  31. #if defined(TARGET_E2000Q)
  32. #define CONFIG_TARGET_E2000Q
  33. #endif
  34. #if defined(TARGET_ARMV8_AARCH64)
  35. #define CONFIG_TARGET_ARMV8_AARCH64
  36. #endif
  37. /* debug */
  38. #ifdef LOG_VERBOS
  39. #define CONFIG_LOG_VERBOS
  40. #endif
  41. #ifdef LOG_ERROR
  42. #define CONFIG_LOG_ERROR
  43. #endif
  44. #ifdef LOG_WARN
  45. #define CONFIG_LOG_WARN
  46. #endif
  47. #ifdef LOG_INFO
  48. #define CONFIG_LOG_INFO
  49. #endif
  50. #ifdef LOG_DEBUG
  51. #define CONFIG_LOG_DEBUG
  52. #endif
  53. #ifdef BOOTUP_DEBUG_PRINTS
  54. #define CONFIG_BOOTUP_DEBUG_PRINTS
  55. #endif
  56. #endif