Update HiFive1 example project for new board support projects
This commit is contained in:
parent
0e39e53af5
commit
ad293c794c
|
@ -14,3 +14,5 @@
|
|||
*.pyc
|
||||
obj/
|
||||
lib/
|
||||
|
||||
examples/HiFive1/zfp-hifive1/
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
with "../../boards/HiFive1/hifive1.gpr";
|
||||
with "../../boards/config";
|
||||
with "../../boards/HiFive1/hifive1_zfp.gpr";
|
||||
|
||||
project HiFive1_Example is
|
||||
|
||||
|
@ -11,7 +10,7 @@ project HiFive1_Example is
|
|||
for Object_Dir use "obj";
|
||||
for Create_Missing_Dirs use "True";
|
||||
|
||||
package Compiler renames Config.Compiler;
|
||||
package Compiler renames HiFive1_ZFP.Compiler;
|
||||
|
||||
package Linker is
|
||||
for Default_Switches ("Ada") use ("-Wl,--print-memory-usage",
|
||||
|
|
|
@ -48,7 +48,7 @@ begin
|
|||
FE310.Load_Internal_Oscilator_Calibration;
|
||||
|
||||
-- Use the HiFive1 16 MHz crystal oscillator which is more acurate than the
|
||||
-- internal oscollator.
|
||||
-- internal oscillator.
|
||||
FE310.Use_Crystal_Oscillator;
|
||||
|
||||
HiFive1.LEDs.Initialize;
|
||||
|
|
Loading…
Reference in New Issue