sonata: created a v0.2 subdirectory for old drivers Some drivers have changed significantly for the Sonata system v1.0. This is a neat way to keep old drivers around for those who want to remain on Sonata system v0.2.
diff --git a/sdk/boards/sonata-0.2.json b/sdk/boards/sonata-0.2.json index 308904a..9747b93 100644 --- a/sdk/boards/sonata-0.2.json +++ b/sdk/boards/sonata-0.2.json
@@ -76,6 +76,7 @@ "ipconfigDRIVER_INCLUDED_TX_IP_CHECKSUM=1" ], "driver_includes" : [ + "../include/platform/sunburst/v0.2", "../include/platform/sunburst", "../include/platform/generic-riscv" ],
diff --git a/sdk/boards/sonata-prerelease.json b/sdk/boards/sonata-prerelease.json index d82e122..d230a0d 100644 --- a/sdk/boards/sonata-prerelease.json +++ b/sdk/boards/sonata-prerelease.json
@@ -4,10 +4,6 @@ "start" : 0x30000000, "end" : 0x30004000 }, - "gpio" : { - "start" : 0x80000000, - "end" : 0x80000020 - }, "clint": { "start" : 0x80040000, "end" : 0x80050000 @@ -32,26 +28,6 @@ "start" : 0x80104000, "end" : 0x80104034 }, - "i2c0": { - "start" : 0x80200000, - "end" : 0x80200080 - }, - "i2c1": { - "start" : 0x80201000, - "end" : 0x80201080 - }, - "spi0": { - "start" : 0x80300000, - "end" : 0x80301000 - }, - "spi1": { - "start" : 0x80301000, - "end" : 0x80302000 - }, - "spi2": { - "start" : 0x80302000, - "end" : 0x80303000 - }, "rgbled" : { "start" : 0x80009000, "end" : 0x80009020
diff --git a/sdk/include/platform/sunburst/platform-i2c.hh b/sdk/include/platform/sunburst/v0.2/platform-i2c.hh similarity index 100% rename from sdk/include/platform/sunburst/platform-i2c.hh rename to sdk/include/platform/sunburst/v0.2/platform-i2c.hh