Skip to content

Commit

Permalink
Update HiFive1 example project for new board support projects
Browse files Browse the repository at this point in the history
  • Loading branch information
elbric0 committed May 29, 2018
1 parent 0e39e53 commit ad293c7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@
*.pyc
obj/
lib/

examples/HiFive1/zfp-hifive1/
5 changes: 2 additions & 3 deletions examples/HiFive1/hifive1_example.gpr
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
with "../../boards/HiFive1/hifive1.gpr";
with "../../boards/config";
with "../../boards/HiFive1/hifive1_zfp.gpr";

project HiFive1_Example is

Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion examples/HiFive1/src/main.adb
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ad293c7

Please sign in to comment.