microcontroller
Here are 1,181 public repositories matching this topic...
There are a few flags that currently don't have proper error checking. The ones I found are -gc
, -scheduler
and -size
. Using the wrong value will lead to no or unexpected errors.
I think the best way to handle it is to add a new method to compileopts.Config
that checks whether there are any faulty flags, which is then called from the main function.
-
Updated
May 16, 2020 - C++
Solutions
1. Convert INO files to CPP
2. Manual prototype declaration
#ifdef DO_NOT_USE
typedef int32_t delaytype;
void thisShouldNotAppearInTheBinary(delaytype timer); // aded manually
void thisShouldNotAppearInTheBinary(delaytype timer) {
delay(timer);
}
#endif
-
Updated
May 16, 2020 - C
Is your enhancement proposal related to a problem? Please describe.
Bluetooth controller implementation uses magic numbers 625 and 1250 for the advertising interval and connection interval units.
Describe the solution you'd like
Use defines for the values 625 and 1250
Describe alternatives you've considered
None
Additional context
Refer to comments in https://github.co
The ADC driver for the nRF52 chip only supports single samples. The continuous sampling function needs to be implemented:
Hey olikraus!
I poked around a bit and couldn't find any information (other than a few references in Github issues), but this library does in fact work with the SSD1315 by just using the SSD1306 constructor.
I confirmed it with a Seeed Studio SSD1315 display, and they even reference this library it in their examples: https://github.com/Seeed-Studio/Seeed_Learning_Space/tree/master/Grove%20-%
Thanks for the interesting project!
I came here looking for a filesystem that I could use in my MCU.
This project seemed to be what I was looking for. Note that I use a SDHC card for datastorage.
Only after integrating littlefs in my code and experimenting I learned that the project is not a good fit because:
- littlefs is probably not design for large files (per some bug reports, e.g. #188
-
Updated
May 16, 2020 - C
I'll get this added to the documentation shortly, but in the meantime here is a list of some relevant issues and comments which I'll use for it:
SmingHub/Sming#1992 (comment)
SmingHub/Sming#1724 (comment)
#2002
optimization notes
- reshape function should optimize for inference dimension of output
- quantizev2 function dimension inference should be optimized
there are just work around for now
-
Updated
May 4, 2020 - Makefile
We should really have a page (in extras, with the other docs like this) that lists popular libraries that are known to work or not work with these parts (and in the latter case, alternatives if any, and information on any plans by myself or others to work over said libraries). Also needs some info on what a library compatibility issue will look like in the error output.
This is a great issue fo
Auto-generated files
.vscode/c_cpp_properties.json
.vscode/launch.json
contains absolute path, for example:
"configurations": [
{
"type": "platformio-debug",
"request": "launch",
"name": "PIO Debug",
**"executable": "/Users/username/Projects/projname/.pio/build/esp32dev/firmware.elf",
"toolchainBinDir": "/Users/u
[Enter steps to reproduce:]
- ...
- ...
Atom: 1.38.2 x64
Electron: 2.0.18
OS: "Manjaro Linux"
Thrown From: platformio-ide package 2.3.1
Stack Trace
Uncaught Error: ENOENT: no such file or directory, lstat '/home/sgh/.atom/init.coffee'
At fs.js:1661
Error: ENOENT: no such file or directory, lstat
Implement some test cases for standard strpbrk()
-
Updated
May 14, 2020
When adding a comment to the app macro as such:
/// Some text <- this causes the error
#[app(device = stm32f4xx_hal::stm32, peripherals = true)]
const APP: () = {
#[init]
fn init(cx: init::Context) {}
};
Gives the error:
error: expected `const`
error: aborting due to previous error
Hi,
it would be helpful to also have the HID functionality documented. There is some information in the forum but it should be in the documentation (as well).
Thanks and br
Patrick
Target: Nucleo L073RZ
OS: MacOS 10.14.5
Mbed OS: 5.13.1
Binary: mbed-os-blinky (built with GCC or AC6)
Flashing the above target using a specified CMSIS pack sometimes works, but more often claims No cores were discovered!
.
Using the pack from here
./pyocd flash --frequency 1800000 --uid 066DFF5556547251870951
-
Updated
May 6, 2020 - C++
-
Updated
May 11, 2020 - C
-
Updated
May 6, 2020 - C++
I'm trying to code up an spi-read function. I guess it needs to be implemented using the spi-send function but there is no documentation on how the function works. Also I would like to know how to set the spi speed correctly for the spi-init function.
If you can either provide me with an spi-read function or point me at some documentation so I can code one myself I would appreciate it.
-
Updated
May 11, 2020 - C++
It looks like the documentation instructs users to create something called a "Virtual manifest" by omitting the [package]
directive at https://docs.rs/svd2rust/0.16.1/svd2rust/#target--cortex-m-1
[dependencies]
bare-metal = "0.1.0"
msp430 = "0.1.0"
vcell = "0.1.0"
[dependencies.msp430-rt]
optional = true
version = "0.1.0"
[features]
rt = ["msp430-rt"]
However, whe
uint16_t readChannel(Channel channel)
According to docs.modm.io
typedef uint8_t Channel
// this type may also be an enum or enum class
the call readChannel(1)
should be legal, but: error: cannot convert 'int' to 'modm::platform::Adc1::Channel'
.
We should up
Improve this page
Add a description, image, and links to the microcontroller topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the microcontroller topic, visit your repo's landing page and select "manage topics."
The code example in the docs fails with a surprising traceback.
Outcome: