es_conf_info_select.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. * Change Logs:
  3. * Date Author Notes
  4. * 2021-04-20 liuhy the first version
  5. *
  6. * Copyright (C) 2021 Shanghai Eastsoft Microelectronics Co., Ltd. All rights reserved.
  7. *
  8. * SPDX-License-Identifier: Apache-2.0
  9. *
  10. * Licensed under the Apache License, Version 2.0 (the License); you may
  11. * not use this file except in compliance with the License.
  12. * You may obtain a copy of the License at
  13. *
  14. * www.apache.org/licenses/LICENSE-2.0
  15. *
  16. * Unless required by applicable law or agreed to in writing, software
  17. * distributed under the License is distributed on an AS IS BASIS, WITHOUT
  18. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  19. * See the License for the specific language governing permissions and
  20. * limitations under the License.
  21. *
  22. */
  23. #ifndef __ES_CONF_INFO_SELECT_H__
  24. #define __ES_CONF_INFO_SELECT_H__
  25. #define ES_C_ENABLE 1
  26. #define ES_C_DISABLE 0
  27. /* codes_main */
  28. //#define ES_USE_ASSERT ES_C_ENABLE
  29. #ifndef ES_USE_ASSERT
  30. #define ES_USE_ASSERT ES_C_DISABLE
  31. #endif
  32. #if ES_USE_ASSERT
  33. #define USE_ASSERT
  34. #endif
  35. #endif