I know we're chummy with zephyr team. Whats the license issues with bringing something very close to their implementation over?
On Mon, May 15, 2017 at 6:23 AM, Cufi, Carles <carles.c...@nordicsemi.no> wrote: > Hi Wayne, > > > -----Original Message----- > > From: Wayne Keenan [mailto:wayne.kee...@gmail.com] > > Sent: Monday, May 15, 2017 11:36 > > To: dev@mynewt.incubator.apache.org > > Subject: Re: Writing PWM api, and nrf51 implementation > > > > Hi Jacob, > > > > > > I've listed below various soft PWM implementations I've bumped into over > > time, I thought they might make a handy reference for you: > > > > ARM Mbed: > > > > > > https://github.com/ARMmbed/mbed-hal-nrf51822-mcu/blob/master > > /source/pwmout_api.c > > > > > > 3rd Party support for Arduino IDE: > > > > > > https://github.com/RedBearLab/nRF51822-Arduino/blob/S130/ard > > uino- > > 1.6.x/hardware/RBL/RBL_nRF51822/cores/RBL_nRF51822/wiring_analog.cpp > > > > > > https://github.com/RFduino/RFduino/blob/master/cores/arduino/wiring_anal > > og.c > > > > > > https://github.com/sandeepmistry/arduino-nRF5/blob/master/ > > cores/nRF5/wiring_analog_nRF51.c > > > > > > Nordic example: (although this probably is very much superseded by what > > Nordic includes in their SDK these days, as pointed out by Andrey) > > > > > > https://devzone.nordicsemi.com/question/798/is-there-an-exam > > ple-code-for-using-pwm-on-the-nrf51822-with-a-softdevice/ > > Here's another one: > > https://github.com/zephyrproject-rtos/zephyr/blob/master/drivers/pwm/pwm_ > nrf5_sw.c > > Carles > > > >