mcuconf.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /*
  2. ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. */
  13. #ifndef MCUCONF_H
  14. #define MCUCONF_H
  15. /*
  16. * LPC214x drivers configuration.
  17. * The following settings override the default settings present in
  18. * the various device driver implementation headers.
  19. * Note that the settings for each driver only have effect if the driver
  20. * is enabled in halconf.h.
  21. */
  22. /*
  23. * ADC driver system settings.
  24. */
  25. /*
  26. * CAN driver system settings.
  27. */
  28. /*
  29. * MAC driver system settings.
  30. */
  31. /*
  32. * PWM driver system settings.
  33. */
  34. /*
  35. * SERIAL driver system settings.
  36. */
  37. #define USE_LPC214x_UART0 TRUE
  38. #define USE_LPC214x_UART1 TRUE
  39. #define LPC214x_UART_FIFO_PRELOAD 16
  40. #define LPC214x_UART0_PRIORITY 1
  41. #define LPC214x_UART1_PRIORITY 2
  42. /*
  43. * SPI driver system settings.
  44. */
  45. #define USE_LPC214x_SPI1 TRUE
  46. #endif /* MCUCONF_H */