Skip to content

Commit

Permalink
hana: change dongle board to pro_micro
Browse files Browse the repository at this point in the history
  • Loading branch information
numToStr committed Jun 22, 2024
1 parent 13855cc commit 8bf1217
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 19 deletions.
40 changes: 22 additions & 18 deletions boards/shields/hana/hana_central_dongle.overlay
Original file line number Diff line number Diff line change
@@ -1,25 +1,29 @@
#include "hana.dtsi"

&xiao_i2c {
status = "okay";

oled: ssd1306@3c {
compatible = "solomon,ssd1306fb";
reg = <0x3c>;
width = <128>;
height = <64>;
segment-offset = <0>;
page-offset = <0>;
display-offset = <0>;
multiplex-ratio = <63>;
segment-remap;
com-invdir;
inversion-on;
prechargep = <0x22>;
};
};
// &xiao_i2c {
// status = "okay";
//
// oled: ssd1306@3c {
// compatible = "solomon,ssd1306fb";
// reg = <0x3c>;
// width = <128>;
// height = <64>;
// segment-offset = <0>;
// page-offset = <0>;
// display-offset = <0>;
// multiplex-ratio = <63>;
// segment-remap;
// com-invdir;
// inversion-on;
// prechargep = <0x22>;
// };
// };

/delete-node/ &xiao_spi;
/delete-node/ &kscan0;
/delete-node/ &sensors;
/delete-node/ &left_encoder;
/delete-node/ &right_encoder;

/ {
chosen {
Expand Down
5 changes: 4 additions & 1 deletion build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,16 @@
board: [seeeduino_xiao_ble]
shield:
- hammer40
- hana_central_dongle
- hana_central_left
- hana_peripheral_left
- hana_peripheral_right
include:
- board: seeeduino_xiao_ble
shield: settings_reset
- board: nice_nano_v2
shield: settings_reset
- board: nice_nano_v2
shield: hana_central_dongle
# - board: seeeduino_xiao_ble
# shield: hana_left
# - board: seeeduino_xiao_ble
Expand Down

0 comments on commit 8bf1217

Please sign in to comment.