|
|
1 nedēļu atpakaļ | |
|---|---|---|
| .vscode | 1 nedēļu atpakaļ | |
| lib | 1 nedēļu atpakaļ | |
| src | 1 nedēļu atpakaļ | |
| tools | 1 nedēļu atpakaļ | |
| README.md | 1 nedēļu atpakaļ | |
| platformio.ini | 1 nedēļu atpakaļ |
PlatformIO project (ATmega328P, 8 MHz, Arduino core) that re-implements the behaviour of the original V10 image.
The registry toolchain toolchain-atmelavr@1.70300.191015 is an x86_64 build and does not run on
Apple Silicon without Rosetta. platformio.ini therefore points toolchain-atmelavr at
tools/toolchain-native, which symlinks /opt/homebrew/bin/avr-* (avr-gcc 9.5, avr-libc 2.1.0).
On an Intel or Rosetta host replace that line with toolchain-atmelavr@1.70300.191015.
The framework is pinned to framework-arduino-avr@5.4.0 (Arduino core 1.8.8); the original used an
older core, which phase 0 still has to compare in simulation.
Project code uses the meCoffee C++ namespace, meCoffee_ library names, and
MECOFFEE_ macros and environment variables. These names stay independent of firmware
versions. The original-image simulator remains tools/sim/v10sim.py; its image override
is MECOFFEE_FLASH.
Identifiers are complete descriptive words. Persisted and on-the-wire names (tmpsp, pd1p, the
COMPAT_V10 build flag, oracle IDs in test names) are compatibility contracts and are kept; the
internal members that hold them have descriptive names (for example brewSetpoint).