8000 Add Nano32 development board by nazt · Pull Request #8 · espressif/arduino-esp32 · GitHub
[go: up one dir, main page]

Skip to content

Add Nano32 development board #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 33 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
e8fd4e5
Add Nano32
Oct 7, 2016
c9c3e78
Change upload.maximum_data_size to 294912
Oct 18, 2016
7eee62e
Update README.md
me-no-dev Oct 7, 2016
6243347
include math.h by default
me-no-dev Oct 7, 2016
3a7ce7e
fix F macro
me-no-dev Oct 7, 2016
9c6fdfa
comment out __FlashStringHelper methods in Print
me-no-dev Oct 7, 2016
6ddf4b6
Print::printf should allocate it's buffer
me-no-dev Oct 7, 2016
d9271d4
add more definitions to pgmspace.h to match ESP8266
me-no-dev Oct 7, 2016
08fb11f
Remove non-working WiFi examples and fix some that require changes
me-no-dev Oct 8, 2016
7f39802
fix i2c hal
me-no-dev Oct 8, 2016
8bfca04
I2C SDA should properly register the ACK bit from some slaves
me-no-dev Oct 10, 2016
a4f3600
prevent some devices from locking the SCL line
me-no-dev Oct 10, 2016
df46317
Prevent I2C Bus locks and wrong data being sent on retry
me-no-dev Oct 10, 2016
afcff1b
use local buffer for printf if size is equal or less than 64
me-no-dev Oct 10, 2016
2f512bc
Do not delete printf buffer if not required
me-no-dev Oct 10, 2016
ae2a984
fix Serial RX
me-no-dev Oct 11, 2016
89a3e09
attach uart isr on the current core
me-no-dev Oct 11, 2016
9b01daa
copy va_list in Print::printf
me-no-dev Oct 11, 2016
d5a59e1
fix GPIO attachInterrupt
me-no-dev Oct 11, 2016
74aeafb
really fix attachInterrupt to work on either core
me-no-dev Oct 11, 2016
713ff09
implement thread-safe i2c
me-no-dev Oct 11, 2016
cff7f69
return proper errors
me-no-dev Oct 11, 2016
13af2c7
implement thread-safe spi
me-no-dev Oct 11, 2016
9d5881a
UART rework
me-no-dev Oct 14, 2016
5cd933e
Implement thread-safe uart
me-no-dev Oct 14, 2016
c36a891
remove unnecessary locks
me-no-dev Oct 14, 2016
c4cd31d
remove unnecessary locks
me-no-dev Oct 14, 2016
a2e3506
fix reported data size and percentage
me-no-dev Oct 17, 2016
74197b1
do not lock for ets_printf
me-no-dev Oct 17, 2016
f0c99ef
Ignore certificates on windows
whatnick Oct 17, 2016
b366e84
ignore ssl only on windows
me-no-dev Oct 17, 2016
5f1a818
First addition of ESP320 support (#19)
Sweet-Peas Oct 17, 2016
6bfaa52
Add Nano32
Oct 7, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
First addition of ESP320 support (#19)
* First addition of ESP320 support

* Updated maximum data size.
  • Loading branch information
Sweet-Peas authored and Nat committed Oct 18, 2016
commit 5f1a818666e445817a531f5311fbe9c45bf1263a
8000
41 changes: 41 additions & 0 deletions boards.txt
EC94
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ esp32.menu.UploadSpeed.460800.upload.speed=460800
esp32.menu.UploadSpeed.512000.windows=512000
esp32.menu.UploadSpeed.512000.upload.speed=512000

<<<<<<< b366e843a1604bc8afbef1b147f21231ef2bceee

##############################################################
nano32.name=Nano32
Expand Down Expand Up @@ -81,3 +82,43 @@ nano32.menu.UploadSpeed.460800.macosx=460800
nano32.menu.UploadSpeed.460800.upload.speed=460800
nano32.menu.UploadSpeed.512000.windows=512000
nano32.menu.UploadSpeed.512000.upload.speed=512000

##############################################################
esp320.name=Electronic SweetPeas - ESP320

esp320.upload.tool=esptool
esp320.upload.maximum_size=1044464
esp320.upload.maximum_data_size=294912
esp320.upload.wait_for_upload_port=true

esp320.serial.disableDTR=true
esp320.serial.disableRTS=true

esp320.build.mcu=esp32
esp320.build.core=esp32
esp320.build.variant=esp320
esp320.build.board=ESP320

esp320.build.f_cpu=160000000L
esp320.build.flash_mode=qio
esp320.build.flash_size=4MB

esp320.menu.FlashFreq.80=80MHz
esp320.menu.FlashFreq.80.build.flash_freq=80m
esp320.menu.FlashFreq.40=40MHz
esp320.menu.FlashFreq.40.build.flash_freq=40m

esp320.menu.UploadSpeed.921600=921600
esp320.menu.UploadSpeed.921600.upload.speed=921600
esp320.menu.UploadSpeed.115200=115200
esp320.menu.UploadSpeed.115200.upload.speed=115200
esp320.menu.UploadSpeed.256000.windows=256000
esp320.menu.UploadSpeed.256000.upload.speed=256000
esp320.menu.UploadSpeed.230400.windows.upload.speed=256000
esp320.menu.UploadSpeed.230400=230400
esp320.menu.UploadSpeed.230400.upload.speed=230400
esp320.menu.UploadSpeed.460800.linux=460800
esp320.menu.UploadSpeed.460800.macosx=460800
esp320.menu.UploadSpeed.460800.upload.speed=460800
esp320.menu.UploadSpeed.512000.windows=512000
esp320.menu.UploadSpeed.512000.upload.speed=512000
33 changes: 33 additions & 0 deletions variants/esp320/pins_arduino.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#ifndef Pins_Arduino_h
#define Pins_Arduino_h


#define digitalPinToPort(pin) (0)
#define digitalPinToBitMask(pin) (1UL << (pin))
#define digitalPinToTimer(pin) (0)
#define portOutputRegister(port)
#define portInputRegister(port)
#define portModeRegister(port)

#define NOT_A_PIN -1
#define NOT_A_PORT -1
#define NOT_AN_INTERRUPT -1
#define NOT_ON_TIMER 0

#define EXTERNAL_NUM_INTERRUPTS 11
#define NUM_DIGITAL_PINS 12
#define NUM_ANALOG_INPUTS 5

#define analogInputToDigitalPin(p)
#define digitalPinToInterrupt(p)
#define digitalPinHasPWM(p)

static const uint8_t SDA = 2;
static const uint8_t SCL = 14;

static const uint8_t SS = 15;
static const uint8_t MOSI = 13;
static const uint8_t MISO = 12;
static const uint8_t SCK = 14;

#endif /* Pins_Arduino_h */
0