Commit Graph
2175 Commits
Author SHA1 Message Date
samveen 93e409ba38 [tusb]fix typo in comment 2019-12-16 22:41:15 +05:30
Limor "Ladyada" Fried 32f3b29c62 Merge pull request #376 from henrygab/TravisAllWarnings
Improve Travis Builds (inc. additional warnings)
2019-11-08 11:57:43 -05:00
hathach 3606bbf125 Merge pull request #385 from henrygab/patch-3
Fix #382: [-Wsign-compare]
2019-11-08 22:28:42 +07:00
hathach d6f41d4b19 Merge pull request #384 from henrygab/patch-2
Fix #379 [-Wsign-compare]
2019-11-08 22:26:10 +07:00
hathach b1b3447a84 Merge pull request #386 from henrygab/patch-4
Fix #380 [-Wunused-variable]
2019-11-08 22:24:56 +07:00
hathach 967a9f0fa3 Merge pull request #383 from henrygab/patch-1
Fix #378: [-Wunused-variable]
2019-11-08 22:23:56 +07:00
Henry Gabryjelski 8e3c1cb13c Fix #380 [-Wunused-variable] 2019-11-08 01:13:39 -08:00
Henry Gabryjelski e77217c5bf Fix #382: [-Wsign-compare]
comparison between signed and unsigned integer expressions

Use uint32_t to store timestamp instead of int32_t.
Adjust comparison to use timestamp as a zero-basis.

This also avoids a bugs where a record that is added just before millis() overflows would never be removed from the list.
2019-11-08 01:12:26 -08:00
Henry Gabryjelski a5305b27b2 Fix #379 [-Wsign-compare]
comparison between signed and unsigned integer expressions
Fixed by using unsigned integers and adjusting check for
first index.
2019-11-08 00:48:46 -08:00
Henry Gabryjelski 404faa9585 Fix #378: [-Wunused-variable] 2019-11-08 00:44:51 -08:00
Henry Gabryjelski a441f0ecec Reduce impact of firewall rules
This modification reduces the IPTABLES rules to the minimum needed.
Specifically, it does NOT create default rules, or edit any existing rules.
Instead, it only adds rules to drop mDNS at 5353/udp, and to drop all
incoming traffic that's addressed to the mDNS multicast IP address.
2019-11-07 17:03:29 -08:00
Henry Gabryjelski 157ac15834 Ensure print current sketch output only.
When skipping a sketch, would previously show the build output
from the prior sketch.  This may also have caused a build error
if the first sketch was skipped (unverified).
2019-11-05 11:36:21 -08:00
Henry Gabryjelski 6031e4f2cc Reduce build log output and add "/Wall" build jobs.
Workaround for Arduino mDNS output noise using IPTABLES.
    See https://forum.arduino.cc/index.php?topic=469428.0
    See https://github.com/per1234/arduino-ci-script/issues/1
    Arduino IDE adds a lot of noise caused by network traffic (mDNS?),
    because it's listening for network-attached devices.
    Firewall it in the TravisCI environment to cleanup logs.

Allow jobs with all warnings enabled to fail.
    This enables the build to occur, and review of warnings,
    without requiring these builds to be clean of warnings.
    Also, only outputs the error logs (not full build logs)
    for these build options.  This is a critical step
    towards getting to 100% warning-free builds, without
    interrupting current processes.
2019-11-05 11:36:21 -08:00
hathach 3a54ca3e7d Update issue templates 2019-11-05 16:34:41 +07:00
hathach 229997ec6d Merge pull request #373 from henrygab/TravisBuildMatrix
Split TravisCI build into one job per variant
2019-11-05 12:09:55 +07:00
hathach 28e9a12126 Merge pull request #370 from henrygab/AddSystemViewInterruptLogging
Record ISR entry/exit for `AttachInterrupt()`
2019-11-05 09:36:31 +07:00
Henry Gabryjelski 0417d8e3e1 Split TravisCI build into one job per variant
This change allows TravisCI integration for forks on
free accounts.  Those would otherwise fail, due to a
hard-coded and non-configurable 50 minute job limt
imposed by TravisCI.

