blob: e4518ab8020284d787a45306be0e6c1507d495b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
NUCLEO-H743ZI APRS-LoRa Tracker
===============================
Connect u-blox NEO-M8N (or other u-blox receiver) to USART-B (RX PD5 and TX PD6) and RFM96 to SPI A.
See src/main.ino for definitions.
Pinout
------
- u-blox NEO module connected to PD5 and PD6
- RFM96 connected to SPI A:
- MISO (Arduino 12), MOSI (Arduino 11), SCK (Arduino 13)
- NSS pin: PD14 (Arduino 10)
- DIO0 pin: PF3 (Arduino 8)
- RESET pin: PF15 (Arduino 9)
- SD Card connected to SPI B:
- MISO (Arduino 12), MOSI (Arduino 11), SCK (Arduino 13)
- CS (Arduino 17)
Build
-----
This project requires: https://platform.io
Compile:
pio run
Program NUCLEO board:
pio run -t upload
Program STM32:
./openocd.sh
arm-none-eabi-gdb .pio/build/hercules/firmware.elf
(gdb) target remote :3333
(gdb) monitor arm semihosting enable
(gdb) load
(gdb) cont
|