Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
libseven: fix spi_clock definition
Browse files Browse the repository at this point in the history
  • Loading branch information
LunarLambda committed Feb 2, 2023
1 parent 7dd4012 commit 7a2be84
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ make_dist() {

[ ! -d "$DIST" ] && mkdir "$DIST" || rm "$DIST"/*

(PROJECT=libseven VERSION=0.15.0 make_dist)
(PROJECT=libseven VERSION=0.15.1 make_dist)
(PROJECT=minrt VERSION=0.5.1 make_dist)
2 changes: 1 addition & 1 deletion libseven/include/seven/base/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#define LIBSEVEN_VERSION_MAJOR 0
#define LIBSEVEN_VERSION_MINOR 15
#define LIBSEVEN_VERSION_PATCH 0
#define LIBSEVEN_VERSION_PATCH 1

#define LIBSEVEN_VERSION \
_LIBSEVEN_STR2(LIBSEVEN_VERSION_MAJOR) "." \
Expand Down
2 changes: 2 additions & 0 deletions libseven/include/seven/hw/serial/spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ enum SerialControlSPI
#define BF_SPI_CLOCK_OFFSET 0
#define BF_SPI_CLOCK_LENGTH 2

#define SPI_CLOCK(n) BITFIELD(SPI_CLOCK, (n))

SPI_CLOCK_EXTERNAL = SPI_CLOCK(0),
SPI_CLOCK_256KHZ = SPI_CLOCK(1),
SPI_CLOCK_2MHZ = SPI_CLOCK(3),
Expand Down
2 changes: 1 addition & 1 deletion libseven/meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = '0.15.0'
version = '0.15.1'

sources = [
'src/hw/bios.s',
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project('sdk-seven', 'c',
version: '0.15.0',
version: '0.15.1',
license: 'Zlib',
meson_version: '>=0.55.0',
default_options: ['warning_level=2', 'c_std=c99'])
Expand Down

0 comments on commit 7a2be84

Please sign in to comment.