-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
42 lines (36 loc) · 984 Bytes
/
platformio.ini
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
[platformio]
default_envs = EAVR2e_ArduinoMega2560
[common]
[env]
build_unflags =
-std=gnu++11
-std=gnu++14
-Os
;-flto
build_flags =
-Ofast
#platform_packages = platformio/toolchain-atmelavr@^3.70300.220127
platform_packages = platformio/toolchain-atmelavr@file:///home/jwscoggins/sys/toolchains/avr-gcc-11.2.0
# CPU Replacement designs via EBI
# Breakdown: Exyz
# E -> Emulated Processor (always there)
# x -> Core running the emulation (AVR, ARM, RISCV, etc)
# y -> Bus Width
# 1 -> 24-bit (16 Megabyte canonical upper and lower halves)
# 2 -> 32-bit (full address space)
# z -> Bus Communication Style
# e -> EBI
# s -> SPI
# i -> i2c
# So for example: Type EAVR1e
# Emulation using an AVR Core with a 24-bit bus, communication over EBI
#
[env:EAVR2e_ArduinoMega2560]
platform = atmelavr
board = ATmega2560
framework = arduino
build_flags =
${env.build_flags}
-DI960_CPU_REPLACEMENT_CORE
-DBUS32
-DEBI_COMMUNICATION