aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/machine/machine_stm32l0.go
AgeCommit message (Collapse)Author
2024-08-12GNUmakefile: add spellfix target, use it. (#4387)dkegel-fastly
TODO: Remove the go.mod/go.sum in internal/tools once doing so doesn't break CI (e.g. once we drop support for go 1.19) * builder/cc1as.h: fix typo found by 'make spell' * GNUmakefile: remove exception for inbetween, fix instance now found by 'make spell' * GNUmakefile: remove exception for programmmer, fix instance now found by 'make spell' * go.mod: use updated misspell. GNUmakefile: add spellfix target, use it. * ignore directories properly when invoking spellchecker. * make spell: give internal/tools its own go.mod, as misspell requires newer go * make lint: depend on tools and run the installed revive (which was perhaps implied by the change that added revive to internal/tools, but not required in GNUmakefile until we gave internal/tools its own temporary go.mod) * .github: now that 'make spell' works well, run it from CI * GNUmakefile: make spell now aborts if it finds misspelt words, so what it finds doesn't get lost in CI logs * GNUmakefile: tools: avoid -C option on go generate to make test-llvm15-go119 circleci job happy, see https://cs.opensource.google/go/go/+/2af48cbb7d85e5fdc635e75b99f949010c607786 * internal/tools/go.mod: fix format of go version to leave out patchlevel, else go complains.
2024-05-08machine/stm32: add i2c Frequency and SetBaudRate() function for boards that ↵deadprogram
were missing implementation Signed-off-by: deadprogram <[email protected]>
2023-10-27machine/stm32: implement DeviceID() with unique ID per processordeadprogram
Signed-off-by: deadprogram <[email protected]>
2022-12-19build: drop deprecated build tagsYurii Soldak
2022-02-28Revert "all: move stm32 files to separate repository"sago35
This reverts commit 644356c220ed88f110d01300f671a170cd36eb04.
2022-02-18all: move stm32 files to separate repositoryAyke van Laethem
2021-12-15machine/stm32f4, stm32f7, stm32l4: implement TRNG for randomnessdeadprogram
Signed-off-by: deadprogram <[email protected]>
2021-06-11stm32: support pin input interruptsKenneth Bell
2021-05-28stm32l0: add pwmKenneth Bell
2021-05-13machine: make UART objects pointer receiversAyke van Laethem
This means that machine.UART0, machine.UART1, etc are of type *machine.UART, not machine.UART. This makes them easier to pass around and avoids surprises when they are passed around by value while they should be passed around by reference. There is a small code size impact in some cases, but it is relatively minor.
2021-04-21stm32: support SPI on L4 seriesKenneth Bell
2021-04-07stm32: add nucleo-l031k6 supportKenneth Bell
Adds i2c for all L0 series UART, Blinky (LED) and i2c tested
2021-03-23lgt92: update to new UART structureKenneth Bell
2021-03-18stm32l0: use unified UART logicKenneth Bell
2021-01-09stm32: use stm32-rs SVDs which are of much higher qualityAyke van Laethem
This commit changes the number of wait states for the stm32f103 chip to 2 instead of 4. This gets it back in line with the datasheet, but it also has the side effect of breaking I2C. Therefore, another (seemingly unrelated) change is needed: the i2cTimeout constant must be increased to a higher value to adjust to the lower flash wait states - presumably because the lower number of wait states allows the chip to run code faster.
2021-01-08Support for STM32L0 MCUs and Dragino LGT92 device (#1561)Fauchon
machine/stm32l0: add support for stm32l0 family and Dragino LGT92 Board