klipper/lib
Kevin O'Connor 6cc104677e lib: Update to latest can2040 code
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>
2022-10-13 17:11:57 -04:00
..
bossac lib: Add bossac 1.9 code to lib directory 2018-08-27 08:54:43 -04:00
can2040 lib: Update to latest can2040 code 2022-10-13 17:11:57 -04:00
canboot flash_can: add usb support 2022-06-03 14:51:01 -04:00
cmsis-core lib: Updated existing cmsis-core for stm32h7 support 2021-10-06 18:17:06 -04:00
fast-hash stm32: Improvements to CAN bus ID generation. And added a small fast hash library (#3165) 2020-08-09 21:07:59 -04:00
fatfs lib: add FatFS library files 2021-02-05 19:37:56 -05:00
hidflash hidflash: Convert changes.diff to a unix style file 2020-05-28 14:52:22 -04:00
hub-ctrl
kconfiglib kconfiglib: Update README with info on kconfiglib modifications 2020-11-23 10:17:48 -05:00
lpc176x lpc176x: Use full peripheral clock speed; fix UART interface 2021-05-04 20:29:48 -04:00
pru_rpmsg
rp2040 rp2040: Add a Kconfig option for selecting "generic_03H" flash type 2022-06-20 13:03:58 -04:00
rp2040_flash rp2040: add make flash support 2022-01-06 17:32:54 -05:00
sam3x lib: Remove now unused ARM Cortex-M linker scripts and boot assembly 2019-09-06 13:49:16 -04:00
sam4e lib: Remove now unused ARM Cortex-M linker scripts and boot assembly 2019-09-06 13:49:16 -04:00
sam4s lib: Remove now unused ARM Cortex-M linker scripts and boot assembly 2019-09-06 13:49:16 -04:00
samd21/samd21a/include lib: Remove unused gcc/ directories from samd21 and samd51 directories 2022-10-13 11:27:14 -04:00
samd51/samd51a/include lib: Add atmel same51 and same54 build definitions 2022-10-13 11:27:14 -04:00
same51/include lib: Add atmel same51 and same54 build definitions 2022-10-13 11:27:14 -04:00
same54/include lib: Add atmel same51 and same54 build definitions 2022-10-13 11:27:14 -04:00
same70b lib: Add Atmel SAM E70 headers 2022-03-26 11:59:27 -04:00
stm32f0 lib: Update stm32f0 to use upstream github source 2021-09-02 18:06:33 -04:00
stm32f1 lib: Update stm32f1 to use upstream github source 2021-09-02 18:06:33 -04:00
stm32f2 stm32: Initial support for stm32f2 (#3001) 2020-06-23 10:52:15 -04:00
stm32f4 lib: Update stm32f4 to use upstream github source 2021-09-02 18:14:54 -04:00
stm32g0/include lib: Add cmsis libraries for stm32g0 2021-12-23 22:15:25 -05:00
stm32h7 lib: Added cmsis libraries for stm32h7 2021-10-06 18:17:06 -04:00
stm32l4 stm32l4: copy libs from STM32CubeL4 v1.17.0 2022-09-15 11:51:26 -04:00
.gitignore rp2040: add make flash support 2022-01-06 17:32:54 -05:00
README lib: Update to latest can2040 code 2022-10-13 17:11:57 -04:00

README

This directory contains external library code.

The cmsis directory contains code from:
  https://github.com/ARM-software/CMSIS_5
version 5.7.0 (a65b7c9a3e6502127fdb80eb288d8cbdf251a6f4). Contents
taken from the CMSIS/Core/Include/ directory.

The sam3x directory contains code from the
Atmel.SAM3X_DFP.1.0.50.atpack zip file found at:
  http://packs.download.atmel.com/
version 1.0.50 (extracted on 20180725).

The sam4e directory contains code from the
Atmel.SAM4E_DFP.1.1.57.atpack zip file found at:
  http://packs.download.atmel.com/
version 1.1.57 (extracted on 20180806). It has been modified to fix
some AFEC register RW accesses. See sam4e.patch for the modifications.

The sam4s directory contains code from the
Atmel.SAM4S_DFP.1.0.56.atpack zip file found at:
  http://packs.download.atmel.com/
version 1.0.56 (extracted on 20181220).

The samd21 directory contains code from the
Atmel.SAMD21_DFP.1.3.304.atpack zip file found at:
  http://packs.download.atmel.com/
version 1.3.304 (extracted on 20180725).

The samd51 directory contains code from the
Atmel.SAMD51_DFP.1.1.96.atpack zip file found at:
  http://packs.download.atmel.com/
version 1.1.96 (extracted on 20190110).

The same51 directory contains code from the
Atmel.SAME51_DFP.1.1.139.atpack zip file found at:
  http://packs.download.atmel.com/
version 1.1.139 (extracted on 20220929).

The same54 directory contains code from the
Atmel.SAME54_DFP.1.1.134.atpack zip file found at:
  http://packs.download.atmel.com/
version 1.1.134 (extracted on 20221005).

The same70b directory contains code from the
Atmel.SAME70_DFP.2.4.166.atpack zip file found at:
  http://packs.download.atmel.com/
version 2.4.166 (extracted on 20210809).

The lpc176x directory contains code from the mbed project:
  https://github.com/ARMmbed/mbed-os
version mbed-os-5.8.3 (c05d72c3c005fbb7e92c3994c32bda45218ae7fe).
Contents taken from the targets/TARGET_NXP/TARGET_LPC176X/ directory.
It has been modified to set the appropriate clock speeds on the
LPC1768 and LPC1769. See lpc176x.patch for the modifications.

The stm32f0 directory contains code from:
  https://github.com/STMicroelectronics/STM32CubeF0
version v1.10.1 (d0c380d668c67dcdd4e44f656be27045ce4006a6). Contents
taken from the Drivers/CMSIS/Device/ST/STM32F0xx/ directory.

The stm32f1 directory contains code from:
  https://github.com/STMicroelectronics/STM32CubeF1
version v1.8.0 (441b2cbdc25aa50437a59c4bffe22b88e78942c9). Contents
taken from the Drivers/CMSIS/Device/ST/STM32F1xx/ directory.

The stm32f2 directory contains code from:
  https://github.com/STMicroelectronics/STM32CubeF2
version v1.9.0 (42fc8bf966c04ef814bb0620dcd3e036e038b4a2). Contents
taken from the Drivers/CMSIS/Device/ST/STM32F2xx/ directory.

The stm32f4 directory contains code from:
  https://github.com/STMicroelectronics/STM32CubeF4
version v1.24.1 (b5abca20c9676b04f8d2885a668a9b653ee65705). Contents
taken from the Drivers/CMSIS/Device/ST/STM32F4xx/ directory.

The stm32g0 directory contains code from:
  https://github.com/STMicroelectronics/STM32CubeG0
version v1.4.1 (5cb06333a6a43cefbe145f10a5aa98d3cc4cffee). Contents
taken from the Drivers/CMSIS/Device/ST/STM32G0xx/ directory.

The stm32l4 directory contains code from:
  https://github.com/STMicroelectronics/STM32CubeL4
version v1.17.0 (5e1553e07706491bd11f4edd304e093b6e4b83a4). Contents
taken from the Drivers/CMSIS/Device/ST/STM32L4xx/ directory.

The stm32h7 directory contains code from:
  https://github.com/STMicroelectronics/STM32CubeH7
version v1.7.0 (79196b09acfb720589f58e93ccf956401b18a191). Contents
taken from the Drivers/CMSIS/Device/ST/STM32H7xx/ directory.

The rp2040 directory contains code from the pico sdk:
  https://github.com/raspberrypi/pico-sdk.git
version 1.2.0 (bfcbefafc5d2a210551a4d9d80b4303d4ae0adf7). It has been
modified so that it can build outside of the pico sdk. See
rp2040.patch for the modifications.

The rp2040_flash directory contains a light-weight bootsel flash tool.
It uses C part of the the `picoboot_connection` directory found in:
  https://github.com/raspberrypi/picotool.git
version v1.1.0 (55fd880c3dc029b961fc1a0967a6cfdc0af02721).

The hub-ctrl directory contains code from:
  https://github.com/codazoda/hub-ctrl.c/
revision 42095e522859059e8a5f4ec05c1e3def01a870a9.

The bossac directory contains code from:
  https://github.com/shumatech/BOSSA
version 1.9 (b176eeef918fc810045c832348590595120187b4).

The hidflash directory contains code from:
  https://github.com/Serasidis/STM32_HID_Bootloader
version 2.2.2 (2ab7927a27b7b78ef730782ea5f9b5d2c8f34671). It has been
modified to work with Klipper - see hidflash/README for the
details. See changes.diff for the modifications.

The pru_rpmsg directory contains code from:
  https://github.com/dinuxbg/pru-gcc-examples
revision 425a42d82006cf0aa24be27b483d2f6a41607489. The code is taken
from the repo's hc-sr04-range-sensor directory. It has been modified
so that the IEP definitions compile correctly. See pru_rpmsg.patch for
the modifications.

The fast-hash directory contains code from:
  https://github.com/ztanml/fast-hash
revision ae3bb53c199fe75619e940b5b6a3584ede99c5fc

The kconfiglib directory contains code from:
  https://github.com/ulfalizer/Kconfiglib.git
version v14.1.0 (061e71f7d78cb057762d88de088055361863deff). It has
been modified to always emit symbols and to simplify the "menuconfig"
screens. See kconfiglib.patch for the modifications.

The fatfs directory contains code from:
  http://elm-chan.org/fsw/ff/00index_e.html
version R0.14a (extracted 20210116).  The configuration (ffconf.h)
has been modfied to enable the US code page (437) and enable label
support.  The file "diskio.c" in the original archive is not included
as it is only serves as an example for how to implement the media api
callbacks.

The canboot directory contains code from:
  https://github.com/Arksine/CanBoot
revision 870200826561b150137913d42fd7edc6515229ff.  The Python module,
flash_can.py, is taken from the repo's scripts directory.  It may be
used to upload firmware to devices flashed with the CanBoot bootloader.

The can2040 directory contains code from:
  https://github.com/KevinOConnor/can2040
revision aff2940f1fa5b0c9822a7694403ec9d70710193d.