-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Closed
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
e8fd4e5
Add Nano32
c9c3e78
Change upload.maximum_data_size to 294912
7eee62e
Update README.md
me-no-dev 6243347
include math.h by default
me-no-dev 3a7ce7e
fix F macro
me-no-dev 9c6fdfa
comment out __FlashStringHelper methods in Print
me-no-dev 6ddf4b6
Print::printf should allocate it's buffer
me-no-dev d9271d4
add more definitions to pgmspace.h to match ESP8266
me-no-dev 08fb11f
Remove non-working WiFi examples and fix some that require changes
me-no-dev 7f39802
fix i2c hal
me-no-dev 8bfca04
I2C SDA should properly register the ACK bit from some slaves
me-no-dev a4f3600
prevent some devices from locking the SCL line
me-no-dev df46317
Prevent I2C Bus locks and wrong data being sent on retry
me-no-dev afcff1b
use local buffer for printf if size is equal or less than 64
me-no-dev 2f512bc
Do not delete printf buffer if not required
me-no-dev ae2a984
fix Serial RX
me-no-dev 89a3e09
attach uart isr on the current core
me-no-dev 9b01daa
copy va_list in Print::printf
me-no-dev d5a59e1
fix GPIO attachInterrupt
me-no-dev 74aeafb
really fix attachInterrupt to work on either core
me-no-dev 713ff09
implement thread-safe i2c
me-no-dev cff7f69
return proper errors
me-no-dev 13af2c7
implement thread-safe spi
me-no-dev 9d5881a
UART rework
me-no-dev 5cd933e
Implement thread-safe uart
me-no-dev c36a891
remove unnecessary locks
me-no-dev c4cd31d
remove unnecessary locks
me-no-dev a2e3506
fix reported data size and percentage
me-no-dev 74197b1
do not lock for ets_printf
me-no-dev f0c99ef
Ignore certificates on windows
whatnick b366e84
ignore ssl only on windows
me-no-dev 5f1a818
First addition of ESP320 support (#19)
Sweet-Peas 6bfaa52
Add Nano32
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#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 16 | ||
#define NUM_DIGITAL_PINS 38 | ||
#define NUM_ANALOG_INPUTS 18 | ||
|
||
#define analogInputToDigitalPin(p) | ||
#define digitalPinToInterrupt(p) | ||
#define digitalPinHasPWM(p) | ||
|
||
#define LED_BUILTIN 16 | ||
|
||
static const uint8_t SDA = 21; | ||
static const uint8_t SCL = 22; | ||
|
||
static const uint8_t SS = 2; | ||
static const uint8_t MOSI = 23; | ||
static const uint8_t MISO = 19; | ||
static const uint8_t SCK = 18; | ||
|
||
#endif /* Pins_Arduino_h */ |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please change upload.maximum_data_size to 294912
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed.
Thank you 👍