Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-06-08make: use $(PREFIX)gcc instead of $(PREFIX)-gccKarl Palsson
The leading - makes it rather inconsistent with the majority of other projects around the world. Use the form everyone else uses. To solve this, properly pass prefix to inner makes as was always intended. Fixes: https://github.com/libopencm3/libopencm3/issues/1058
2019-06-05swm050: new MCU familyIcenowy Zheng
SWM050 is a series of MCU made by Foshan Synwit Tech. It contains a Cortex-M0 CPU core, 8KiB of Flash and 1KiB of SRAM. The only peripherals are GPIO, Timer and WDT. There's only two parts in this series, with either TSSOP-8 or SSOP-16 packages. This commit introduces the interrupt vector and GPIO support for them. Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2019-06-04irq2nvic: support V=1 make style to see the actual commands.Karl Palsson
2019-05-21stm32g0: add base, irqs, memorymap and current devices.Guillaume Revaillot
2019-04-15Makefile: pass TARGETS to doc Makefile.Guillaume Revaillot
2019-04-03gd32: add new chip series f1x0Icenowy Zheng
GD32F1X0 (X can be 3, 5, 7 and 9) is a series of Cortex-M3 MCUs by GigaDevice, which features pin-to-pin package compatibility with STM32F030 MCU line. F150 adds USB support to F130, and F170/F190 adds CAN support. Currently the code mainly targets GD32F130 and F150 chips. Some register are different between F130/150 and F170/190, just like the difference between STM32F1 Performance line and Connectivity line. From the perspective of registers and memory map, GD32F1X0 seems like a mixture between STM32F1 and STM32F0 (because it is designed to be pin-to-pin compatible with F0, but with Cortex-M3 like F1). A bunch of code are shared between STM32 and GD32, and these code are specially processed to include the GD32 headers instead of STM32 headers when meet GD32F1X0. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Reviewed-by: Karl Palsson <karlp@tweak.net.au> gd32/rcc.[ch] are forks of stm32f1/rcc gd32/flash.[ch] are forks of stm32f0/flash No attempts at deduplicating this have been done at this stage. We can see where they move in the future.
2018-08-27msp432/e4: new targetDmitry Rezvanov
Basic memory map and system control. Originally tracked via: https://github.com/libopencm3/libopencm3/pull/946
2018-07-29make: report errors from multiple sub builds properly.Karl Palsson
The reporting of make errors wasn't catching a failure from multiple sublibs. rework it to iterate all found, rather than trying a single file test.
2018-07-04make: catch submake errors and present them in the logKarl Palsson
This makes it more obvious with parallel makes when a single target has failed.
2018-04-28efm32: Add EZR32WG "EZRadio Wonder Gecko" family.kbob
2018-04-28efm32: Add EFM32WG "Wonder Gecko" family.kbob
2018-04-14sam/4l: monster commitMaxim Sloyko
The original submitter of this squished everything into one series, and has not returned. The code mostly appears good, and review comments were followed for the most part. The project doesn't really maintain any testing or board farm for sam3/sam4 parts, so we're going to just trust our users. Reviewed-by: Karl Palsson <karlp@tweak.net.au> sam/4l: IRQ Configuration file (irq.json) sam/4l: Basic Memory Map. sam/4l: GPIO Defines. sam/4l: GPIO Functions Added everything that needed to compile the library: Makefile, Linker Script and common includes. sam/4l: SCIF function to start OSC. sam/4l: GPIO Enable/Disable and Multiplexing configuration functions. sam/4l: PLL Clock configuration. sam/4l: Peripheral clock configuration and basic USART support. sam: USART Character length configuration. sam/4l: Generic Clock configuration functions. sam/4l: Analog to Digital Converter Interface (ADCIFE) basic support.
2018-04-14make: allow building target subsetsJulian Friedrich
Usage: make TARGETS="stm32/l1" or even make TARGETS="stm32/l1 stm32/f7"
2018-03-03efm32hg: add basic makefile, interrupts, device informationSebastian Holzapfel
2018-02-06mk: cleanup genlinktestsKarl Palsson
Even if they don't work, at least make them clean up afterthemselves
2017-10-18make: avoid shell find for windows compatibilityKarl Palsson
Instead of expecting a posix-ish "find" in the shell, simply leverage our knowledge of our source structure to make a single list using make's builtin wildcard() functionality. Fixes https://github.com/libopencm3/libopencm3/issues/828
2016-12-01makefile: make it easier to disable targets.Karl Palsson
Sometimes you're working on a subset of targets, and want to do full clean/builds, but don't need to clean and rebuild families you're not working with. This is a pure syntactic change that makes it easier to simply comment out lines for targets, instead of having to mangle line continuations.
2016-08-19atmel samd: Basic framework.Karl Palsson
Thoughts: should this be a "sam0" family rather than samd? (Much like Atmel's own software package lumps all the cortex-m0+ devices in one family) This was enough to get a basic blinky working at least.
2015-12-13Inital support for EFM32LGKuldeep Singh Dhaka
2015-12-07Drop "install" target and documentation.Karl Palsson
This has hurt many many many people over it's lifetime, by confusing their multilib toolchains. Simply drop it outright. People who _really_ know what they're doing are still perfectly entitled to "install" portions of this project in suitable locations for their own use.
2015-11-11stm32l4: initial memorymap and vector supportKarl Palsson
Values from RM0351rev1, with the correction of the duplicate TIM1_CC entry. Only stub support so far, but this opens up the beginning of build testing.
2015-10-15[stm32f7] Add initial support of the family, GPIO support.Frantisek Burian
Most changes are noise from doxygen. Readme udpated to explain newer FP_FLAGS for m7 stm32f7 library is skipped if the toolchain doesn't support it yet.
2014-10-15[stm32l0] Initial support for STM32L0 architecture, Add GPIO peripheralFrantisek Burian
2014-10-15vf6xx: initial add of Vybrid VF6xx supportStefan Agner
Freescale Vybrid is a familiy of ARM SoC, wheras the VF6xx models have two cores in one SoC, a Cortex-A5 and a Cortex-M4. This adds initial support for the Cortex-M4 in the libopencm3 library. By using two different ram areas (pc_ram and ps_ram) the user can put the code in a RAM area bounded to the code bus. The data can be stored in the data area. However, currently the initial values of for the variables in the data section are stored in the code section and copied to the ram section by the initialization code (like it's copied from ROM to RAM on microcontrollers).
2014-08-12Makefile: fix build for directories with spacesPaul Fertser
When full path of a source directory has spaces in it, that makes shell and Make split the path, so special treatment is necessary. Additionally, @F doesn't honour the escaping, so has to be avoided. Reported-by: Roman Faizullin <roman@faizullin.info> Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2014-04-05Clarify toolchains and install stepsKarl Palsson
Including removing the extremely unhelpful DETECT_TOOLCHAIN option.
2014-02-24[sam3a] add irq table and memory mapFelix Held
2014-02-07add memory map and irq table for sam3s and sam3u devicesFelix Held
2014-01-16Fix a number of top level doxygen issues.Ken Sarkies
So that the navigation pane works correctly in browsers. Some additional doc fixes put in where found (but many more still to go). Added some dummy .c and .h files to bring the associated docs into line. makefile changed to allow 'make html' as well as 'make doc' (the latter only does html anyway).
2014-01-11Add dependency of stylecheck result file to its sourceFrantisek Burian
In previous version, if teh file has been changed, stylecheck file was not generated.
2014-01-03[GENLINK] Make tests in paralellBuFran
usage: make genlinktests -j speedup: 4 times on 8-core system
2014-01-03[GENLINK] Add Test suite + simple testBuFran
2014-01-02[build] Remove PyYAML dependencyKarl Palsson
This converts all the YAML files to JSON files, as json parsing is built into python instead of being a separate library requiring installation. YAML is a superset of JSON, but putting comments in is not quite as obvious as it is in yaml. The following glue was used to convert yaml to json: python -c 'import sys, yaml, json; json.dump(yaml.load(sys.stdin), sys.stdout, indent=4)' < $1 > $2 Clearly I haven't tested this on every single platform, and this doesn't address the large blobs of yaml in the lpc4300 scripts directory, only the cortex NVIC generation process. I've tested a few IRQ driven example apps, and I've checked the generated output of some known cases like the LM3s that has explicit gaps, and they are all generated correctly.
2013-08-23[STM32F0] Add preliminary support for the familyBuFran
2013-07-08[BUILD] Paralelize stylecheckBuFran
Each thread runs its own stylecheck script, outputing to {FILENAME}.stylecheck file. If that file is empty, it is deleted. Otherwise it is printed to the output and stays in the sources directory to indicate something in that file is not correct. The file mangling and cat-ing is needed because of multithreaded nature of paralell make. (We like single file to be an block of text on the output). New PHONY added that make styleclean clears all .stylecheck files. New functionality added to check only single file (specifyilng the file with stylecheck extension) ie make lib/usb/usb.c.stylecheck BUG: if someone edit that file, .stylecheck file is not regenerated - missing dependency on the %.stylecheck rule. FIX: make styleclean stylecheck rebuild all style errors Performance: make stylecheck 1:43 -> 1:54 (slightly slower due to file creation) make stylecheck -j8 1:43 -> 0:34 (Rapidly faster) note the -j option must be specified with number, OS Windows cannot handle one thread per file.
2013-07-08[BUILD] move the definition line of yaml files search outside the targets ↵BuFran
section
2013-07-08[BUILD] Paralelize BUILD HEADERSBuFran
make 1:06:47 -> 1:06:90 make -j 24:52 -> 20:18 (measured on Core2 quad, 2.84GHz, 4GB ram, windows x86)
2013-07-08[BUILD] Paralelize CLEAN HEADERSBuFran
make clean 34.64s -> 35.35s make clean -j 14.00s -> 14.16s (measured on Core2 quad, 2.84GHz, 4GB ram, windows x86) Added overhead is logging the operation with every yamlfile to output.
2013-07-08[BUILD] Paralelize CLEANBuFran
make clean 34.85s -> 34.64s make clean -j 34.78s -> 14.00s (measured on Core2 quad, 2.84GHz, 4GB ram, windows x86)
2013-07-08Initial support for stm32f3. Changes in makefiles, gpio.Federico Ruiz Ugalde
- Makefiles now include building f3 src directory. - Gpio support added. gpio_common_f24 changed to support also f3. - f3 still not compiling, but f2 compile not broken (probably also f4).
2013-07-08[install] Be more specific about what scripts we want to install.Piotr Esden-Tempski
We now have a subdirectory containing register definitions in scripts, this confuses the install command so we have to be more specific about which scripts to install. We actually only want to install the black magic scripts from there as they are useful for locm3 users.
2013-07-08Makefile: Install everything in scripts/Ben Gamari
2013-07-08Move lpc43xx and lpc43xx_m0 code to lpc43xx/ hierarchyBen Gamari
Previously there were nasty dependency issues causing M4 objects to be linked into the M0 library
2013-07-08lpc43xx basic IPC for multicore M4 & M0 (with basic examples for hackrf ↵TitanMKD
jellybean).
2013-07-08do not try to install scripts/dataMichael Ossmann
2013-06-13First coarse run to fix coding style in locm3.Piotr Esden-Tempski
Added --terse and --mailback options to the make stylecheck target. It also does continue even if it enounters a possible error. We decided on two exceptions from the linux kernel coding standard: - Empty wait while loops may end with ; on the same line. - All blocks after while, if, for have to be in brackets even if they only contain one statement. Otherwise it is easy to introduce an error. Checkpatch needs to be adapted to reflect those changes.
2013-06-12Added linux kernel checkpatch.pl script and stylecheck target.Piotr Esden-Tempski
To make it easier on everyone to keep a uniform coding style throughout the project we will be using this target to verify our code for complience. Currently a lot of files in the project don't fully follow the coding style. We need to reach that spot over time though. :)
2013-06-03[make] Use less shell variablesKarl Palsson
Use fixed variables for things that can't change, instead of variables like SRCLIBDIR that was causing a shell call for every single use. Use less functions in general and less shell expansions. Use builtin functions like $(realpath blah) instead of $(shell pwd)/blah In particular, this was important for me trying to build on windows with git-shell. This should help a lot on smaller build machines, but doesn't make a huge difference on my own. Remove redundant clean print messages. These also cause more needless shell expansions.
2013-06-03Split sam3x/sam3n support.Gareth McMullin
2013-05-11sam3x support.Gareth McMullin