blob: 64e799e2c13bbb3b454effb041334636235711d4 (
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
******************
Olimex ESP32-PRO
******************
Notes on the ESP32-PRO_ boards from olimex.
.. _ESP32-PRO:
https://www.olimex.com/Products/IoT/ESP32/ESP32-PRO/open-source-hardware
Arduino
=======
Version 1.8 of Arduino (as installed from Debian packages) is ok.
Setup
-----
* Under File → Preferences, add the espressif URL to the Additional
Boards Manager URLs field. (on 2024-09-04 that's
``https://dl.espressif.com/dl/package_esp32_index.json``).
* Under Tools → Board → Boards Manager install a suitable version of
esp32 by Espressif Systems: on 2024-10-04 version 3.0.2 worked.
.. note::
As of September 2023 there was a bug in the Espressif esp32 package for
Arduino that meant that it wasn't working with the Olimex ESP32-PRO
board, the workaround was to use Version 2.0.9 of the package; this
has been fixed at some point before version 3.0.2.
Programming
-----------
These are the settings used:
:Board: OLIMEX ESP32-EVB
:Upload Speed: 115200
:Flash Frequency: 80MHz
:Partition Scheme: Default
:Core Debug Level: None
:Erase All Flash Before Sketch Upload: Disabled
I2C
---
To use i2c on the marked pins 11 and 12 on EXT2 you need to select the
I2C port with::
Wire.setPins(32, 27);
e.g. in the ``setup()``, before starting the i2c communications.
Troubleshooting
---------------
When using the Arduino serial monitor note that you may have to send
some data before it will start receiving from the board.
Micropython
===========
Installation
------------
Download the generic firmware from
https://micropython.org/download/ESP32_GENERIC/ and follow the
installation instructions
Because of #1043168_ under debian you may need to use the ``--no-stub``
option, and use a slower speed::
$ esptool --port /dev/ttyACM0 --no-stub write_flash 0x1000 ESP32_GENERIC-20251209-v1.27.0.bin
.. _1043168: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043168
Documentation for micropython on the ESP32 is at
https://docs.micropython.org/en/latest/esp32/quickref.html .
See also
--------
* `<https://www.olimex.com/forum/index.php?topic=9242.0>`_
..
vim: set filetype=rst:
|