File tree Expand file tree Collapse file tree 3 files changed +9899
-0
lines changed
Expand file tree Collapse file tree 3 files changed +9899
-0
lines changed Original file line number Diff line number Diff line change 1+ # How to compile uLisp
2+
3+ uLisp for PicoCalc use [ arduino ide] ( https://www.arduino.cc/en/software ) to develop.
4+
5+ ## Install arduino-pico
6+
7+ Open up the Arduino IDE and go to File->Preferences.
8+
9+ In the dialog that pops up, enter the following URL in the "Additional Boards Manager URLs" field:
10+
11+ https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
12+
13+ ![ image] ( https://user-images.githubusercontent.com/11875/111917251-3c57f400-8a3c-11eb-8120-810a8328ab3f.png )
14+
15+ Hit OK to close the dialog.
16+
17+ Go to Tools->Boards->Board Manager in the IDE
18+
19+ Type "pico" in the search box and select "Add":
20+
21+ ![ image] ( https://user-images.githubusercontent.com/11875/111917223-12063680-8a3c-11eb-8884-4f32b8f0feb1.png )
22+
23+
24+ Original document reference: https://github.com/earlephilhower/arduino-pico/blob/master/README.md
25+
26+ ## Patch code
27+ ```
28+ git clone https://github.com/technoblogy/ulisp-arm.git
29+
30+ cd uLisp-arm
31+
32+ git reset --hard 97e61151dfb236311089abd3e89029e367613f70
33+
34+ git apply uLisp.patch
35+ ```
36+
37+ Install ** TFT_eSPI 2.5.34** in arduino ide and patch it
38+
39+ ```
40+ cp patches/Setup60_RP2040_ILI9488.h ~/Arduino/libraries/TFT_eSPI/User_Setups/Setup60_RP2040_ILI9488.h
41+ ```
42+
43+ Add a new include
44+ ```
45+ #include <User_Setups/Setup60_RP2040_ILI9488.h>
46+ ```
47+ and comment out
48+ ```
49+ #include <User_Setup.h>
50+ ```
51+ in ` ~/Arduino/libraries/TFT_eSPI/User_Setup_Select.h `
52+
53+ ## Compile and upload
54+
55+ In arduino ide ,config board and other arguments
56+
57+ Put pico in BOOTSEL mode by pressing BOOTSEL key and power on it
58+
59+ Hit the upload button in arduino ide
60+
61+ Here is the screenshot for reference:
62+
63+ ![ ulisp arduino] ( https://github.com/clockworkpi/PicoCalc/blob/master/wiki/arduino_uLisp_compile.png )
64+
65+
66+
67+
68+
You can’t perform that action at this time.
0 commit comments