Made HOWTO a tiny bit better.

master
Marcel 1 month ago
parent 0c425e8a04
commit a70e20cd50
  1. 4
      Documentation/HOWTO-change-firmware-and-compile-it_MeesElectronics.md
  2. 2
      Makefile

@ -2,7 +2,7 @@
## Required knowledge
This document assumes some basic knowledge of programming. Like using code editors to edit source code and using basic commands like `make`. Plus some basic Linux knowledge.
This document assumes some basic knowledge of programming. Like using code editors to edit source code and using basic commands like `make`. Plus some basic Linux knowledge. But you don't have to be an expert.
## Dependencies
@ -93,7 +93,7 @@ release-waveshare-esp32-s3-pico:
### Boards.h
The file `Board.h` is the most important file to edit. This is the place where the supported boards are defined. For our new board should, a new section has to be added. This section defines the pinout of the SPI port and if it has certain peripherals such as a screen or BLE.
The file `Board.h` is the most important file to edit. This is the place where the supported boards are defined. For our new board, a new section has to be added. This section defines the pinout of the SPI port and if it has certain peripherals such as a screen or BLE.
First, the new board has to be defined at the beginning of the file. Search for the line `#define MODEL_FF 0xFF // Homebrew board, max 14dBm output power` and add our definition below that line. Like so:

@ -156,7 +156,7 @@ firmware-heltec_t114_gps:
arduino-cli compile --log --fqbn Heltec_nRF52:Heltec_nRF52:HT-n5262 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x3C\" \"-DBOARD_VARIANT=0xCB\""
# Added board from Mees Electronics
firmware-waveshare-esp32-s3-pico: check_bt_buffers
firmware-waveshare-esp32-s3-pico:
#arduino-cli compile --fqbn esp32:esp32:ttgo-lora32 $(COMMON_BUILD_FLAGS) --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x61\""
arduino-cli compile --fqbn "esp32:esp32:esp32s3:CDCOnBoot=cdc" $(COMMON_BUILD_FLAGS) --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x61\""

Loading…
Cancel
Save