1
- # ESP32 Arduino Lib Builder [ ![ Build Status ] ( https://travis-ci.org /espressif/esp32-arduino-lib-builder. svg?branch=master )] ( https://travis-ci.org /espressif/esp32-arduino-lib-builder )
1
+ # ESP32 Arduino Lib Builder [ ![ ESP32 Arduino Libs CI ] ( https://github.com /espressif/esp32-arduino-lib-builder/actions/workflows/push.yml/badge. svg )] ( https://github.com /espressif/esp32-arduino-lib-builder/actions/workflows/push.yml )
2
2
3
3
This repository contains the scripts that produce the libraries included with esp32-arduino.
4
4
@@ -11,4 +11,48 @@ sudo pip install --upgrade pip
11
11
git clone https://github.com/espressif/esp32-arduino-lib-builder
12
12
cd esp32-arduino-lib-builder
13
13
./build.sh
14
+
15
+ # ## Build for Bluepad32
16
+
17
+ Copy Bluepad32 componetns.
18
+
19
+ ` ` ` sh
20
+ cd components
21
+ cp -r ~ /esp-idf-arduino-bluepad32-template/components/* .
22
+ ` ` `
23
+
24
+ Build it
25
+
26
+ ` ` ` sh
27
+ # All targets. esp32-s2 already removed from the supported boards
28
+ ./build.sh -s
29
+ ` ` `
30
+
31
+ Update:
32
+
33
+ ` ` ` sh
34
+ # Already patched to copy to ~/Arduino/hardware/retro.moe/esp32-bluepad32
35
+ . ./tools/copy-to-arduino.sh
36
+ ` ` `
37
+
38
+ # ### When ESP32 releases a new version
39
+
40
+ 1. Download the .zip
41
+ 2. Unzip it in ~ /Arduino/hardware/retro.moe/...
42
+ 3. rename it to esp32-bluepad32
43
+ 4. create ` package` folder: ` mkdir esp32-bluepad32/package`
44
+
45
+ And repeat previous steps.
46
+
47
+ # ## Release
48
+
49
+ 1. Copy ` bluepad32_files/boards.txt` and ` bluepad32_files/platform.txt` to ` ~/Arduino/hardware/retro.moe/esp32-bluepad32`
50
+ 2. Copy ` bluepad32_files/libraries/` to ` ~/Arduino/hardware/retro.moe/esp32-bluepad32/libraries/`
51
+ 3. Upload .zip to https://github.com/ricardoquesada/esp32-arduino-lib-builder
52
+ 4. Update ` bluepad32_files/package_esp32_bluepad32_index.json` accordingly
53
+
54
+
55
+ ` ` ` sh
56
+ cp bluepad32_files/boards.txt bluepad32_files/platform.txt ~ /Arduino/hardware/retro.moe/esp32-bluepad32
57
+ cp -r bluepad32_files/libraries/* ~ /Arduino/hardware/retro.moe/esp32-bluepad32/libraries/
14
58
` ` `
0 commit comments