boardconfig.h 642 B

12345678910111213141516171819202122232425262728
  1. //
  2. // Config for 8X2A
  3. //
  4. // ------------- Chip/frequency : -----------------
  5. #define CHIP 18f26k22
  6. #define FAMILLY 18f
  7. #define FOSC 64000000 // 64 Mhz
  8. // ------------- Program memory vectors : -----------------
  9. //APP_START='0x0000' // application entry point
  10. #define MEM_SIZE 0x10000
  11. // ------------- Serial : -----------------
  12. // which UART is used ?
  13. #define UART_PORT 1
  14. // configure the serial driver PIN and TRIS
  15. #define SERDRV_PIN LATAbits.LATA6
  16. #define SERDRV_TRI TRISAbits.TRISA6
  17. //serial driver pin polarity : state of the pin that enables serial driver
  18. #define SERDRV_POL 0
  19. //does config.c have setup ?
  20. #define CONFIG_SETUP 1