David Odin [Mon, 19 Jun 2017 17:47:44 +0000 (19:47 +0200)]
Allow asm source files
Cyprien Laplace [Sat, 17 Jun 2017 14:58:22 +0000 (10:58 -0400)]
i2c: add asynchronous write
i2c_read() and i2c_write() are blocking functions, and their comments
have been updated to reflect this.
The new i2c_write_async() function is starting an i2c transfer, and
returns immediatly. All i2c transfer functions will now return -EAGAIN
if there is already a transfer in progress (-EBUSY was conflicting with
arbitration lost).
ssd130x_display_full_screen() has been updated to use this new
asynchronous write to start the transfer of the full screen. All
i2c_write* calls are placed in a retry loop if the call returns -EAGAIN.
Nathael Pajani [Thu, 15 Jun 2017 07:00:33 +0000 (09:00 +0200)]
Echo on serial must be only a "best effort" and not mangle with ongoing transmissions
Nathael Pajani [Fri, 12 May 2017 23:09:44 +0000 (01:09 +0200)]
remove unrequired sleep from bme driver.
Nathael Pajani [Fri, 12 May 2017 00:28:09 +0000 (02:28 +0200)]
Add SD card write access support.
Nathael Pajani [Mon, 8 May 2017 00:07:51 +0000 (02:07 +0200)]
Fix SD/MMC read. Write is still untested.
Nathael Pajani [Mon, 8 May 2017 00:03:55 +0000 (02:03 +0200)]
Add a CRC CCITT function for use with SSD/MMC driver.
Nathael Pajani [Mon, 8 May 2017 00:02:59 +0000 (02:02 +0200)]
Some more error codes
David Odin [Wed, 19 Apr 2017 18:32:53 +0000 (20:32 +0200)]
Remove the gddram internal buffer
David Odin [Wed, 19 Apr 2017 16:10:34 +0000 (18:10 +0200)]
shut up a warning at -Wextra level by using the right type for an index variable (size_t instead of i)
David Odin [Thu, 30 Mar 2017 20:43:39 +0000 (22:43 +0200)]
fixed the ssd130x_update_tile function about a (x0,y0) / (xt,yt) mismatch
Nathael Pajani [Tue, 28 Mar 2017 13:24:45 +0000 (15:24 +0200)]
Function rename in iap support code.
Nathael Pajani [Tue, 28 Mar 2017 13:23:55 +0000 (15:23 +0200)]
SD write support. Untested.
Nathael Pajani [Tue, 28 Mar 2017 13:22:52 +0000 (15:22 +0200)]
SD/MMC card support going on. Still needs testing.
David Odin [Mon, 27 Mar 2017 15:44:11 +0000 (17:44 +0200)]
fixed the set_pixel function
Nathael Pajani [Sun, 19 Mar 2017 18:37:21 +0000 (19:37 +0100)]
Add tsl256x light sensor support
Nathael Pajani [Sun, 19 Mar 2017 18:36:53 +0000 (19:36 +0100)]
Add support for bme280 temperature, humidity and pressure sensor
Nathael Pajani [Sun, 19 Mar 2017 18:35:18 +0000 (19:35 +0100)]
Add support for displays without an external VCC (use internal charge pump)
Nathael Pajani [Fri, 9 Dec 2016 01:33:08 +0000 (02:33 +0100)]
Also fix get_priority_mask() return value check in serial_flush()
Nathael Pajani [Fri, 9 Dec 2016 01:31:41 +0000 (02:31 +0100)]
Cosmetic changes (whitespaces) and typo in comments
Nathael Pajani [Fri, 28 Oct 2016 01:21:10 +0000 (03:21 +0200)]
Add MIN and MAX (defines) to lib/utils.h
Nathael Pajani [Fri, 28 Oct 2016 01:20:50 +0000 (03:20 +0200)]
Add ntohl, htonl, ntohs and htons to lib/utils.h
Nathael Pajani [Fri, 28 Oct 2016 01:19:51 +0000 (03:19 +0200)]
Add enum for SSP bus numbers
Nathael Pajani [Fri, 28 Oct 2016 01:19:19 +0000 (03:19 +0200)]
Adding SD card support (partial) over SPI bus Raw read only supported yet.
Nathael Pajani [Wed, 26 Oct 2016 23:47:19 +0000 (01:47 +0200)]
Small typo fix : use the same notation as for the rest of the function
Nathael Pajani [Wed, 26 Oct 2016 13:55:36 +0000 (15:55 +0200)]
Add PCF85363A RTC support (I2C driver) PCF85363A is an NXP low power RTC chip with timestamps, alarms and 64 bytes of RAM
Nathael Pajani [Wed, 26 Oct 2016 13:53:36 +0000 (15:53 +0200)]
Watchdog - improve memory footprint, uint8_t are enough to store flags.
Nathael Pajani [Sun, 16 Oct 2016 15:37:52 +0000 (17:37 +0200)]
First part of SSD130x Oled controller support - Init - Set pixels and tiles (8x8) in RAM - Update whole or partial(untested) GDDRAM
Nathael Pajani [Sun, 16 Oct 2016 15:32:57 +0000 (17:32 +0200)]
Modification to the font and the way it is handled This allows for the font to reside in flash, sparing abour 700 bytes of RAM
Nathael Pajani [Mon, 3 Oct 2016 15:05:29 +0000 (17:05 +0200)]
Add enum for timer channels
Nathael Pajani [Mon, 3 Oct 2016 15:05:03 +0000 (17:05 +0200)]
Add a define for RTC callback installation retry delay.
Nathael Pajani [Mon, 3 Oct 2016 15:03:34 +0000 (17:03 +0200)]
Global README update
Nathael Pajani [Mon, 3 Oct 2016 15:03:15 +0000 (17:03 +0200)]
Adding deep power down support
Nathael Pajani [Tue, 27 Sep 2016 21:50:38 +0000 (23:50 +0200)]
Adding VEML6070 I2C UV sensor driver ... C file (commited only header in commit
dd5c737609b3ff7ce32b9857c0ecb74c85e24433
Nathael Pajani [Tue, 27 Sep 2016 21:15:13 +0000 (23:15 +0200)]
Add VEML6070 I2C UV sensor driver
Nathael Pajani [Tue, 27 Sep 2016 21:14:52 +0000 (23:14 +0200)]
Update to ws2812 driver (internal behavior only)
Nathael Pajani [Tue, 27 Sep 2016 21:13:06 +0000 (23:13 +0200)]
Ensure GPIO are on when using status led.
Nathael Pajani [Tue, 27 Sep 2016 21:12:40 +0000 (23:12 +0200)]
Fix RTC code : return correct value on first call where it is valid.
Nathael Pajani [Tue, 27 Sep 2016 21:11:28 +0000 (23:11 +0200)]
CRC engine support. NOT TESTED
Nathael Pajani [Tue, 27 Sep 2016 21:11:00 +0000 (23:11 +0200)]
Core IAP code. NOT TESTED.
Nathael Pajani [Tue, 27 Sep 2016 21:09:32 +0000 (23:09 +0200)]
Adding cc1101_power_down() to CC1101 driver
Nathael Pajani [Tue, 27 Sep 2016 21:09:04 +0000 (23:09 +0200)]
Updated according to Timer API changes
Nathael Pajani [Tue, 27 Sep 2016 21:08:21 +0000 (23:08 +0200)]
Complete rewrite of timers API, now documented here : wiki.techno-innov.fr/index.php/Technique/Logiciel/API/Use/Drivers/Timers
Nathael Pajani [Tue, 27 Sep 2016 21:06:54 +0000 (23:06 +0200)]
Small additions to core/system.[ch] Small addition to gpio driver header
Nathael Pajani [Tue, 27 Sep 2016 21:05:00 +0000 (23:05 +0200)]
Move IAP status definitions to IAP header file
Nathael Pajani [Tue, 27 Sep 2016 21:03:58 +0000 (23:03 +0200)]
Move PIO config related code to pio.c and pio.h
Nathael Pajani [Tue, 27 Sep 2016 21:02:37 +0000 (23:02 +0200)]
Updated I2C driver to follow API documented here : wiki.techno-innov.fr/index.php/Technique/Logiciel/API/Use/Drivers/I2C Updated TMP101 sensor driver for API compliance Updated EEPROM driver for API compliance
Nathael Pajani [Tue, 27 Sep 2016 20:59:08 +0000 (22:59 +0200)]
ADC driver update for API compliance API documentation available here : wiki.techno-innov.fr/index.php/Technique/Logiciel/API/Use/Drivers/ADC
Nathael Pajani [Tue, 27 Sep 2016 20:56:35 +0000 (22:56 +0200)]
Serial driver update : return -EINVAL or -EBUSY instead of -1 on errors
Nathael Pajani [Tue, 27 Sep 2016 20:54:07 +0000 (22:54 +0200)]
Comments update
Nathael Pajani [Tue, 27 Sep 2016 20:48:39 +0000 (22:48 +0200)]
Updated stdlib et utils libs
Nathael Pajani [Tue, 27 Sep 2016 20:47:52 +0000 (22:47 +0200)]
Oops, forgot this upon linker script modifications commit
Nathael Pajani [Tue, 27 Sep 2016 20:47:14 +0000 (22:47 +0200)]
Rename lpc_core_cm0.h to lpc_core.h Rename lpc_regs_12xx.h to lpc_regs.h Split lpc_regs.h among all driver header files. Include lpc_core.h and lpc_regs.h from system.h Replace LPC1224 by LPC122x
Nathael Pajani [Tue, 27 Sep 2016 20:35:32 +0000 (22:35 +0200)]
Add errno.h (code moved from system.h) Add stdint.h Add NULL and size_t to stddef.h
Nathael Pajani [Tue, 27 Sep 2016 20:11:15 +0000 (22:11 +0200)]
Improve Makefile - Add comments - Use LDFLAGS instead of LINKOPTS - Use $(DEBUG) var Fixes on Linker script - Removed info page size and offset as they are accessible only "in app" - Remove duplicate hardcoded values - Fix for recent GCC versions - Fix system_init Update Readme
Nathael Pajani [Tue, 17 May 2016 14:58:56 +0000 (16:58 +0200)]
Typo fix in register name and comments update
Nathael Pajani [Tue, 17 May 2016 14:16:37 +0000 (16:16 +0200)]
Rename config register block as config instead of control
Nathael Pajani [Tue, 26 Apr 2016 23:01:55 +0000 (01:01 +0200)]
dtplug protocol fixes (on comments) and new values
Nathael Pajani [Tue, 26 Apr 2016 23:00:38 +0000 (01:00 +0200)]
Add defines for UART numbers
Nathael Pajani [Tue, 26 Apr 2016 23:00:19 +0000 (01:00 +0200)]
Add gpio_read() helper
Nathael Pajani [Tue, 26 Apr 2016 23:00:00 +0000 (01:00 +0200)]
Improvements to watchdog support
Nathael Pajani [Tue, 26 Apr 2016 22:59:17 +0000 (00:59 +0200)]
Adding define for register value combination for timers
Nathael Pajani [Tue, 26 Apr 2016 22:57:53 +0000 (00:57 +0200)]
Additions and improvements to WS2812 chainable leds support
Nathael Pajani [Tue, 26 Apr 2016 22:56:47 +0000 (00:56 +0200)]
Fix setup on interupts on GPIO
Nathael Pajani [Fri, 5 Feb 2016 16:56:46 +0000 (17:56 +0100)]
Make sequence number shorter to add a byte count for quick data packets.
Nathael Pajani [Fri, 5 Feb 2016 16:54:13 +0000 (17:54 +0100)]
Fix comment typo and remove obsolete code.
Nathael Pajani [Mon, 23 Nov 2015 12:17:35 +0000 (13:17 +0100)]
Improve the name of watchdog config fields
Nathael Pajani [Mon, 23 Nov 2015 12:04:23 +0000 (13:04 +0100)]
Basic Watchdog implementation, not fully tested
Nathael Pajani [Mon, 23 Nov 2015 12:01:42 +0000 (13:01 +0100)]
Use defines instead of hard-coded values Fix field name in lpc_sys_control structure
Nathael Pajani [Wed, 18 Nov 2015 21:59:09 +0000 (22:59 +0100)]
Remove header of previously removed function
Nathael Pajani [Wed, 18 Nov 2015 20:28:00 +0000 (21:28 +0100)]
Rename and move dtplug protocol files under approriate directory in lib/protocols Associated changes in source files
Nathael Pajani [Wed, 11 Nov 2015 18:34:41 +0000 (19:34 +0100)]
prevent namespace pollution
Nathael Pajani [Tue, 10 Nov 2015 20:35:08 +0000 (21:35 +0100)]
Comment fix
Nathael Pajani [Tue, 10 Nov 2015 20:34:56 +0000 (21:34 +0100)]
Remove debug.
Nathael Pajani [Tue, 10 Nov 2015 20:34:18 +0000 (21:34 +0100)]
Move static variables to a protocol handle struct Enables multiple use of the protocol in the same application on different interfaces.
Nathael Pajani [Tue, 10 Nov 2015 20:28:36 +0000 (21:28 +0100)]
Add some helper functions for serial (UART) driver.
Nathael Pajani [Thu, 1 Oct 2015 19:56:28 +0000 (21:56 +0200)]
Some timer fixes for PWM mode.
Nathael Pajani [Thu, 24 Sep 2015 10:32:37 +0000 (12:32 +0200)]
remote debug
Nathael Pajani [Wed, 23 Sep 2015 12:46:31 +0000 (14:46 +0200)]
Remove unused header and fix comment.
Nathael Pajani [Wed, 23 Sep 2015 12:45:54 +0000 (14:45 +0200)]
Fix hidden segfault, this should never have been working. It should have trigggered a BusFault exception instead.
Nathael Pajani [Tue, 22 Sep 2015 08:19:46 +0000 (10:19 +0200)]
Much more efficient, thank you cyprien :)
Nathael Pajani [Fri, 18 Sep 2015 12:30:25 +0000 (14:30 +0200)]
Simpler, though not necessary better.
Nathael Pajani [Thu, 17 Sep 2015 19:43:14 +0000 (21:43 +0200)]
Change some defaults for RF settings
Nathael Pajani [Thu, 17 Sep 2015 19:15:45 +0000 (21:15 +0200)]
Do not change state if already in the required one Place config registers in address order for readability and update comments
Nathael Pajani [Thu, 17 Sep 2015 19:00:11 +0000 (21:00 +0200)]
Add cc1101_send_calibration_request() and cc1101_enter_fstxon_state() functions
Nathael Pajani [Thu, 17 Sep 2015 18:56:49 +0000 (20:56 +0200)]
Simple CC1101 driver modifications - Add comments - Add cc1101_set_channel() function - Place the CC1101 chip in idle state when changing configuration registers - Add cc1101_read_pkt_status() function - Remove niternal functions from header file
Nathael Pajani [Thu, 17 Sep 2015 18:46:41 +0000 (20:46 +0200)]
Add stdlib with strtoul()
Nathael Pajani [Thu, 17 Sep 2015 18:45:36 +0000 (20:45 +0200)]
Allow sub-folders in lib directory
Nathael Pajani [Wed, 16 Sep 2015 10:10:47 +0000 (12:10 +0200)]
Add comments to the head of each file to introduce the code and help readers to figure out what's done in each file.
Nathael Pajani [Tue, 15 Sep 2015 23:57:44 +0000 (01:57 +0200)]
Forgot to modify the comment in the header file too. Done.
Nathael Pajani [Tue, 15 Sep 2015 23:57:20 +0000 (01:57 +0200)]
Some more coding style
Nathael Pajani [Tue, 15 Sep 2015 23:42:05 +0000 (01:42 +0200)]
Coding style consistency
Nathael Pajani [Tue, 15 Sep 2015 07:26:29 +0000 (09:26 +0200)]
Updated comments according to new apps directory structure.
Nathael Pajani [Sat, 12 Sep 2015 10:41:44 +0000 (12:41 +0200)]
Add some Namespace indicators for these in order to ease development of other protocols
Nathael Pajani [Sat, 12 Sep 2015 10:40:02 +0000 (12:40 +0200)]
The NCN5120 is made by On Semiconductor, not NXP
Gabriel Huau [Thu, 27 Aug 2015 04:48:59 +0000 (21:48 -0700)]
move code to use uprintf instead of snprintf+serial_write
This simplify a lot the code to output anything on any UART.
Nathael Pajani [Thu, 10 Sep 2015 08:42:14 +0000 (10:42 +0200)]
Updated README file
Nathael Pajani [Thu, 10 Sep 2015 06:57:44 +0000 (08:57 +0200)]
Add support for the NCN5120 KNX bus driver from NXP. To be tested. Part of manually merging the KNX branch
Nathael Pajani [Wed, 9 Sep 2015 20:10:52 +0000 (22:10 +0200)]
Modify base makefile according to the new subdirectory scheme.
Nathael Pajani [Wed, 9 Sep 2015 19:15:01 +0000 (21:15 +0200)]
Add LCD Character Displays support.