]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
Add support for the orignal BeagleBone #439
authorDrew Fustini <drew@pdp7.com>
Mon, 5 Apr 2021 21:44:10 +0000 (14:44 -0700)
committerGitHub <noreply@github.com>
Mon, 5 Apr 2021 21:44:10 +0000 (14:44 -0700)
The original BeagleBone is same SoC (AM3358) as Black and Green and similar layout in terms of the cape headers.  It should just work once the EEPROM ID for original BeagleBone models is added this conditional logic.  Refer to issue #439

src/board.py

index e4909f243c3304754d9c19b84c346e29113aa8d9..d77722dd34c0b4d6142aa2dcd1a050316645b734 100755 (executable)
@@ -56,6 +56,9 @@ elif detector.board.RASPBERRY_PI_B_REV1:
 elif detector.board.RASPBERRY_PI_A or detector.board.RASPBERRY_PI_B_REV2:
     from adafruit_blinka.board.raspberrypi.raspi_1b_rev2 import *
 
 elif detector.board.RASPBERRY_PI_A or detector.board.RASPBERRY_PI_B_REV2:
     from adafruit_blinka.board.raspberrypi.raspi_1b_rev2 import *
 
+elif board_id == ap_board.BEAGLEBONE:
+    from adafruit_blinka.board.beagleboard.beaglebone_black import *
+
 elif board_id == ap_board.BEAGLEBONE_BLACK:
     from adafruit_blinka.board.beagleboard.beaglebone_black import *
 
 elif board_id == ap_board.BEAGLEBONE_BLACK:
     from adafruit_blinka.board.beagleboard.beaglebone_black import *