aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* lib: Update sam4s code so that it works with gcc's -flto featureKevin O'Connor2019-01-073-2/+16
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Add sam4s cmsis headersKevin O'Connor2019-01-07131-0/+26511
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Rename lib/cmsis-sam4e/ to lib/sam4e/Kevin O'Connor2019-01-0794-13/+14
| | | | | | This is in preparation for merging the sam3 and sam4 code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Remove sam4e sam.h and component-version.h filesKevin O'Connor2019-01-072-132/+0
| | | | | | | | These two files from atmel have different licenses than the other files. Neither files provide any real value, so just remove them to avoid any confusion. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32f1: Use the main lib/cmsis-core directory for cmsis includesKevin O'Connor2018-10-114-3310/+0
| | | | | | Use the main cmsis header files with stm32f1. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Remove pjrc_usb_serialKevin O'Connor2018-09-304-1187/+1
| | | | | | The pjrc_usb_serial is no longer used. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Add bossac 1.9 code to lib directoryKevin O'Connor2018-08-2736-0/+6287
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* sam4e8e: Add the SAM4e8e portFlorian Heilmann2018-08-084-4/+73
| | | | | | | | This can be flashed to e.g. the duet wifi using bossac. It requires a later version as is currently included in the klipper repo (1.8 vs. 1.2). Comms are currently via UART0 only, USB serial is still TBD Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
* lib: Add SAM4E CMSIS HALFlorian Heilmann2018-08-0894-0/+18476
| | | | | | Obtained from Atmel.SAM4E_DFP.1.1.57.atpack Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
* lib: Update samd21 code with local changesKevin O'Connor2018-08-074-3/+31
| | | | | | | A minor change is necessary to work with GCC's -flto and to work with common bootloaders. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Add Atmel SAMD21 cmsis headersKevin O'Connor2018-08-06121-0/+44580
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lpc176x: Use common cmsis-core filesKevin O'Connor2018-08-066-4447/+4
| | | | | | | No need to include separate cmsis files from the mbed project - the standard CMSIS_5 files work fine. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Remove the (now unused) cmsis-sam3x8e directoryKevin O'Connor2018-08-06120-24835/+0
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Modify SAM3X CMSIS files to work with GCC's lto featureKevin O'Connor2018-08-063-2/+16
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Add Atmel SAM3X CMSIS filesKevin O'Connor2018-08-0699-0/+20245
| | | | | | Add most recent SAM3X CMSIS files from Atmel. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Add CMSIS_5 filesKevin O'Connor2018-08-068-0/+7669
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lpc176x: Add initial support for LPC176x processorsKevin O'Connor2018-05-2512-0/+6573
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Add STM32F103 portGrigori Goronzy2018-04-09164-0/+266623
| | | | | | | | | | | | Add a fully functional STM32F1 port, currently mostly targeting STM32F103 microcontrollers. This requires an 8 MHz XTAL. The maximum possible step rate is around 282K steps per second. This uses stm32flash to burn the firmware. The bootloader needs to be started by setting BOOT0 to 1 and resetting the MCU. There is no automatic bootloader, unlike on Arduino. Signed-off-by: Grigori Goronzy <greg@kinoho.net>
* sched: Introduce sched_wake_tasks() function to wake up tasksKevin O'Connor2017-08-083-6/+49
| | | | | | | | Add function to indicate when tasks need to be run. This will allow the scheduler code to know if there are any tasks that need to be processed. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* pru: Add initial pru_rpmsg library code for Beaglebone PRUKevin O'Connor2017-05-1520-3/+4163
| | | | | | Add external code for using RPMsg on the Beaglebone PRU. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* hub-ctrl: Add support for micro-controller reset via RPi usb power togglingKevin O'Connor2017-04-132-0/+416
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Add Atmel SAM3x8e ARM CMSIS filesKevin O'Connor2016-06-14120-2/+24838
| | | | | | | Add the ARM CMSIS definitions (obtained from an Arduino copy of libsam) in preparation for Arduino Due support. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* avr: Initial support for Atmel AT90USB1286 mcuKevin O'Connor2016-06-054-0/+1144
Add GPIO definitions for the AT90USB1286. Add code for communicating over USB port on AT90USB1286. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>