This will also help avoid the 120 minute job limit
that applies to non-free accounts, which the current
builds are quickly approaching....
2019-11-04 12:07:53 -08:00
Henry Gabryjelski bc042c0c34 Record ISR entry/exit, when added via AttachInterrupt().
This only affects debug level 3 (Segger SysView) builds.
2019-11-04 09:20:44 -08:00
hathach dc8b43f2b7 increase version for release, update changelog 2019-10-30 16:02:26 +07:00
ladyada 8ac887ed01 make min/max templates @hathach 2019-10-30 02:43:03 -04:00
ladyada 62e113f6e4 add power switch pin 2019-10-24 22:59:49 -04:00
hathach be185947a2 update readme 2019-10-21 11:53:24 +07:00
hathach 76250429ac update changelog and version, ready to release 2019-10-21 11:51:12 +07:00
hathach e27856c7ab Merge pull request #362 from adafruit/2nd-i2c
add second hardware i2c as Wire1 for cplayground bluefruit
2019-10-21 11:48:23 +07:00
hathach d901f66493 Merge pull request #363 from adafruit/itsynrf52840
Itsy nrf52840 definition
2019-10-21 11:32:20 +07:00
hathach 80025fed57 added binary bootloader for itsy 2019-10-21 11:28:12 +07:00
ladyada 4c19f067c7 fix variantdef 2019-10-21 00:04:44 -04:00
hathach e43abed51c add i2c master scan 2019-10-21 10:35:12 +07:00
ladyada c6304787b9 no separate blue LED 2019-10-19 14:48:58 -04:00
ladyada b2f9e50ad4 bootloader, @hathach maybe you can replace this with the right package from bootloader? 2019-10-19 14:40:49 -04:00
ladyada e512be2740 rev B pinout 2019-10-19 14:24:17 -04:00
ladyada e8c27ee1b9 Merge branch 'master' into itsynrf52840 2019-10-19 14:02:33 -04:00
Limor "Ladyada" Fried a1259bb0fc Merge pull request #361 from adafruit/spi-highdrive
use high drive H0H1 for SCK and MOSI for better performance at highseed 32Mhz
2019-10-19 13:33:32 -04:00
hathach 74b2463953 add second hardware i2c as Wire1 for cplayground bluefruit 2019-10-18 16:09:21 +07:00
hathach d61c88ae5f Merge pull request #358 from adafruit/develop
clean up
2019-10-18 14:30:19 +07:00
hathach 719e154f0a Merge branch 'master' into develop 2019-10-18 12:09:37 +07:00
hathach bdb2c82714 use high drive H0H1 for SCK and MOSI for better performance at highspeed 32Mhz 2019-10-18 12:03:42 +07:00
hathach 64d8bcbc61 Merge pull request #360 from adafruit/spi-dma
use SPIM3 for nrf52840 with maximum speed at 32 Mhz
2019-10-18 10:42:35 +07:00
hathach 4d26a6f019 clean up warnings 2019-10-18 00:02:56 +07:00
hathach ecd000158c clean up warnings 2019-10-17 23:45:25 +07:00
hathach 93c6a97f9d clean up 2019-10-17 22:20:10 +07:00
hathach 470628d6c6 clean up spi 832 2019-10-17 21:37:40 +07:00
hathach 9eee868573 add transfer(tx_buf, rx_buf, count) for 832 2019-10-17 21:31:22 +07:00
hathach 52039945ee use legacy SPI for 832, SPIM for 840 due to 832's silicon errata 2019-10-17 16:49:53 +07:00
hathach 6b61e9ad40 use SPIM3 & SPIM2 for SPI, I2C will use SPIM0/SPIM1 2019-10-17 12:24:26 +07:00
hathach d340ce999e update example to use new define, fix build error 2019-10-17 10:30:34 +07:00
ladyada 061e85b04b fix servo to work on our boards 2019-10-16 23:19:20 -04:00
hathach a4d4b1e1d8 defines clean up
- remove ARDUINO_FEATHER52
- remove ARDUINO_NRF52_FEATHER (use either ARDUINO_NRF52832_FEATHER or
ARDUINO_NRF52840_FEATHER)
- ARDUINO_NRF52840_CIRCUITPLAY defined for circuit playground bluefruit
2019-10-17 09:48:31 +07:00
hathach 0fa5b8abca fix nrf52832 build error
need more testing with 832, since it failed with SD.begin()
2019-10-16 23:27:30 +07:00
hathach f1e9877408 change I2C to use NRF_TWIM0/SPIM0 instead of NRF_TWIM1/SPIM1 for simplicity 2019-10-16 22:47:00 +07:00