aboutsummaryrefslogtreecommitdiffstats
path: root/lib/README
Commit message (Collapse)AuthorAgeFilesLines
* lib: Update to latest can2040 codeKevin O'Connor2023-10-031-1/+1
| | | | | | | | | | Add support for can2040_stop() Add data_state_go_error() helper Add new can2040_get_statistics() API function Call report_note_discarding() after setting MS_DISCARD state Convert report_is_rx_eof_pending() to report_is_not_in_tx() Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* samc21: Fix CAN RAM base addressAlex Maclean2023-07-161-1/+3
| | | | Signed-off-by: Alex Maclean <monkeh@monkeh.net>
* stm32f7: add support for stm32f7 and remram boardFrederic Morin2023-05-071-0/+5
| | | | Signed-off-by: Frederic Morin <frederic.morin.8@gmail.com>
* lib: Add Atmel SAM C21 headersWulfsta2023-05-011-0/+5
| | | | Signed-off-by: Luke Vuksta <wulfstawulfsta@gmail.com>
* lib: Update to latest can2040 codeKevin O'Connor2023-04-111-1/+1
| | | | | | | | | Avoid some gcc warnings by using uint32_t for iterators Better document the fallthough case statement in crc_bytes() Fix txpending race from report_line_ackdone() Make can2040_transmit() multi-cpu atomic Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Add support for Nation N32G45x mcus (#6116)Alexey2023-04-071-0/+4
| | | | | N32G452/G455 are mostly compatible with STM32F103 but have M4 core and different ADC. Signed-off-by: Alexey Golyshin <stas2z@gmail.com>
* ar100: Support for ar100 (#6054)Elias Bakken2023-02-201-0/+4
| | | | | Add files to support AR100 Signed-off-by: Elias Bakken <elias@iagent.no>
* lib: Add hc32f460 definitionsSteven Gotthardt2023-02-131-0/+4
| | | | Signed-off-by: Steven Gotthardt <gotthardt@gmail.com>
* lib: update lib/stm32h7 to v1.9.0 for stm32h723bigtreetech2022-12-021-1/+1
| | | | Signed-off-by: Chen.BJ from BigTreeTech chenbj@biqu3d.com
* stm32g4: add lib from stm32cubeg4 v1.4.0Matt Baker2022-12-021-0/+5
| | | | Signed-off-by: Matt Baker <baker.matt.j@gmail.com>
* lib: Update to latest can2040 codeKevin O'Connor2022-11-231-1/+1
| | | | | | | Clear PIO irq flags in pio_sm_setup() Set TXPENDING during pio_sm_setup() Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Update to latest can2040 codeKevin O'Connor2022-11-211-1/+1
| | | | | | | | | | Fix PIO "sync" register overflow check Reduce latency of tx scheduling Clear ackdone irq from report_note_eof_success() Defer ack inject until after rx fifo drained Improve passive/dominant bit conflict check on tx reschedule Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Update to latest can2040 codeKevin O'Connor2022-11-191-1/+1
| | | | | | | | | | | | Minor comment change to unstuf_pull_bits() Introduce unstuf_get_raw() helper function Move crc stuffed bit calculation to data_state_go_crc() Restore stuffed_bits state on missing ack Use a single pio_irq_set() function Reschedule tx if previous tx unexpectedly finished transmit Simplify report_state handling Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Update to latest can2040 codeKevin O'Connor2022-10-131-1/+1
| | | | | | | | | | | Fix gpio function selection for PIO1 usage. Minor variable name changes. Allow scheduling tx "matched" event after a crc match. Allow for up to 5 passive bits after unstuf_clear_state(). Pause PIO "rx" bit reception after 10 passive bits. Signal the CPU to process data every 10 read bits. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Add atmel same51 and same54 build definitionsKevin O'Connor2022-10-131-0/+10
| | | | | | | This also replaces the samd51 component files with the definitions from the same54 repository. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32l4: add stm32l412 support with adc,i2c,spi,usbMatt Baker2022-09-151-0/+5
| | | | Signed-off-by: Matt Baker <baker.matt.j@gmail.com>
* lib: Update to latest can2040 codeKevin O'Connor2022-07-161-1/+1
| | | | | | Simplify tx state tracking. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Update to the latest can2040 codeKevin O'Connor2022-07-161-1/+1
| | | | | | | | | | Rename to "match" state machine instead of "ack". Minor simplification to tx_note_crc_start(). Call pio_match_clear() from report functions. Add pio_match_calc_key() helper function. Raise irq after 6 passive eof bits for faster rx message notification. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Add can2040 codeKevin O'Connor2022-07-061-0/+4
| | | | | | | The "can2040" project implements "software canbus" support on rp2040 micro-controllers. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Update lib/README with latest canboot changesKevin O'Connor2022-06-031-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Minor CanBoot documentation fixesKevin O'Connor2022-05-101-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: add flash_can.pyEric Callahan2022-05-101-0/+6
| | | | | | | This script may be used to update Klipper firmware for CAN nodes running the CanBoot bootloader. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* lib: Add Atmel SAM E70 headersAlex Maclean2022-03-261-0/+5
| | | | Signed-off-by: Alex Maclean <monkeh@monkeh.net>
* rp2040: add make flash supportLasse Dalegaard2022-01-061-0/+5
| | | | | | | | | | | | | | | | This adds `make flash` support for the rp2040 target. Flashing is performed using a custom `rp2040_flash` tool that uses the PICOBOOT protocol. Root is not required. The user specifies the serial device of the rp2040 they wish to flash as the device. This device is reset into bootsel mode and `rp2040_flash` is invoked on the original USB device path. If the device is already in bootloader mode, the user can specify 'first' as `FLASH_DEVICE` which will simply invoke `rp2040_flash` with no bus/address options. Signed-off-by: Lasse Dalegaard <dalegaard@gmail.com>
* lib: Add cmsis libraries for stm32g0Kevin O'Connor2021-12-231-0/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Added cmsis libraries for stm32h7D4SK2021-10-061-0/+5
| | | | | Signed-off-by: Konstantin Vogel <konstantin.vogel@gmx.net> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Updated existing cmsis-core for stm32h7 supportD4SK2021-10-061-1/+1
| | | | | Signed-off-by: Konstantin Vogel <konstantin.vogel@gmx.net> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Update stm32f4 to use upstream github sourceKevin O'Connor2021-09-021-3/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Update stm32f2 to use upstream github sourceKevin O'Connor2021-09-021-3/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Update stm32f1 to use upstream github sourceKevin O'Connor2021-09-021-3/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Update stm32f0 to use upstream github sourceKevin O'Connor2021-09-021-3/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Changes to rp2040 build files to work in Klipper build systemKevin O'Connor2021-07-041-1/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Add rp2040 build filesKevin O'Connor2021-07-041-0/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: add FatFS notes to READMEArksine2021-02-051-0/+8
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* kconfiglib: Update README with info on kconfiglib modificationsKevin O'Connor2020-11-231-1/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Add kconfiglib codeKevin O'Connor2020-11-231-0/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Fix whitespace in READMEKevin O'Connor2020-08-091-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Improvements to CAN bus ID generation. And added a small fast hash ↵bondus2020-08-091-0/+4
| | | | | | | | library (#3165) Improved CAM bus ID generation, there were issues with ID collisions. Added a small fast hash library. Signed-off-by: Pontus Borg <liquidpontus@yahoo.se>
* stm32: Initial support for stm32f2 (#3001)combolek2020-06-231-0/+4
| | | | | | | Initial support for stm32f2 in general and STM32F207 in particular. Boots up and communicates on STM32F207VC. Signed-off-by: Boleslaw Ciesielski <combolek@users.noreply.github.com>
* lib: Add info on hidflash to README.mdKevin O'Connor2020-05-281-0/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32f0: Remove hal based stm32f0 implementationEug Krashtan2020-01-141-5/+0
| | | | | Signed-off-by: Eug Krashtan <eug.krashtan@gmail.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Add a copy of stm32f0 cmsis files from v1.10.0Kevin O'Connor2019-10-231-0/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: No need to make lpc176x SystemInit() externally visibleKevin O'Connor2019-09-061-3/+2
| | | | | | | Now that the lpc176x code uses the armcm_boot mechanism, it is no longer necessary for SystemInit to be externally visible. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: It is no longer necessary to modify the stm32f1 codeKevin O'Connor2019-09-061-2/+1
| | | | | | | Now that the stm32f1 code uses the armcm_boot mechanism, it is no longer necessary for SystemInit to be externally visible. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: It is no longer necessary to modify the stm32f4 codeKevin O'Connor2019-09-061-2/+1
| | | | | | | Now that the stm32f4 code uses the armcm_boot mechanism, it is no longer necessary for SystemInit to be externally visible. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Remove now unused ARM Cortex-M linker scripts and boot assemblyKevin O'Connor2019-09-061-15/+6
| | | | | | | Remove the unused files for those boards converted to use the armcm_boot mechanism. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Remove unused stm32f1 "hal" codeKevin O'Connor2019-08-051-2/+1
| | | | | | | Now that the stm32f1 code has been merged into the stm32 code, there is no longer a need to use the upstream stm32f1 "hal" code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Update stm32f4 code to support gcc -fwhole-programKevin O'Connor2019-07-251-1/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Add stm32f4 cmsis filesKevin O'Connor2019-07-251-0/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Update stm32f1 code to version 1.8.0Kevin O'Connor2019-07-211-3/+4
| | | | | | | | | Update the stm32f1 code to the latest from ST. Merge the lib/cmsis-stm32f1/ and lib/hal-stm32f1/ into a single lib/stm32f1/ directory. Document all the differences from the pristine upstream code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>