Add FPGA_TARGET=ECP5-EVN make option for synthesis build
authorMichael Neuling <mikey@neuling.org>
Tue, 23 Jun 2020 07:05:23 +0000 (17:05 +1000)
committerMichael Neuling <mikey@neuling.org>
Thu, 2 Jul 2020 06:04:44 +0000 (16:04 +1000)
commit10a1a86ba0954f0dbeb5cf241f8945c7dffd0f24
tree16318ac789835fb0fba87530c2326ac15df0aed0
parentef0dcf3bc6380cd6c3454cac7ff881a7454a8281
Add FPGA_TARGET=ECP5-EVN make option for synthesis build

This allows these targets
  FPGA_TARGET=ORANGE-CRAB make microwatt.bit
  FPGA_TARGET=ECP5-EVN make microwatt.bit
Default is ORANGE-CRAB as before

ECP5-EVN is tested on real hardware. The console only works at 38400 so
needs this in console.c and a recompile of hello_world to work:

  -#define UART_FREQ 115200
  +#define UART_FREQ 38400

With this 'FPGA_TARGET=ECP5-EVN make prog' works on the ECP5 dev board.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Makefile