Skip to content

Commit

Permalink
makefile + readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
wodowiesel committed Apr 5, 2024
1 parent 471ab03 commit 7de9cb4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
13 changes: 8 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ ifeq ($(UNAME), armv7l)
PFLAGS=-march=armv7-a -mtune=arm1176jzf-s -mfloat-abi=hard -mfpu=neon-vfpv4 -ffast-math -DRASPI2
TARGET=RASPI2
else
PFLAGS=-march=armv7-a -mtune=arm1176jzf-s -mfloat-abi=hard -mfpu=vfp -ffast-math -DRASPI=4
TARGET = RASPI4L
PFLAGS=-march=armv7-a -mtune=arm1176jzf-s -mfloat-abi=hard -mfpu=vfp -ffast-math -DRASPI4
TARGET=RASPI4L
endif

ifeq ($(UNAME), armv8l)
Expand All @@ -133,7 +133,7 @@ ifeq ($(UNAME), armv8l)
endif

ifeq ($(UNAME), armv8l)
PFLAGS=-march=armv7-a -mtune=arm1176jzf-s -mfloat-abi=hard -mfpu=neon-vfpv4 -ffast-math -DRASPI3
PFLAGS=-march=armv7-a -mtune=arm1176jzf-s -mfloat-abi=hard -mfpu=neon-vfpv4 -ffast-math -DRASPI4
TARGET=RASPI4
endif

Expand All @@ -144,11 +144,14 @@ endif

ifeq ($(UNAME), aarch64)
ifeq ($(PCPUI), 14)
PFLAGS=-march=armv8-a -ffast-math -DRASPI=4A
PFLAGS=-march=armv8-a -ffast-math -DRASPI4A
TARGET=RASPI4A
else ifeq ($(LSCPU), Cortex-A72)
PFLAGS=-march=armv8-a -mtune=cortex-a72 -ffast-math -DRASPI=4C
PFLAGS=-march=armv8-a -mtune=cortex-a72 -ffast-math -DRASPI4C
TARGET=RASPI4C
else ifeq ($(LSCPU), Cortex-A76)
PFLAGS=-march=armv8-a -mtune=cortex-a72 -ffast-math -DRASPI5
TARGET=RASPI5
endif

$(TARGET)
Expand Down
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ___

0. Download Linux-Pi-Distribution

[Raspbian Buster lastest (Full)](https://downloads.raspberrypi.org/raspbian_full_latest) >= v4.19.97+
[Raspbian Buster latest (Full)](https://downloads.raspberrypi.org/raspbian_full_latest) >= v4.19.97+

or use the extra provided imager and extract and load bootable image on SD-card via Rufus

Expand Down Expand Up @@ -339,6 +339,7 @@ e) For handling overheating of the Pi's processor use cooling-ribs with fan (+5

you can overclock the Pi if you want to on own risk but it's not recommended

Optional modules:
f) RTC: Module DS3231 uses

+3.3 V (PIN 1), SDA0 (PIN 3, GPIO0 on I2C), SCL0 (PIN 5, GPIO 1 on I2C) & GND (PIN 9)
Expand All @@ -347,8 +348,6 @@ f) RTC: Module DS3231 uses

![RTC](docs/RTC-bottom.png)

![RTC](docs/RTC-top.jpg)

g) GPS Module: Ublox Neo 8M (best one so far)

Pinout: +5 V (PIN 4), GND (PIN 6), RX to UART-TXD (GPIO 14, PIN 8), TX to UART-RXD (GPIO 15, PIN 10), PPS to PCM_CLK (GPIO 18, PIN 12)
Expand All @@ -361,13 +360,11 @@ it prints in NMEA format so change config `ttyAMA0` to `tty1`

![GPS](docs/GPS-Neo-8M-bottom.jpg)

![GPS](docs/GPS-Neo-8M-top.jpg)

h) Morse-code-table:

Will be implemented later!
Maybe implemented later!

![Morsecode](docs/morsecodeCW.jpg)
![Morsecode/CW](docs/morsecodeCW.jpg)

___

Expand Down
Binary file removed docs/GPS-Neo-8M-top.jpg
Binary file not shown.

0 comments on commit 7de9cb4

Please sign in to comment.