stdint.readme 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*
  2. * SPDX-FileCopyrightText: 2020 Amazon.com, Inc. or its affiliates
  3. *
  4. * SPDX-License-Identifier: MIT
  5. *
  6. * SPDX-FileContributor: 2016-2022 Espressif Systems (Shanghai) CO LTD
  7. */
  8. /*
  9. * FreeRTOS Kernel V10.4.3
  10. * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
  11. *
  12. * Permission is hereby granted, free of charge, to any person obtaining a copy of
  13. * this software and associated documentation files (the "Software"), to deal in
  14. * the Software without restriction, including without limitation the rights to
  15. * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
  16. * the Software, and to permit persons to whom the Software is furnished to do so,
  17. * subject to the following conditions:
  18. *
  19. * The above copyright notice and this permission notice shall be included in all
  20. * copies or substantial portions of the Software.
  21. *
  22. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  23. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
  24. * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
  25. * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
  26. * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  27. * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  28. *
  29. * https://www.FreeRTOS.org
  30. * https://github.com/FreeRTOS
  31. *
  32. */
  33. #ifndef FREERTOS_STDINT
  34. #define FREERTOS_STDINT
  35. /*******************************************************************************
  36. * THIS IS NOT A FULL stdint.h IMPLEMENTATION - It only contains the definitions
  37. * necessary to build the FreeRTOS code. It is provided to allow FreeRTOS to be
  38. * built using compilers that do not provide their own stdint.h definition.
  39. *
  40. * To use this file:
  41. *
  42. * 1) Copy this file into the directory that contains your FreeRTOSConfig.h
  43. * header file, as that directory will already be in the compiler's include
  44. * path.
  45. *
  46. * 2) Rename the copied file stdint.h.
  47. *
  48. */
  49. typedef signed char int8_t;
  50. typedef unsigned char uint8_t;
  51. typedef short int16_t;
  52. typedef unsigned short uint16_t;
  53. typedef long int32_t;
  54. typedef unsigned long uint32_t;
  55. #endif /* FREERTOS_STDINT */