blob: d1cc8d6cf933df2c262c019f1160e0f79fde9afb (
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
45
46
47
48
49
50
51
52
53
|
[platformio]
src_dir = src
default_envs = robot
[env:robot]
platform = espressif32@^6.4.0
board = esp32-s3-devkitc-1
framework = arduino
extra_scripts = pre:link_prebuilt.py
monitor_speed = 115200
board_build.partitions = partitions.csv
; Compile opmodes/ alongside src/ — students only ever open opmodes/
build_src_filter = +<**/*> +<../opmodes/**/*>
; FreeRTOS at 1000Hz ticks — gives 1ms resolution for vTaskDelayUntil
build_unflags = -std=gnu++11 -std=c++11
build_flags =
-DNRL_TEAM_NUMBER=205
-DNRL_WIFI_CHANNEL=1
"-DNRL_TEAM_NAME=\"Pixel Pokers\""
-DCONFIG_FREERTOS_HZ=1000
-DCORE_DEBUG_LEVEL=3
-std=gnu++17
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
; NOTE: no licence-related build flag belongs in this file, and none is read
; from it. This file is copied verbatim into every generated student project and
; ships in the public kit, so treat everything in it as public.
;
; Licence behaviour is fixed at kit-build time by the keys compiled into
; libHexaNRL_static.a -- it is not configurable from here, and adding a flag
; would not change it.
lib_deps =
Preferences
adafruit/Adafruit NeoPixel
adafruit/Adafruit LSM6DS
adafruit/Adafruit Unified Sensor
; RobotFirmware/lib = runner, comms, gamepad, NRL umbrella, RobotConfig
; Root lib/Hexa* = hardware drivers (HexaServos, HexaOLED, HexaIMU, HexaHAL,
; HexaLED, HexaPower)
lib_extra_dirs =
lib
../lib/HexaServos
../lib/HexaOLED
../lib/HexaIMU
../lib/HexaHAL
../lib/HexaLED
../lib/HexaPower
|