es_conf_info_select.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. #ifndef ES_USE_ASSERT
  29. #define ES_USE_ASSERT ES_C_DISABLE
  30. #endif
  31. #if ES_USE_ASSERT
  32. #define USE_ASSERT
  33. #endif
  34. #endif