Update HiFive1 example project for new board support projects

This commit is contained in:
elbric0 2018-05-29 11:30:28 -04:00
parent 0e39e53af5
commit ad293c794c
3 changed files with 5 additions and 4 deletions

2
.gitignore vendored
View File

@ -14,3 +14,5 @@
*.pyc
obj/
lib/
examples/HiFive1/zfp-hifive1/

View File

@ -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",

View File

@ -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;