Skip to content
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

Update from arduino #20

Open
wants to merge 1,409 commits into
base: master
Choose a base branch
from
Open

Update from arduino #20

wants to merge 1,409 commits into from

Conversation

tbowmo
Copy link
Collaborator

@tbowmo tbowmo commented Jul 5, 2023

Do not merge! Just a test!

facchinm and others added 30 commits September 20, 2019 11:34
Signed-off-by: Nico Maas <[email protected]>
Updated faulty gcc path in bootloader makefile
Adapted the MCU table description with  to the actual pinout
Modified the nano 33 Iot variant
Added SDA and SCL variables in variant.h of samd boards

This resolve: arduino/ArduinoCore-samd#473
added define for PMIC_IRQ pin where needed
Added I2S definitions for NANO 33 IoT
fix example to support nano_33_iot
Fix SD SPI1 description on MKRZERO's variat

fix: arduino/ArduinoCore-samd#500
Fix comment on sd SPI MKRZERO
This regex would only look at the .text section, but the .data section
(initialization values for global variables) also takes up space in
flash.

The regex is changed to match both sections. arduino-builder will then
add together the values and show the sum to the user (this summing seems to
have been supported at least since the introduction of arduino-builder,
see: arduino/arduino-builder@0802e27

The regex format is copied from the AVR core, which already did the same
(though AVR also includes a .bootloader section, which is not relevant
here it seems, any bootloader is included in .text). This also copies
the start-of-line ^ anchor to the regex, making the matching more
accurate.
This was previously omitted, causing arduino-builder to not report the
amount of RAM used. This adds the regex, based on the regex used by AVR
(omitting the .noinit section, which is not supported by the SAMD linker
scripts).
facchinm and others added 27 commits October 20, 2021 15:59
UART: restore default buffer size to 256 bytes
Platform properties may be associated with a specific programmer selection in the programmers.txt configuration file. These properties can be used in the platform.txt patterns for the actions that use the programmer:

- `program`
- `erase`
- `bootloader`

However, those properties are not expanded in the `upload` pattern, since it does not use the programmer:

https://arduino.github.io/arduino-cli/dev/platform-specification/#programmerstxt

> These properties can only be used in the recipes of the actions that use the programmer (erase, bootloader, and program).

While enhancing the ability to make programmer-specific configuration of the patterns, programmer-associated properties were introduced into `tools.openocd.upload.pattern`, which caused uploads to fail for the "Arduino Zero (Programming Port)" board:

```
Unexpected command line argument: {extra_params}
```

The upload pattern is hereby reverted to the previous working configuration, leaving the beneficial changes to the other patterns.
Remove programmer properties from openocd upload pattern
* Fix arduino/ArduinoCore-samd#661
* connected() did not return the USB connected state, but essentially a
  random value.
Add missing #define statements when compared to AVR library.
Support for readbytes with a byte/uint8_t buffer
This is usually not a problem becuase we use the arm-none-eabi-gcc compiler
thas has type `uint32_t` aliased to `unsigned long`. Anyway this is not
mandatory in general, and the compiler may choose to alias `uint32_t` with
`unsigned int` as it happens with llvm/clang.

Since we use clangd as language server on the Arduino IDE 2.0 the
Serial_ object and all the derived instances (Serial, SerialUSB, ...) are
not available in code-completion suggestions.
* Document how to add the required link to ArduinoCore-API.

Related to arduino/ArduinoCore-API#96.

* Update README.md

Co-authored-by: per1234 <[email protected]>

* Update README.md

Co-authored-by: per1234 <[email protected]>

* Update README.md

Co-authored-by: per1234 <[email protected]>

* Update README.md

Co-authored-by: per1234 <[email protected]>

Co-authored-by: per1234 <[email protected]>
I2S.cpp configures the clock without specifying what to GLCK->DIVSEL bit. This causes issues when the bit is set to 1 by other libraries such as RTCZero. Explicitly setting this value fixes the problem.
Update I2S.cpp to work with RTCZero library
Updated some names of MKR boards, see changes! @facchinm
Updated some naming of the products @facchinm
@tbowmo tbowmo marked this pull request as ready for review July 5, 2023 15:47
Thomas Bowman Mørch added 2 commits July 6, 2023 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.