Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wovo committed Jan 11, 2021
1 parent bb7b9db commit a8f277e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 4 additions & 2 deletions library/core/hwlib-targets.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@ enum class target_boards {
my_first_dev_board,
arduino_due,
blue_pill,
termite
termite,
longan_nano
};

enum class target_chips {
atmega328p,
atsam3x8e,
stm32f103c8
stm32f103c8,
gd32v103c8
};

}; // namespace hwlib
6 changes: 6 additions & 0 deletions library/targets/hwlib-longan-nano.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,10 @@

#include HWLIB_INCLUDE( hwlib-gd32v103c8.hpp )

namespace hwlib {

const auto target_board = target_boards::longan_nano;

};

#endif // #ifdef HWLIB_LONGAN_NANO_H

0 comments on commit a8f277e

Please sign in to comment.