PD Buddy Sink Firmware
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * PD Buddy Sink Firmware - Smart power jack for USB Power Delivery
  3. * Copyright (C) 2017-2018 Clayton G. Hobbs <clay@lakeserv.net>
  4. *
  5. * This program is free software: you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation, either version 3 of the License, or
  8. * (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #ifndef PDB_CONF_H
  19. #define PDB_CONF_H
  20. /* Number of messages in the message pool */
  21. #define PDB_MSG_POOL_SIZE 4
  22. /* Size of the Policy Engine thread's working area */
  23. #define PDB_PE_WA_SIZE 256
  24. /* Size of the protocol layer RX thread's working area */
  25. #define PDB_PRLRX_WA_SIZE 256
  26. /* Size of the protocol layer TX thread's working area */
  27. #define PDB_PRLTX_WA_SIZE 256
  28. /* Size of the protocol layer hard reset thread's working area */
  29. #define PDB_HARDRST_WA_SIZE 256
  30. /* Size of the INT_N thread's working area */
  31. #define PDB_INT_N_WA_SIZE 128
  32. #endif /* PDB_CONF_H */